Searched refs:nr_units (Results 1 – 5 of 5) sorted by relevance
189 int node, prev_node, unit, nr_units; in setup_per_cpu_areas() local209 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()
115 gi->cpu_map[gi->nr_units++] = cpu; in setup_per_cpu_areas()
74 int nr_units; /* aligned # of units */ member107 int nr_units);
2431 int nr_units) in pcpu_alloc_alloc_info() argument2450 for (unit = 0; unit < nr_units; unit++) in pcpu_alloc_alloc_info()2507 BUG_ON(gi->nr_units % upa); in pcpu_dump_alloc_info()2508 for (alloc_end += gi->nr_units / upa; in pcpu_dump_alloc_info()2660 for (i = 0; i < gi->nr_units; i++) { in pcpu_setup_first_chunk()2846 int nr_groups = 1, nr_units = 0; in pcpu_build_alloc_info() local2970 gi->cpu_map[gi->nr_units++] = cpu; in pcpu_build_alloc_info()2971 gi->nr_units = roundup(gi->nr_units, upa); in pcpu_build_alloc_info()2972 unit += gi->nr_units; in pcpu_build_alloc_info()2974 BUG_ON(unit != nr_units); in pcpu_build_alloc_info()[all …]
117 nr_pages = (ai->groups[0].nr_units * ai->unit_size) >> PAGE_SHIFT; in pcpu_verify_alloc_info()