Home
last modified time | relevance | path

Searched refs:p_path (Results 1 – 7 of 7) sorted by relevance

/illumos-gate/usr/src/cmd/devfsadm/
H A Dusb_link.c41 static void ugen_create_link(char *p_path, char *node_name,
43 static void ccid_create_link(char *p_path, char *node_name,
259 char *l_path, *p_path, *buf, *devfspath; in usb_process() local
289 p_path = (char *)malloc(PATH_MAX); in usb_process()
290 if (p_path == NULL) { in usb_process()
297 (void) strcpy(p_path, devfspath); in usb_process()
298 (void) strcat(p_path, ":"); in usb_process()
299 (void) strcat(p_path, minor_nm); in usb_process()
302 devfsadm_print(debug_mid, "usb_process: path %s\n", p_path); in usb_process()
313 ugen_create_link(p_path, minor_nm, node, minor); in usb_process()
[all …]
H A Dport_link.c246 char l_path[MAXPATHLEN], p_path[MAXPATHLEN]; in serial_port_create() local
277 (void) strcpy(p_path, devfspath); in serial_port_create()
278 (void) strcat(p_path, ":"); in serial_port_create()
279 (void) strcat(p_path, minor_name); in serial_port_create()
282 if (devfsadm_enumerate_int(p_path, 0, &buf, port_rules, 1)) { in serial_port_create()
285 modname, p_path); in serial_port_create()
320 char l_path[MAXPATHLEN], p_path[MAXPATHLEN]; in dialout_create() local
343 (void) strcpy(p_path, devfspath); in dialout_create()
344 (void) strcat(p_path, ":"); in dialout_create()
345 (void) strcat(p_path, mn); in dialout_create()
[all …]
H A Dieee1394_link.c78 char l_path[PATH_MAX], p_path[PATH_MAX]; in ieee1394_process() local
86 (void) snprintf(p_path, sizeof (p_path), "%s:%s", in ieee1394_process()
94 if (devfsadm_enumerate_int(p_path, 0, &buf, re, 1)) { in ieee1394_process()
99 p_path, buf); in ieee1394_process()
105 devfsadm_print(debug_mid, "mklink %s %s\n", l_path, p_path); in ieee1394_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()
126 (void) strcat(p_path, ":"); in dcam1394_process()
127 (void) strcat(p_path, di_minor_name(minor)); in dcam1394_process()
135 if (devfsadm_enumerate_int(p_path, 0, &buf, re, 1)) { in dcam1394_process()
142 p_path, buf); in dcam1394_process()
H A Dmisc_link.c338 char p_path[PATH_MAX]; in ses_callback() local
346 (void) snprintf(p_path, sizeof (p_path), "%s:%s", devfspath, in ses_callback()
351 if (devfsadm_enumerate_int(p_path, 0, &buf, re, 1)) { in ses_callback()
572 char l_path[PATH_MAX], p_path[PATH_MAX], *buf, *devfspath; in gpio() local
584 (void) strcpy(p_path, devfspath); in gpio()
585 (void) strcat(p_path, ":"); in gpio()
586 (void) strcat(p_path, minor_nm); in gpio()
590 if (devfsadm_enumerate_int(p_path, 0, &buf, gpio_rules, 1)) { in gpio()
/illumos-gate/usr/src/cmd/luxadm/
H A Dfabric_conf.c179 char *p_path, *p_wwn, *p_delim; in parse_line() local
186 p_path = line_copy; in parse_line()
187 p_delim = strstr(p_path, WWN_DELIM); in parse_line()
196 if (strlcpy(path, p_path, MAXPATHLEN) >= MAXPATHLEN) { in parse_line()
198 "Path too long (%s) in file %s.", p_path, filename); in parse_line()
/illumos-gate/usr/src/uts/common/io/scsi/adapters/scsi_vhci/
H A Dscsi_vhci.c1365 char *p_path; in vhci_scsi_start() local
1375 p_path = kmem_zalloc(MAXPATHLEN, KM_SLEEP); in vhci_scsi_start()
1379 ddi_pathname(mdi_pi_get_phci(pip), p_path)); in vhci_scsi_start()
1380 kmem_free(p_path, MAXPATHLEN); in vhci_scsi_start()