Home
last modified time | relevance | path

Searched refs:nr_units (Results 1 – 5 of 5) sorted by relevance

/Linux-v5.4/mm/
Dpercpu.c2121 int nr_units) in pcpu_alloc_alloc_info() argument
2130 ai_size = base_size + nr_units * sizeof(ai->groups[0].cpu_map[0]); in pcpu_alloc_alloc_info()
2140 for (unit = 0; unit < nr_units; unit++) in pcpu_alloc_alloc_info()
2197 BUG_ON(gi->nr_units % upa); in pcpu_dump_alloc_info()
2198 for (alloc_end += gi->nr_units / upa; in pcpu_dump_alloc_info()
2351 group_sizes[group] = gi->nr_units * ai->unit_size; in pcpu_setup_first_chunk()
2353 for (i = 0; i < gi->nr_units; i++) { in pcpu_setup_first_chunk()
2537 int nr_groups = 1, nr_units = 0; in pcpu_build_alloc_info() local
2624 nr_units += roundup(group_cnt[group], upa); in pcpu_build_alloc_info()
2626 ai = pcpu_alloc_alloc_info(nr_groups, nr_units); in pcpu_build_alloc_info()
[all …]
Dpercpu-km.c111 nr_pages = (ai->groups[0].nr_units * ai->unit_size) >> PAGE_SHIFT; in pcpu_verify_alloc_info()
/Linux-v5.4/include/linux/
Dpercpu.h69 int nr_units; /* aligned # of units */ member
105 int nr_units);
/Linux-v5.4/arch/ia64/mm/
Ddiscontig.c189 int node, prev_node, unit, nr_units; in setup_per_cpu_areas() local
209 nr_units = unit; in setup_per_cpu_areas()
232 for (unit = 0; unit < nr_units; unit++) { in setup_per_cpu_areas()
237 gi->nr_units++; in setup_per_cpu_areas()
243 gi->nr_units = 1; in setup_per_cpu_areas()
Dcontig.c119 gi->cpu_map[gi->nr_units++] = cpu; in setup_per_cpu_areas()