Searched refs:unit_pages (Results 1 – 2 of 2) sorted by relevance
3168 int unit_pages; in pcpu_page_first_chunk() local3188 unit_pages = ai->unit_size >> PAGE_SHIFT; in pcpu_page_first_chunk()3191 pages_size = PFN_ALIGN(unit_pages * num_possible_cpus() * in pcpu_page_first_chunk()3202 for (i = 0; i < unit_pages; i++) { in pcpu_page_first_chunk()3226 for (i = 0; i < unit_pages; i++) in pcpu_page_first_chunk()3230 rc = __pcpu_map_pages(unit_addr, &pages[unit * unit_pages], in pcpu_page_first_chunk()3231 unit_pages); in pcpu_page_first_chunk()3249 unit_pages, psize_str, ai->static_size, in pcpu_page_first_chunk()
923 } else if (!group || group->d.unit_pages == nr_pages) { in auto_movable_zone_for_pfn()926 max_pages = group->d.unit_pages; in auto_movable_zone_for_pfn()933 pfn = ALIGN_DOWN(pfn, group->d.unit_pages); in auto_movable_zone_for_pfn()934 end_pfn = pfn + group->d.unit_pages; in auto_movable_zone_for_pfn()