Searched refs:nr_units (Results 1 – 3 of 3) sorted by relevance
2401 * @nr_units: the number of units in pcpu_alloc_alloc_info() argument 2404 * @nr_units units. The returned ai's groups[0].cpu_map points to the in pcpu_alloc_alloc_info() 2405 * cpu_map array which is long enough for @nr_units and filled with in pcpu_alloc_alloc_info() 2414 int nr_units) in pcpu_alloc_alloc_info() 2423 ai_size = base_size + nr_units * sizeof(ai->groups[0].cpu_map[0]); in pcpu_alloc_alloc_info() 2433 for (unit = 0; unit < nr_units; unit++)2490 BUG_ON(gi->nr_units % upa); in pcpu_dump_alloc_info() 2491 for (alloc_end += gi->nr_units / upa; in pcpu_dump_alloc_info() 2629 group_sizes[group] = gi->nr_units * ai->unit_size; in pcpu_setup_first_chunk() 2631 for (i = 0; i < gi->nr_units; in pcpu_setup_first_chunk() 2801 int nr_groups = 1, nr_units = 0; pcpu_build_alloc_info() local [all...]
117 nr_pages = (ai->groups[0].nr_units * ai->unit_size) >> PAGE_SHIFT; in pcpu_verify_alloc_info()
79 int nr_units; /* aligned # of units */ member112 int nr_units);