Searched refs:subsection_map (Results 1 – 2 of 2) sorted by relevance
/openbmc/linux/mm/ |
H A D | sparse.c | 208 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() 666 if (WARN(!subsection_map || !bitmap_equal(tmp, 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() [all …]
|
/openbmc/linux/include/linux/ |
H A D | mmzone.h | 1780 DECLARE_BITMAP(subsection_map, SUBSECTIONS_PER_SECTION); 1973 return usage ? test_bit(idx, usage->subsection_map) : 0; in pfn_section_valid()
|