Lines Matching defs:cpu_map
2381 * @nr_units units. The returned ai's groups[0].cpu_map points to the
2382 * cpu_map array which is long enough for @nr_units and filled with
2383 * NR_CPUS. It's the caller's responsibility to initialize cpu_map
2399 __alignof__(ai->groups[0].cpu_map[0]));
2400 ai_size = base_size + nr_units * sizeof(ai->groups[0].cpu_map[0]);
2408 ai->groups[0].cpu_map = ptr;
2411 ai->groups[0].cpu_map[unit] = NR_CPUS;
2477 if (gi->cpu_map[unit] != NR_CPUS)
2479 cpu_width, gi->cpu_map[unit]);
2609 cpu = gi->cpu_map[i];
2797 unsigned int *cpu_map;
2889 cpu_map = ai->groups[0].cpu_map;
2892 ai->groups[group].cpu_map = cpu_map;
2893 cpu_map += roundup(group_cnt[group], upa);
2915 gi->cpu_map[gi->nr_units++] = cpu;
3027 cpu = gi->cpu_map[i];
3068 if (gi->cpu_map[i] == NR_CPUS) {
3206 unsigned int cpu = ai->groups[0].cpu_map[unit];
3331 ai->groups[0].cpu_map[0] = 0;