Home
last modified time | relevance | path

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

/linux-6.12.1/mm/
Dpercpu.c2403 int nr_units) in pcpu_alloc_alloc_info() argument
2412 ai_size = base_size + nr_units * sizeof(ai->groups[0].cpu_map[0]); in pcpu_alloc_alloc_info()
2422 for (unit = 0; unit < nr_units; unit++) in pcpu_alloc_alloc_info()
2479 BUG_ON(gi->nr_units % upa); in pcpu_dump_alloc_info()
2480 for (alloc_end += gi->nr_units / upa; in pcpu_dump_alloc_info()
2630 group_sizes[group] = gi->nr_units * ai->unit_size; in pcpu_setup_first_chunk()
2632 for (i = 0; i < gi->nr_units; i++) { in pcpu_setup_first_chunk()
2818 int nr_groups = 1, nr_units = 0; in pcpu_build_alloc_info() local
2911 nr_units += roundup(group_cnt[group], upa); in pcpu_build_alloc_info()
2913 ai = pcpu_alloc_alloc_info(nr_groups, nr_units); in pcpu_build_alloc_info()
[all …]
Dpercpu-km.c117 nr_pages = (ai->groups[0].nr_units * ai->unit_size) >> PAGE_SHIFT; in pcpu_verify_alloc_info()
/linux-6.12.1/include/linux/
Dpercpu.h83 int nr_units; /* aligned # of units */ member
116 int nr_units);