Lines Matching refs:cpus
286 cpuid_t *cpus = NULL;
305 cpus = (cpuid_t *)malloc(nrsrc * sizeof (cpuid_t));
309 cpus[idx] = rsrcs[idx].res_cpu_id;
333 if (!is_cpu_in_list(newcpus[idx], cpus, ncpus))
340 dump_cpu_list("delta: ", cpus, ncpus);
356 s_free(cpus);
366 cpuid_t *cpus = NULL;
385 cpus = (cpuid_t *)malloc(nrsrc * sizeof (cpuid_t));
388 cpus[idx] = rsrcs[idx].res_cpu_id;
415 if (!is_cpu_in_list(oldcpus[idx], cpus, ncpus))
422 dump_cpu_list("delta: ", cpus, ncpus);
457 s_free(cpus);
640 cpuid_t *cpus = NULL;
658 cpus = (cpuid_t *)malloc(nrsrc * sizeof (cpuid_t));
667 cpus[cidx] = rsrcs[idx].res_cpu_id;
703 if (!is_cpu_in_list(newcpus[idx], cpus, cidx))
708 oldcpus[oldncpus++] = cpus[idx];
714 dump_cpu_list("delta: ", cpus, cidx);
730 s_free(cpus);