/titanic_50/usr/src/cmd/devfsadm/ |
H A D | port_link.c | 247 char *devfspath, *buf, *minor_name; in serial_port_create() local 250 devfspath = di_devfs_path(node); in serial_port_create() 251 if (devfspath == NULL) { in serial_port_create() 258 devfspath); in serial_port_create() 259 di_devfs_path_free(devfspath); in serial_port_create() 268 modname, devfspath, minor_name); in serial_port_create() 269 di_devfs_path_free(devfspath); in serial_port_create() 277 (void) strcpy(p_path, devfspath); in serial_port_create() 280 di_devfs_path_free(devfspath); in serial_port_create() 321 char *devfspath, *buf, *mn; in dialout_create() local [all …]
|
H A D | ieee1394_link.c | 79 char *buf, *devfspath; in ieee1394_process() local 83 devfspath = di_devfs_path(node); in ieee1394_process() 86 "ieee1394_process: path %s\n", devfspath); in ieee1394_process() 89 devfspath, di_minor_name(minor)); in ieee1394_process() 90 di_devfs_path_free(devfspath); in ieee1394_process()
|
H A D | smp_link.c | 70 char *devfspath; in smp_callback() local 75 devfspath = di_devfs_path(node); in smp_callback() 77 (void) strcpy(l_path, devfspath); in smp_callback() 81 di_devfs_path_free(devfspath); in smp_callback()
|
H A D | tape_link.c | 68 char *devfspath; in tape_process() local 82 devfspath = di_devfs_path(node); in tape_process() 84 (void) strcpy(l_path, devfspath); in tape_process() 88 di_devfs_path_free(devfspath); in tape_process()
|
H A D | dcam1394_link.c | 101 char l_path[PATH_MAX], p_path[PATH_MAX], *buf, *devfspath; in dcam1394_process() local 127 (void) strcpy(p_path, devfspath = di_devfs_path(node)); in dcam1394_process() 130 di_devfs_path_free(devfspath); in dcam1394_process()
|
H A D | usb_link.c | 245 char *l_path, *p_path, *buf, *devfspath; in usb_process() local 260 devfspath = di_devfs_path(node); in usb_process() 261 if (devfspath == NULL) { in usb_process() 269 di_devfs_path_free(devfspath); in usb_process() 277 di_devfs_path_free(devfspath); in usb_process() 282 (void) strcpy(p_path, devfspath); in usb_process() 285 di_devfs_path_free(devfspath); in usb_process()
|
H A D | misc_link.c | 322 char *devfspath; in ses_callback() local 327 if (NULL == (devfspath = di_devfs_path(node))) { in ses_callback() 331 (void) snprintf(p_path, sizeof (p_path), "%s:%s", devfspath, in ses_callback() 338 di_devfs_path_free(devfspath); in ses_callback() 347 di_devfs_path_free(devfspath); in ses_callback() 557 char l_path[PATH_MAX], p_path[PATH_MAX], *buf, *devfspath; in gpio() local 567 devfspath = di_devfs_path(node); in gpio() 569 (void) strcpy(p_path, devfspath); in gpio() 572 di_devfs_path_free(devfspath); in gpio()
|
H A D | sgen_link.c | 187 char *devfspath; in find_ctrlr() local 198 if ((devfspath = di_devfs_path(node)) == NULL) { in find_ctrlr() 201 (void) strcpy(path, devfspath); in find_ctrlr() 204 di_devfs_path_free(devfspath); in find_ctrlr()
|
H A D | cfg_link.c | 247 char path[PATH_MAX + 1], l_path[PATH_MAX], *buf, *devfspath; in sata_cfg_creat_cb() local 256 devfspath = di_devfs_path(node); in sata_cfg_creat_cb() 257 if (devfspath == NULL) in sata_cfg_creat_cb() 260 (void) strlcpy(path, devfspath, sizeof (path)); in sata_cfg_creat_cb() 263 di_devfs_path_free(devfspath); in sata_cfg_creat_cb() 283 char path[PATH_MAX +1], l_path[PATH_MAX], *buf, *devfspath; in sdcard_cfg_creat_cb() local 292 devfspath = di_devfs_path(node); in sdcard_cfg_creat_cb() 293 if (devfspath == NULL) in sdcard_cfg_creat_cb() 296 (void) snprintf(path, sizeof (path), "%s:%s", devfspath, minor_nm); in sdcard_cfg_creat_cb() 297 di_devfs_path_free(devfspath); in sdcard_cfg_creat_cb()
|
H A D | disk_link.c | 606 char *devfspath; in diskctrl() local 617 if ((devfspath = di_devfs_path(node)) == NULL) { in diskctrl() 620 (void) strcpy(path, devfspath); in diskctrl() 623 di_devfs_path_free(devfspath); in diskctrl()
|
/titanic_50/usr/src/cmd/devfsadm/i386/ |
H A D | misc_link_i386.c | 371 char *devfspath; in agp_process() local 387 devfspath = di_devfs_path(node); in agp_process() 388 if (devfspath == NULL) { in agp_process() 396 di_devfs_path_free(devfspath); in agp_process() 405 di_devfs_path_free(devfspath); in agp_process() 410 (void) strlcpy(p_path, devfspath, PATH_MAX); in agp_process() 413 di_devfs_path_free(devfspath); in agp_process() 495 char *devfspath; in drm_node() local 512 devfspath = di_devfs_path(node); in drm_node() 513 if (devfspath == NULL) { in drm_node() [all …]
|
/titanic_50/usr/src/cmd/stmsboot/ |
H A D | stmsboot_util.c | 864 char *devfspath = NULL; in print_node_name() local 869 devfspath = di_devfs_path(curnode); in print_node_name() 870 logmsg(MSG_INFO, "find: devfspath %s\n", devfspath); in print_node_name() 872 if (devfspath == NULL) in print_node_name() 875 if ((strlen(strdevfspath) == strlen(devfspath)) && in print_node_name() 876 (strncmp(strdevfspath, devfspath, in print_node_name() 877 strlen(devfspath)) == 0)) { in print_node_name() 986 char *devfspath = NULL; in popcheck_devnvl() local 993 devfspath = di_devfs_path(thisnode); in popcheck_devnvl() 994 if (devfspath == NULL) { in popcheck_devnvl() [all …]
|
/titanic_50/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()
|
/titanic_50/usr/src/lib/libdevinfo/ |
H A D | devinfo.c | 859 char *devfspath = di_devfs_path(root); in di_walk_minor() local 860 DPRINTF((DI_INFO, "walking minor nodes under %s\n", devfspath)); in di_walk_minor() 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() 1150 full_path_len = strlen(devfspath) + strlen(name) + 2; in di_devfs_minor_path() 1154 devfspath, name); in di_devfs_minor_path() 1156 di_devfs_path_free(devfspath); in di_devfs_minor_path() 2577 char *devfspath = di_devfs_path(node); in di_walk_hp() local [all …]
|
/titanic_50/usr/src/cmd/biosdev/ |
H A D | biosdev.c | 141 char *devfspath; in new_disk_list_entry() local 158 devfspath = di_devfs_path(node); in new_disk_list_entry() 159 disk_list[disk_list_valid] = devfspath; in new_disk_list_entry() 161 (void) printf("adding %s\n", devfspath); in new_disk_list_entry() 363 char *devfspath = NULL; in match_edd() local 490 devfspath = di_devfs_path(cnode); in match_edd() 491 index = search_disklist_match_path(devfspath); in match_edd() 492 di_devfs_path_free(devfspath); in match_edd()
|
/titanic_50/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 | ttymux_rcm.c | 702 char *devfspath; in locate_dev() local 709 if ((devfspath = di_devfs_path(node)) == NULL) in locate_dev() 713 devfspath, di_minor_name(minor)) > sizeof (resource)) { in locate_dev() 714 di_devfs_path_free(devfspath); in locate_dev() 718 di_devfs_path_free(devfspath); in locate_dev() 1095 char *devfspath; in find_mux_nodes() local 1122 if ((devfspath = di_devfs_path(node)) == NULL) { in find_mux_nodes() 1139 "/devices%s:%s", devfspath, in find_mux_nodes() 1147 "/devices%s:%s", devfspath, in find_mux_nodes() 1156 di_devfs_path_free(devfspath); in find_mux_nodes()
|
H A D | mpxio_rcm.c | 962 char *devfspath; in get_rsrcname() local 965 if ((devfspath = di_devfs_path(dinode)) == NULL) { in get_rsrcname() 970 len = snprintf(name, sizeof (name), "/devices%s", devfspath); in get_rsrcname() 971 di_devfs_path_free(devfspath); in get_rsrcname()
|
/titanic_50/usr/src/uts/common/os/ |
H A D | devcfg.c | 4017 i_ddi_prompath_to_devfspath(char *prompath, char *devfspath) in i_ddi_prompath_to_devfspath() argument 4034 (void) ddi_pathname(dip, devfspath); in i_ddi_prompath_to_devfspath() 4039 (void) strcat(devfspath, ":"); in i_ddi_prompath_to_devfspath() 4040 (void) strcat(devfspath, minor_name); in i_ddi_prompath_to_devfspath() 4046 (void) snprintf(devfspath, MAXPATHLEN, "%s:%s", in i_ddi_prompath_to_devfspath()
|