Home
last modified time | relevance | path

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

/OK3568_Linux_fs/kernel/mm/
H A Dsparse.c675 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()
/OK3568_Linux_fs/kernel/include/linux/
H A Dmmzone.h1211 #define SUBSECTIONS_PER_SECTION (1UL << (SECTION_SIZE_BITS - SUBSECTION_SHIFT)) macro
1219 DECLARE_BITMAP(subsection_map, SUBSECTIONS_PER_SECTION);