Home
last modified time | relevance | path

Searched refs:devfspath (Results 1 – 17 of 17) sorted by relevance

/illumos-gate/usr/src/cmd/devfsadm/
H A Dport_link.c247 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 Dieee1394_link.c77 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 Dsmp_link.c68 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 Dtape_link.c66 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 Dusb_link.c232 char *l_path, *p_path, *buf, *devfspath; in usb_process() local
248 devfspath = di_devfs_path(node); in usb_process()
249 if (devfspath == NULL) { in usb_process()
257 di_devfs_path_free(devfspath); in usb_process()
265 di_devfs_path_free(devfspath); in usb_process()
270 (void) strcpy(p_path, devfspath); in usb_process()
273 di_devfs_path_free(devfspath); in usb_process()
H A Ddcam1394_link.c99 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 Dmisc_link.c337 char *devfspath; in ses_callback() local
342 if (NULL == (devfspath = di_devfs_path(node))) { in ses_callback()
346 (void) snprintf(p_path, sizeof (p_path), "%s:%s", devfspath, in ses_callback()
353 di_devfs_path_free(devfspath); in ses_callback()
362 di_devfs_path_free(devfspath); in ses_callback()
572 char l_path[PATH_MAX], p_path[PATH_MAX], *buf, *devfspath; in gpio() local
582 devfspath = di_devfs_path(node); in gpio()
584 (void) strcpy(p_path, devfspath); in gpio()
587 di_devfs_path_free(devfspath); in gpio()
H A Dsgen_link.c188 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 Dcfg_link.c256 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 Ddisk_link.c658 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 Dstmsboot_util.c870 char *devfspath = NULL; in print_node_name() local
875 devfspath = di_devfs_path(curnode); in print_node_name()
876 logmsg(MSG_INFO, "find: devfspath %s\n", devfspath); in print_node_name()
878 if (devfspath == NULL) in print_node_name()
881 if ((strlen(strdevfspath) == strlen(devfspath)) && in print_node_name()
882 (strncmp(strdevfspath, devfspath, in print_node_name()
883 strlen(devfspath)) == 0)) { in print_node_name()
992 char *devfspath = NULL; in popcheck_devnvl() local
999 devfspath = di_devfs_path(thisnode); in popcheck_devnvl()
1000 if (devfspath == NULL) { in popcheck_devnvl()
[all …]
/illumos-gate/usr/src/cmd/devfsadm/sparc/
H A Dmisc_link_sparc.c167 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 Ddevinfo.c861 char *devfspath = di_devfs_path(root); in di_walk_minor() local
862 DPRINTF((DI_INFO, "walking minor nodes under %s\n", devfspath)); in di_walk_minor()
863 di_devfs_path_free(devfspath); in di_walk_minor()
1137 char *full_path, *name, *devfspath; in di_devfs_minor_path() local
1147 devfspath = di_devfs_path(node); in di_devfs_minor_path()
1148 if (devfspath == NULL) in di_devfs_minor_path()
1152 full_path_len = strlen(devfspath) + strlen(name) + 2; in di_devfs_minor_path()
1156 devfspath, name); in di_devfs_minor_path()
1158 di_devfs_path_free(devfspath); in di_devfs_minor_path()
2579 char *devfspath = di_devfs_path(node); in di_walk_hp() local
[all …]
/illumos-gate/usr/src/cmd/biosdev/
H A Dbiosdev.c139 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 Dnetwork_rcm.c644 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 Dmpxio_rcm.c960 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 Ddevcfg.c4206 i_ddi_prompath_to_devfspath(char *prompath, char *devfspath) in i_ddi_prompath_to_devfspath() argument
4222 (void) ddi_pathname(dip, devfspath); in i_ddi_prompath_to_devfspath()
4227 (void) strcat(devfspath, ":"); in i_ddi_prompath_to_devfspath()
4228 (void) strcat(devfspath, minor_name); in i_ddi_prompath_to_devfspath()
4234 (void) snprintf(devfspath, MAXPATHLEN, "%s:%s", in i_ddi_prompath_to_devfspath()