upa 2174 mm/percpu.c int upa, apl; /* units per alloc, allocs per line */ upa 2185 mm/percpu.c upa = ai->alloc_size / ai->unit_size; upa 2186 mm/percpu.c width = upa * (cpu_width + 1) + group_width + 3; upa 2197 mm/percpu.c BUG_ON(gi->nr_units % upa); upa 2198 mm/percpu.c for (alloc_end += gi->nr_units / upa; upa 2206 mm/percpu.c for (unit_end += upa; unit < unit_end; unit++) upa 2539 mm/percpu.c int upa, max_upa, uninitialized_var(best_upa); /* units_per_alloc */ upa 2564 mm/percpu.c upa = alloc_size / min_unit_size; upa 2565 mm/percpu.c while (alloc_size % upa || (offset_in_page(alloc_size / upa))) upa 2566 mm/percpu.c upa--; upa 2567 mm/percpu.c max_upa = upa; upa 2594 mm/percpu.c for (upa = max_upa; upa; upa--) { upa 2597 mm/percpu.c if (alloc_size % upa || (offset_in_page(alloc_size / upa))) upa 2601 mm/percpu.c int this_allocs = DIV_ROUND_UP(group_cnt[group], upa); upa 2603 mm/percpu.c wasted += this_allocs * upa - group_cnt[group]; upa 2618 mm/percpu.c best_upa = upa; upa 2620 mm/percpu.c upa = best_upa; upa 2624 mm/percpu.c nr_units += roundup(group_cnt[group], upa); upa 2633 mm/percpu.c cpu_map += roundup(group_cnt[group], upa); upa 2639 mm/percpu.c ai->unit_size = alloc_size / upa; upa 2656 mm/percpu.c gi->nr_units = roundup(gi->nr_units, upa); upa 2839 mm/percpu.c int upa; upa 2848 mm/percpu.c upa = ai->alloc_size/ai->unit_size; upa 2849 mm/percpu.c nr_g0_units = roundup(num_possible_cpus(), upa);