Lines Matching refs:cpus
234 for (i = 0; i < block->hdr.cpus; i++) { in fill_diag_mac()
235 switch (cpu_id(block->cpus[i].ctidx, diag224_buf)) { in fill_diag_mac()
237 if (block->cpus[i].weight == DED_WEIGHT) in fill_diag_mac()
243 if (block->cpus[i].weight == DED_WEIGHT) in fill_diag_mac()
263 if (!(block->cpus[i].cflag & DIAG204_CPU_ONLINE)) in lpar_cpu_inf()
266 switch (cpu_id(block->cpus[i].ctidx, diag224_buf)) { in lpar_cpu_inf()
269 if (block->cpus[i].cur_weight < DED_WEIGHT) in lpar_cpu_inf()
270 weight_cp |= block->cpus[i].cur_weight; in lpar_cpu_inf()
274 if (block->cpus[i].cur_weight < DED_WEIGHT) in lpar_cpu_inf()
275 weight_ifl |= block->cpus[i].cur_weight; in lpar_cpu_inf()
284 capped |= block->cpus[i].cflag & DIAG204_CPU_CAPPED; in lpar_cpu_inf()
285 cpu_inf->lpar_cap |= block->cpus[i].cpu_type_cap; in lpar_cpu_inf()
286 cpu_inf->lpar_grp_cap |= block->cpus[i].group_cpu_type_cap; in lpar_cpu_inf()
288 if (block->cpus[i].weight == DED_WEIGHT) in lpar_cpu_inf()
300 return (struct diag204_x_part_block *)&block->cpus[i]; in lpar_cpu_inf()