Lines Matching refs:slotarg
1150 fixup_slotname(int rval, int *intp, struct searcharg *slotarg) in fixup_slotname() argument
1168 if ((slotarg->slt_name_src == PROM_SLT_NAME) && (rval == -1)) { in fixup_slotname()
1177 for (i = 0; i <= slotarg->minor; i++) { in fixup_slotname()
1186 if (i == slotarg->minor) in fixup_slotname()
1187 (void) strcpy(slotarg->slotnames[i], in fixup_slotname()
1196 if (i == slotarg->minor) in fixup_slotname()
1197 (void) strcpy(slotarg->slotnames[i], in fixup_slotname()
1208 struct searcharg *slotarg = (struct searcharg *)arg; in find_slotname() local
1209 di_prom_handle_t ph = (di_prom_handle_t)slotarg->promp; in find_slotname()
1216 slotarg->minor = dim->dev_minor % 256; in find_slotname()
1218 DBG(2, ("minor number:(%i)\n", slotarg->minor)); in find_slotname()
1227 if (strcmp(fulldevname, slotarg->devpath) == 0) { in find_slotname()
1239 slotarg->slt_name_src = SOLARIS_SLT_NAME; in find_slotname()
1241 return (fixup_slotname(rval, intp, slotarg)); in find_slotname()
1256 slotarg->slt_name_src = PROM_SLT_NAME; in find_slotname()
1258 return (fixup_slotname(rval, intp, slotarg)); in find_slotname()
1262 *slotarg->slotnames[slotarg->minor] = '\0'; in find_slotname()
1269 find_physical_slot_names(const char *devcomp, struct searcharg *slotarg) in find_physical_slot_names() argument
1280 slotarg->devpath = (char *)devcomp; in find_physical_slot_names()
1282 if ((slotarg->promp = di_prom_init()) == DI_PROM_HANDLE_NIL) { in find_physical_slot_names()
1289 0, (void *)slotarg, find_slotname); in find_physical_slot_names()
1291 di_prom_fini(slotarg->promp); in find_physical_slot_names()
1293 if (*slotarg->slotnames[0] != '\0') in find_physical_slot_names()