Home
last modified time | relevance | path

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

/openbmc/linux/mm/
H A Dsparse.c208 subsection_mask_set(ms->usage->subsection_map, pfn, pfns); in subsection_map_init()
659 unsigned long *subsection_map = ms->usage in clear_subsection_map() local
660 ? &ms->usage->subsection_map[0] : NULL; in clear_subsection_map()
663 if (subsection_map) in clear_subsection_map()
664 bitmap_and(tmp, map, subsection_map, SUBSECTIONS_PER_SECTION); in clear_subsection_map()
671 bitmap_xor(subsection_map, map, subsection_map, SUBSECTIONS_PER_SECTION); in clear_subsection_map()
677 return bitmap_empty(&ms->usage->subsection_map[0], in is_subsection_map_empty()
685 unsigned long *subsection_map; in fill_subsection_map() local
690 subsection_map = &ms->usage->subsection_map[0]; in fill_subsection_map()
694 else if (bitmap_intersects(map, subsection_map, SUBSECTIONS_PER_SECTION)) in fill_subsection_map()
[all …]
/openbmc/linux/include/linux/
H A Dmmzone.h1781 DECLARE_BITMAP(subsection_map, SUBSECTIONS_PER_SECTION);
1973 return test_bit(idx, READ_ONCE(ms->usage)->subsection_map); in pfn_section_valid()