Home
last modified time | relevance | path

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

/linux/mm/
H A Dpercpu.c2384 * @nr_units: the number of units
2387 * @nr_units units. The returned ai's groups[0].cpu_map points to the
2388 * cpu_map array which is long enough for @nr_units and filled with
2397 int nr_units) in pcpu_alloc_alloc_info() argument
2406 ai_size = base_size + nr_units * sizeof(ai->groups[0].cpu_map[0]); in pcpu_alloc_alloc_info()
2416 for (unit = 0; unit < nr_units; unit++) in pcpu_alloc_alloc_info()
2473 BUG_ON(gi->nr_units % upa); in pcpu_dump_alloc_info()
2474 for (alloc_end += gi->nr_units / upa; in pcpu_dump_alloc_info()
2612 group_sizes[group] = gi->nr_units * ai->unit_size; in pcpu_setup_first_chunk()
2614 for (i = 0; i < gi->nr_units; in pcpu_setup_first_chunk()
2797 int nr_groups = 1, nr_units = 0; pcpu_build_alloc_info() local
[all...]
H A Dpercpu-km.c117 nr_pages = (ai->groups[0].nr_units * ai->unit_size) >> PAGE_SHIFT; in pcpu_verify_alloc_info()