Lines Matching defs:type
45 ap_getncm(apd_t *a, sbd_comp_type_t type, int *ncm)
54 ctl->ic_type = type;
69 DBG("ncm(%d)=%d\n", type, cp->g_ncm);
170 * type to UNKNOWN since the plugin does not know
171 * the type of the component specified by the user.
196 * Convert a component to a target type.
199 ap_cm_tgt(sbd_comp_type_t type)
203 switch (type) {
241 * the STATUS in order to figure out the component type and
377 * The type field is defined to be parsable by cfgadm(1M): It
404 DBG("ap_init bd=%d rs=%d os=%d type=<%s>\n",
771 char *type;
775 type = "cpu";
778 type = "memory";
781 type = "io";
784 type = "cpu";
787 type = "other";
791 DBG("ap_dev_type(%d)=%s\n", dst->ds_type, type);
793 return (type);
821 * the path if the component is indeed of type io.
877 * Convert a component to a target type.
991 char *type;
997 type = ap_dev_type(dst);
1001 DBG("ap_cm_init bd=%d rs=%d os=%d type=<%s> seq=%d\n",
1002 a->bnum, st->s_rstate, dst->ds_ostate, type, seq);
1004 (void) strncpy(ap->ap_type, type, sizeof (ap->ap_type));