Home
last modified time | relevance | path

Searched refs:roundup (Results 1 – 4 of 4) sorted by relevance

/mm/
Dswap_state.c434 unsigned int roundup = 4; in swapin_nr_pages() local
435 while (roundup < pages) in swapin_nr_pages()
436 roundup <<= 1; in swapin_nr_pages()
437 pages = roundup; in swapin_nr_pages()
Dsparse.c252 size_bytes = roundup(SECTION_BLOCKFLAGS_BITS, 8) / 8; in usemap_size()
253 size_bytes = roundup(size_bytes, sizeof(unsigned long)); in usemap_size()
Dpercpu.c1823 alloc_size = roundup(min_unit_size, atom_size); in pcpu_build_alloc_info()
1884 nr_units += roundup(group_cnt[group], upa); in pcpu_build_alloc_info()
1893 cpu_map += roundup(group_cnt[group], upa); in pcpu_build_alloc_info()
1916 gi->nr_units = roundup(gi->nr_units, upa); in pcpu_build_alloc_info()
Dpage_alloc.c5700 usemapsize = roundup(zonesize, pageblock_nr_pages); in usemap_size()
5703 usemapsize = roundup(usemapsize, 8 * sizeof(unsigned long)); in usemap_size()
6164 roundup(required_movablecore, MAX_ORDER_NR_PAGES); in find_zone_movable_pfns_for_nodes()
6273 roundup(zone_movable_pfn[nid], MAX_ORDER_NR_PAGES); in find_zone_movable_pfns_for_nodes()