Searched refs:roundup (Results 1 – 4 of 4) sorted by relevance
/mm/ |
D | swap_state.c | 594 unsigned int roundup = 4; in __swapin_nr_pages() local 595 while (roundup < pages) in __swapin_nr_pages() 596 roundup <<= 1; in __swapin_nr_pages() 597 pages = roundup; in __swapin_nr_pages()
|
D | percpu.c | 2700 alloc_size = roundup(min_unit_size, atom_size); in pcpu_build_alloc_info() 2761 nr_units += roundup(group_cnt[group], upa); in pcpu_build_alloc_info() 2770 cpu_map += roundup(group_cnt[group], upa); in pcpu_build_alloc_info() 2793 gi->nr_units = roundup(gi->nr_units, upa); in pcpu_build_alloc_info() 2986 nr_g0_units = roundup(num_possible_cpus(), upa); in pcpu_page_first_chunk()
|
D | sparse.c | 502 ptr = (void *) roundup((unsigned long)sparsemap_buf, size); in sparse_buffer_alloc()
|
D | page_alloc.c | 7060 usemapsize = roundup(zonesize, pageblock_nr_pages); in usemap_size() 7063 usemapsize = roundup(usemapsize, 8 * sizeof(unsigned long)); in usemap_size() 7570 roundup(required_movablecore, MAX_ORDER_NR_PAGES); in find_zone_movable_pfns_for_nodes() 7681 roundup(zone_movable_pfn[nid], MAX_ORDER_NR_PAGES); in find_zone_movable_pfns_for_nodes()
|