Home
last modified time | relevance | path

Searched refs:slotarg (Results 1 – 2 of 2) sorted by relevance

/illumos-gate/usr/src/lib/cfgadm_plugins/shp/common/
H A Dshp.c1039 fixup_slotname(int rval, int *intp, struct searcharg *slotarg) in fixup_slotname() argument
1041 if ((slotarg->slt_name_src == PROM_SLT_NAME) && (rval == -1)) { in fixup_slotname()
1050 for (i = 0; i <= slotarg->minor; i++) { in fixup_slotname()
1059 if (i == slotarg->minor) in fixup_slotname()
1060 (void) strcpy(slotarg->slotnames[i], in fixup_slotname()
1069 if (i == slotarg->minor) in fixup_slotname()
1070 (void) strcpy(slotarg->slotnames[i], in fixup_slotname()
1081 struct searcharg *slotarg = (struct searcharg *)arg; in find_slotname() local
1082 di_prom_handle_t ph = (di_prom_handle_t)slotarg->promp; in find_slotname()
1089 slotarg->minor = dim->dev_minor % 256; in find_slotname()
[all …]
/illumos-gate/usr/src/lib/cfgadm_plugins/pci/common/
H A Dcfga.c1150 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()
[all …]