Searched refs:SUBSECTIONS_PER_SECTION (Results 1 – 2 of 2) sorted by relevance
/Linux-v5.4/mm/ |
D | sparse.c | 740 DECLARE_BITMAP(map, SUBSECTIONS_PER_SECTION) = { 0 }; in section_deactivate() 741 DECLARE_BITMAP(tmp, SUBSECTIONS_PER_SECTION) = { 0 }; in section_deactivate() 750 bitmap_and(tmp, map, subsection_map, SUBSECTIONS_PER_SECTION); in section_deactivate() 752 if (WARN(!subsection_map || !bitmap_equal(tmp, map, SUBSECTIONS_PER_SECTION), in section_deactivate() 774 bitmap_xor(subsection_map, map, subsection_map, SUBSECTIONS_PER_SECTION); in section_deactivate() 775 if (bitmap_empty(subsection_map, SUBSECTIONS_PER_SECTION)) { in section_deactivate() 795 DECLARE_BITMAP(map, SUBSECTIONS_PER_SECTION) = { 0 }; in section_activate() 812 if (bitmap_empty(map, SUBSECTIONS_PER_SECTION)) in section_activate() 814 else if (bitmap_intersects(map, subsection_map, SUBSECTIONS_PER_SECTION)) in section_activate() 818 SUBSECTIONS_PER_SECTION); in section_activate()
|
/Linux-v5.4/include/linux/ |
D | mmzone.h | 1169 #define SUBSECTIONS_PER_SECTION (1UL << (SECTION_SIZE_BITS - SUBSECTION_SHIFT)) macro 1176 DECLARE_BITMAP(subsection_map, SUBSECTIONS_PER_SECTION);
|