Lines Matching refs:cm
155 int cm;
184 for (cp = cinfo, cm = firstcm; cm <= lastcm; cm++, cp++) {
188 switch (ap_cm_type(a, cm)) {
203 if (ap_cm_capacity(a, cm, cap, ncap, os)) {
423 int cm;
432 for (ncpu = 0, cm = rcm->firstcm; cm <= rcm->lastcm; cm++) {
434 ap_target_t type = ap_cm_type(a, cm);
437 ncpu += ap_cm_ncap(a, cm);
501 int cm;
513 for (ncap = 0, cm = firstcm; cm <= lastcm; cm++) {
514 ncap += ap_cm_ncap(a, cm);
534 for (ncap = 0, cm = firstcm; cm <= lastcm; cm++) {
535 switch (ap_cm_type(a, cm)) {
556 capindex = (cm == CM_DFLT) ? 0 : cm;
562 if (!ap_cm_capacity(a, cm, cpuid, nc, &os)) {
602 if ((path = ap_cm_devpath(a, cm)) != NULL) {
884 int cm;
899 for (cm = rcm->firstcm; cm <= rcm->lastcm; cm++) {
906 i = (cm == CM_DFLT) ? 0 : cm;
913 type = ap_cm_type(a, cm);
941 int cm;
962 for (cm = rcm->firstcm; cm <= rcm->lastcm; cm++) {
972 i = cm == CM_DFLT ? 0 : cm;
983 type = ap_cm_type(a, cm);
985 DBG("cm=%d valid=%d type=%d, prevos=%d os=%d\n",
986 cm, prevvalidity, type, prevos, os);
1043 int cm;
1069 for (cm = rcm->firstcm; cm <= rcm->lastcm; cm++) {
1080 i = cm == CM_DFLT ? 0 : cm;
1095 type = ap_cm_type(a, cm);
1156 int cm;
1210 for (ncpus = 0, cm = rcm->firstcm; cm <= rcm->lastcm;
1211 cm++) {
1212 ap_target_t type = ap_cm_type(a, cm);
1214 ncpus += ap_cm_ncap(a, cm);