Lines Matching defs:cidx
648 int cidx;
663 for (idx = 0, cidx = 0; idx < nrsrc; idx++) {
667 cpus[cidx] = rsrcs[idx].res_cpu_id;
668 cidx++;
671 drd_dbg(" ncpus = %d", cidx);
674 if (cidx == 0) {
697 oldcpus = (cpuid_t *)calloc(newncpus + cidx, sizeof (cpuid_t));
703 if (!is_cpu_in_list(newcpus[idx], cpus, cidx))
707 for (idx = 0; idx < cidx; idx++) {
714 dump_cpu_list("delta: ", cpus, cidx);