/illumos-gate/usr/src/cmd/devfsadm/ |
H A D | port_link.c | 251 if (devfspath == NULL) { in serial_port_create() 258 devfspath); in serial_port_create() 324 if (devfspath == NULL) { in dialout_create() 331 modname, devfspath); in dialout_create() 466 if (devfspath == NULL) { in onbrd_port_create() 473 modname, devfspath); in onbrd_port_create() 529 if (devfspath == NULL) { in onbrd_dialout_create() 591 char *devfspath; in rsc_port_create() local 596 if (devfspath == NULL) { in rsc_port_create() 641 char *devfspath; in lom_port_create() local [all …]
|
H A D | ieee1394_link.c | 77 char *buf, *devfspath; in ieee1394_process() local 81 devfspath = di_devfs_path(node); in ieee1394_process() 84 "ieee1394_process: path %s\n", devfspath); in ieee1394_process() 87 devfspath, di_minor_name(minor)); in ieee1394_process() 88 di_devfs_path_free(devfspath); in ieee1394_process()
|
H A D | smp_link.c | 68 char *devfspath; in smp_callback() local 73 devfspath = di_devfs_path(node); in smp_callback() 75 (void) strcpy(l_path, devfspath); in smp_callback() 79 di_devfs_path_free(devfspath); in smp_callback()
|
H A D | tape_link.c | 66 char *devfspath; in tape_process() local 80 devfspath = di_devfs_path(node); in tape_process() 82 (void) strcpy(l_path, devfspath); in tape_process() 86 di_devfs_path_free(devfspath); in tape_process()
|
H A D | dcam1394_link.c | 99 char l_path[PATH_MAX], p_path[PATH_MAX], *buf, *devfspath; in dcam1394_process() local 125 (void) strcpy(p_path, devfspath = di_devfs_path(node)); in dcam1394_process() 128 di_devfs_path_free(devfspath); in dcam1394_process()
|
H A D | usb_link.c | 259 char *l_path, *p_path, *buf, *devfspath; in usb_process() local 275 devfspath = di_devfs_path(node); in usb_process() 276 if (devfspath == NULL) { in usb_process() 284 di_devfs_path_free(devfspath); in usb_process() 292 di_devfs_path_free(devfspath); in usb_process() 297 (void) strcpy(p_path, devfspath); in usb_process() 300 di_devfs_path_free(devfspath); in usb_process()
|
H A D | misc_link.c | 334 char *devfspath; in ses_callback() local 339 if (NULL == (devfspath = di_devfs_path(node))) { in ses_callback() 343 (void) snprintf(p_path, sizeof (p_path), "%s:%s", devfspath, in ses_callback() 350 di_devfs_path_free(devfspath); in ses_callback() 359 di_devfs_path_free(devfspath); in ses_callback() 569 char l_path[PATH_MAX], p_path[PATH_MAX], *buf, *devfspath; in gpio() local 579 devfspath = di_devfs_path(node); in gpio() 581 (void) strcpy(p_path, devfspath); in gpio() 584 di_devfs_path_free(devfspath); in gpio()
|
H A D | sgen_link.c | 188 char *devfspath; in find_ctrlr() local 200 if ((devfspath = di_devfs_path(node)) == NULL) { in find_ctrlr() 203 (void) strcpy(path, devfspath); in find_ctrlr() 206 di_devfs_path_free(devfspath); in find_ctrlr()
|
H A D | cfg_link.c | 256 char path[PATH_MAX + 1], l_path[PATH_MAX], *buf, *devfspath; in sata_cfg_creat_cb() local 265 devfspath = di_devfs_path(node); in sata_cfg_creat_cb() 266 if (devfspath == NULL) in sata_cfg_creat_cb() 269 (void) strlcpy(path, devfspath, sizeof (path)); in sata_cfg_creat_cb() 272 di_devfs_path_free(devfspath); in sata_cfg_creat_cb() 292 char path[PATH_MAX +1], l_path[PATH_MAX], *buf, *devfspath; in sdcard_cfg_creat_cb() local 301 devfspath = di_devfs_path(node); in sdcard_cfg_creat_cb() 302 if (devfspath == NULL) in sdcard_cfg_creat_cb() 305 (void) snprintf(path, sizeof (path), "%s:%s", devfspath, minor_nm); in sdcard_cfg_creat_cb() 306 di_devfs_path_free(devfspath); in sdcard_cfg_creat_cb()
|
H A D | disk_link.c | 658 char *devfspath; in diskctrl() local 670 if ((devfspath = di_devfs_path(node)) == NULL) { in diskctrl() 673 (void) strcpy(path, devfspath); in diskctrl() 676 di_devfs_path_free(devfspath); in diskctrl()
|
/illumos-gate/usr/src/cmd/stmsboot/ |
H A D | stmsboot_util.c | 870 char *devfspath = NULL; in print_node_name() local 878 if (devfspath == NULL) in print_node_name() 883 strlen(devfspath)) == 0)) { in print_node_name() 992 char *devfspath = NULL; in popcheck_devnvl() local 1000 if (devfspath == NULL) { in popcheck_devnvl() 1037 NVL_MPXEN, devfspath, in popcheck_devnvl() 1050 NVL_MPXEN, devfspath, in popcheck_devnvl() 1077 devfspath); in popcheck_devnvl() 1182 char *devfspath = NULL; in find_link() local 1187 devfspath = di_devfs_path(cnode); in find_link() [all …]
|
/illumos-gate/usr/src/cmd/devfsadm/sparc/ |
H A D | misc_link_sparc.c | 167 char path[PATH_MAX], l_path[PATH_MAX], *buf, *devfspath; in mc_node() local 176 devfspath = di_devfs_path(node); in mc_node() 178 (void) strcpy(path, devfspath); in mc_node() 181 di_devfs_path_free(devfspath); in mc_node()
|
/illumos-gate/usr/src/lib/libdevinfo/ |
H A D | devinfo.c | 861 di_devfs_path_free(devfspath); in di_walk_minor() 1135 char *full_path, *name, *devfspath; in di_devfs_minor_path() local 1145 devfspath = di_devfs_path(node); in di_devfs_minor_path() 1146 if (devfspath == NULL) in di_devfs_minor_path() 1154 devfspath, name); in di_devfs_minor_path() 1156 di_devfs_path_free(devfspath); in di_devfs_minor_path() 2579 di_devfs_path_free(devfspath); in di_walk_hp() 3606 di_devfs_path_free(devfspath); in di_walk_link() 3670 di_devfs_path_free(devfspath); in di_walk_lnode() 3724 cp = devfspath + strlen(alias); in alias_to_curr() [all …]
|
/illumos-gate/usr/src/cmd/biosdev/ |
H A D | biosdev.c | 139 char *devfspath; in new_disk_list_entry() local 156 devfspath = di_devfs_path(node); in new_disk_list_entry() 157 disk_list[disk_list_valid] = devfspath; in new_disk_list_entry() 159 (void) printf("adding %s\n", devfspath); in new_disk_list_entry() 361 char *devfspath = NULL; in match_edd() local 488 devfspath = di_devfs_path(cnode); in match_edd() 489 index = search_disklist_match_path(devfspath); in match_edd() 490 di_devfs_path_free(devfspath); in match_edd()
|
/illumos-gate/usr/src/cmd/rcm_daemon/common/ |
H A D | network_rcm.c | 644 char *devfspath; in devfs_entry() local 664 devfspath = di_devfs_path(node); in devfs_entry() 665 if (!devfspath) { in devfs_entry() 671 if (strncmp("/pseudo", devfspath, strlen("/pseudo")) == 0) { in devfs_entry() 674 _("NET: ignoring pseudo device %s\n"), devfspath); in devfs_entry() 675 di_devfs_path_free(devfspath); in devfs_entry() 679 (void) snprintf(resource, sizeof (resource), "/devices%s", devfspath); in devfs_entry() 680 di_devfs_path_free(devfspath); in devfs_entry()
|
H A D | mpxio_rcm.c | 960 char *devfspath; in get_rsrcname() local 963 if ((devfspath = di_devfs_path(dinode)) == NULL) { in get_rsrcname() 968 len = snprintf(name, sizeof (name), "/devices%s", devfspath); in get_rsrcname() 969 di_devfs_path_free(devfspath); in get_rsrcname()
|
/illumos-gate/usr/src/uts/common/os/ |
H A D | devcfg.c | 4173 i_ddi_prompath_to_devfspath(char *prompath, char *devfspath) in i_ddi_prompath_to_devfspath() argument 4189 (void) ddi_pathname(dip, devfspath); in i_ddi_prompath_to_devfspath() 4194 (void) strcat(devfspath, ":"); in i_ddi_prompath_to_devfspath() 4195 (void) strcat(devfspath, minor_name); in i_ddi_prompath_to_devfspath() 4201 (void) snprintf(devfspath, MAXPATHLEN, "%s:%s", in i_ddi_prompath_to_devfspath()
|