Lines Matching defs:path

290 	char path[PATH_MAX + 1], *buf;
302 (void) snprintf(path, sizeof (path), "%s:%s",
307 if (devfsadm_enumerate_int(path, 0, &buf, rules, 1)) {
310 (void) snprintf(path, sizeof (path), "mcpp%s", buf);
313 (void) devfsadm_mklink(path, node, minor, 0);
326 /* find devices path -- need to free mem */
356 char path[PATH_MAX + 1];
358 (void) strcpy(path, di_node_name(node));
359 (void) strcat(path, "/");
360 (void) strcat(path, di_minor_name(minor));
361 (void) devfsadm_mklink(path, node, minor, 0);
368 char path[PATH_MAX + 1];
370 (void) strcpy(path, di_driver_name(node));
371 (void) strcat(path, di_minor_name(minor));
372 (void) devfsadm_mklink(path, node, minor, 0);
449 char *buf, path[PATH_MAX + 1];
456 (void) strcpy(path, ptr);
457 (void) strcat(path, ":");
458 (void) strcat(path, di_minor_name(minor));
462 if (devfsadm_enumerate_int(path, 0, &buf, rules, 1) != 0) {
466 (void) strcpy(path, "fc/fp");
467 (void) strcat(path, buf);
470 (void) devfsadm_mklink(path, node, minor, 0);
483 char path[PATH_MAX + 1], *buf;
496 (void) snprintf(path, sizeof (path), "%s:%s", buf, mn);
499 if (devfsadm_enumerate_int(path, 0, &buf, rules, 1)) {
503 (void) snprintf(path, sizeof (path), "printers/%s", buf);
506 (void) devfsadm_mklink(path, node, minor, 0);
520 char *buf, path[PATH_MAX + 1];
535 (void) strcpy(path, ptr);
536 (void) strcat(path, ":");
537 (void) strcat(path, mn);
541 if (devfsadm_enumerate_int(path, 0, &buf, rules, 1) != 0) {
545 (void) strcpy(path, "se_hdlc");
546 (void) strcat(path, buf);
549 (void) devfsadm_mklink(path, node, minor, 0);
574 /* build the physical path from the components */
607 char path[PATH_MAX + 1];
615 (void) snprintf(path, sizeof (path), "%s:%s", buf, minor_str);
618 if (devfsadm_enumerate_int(path, 0, &buf, rules, 1)) {
622 (void) snprintf(path, sizeof (path), "av/%s/%s", buf, minor_str);
625 (void) devfsadm_mklink(path, node, minor, 0);
662 char path[MAXPATHLEN];
671 (void) snprintf(path, sizeof (path), "zcons/%s/%s", zonename,
673 (void) devfsadm_mklink(path, node, minor, 0);