Searched refs:SUBSECTIONS_PER_SECTION (Results 1 – 2 of 2) sorted by relevance
/kernel/linux/linux-5.10/mm/ |
D | sparse.c | 675 DECLARE_BITMAP(map, SUBSECTIONS_PER_SECTION) = { 0 }; in clear_subsection_map() 676 DECLARE_BITMAP(tmp, SUBSECTIONS_PER_SECTION) = { 0 }; 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() 697 SUBSECTIONS_PER_SECTION); in is_subsection_map_empty() 703 DECLARE_BITMAP(map, SUBSECTIONS_PER_SECTION) = { 0 }; in fill_subsection_map() 711 if (bitmap_empty(map, SUBSECTIONS_PER_SECTION)) in fill_subsection_map() 713 else if (bitmap_intersects(map, subsection_map, SUBSECTIONS_PER_SECTION)) in fill_subsection_map() 717 SUBSECTIONS_PER_SECTION); in fill_subsection_map()
|
/kernel/linux/linux-5.10/include/linux/ |
D | mmzone.h | 1233 #define SUBSECTIONS_PER_SECTION (1UL << (SECTION_SIZE_BITS - SUBSECTION_SHIFT)) macro 1241 DECLARE_BITMAP(subsection_map, SUBSECTIONS_PER_SECTION);
|