Home
last modified time | relevance | path

Searched refs:slot_names (Results 1 – 5 of 5) sorted by relevance

/illumos-gate/usr/src/lib/libdevinfo/
H A Ddevinfo_prop_decode.c933 di_slot_names_free(int count, di_slot_name_t *slot_names) in di_slot_names_free() argument
935 if (slot_names == NULL) in di_slot_names_free()
939 if (slot_names[count].name != NULL) in di_slot_names_free()
940 free(slot_names[count].name); in di_slot_names_free()
942 free(slot_names); in di_slot_names_free()
970 di_slot_name_t *slot_names = NULL; in di_slot_names_decode() local
989 slot_names = malloc(sizeof (*slot_names) * maxcount); in di_slot_names_decode()
990 bzero(slot_names, sizeof (*slot_names) * maxcount); in di_slot_names_decode()
1004 slot_names[count].name = in di_slot_names_decode()
1006 (void) strlcpy(slot_names[count].name, sp, len + 1); in di_slot_names_decode()
[all …]
H A Dlibdevinfo.h376 extern void di_slot_names_free(int count, di_slot_name_t *slot_names);
/illumos-gate/usr/src/lib/libprtdiag_psr/sparc/javelin/common/
H A Djavelin.c1270 char *slot_names; in tazmo_physical_slot() local
1340 slot_names = (char *)slot_names_mask; in tazmo_physical_slot()
1343 slot_names += 4; /* Skip the 4 byte bitmask */ in tazmo_physical_slot()
1353 (void) strcpy(str, slot_names); in tazmo_physical_slot()
1356 slot_names += strlen(slot_names)+1; in tazmo_physical_slot()
/illumos-gate/usr/src/lib/libprtdiag_psr/sparc/tazmo/common/
H A Dtazmo.c1479 char *slot_names; in tazmo_physical_slot() local
1544 slot_names = (char *)slot_names_mask; in tazmo_physical_slot()
1547 slot_names += 4; /* Skip the 4 byte bitmask */ in tazmo_physical_slot()
1557 (void) strcpy(str, slot_names); in tazmo_physical_slot()
1560 slot_names += strlen(slot_names)+1; in tazmo_physical_slot()
/illumos-gate/usr/src/cmd/devfsadm/
H A Dcfg_link.c504 di_slot_name_t *slot_names = NULL; in pci_cfg_slotname() local
507 &slot_names); in pci_cfg_slotname()
512 if (slot_names[i].num == (int)pci_dev) { in pci_cfg_slotname()
513 name = strdup(slot_names[i].name); in pci_cfg_slotname()
523 di_slot_names_free(count, slot_names); in pci_cfg_slotname()