Home
last modified time | relevance | path

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

/titanic_41/usr/src/cmd/devfsadm/
H A Dusb_link.c38 static void ugen_create_link(char *p_path, char *node_name,
245 char *l_path, *p_path, *buf, *devfspath; in usb_process() local
274 p_path = (char *)malloc(PATH_MAX); in usb_process()
275 if (p_path == NULL) { in usb_process()
282 (void) strcpy(p_path, devfspath); in usb_process()
283 (void) strcat(p_path, ":"); in usb_process()
284 (void) strcat(p_path, minor_nm); in usb_process()
287 devfsadm_print(debug_mid, "usb_process: path %s\n", p_path); in usb_process()
298 ugen_create_link(p_path, minor_nm, node, minor); in usb_process()
300 free(p_path); in usb_process()
[all …]
H A Dieee1394_link.c80 char l_path[PATH_MAX], p_path[PATH_MAX]; in ieee1394_process() local
88 (void) snprintf(p_path, sizeof (p_path), "%s:%s", in ieee1394_process()
96 if (devfsadm_enumerate_int(p_path, 0, &buf, re, 1)) { in ieee1394_process()
101 p_path, buf); in ieee1394_process()
107 devfsadm_print(debug_mid, "mklink %s %s\n", l_path, p_path); in ieee1394_process()
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 Ddcam1394_link.c101 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()
128 (void) strcat(p_path, ":"); in dcam1394_process()
129 (void) strcat(p_path, di_minor_name(minor)); in dcam1394_process()
137 if (devfsadm_enumerate_int(p_path, 0, &buf, re, 1)) { in dcam1394_process()
144 p_path, buf); in dcam1394_process()
H A Dmisc_link.c314 char p_path[PATH_MAX]; in ses_callback() local
322 (void) snprintf(p_path, sizeof (p_path), "%s:%s", devfspath, in ses_callback()
327 if (devfsadm_enumerate_int(p_path, 0, &buf, re, 1)) { in ses_callback()
548 char l_path[PATH_MAX], p_path[PATH_MAX], *buf, *devfspath; in gpio() local
560 (void) strcpy(p_path, devfspath); in gpio()
561 (void) strcat(p_path, ":"); in gpio()
562 (void) strcat(p_path, minor_nm); in gpio()
566 if (devfsadm_enumerate_int(p_path, 0, &buf, gpio_rules, 1)) { in gpio()
/titanic_41/usr/src/cmd/devfsadm/i386/
H A Dmisc_link_i386.c376 char *I_path, *p_path, *buf; in agp_process() local
405 p_path = (char *)malloc(PATH_MAX); in agp_process()
407 if (p_path == NULL) { in agp_process()
414 (void) strlcpy(p_path, devfspath, PATH_MAX); in agp_process()
415 (void) strlcat(p_path, ":", PATH_MAX); in agp_process()
416 (void) strlcat(p_path, minor_nm, PATH_MAX); in agp_process()
419 devfsadm_print(debug_mid, "agp_process: path %s\n", p_path); in agp_process()
435 "mklink %s -> %s\n", I_path, p_path); in agp_process()
440 free(p_path); in agp_process()
466 free(p_path); in agp_process()
[all …]
/titanic_41/usr/src/cmd/luxadm/
H A Dfabric_conf.c182 char *p_path, *p_wwn, *p_delim; in parse_line() local
190 p_path = line_copy; in parse_line()
191 p_delim = strstr(p_path, WWN_DELIM); in parse_line()
200 if (strlcpy(path, p_path, MAXPATHLEN) >= MAXPATHLEN) { in parse_line()
202 "Path too long (%s) in file %s.", p_path, filename); in parse_line()
/titanic_41/usr/src/uts/common/io/scsi/adapters/scsi_vhci/
H A Dscsi_vhci.c1362 char *p_path; in vhci_scsi_start() local
1372 p_path = kmem_zalloc(MAXPATHLEN, KM_SLEEP); in vhci_scsi_start()
1376 ddi_pathname(mdi_pi_get_phci(pip), p_path)); in vhci_scsi_start()
1377 kmem_free(p_path, MAXPATHLEN); in vhci_scsi_start()