Home
last modified time | relevance | path

Searched refs:subsection_map (Results 1 – 2 of 2) sorted by relevance

/OK3568_Linux_fs/kernel/mm/
H A Dsparse.c235 subsection_mask_set(ms->usage->subsection_map, pfn, pfns); in subsection_map_init()
678 unsigned long *subsection_map = ms->usage in clear_subsection_map() local
679 ? &ms->usage->subsection_map[0] : NULL; in clear_subsection_map()
682 if (subsection_map) in clear_subsection_map()
683 bitmap_and(tmp, map, subsection_map, SUBSECTIONS_PER_SECTION); in clear_subsection_map()
685 if (WARN(!subsection_map || !bitmap_equal(tmp, map, SUBSECTIONS_PER_SECTION), in clear_subsection_map()
690 bitmap_xor(subsection_map, map, subsection_map, SUBSECTIONS_PER_SECTION); in clear_subsection_map()
696 return bitmap_empty(&ms->usage->subsection_map[0], in is_subsection_map_empty()
704 unsigned long *subsection_map; in fill_subsection_map() local
709 subsection_map = &ms->usage->subsection_map[0]; in fill_subsection_map()
[all …]
/OK3568_Linux_fs/kernel/include/linux/
H A Dmmzone.h1219 DECLARE_BITMAP(subsection_map, SUBSECTIONS_PER_SECTION);
1383 return test_bit(idx, ms->usage->subsection_map); in pfn_section_valid()