Lines Matching defs:supplied
87 * also takes the user supplied name and stores it inside the node
443 * Builds an open()able device path from a user supplied node which can be
449 lookup_device(char *supplied, char *found)
456 if ((stat(supplied, &statbuf) == 0) && S_ISCHR(statbuf.st_mode) &&
457 ((fd = open(supplied, O_RDONLY|O_NDELAY)) >= 0)) {
459 (void) strlcpy(found, supplied, PATH_MAX);
469 if (fd < 0 && ((strncmp(supplied, "/dev/rdsk/", 10) == 0) ||
470 (strncmp(supplied, "/dev/removable-media/rdsk/", 26) == 0)))
473 if ((strncmp(supplied, "/dev/dsk/", 9) == 0) ||
474 (strncmp(supplied, "/dev/removable-media/dsk/", 25) == 0)) {
476 (char *)strrchr(supplied, '/'));
480 (void) strlcpy(found, supplied, PATH_MAX);
487 if ((strncmp(supplied, "cdrom", 5) != 0) &&
488 (strlen(supplied) < 32)) {
490 supplied);
503 return (vol_name_to_dev_node(supplied, found));