/illumos-gate/usr/src/uts/sun4/io/px/ |
H A D | px_util.c | 317 char **unit_addr; local 327 DDI_PROP_DONTPASS, "unit-address", &unit_addr, &n) == 329 if (n != 1 || *unit_addr == NULL || **unit_addr == 0) { 332 ddi_prop_free(unit_addr); 335 (void) snprintf(name, namelen, "%s", *unit_addr); 336 ddi_prop_free(unit_addr);
|
/illumos-gate/usr/src/uts/sun4u/opl/io/pcicmu/ |
H A D | pcmu_util.c | 282 char **unit_addr; local 292 DDI_PROP_DONTPASS, "unit-address", &unit_addr, &n) == 294 if (n != 1 || *unit_addr == NULL || **unit_addr == 0) { 297 ddi_prop_free(unit_addr); 300 (void) snprintf(name, namelen, "%s", *unit_addr); 301 ddi_prop_free(unit_addr);
|
/illumos-gate/usr/src/uts/sun4u/io/pci/ |
H A D | pci_util.c | 314 char **unit_addr; local 324 DDI_PROP_DONTPASS, "unit-address", &unit_addr, &n) == 326 if (n != 1 || *unit_addr == NULL || **unit_addr == 0) { 329 ddi_prop_free(unit_addr); 332 (void) snprintf(name, namelen, "%s", *unit_addr); 333 ddi_prop_free(unit_addr);
|
H A D | simba.c | 654 char **unit_addr; local 658 DDI_PROP_DONTPASS, "unit-address", &unit_addr, &n) != 664 if (n != 1 || *unit_addr == NULL || **unit_addr == 0) { 667 ddi_prop_free(unit_addr); 671 (void) snprintf(name, namelen, "%s", *unit_addr); 672 ddi_prop_free(unit_addr);
|
H A D | pci_pci.c | 736 char **unit_addr; local 747 DDI_PROP_DONTPASS, "unit-address", &unit_addr, &n) != 753 if (n != 1 || *unit_addr == NULL || **unit_addr == 0) { 756 ddi_prop_free(unit_addr); 759 (void) snprintf(name, namelen, "%s", *unit_addr); 760 ddi_prop_free(unit_addr);
|
H A D | db21554.c | 2209 char **unit_addr; local 2213 DDI_PROP_DONTPASS, "unit-address", &unit_addr, &n) != 2219 if (n != 1 || *unit_addr == NULL || **unit_addr == 0) { 2222 ddi_prop_free(unit_addr); 2226 (void) snprintf(name, namelen, "%s", *unit_addr); 2227 ddi_prop_free(unit_addr);
|
/illumos-gate/usr/src/lib/libdevinfo/ |
H A D | devfsmap.c | 763 int match_class, char *parent, char *unit_addr, int port) 768 logdmsg(("lookup_in_confent_list: %s = \"%s\", unit_addr = \"%s\", " 770 STRVAL(unit_addr), port)); 774 if (unit_addr) { 776 strcmp(confent->unit_address, unit_addr) == 0 && 812 char *unit_addr = NULL; local 851 unit_addr = node_addr; 858 unit_addr, port)) != -1) 865 par_node_name_addr, unit_addr, port)) != -1) 889 buf, unit_addr, por 762 lookup_in_confent_list(struct conf_entry *confent_list, int match_class, char *parent, char *unit_addr, int port) argument [all...] |
/illumos-gate/usr/src/uts/sun4v/io/niumx/ |
H A D | niumx.c | 534 char **unit_addr; local 538 DDI_PROP_DONTPASS, "unit-address", &unit_addr, &n) != 544 if (n != 1 || *unit_addr == NULL || **unit_addr == 0) { 547 ddi_prop_free(unit_addr); 551 (void) snprintf(name, namelen, "%s", *unit_addr); 552 ddi_prop_free(unit_addr);
|
/illumos-gate/usr/src/uts/intel/io/pci/ |
H A D | pci_pci.c | 581 char **unit_addr; local 589 DDI_PROP_DONTPASS, "unit-address", &unit_addr, &n) != 596 if (n != 1 || *unit_addr == NULL || **unit_addr == 0) { 599 ddi_prop_free(unit_addr); 602 (void) snprintf(name, namelen, "%s", *unit_addr); 603 ddi_prop_free(unit_addr);
|
/illumos-gate/usr/src/uts/i86pc/io/pci/ |
H A D | pci_common.c | 80 char **unit_addr; local 89 DDI_PROP_DONTPASS, "unit-address", &unit_addr, &n) != 95 if (n != 1 || *unit_addr == NULL || **unit_addr == 0) { 98 ddi_prop_free(unit_addr); 101 (void) snprintf(name, namelen, "%s", *unit_addr); 102 ddi_prop_free(unit_addr);
|
/illumos-gate/usr/src/uts/common/io/pciex/ |
H A D | pcieb.c | 735 char **unit_addr; local 743 DDI_PROP_DONTPASS, "unit-address", &unit_addr, &n) != 750 if (n != 1 || *unit_addr == NULL || **unit_addr == 0) { 753 ddi_prop_free(unit_addr); 756 (void) snprintf(name, namelen, "%s", *unit_addr); 757 ddi_prop_free(unit_addr);
|
/illumos-gate/usr/src/cmd/picl/plugins/sun4u/mpxu/frudr/ |
H A D | piclfrudr.c | 1371 char unit_addr[PICL_UNITADDR_LEN_MAX]; local 1400 PICL_PROP_UNIT_ADDRESS, unit_addr, 1401 sizeof (unit_addr)) == PICL_SUCCESS) { 1402 unit_addr[sizeof (unit_addr) - 1] = '\0'; 1403 if (strcmp(unit_addr, unit) == 0)
|
/illumos-gate/usr/src/uts/common/io/ib/ibnex/ |
H A D | ibnex.c | 1034 char **unit_addr; local 1037 DDI_PROP_DONTPASS, "unit-address", &unit_addr, &n) != 1044 if (n != 1 || *unit_addr == NULL || **unit_addr == 0) { 1047 ddi_prop_free(unit_addr); 1050 (void) snprintf(name, MAXNAMELEN, "%s", *unit_addr); 1051 ddi_prop_free(unit_addr); 3452 char *node_addr, *temp, *unit_addr; local 3501 unit_addr = (char *)kmem_alloc(len, KM_SLEEP); 3502 nodep->node_data.pseudo_node.pseudo_unit_addr = unit_addr; [all...] |
/illumos-gate/usr/src/uts/common/io/cardbus/ |
H A D | cardbus.c | 1304 char **unit_addr; local 1317 "unit-address", &unit_addr, &n) != DDI_PROP_SUCCESS) { 1322 if (n != 1 || *unit_addr == NULL || **unit_addr == 0) { 1325 ddi_prop_free(unit_addr); 1328 (void) snprintf(name, namelen, "%s", *unit_addr); 1329 ddi_prop_free(unit_addr);
|