Lines Matching defs:device

67  * INPUT:	str - Fully qualified pathname of a block or character device
68 * RETURNS: char * - The pathname of the raw device
69 * PURPOSE: Allocation of a new string representing the character device
71 * done to verify the existence of this device file.
87 * is passing old school device names like "/dev/[r]sd" or
114 * INPUT: uname - Fully qualified pathname of a block or character device
115 * RETURNS: char * - The fully qualified character device pathname
116 * PURPOSE: Return the fully qualified pathname of the character device
117 * corresponding to the block or character device passed in.
165 * in the form [set name/]device
170 * PURPOSE: Parse uname and sp into the set name and device name strings.
1368 * uname - the possibly unqualified device name
1369 * type - ptr to the device type of uname
1372 * qualified raw device name
1374 * unqualified device name. If uname is an absolute
1422 * Get device that matches the requested type. If
1428 * Check for metadevice before physical device.
1491 /* Simply return if a logical device was requested */
1503 * ./ for the specified device. rname_list contains all
1509 * we have an UNKNOWN device with 1-3 entries in rname_list.
1524 "Error: ambiguous device name.\n%s %s %s\n\n"),
1552 "Error: ambiguous device "
1600 * if it is device name, assume it is /dev/rdsk/..
1731 * The target can either be a SCSI target id or if the device
1746 uint_t device;
1767 /* find the beginning of the device specifier */
1790 /* check the device and slice */
1792 if (sscanf(device_start_pos, "d%us%u%n", &device, slice, &l) != 2 ||
1794 /* check the device and partition */
1795 if (sscanf(device_start_pos, "d%up%u%n", &device, slice, &l)
2010 /* regular device */
2509 * set up names for a device
2665 * Get the dnp using the device id.
2668 * have different device ids. This would happen in the case of a partial
2671 * dnp belongs with this disk is by searching by device id. We have the
2672 * potential to have the case where 1) the disk who's device id we pass in is
2673 * in the system. In this case the name and the device id are both valid for
2674 * the disk. 2) The disk whose device id we've been passed is not in the
2676 * disk whose device id we've been passed is not on the system but there is
2834 * an entry with the same device id, create one for the uname passed in.
3124 /* get corresponding device name */
3171 * check for device type
3439 * because the device does not yet exist.
3810 * meta_create_non_dup_list will take a mdname_t pointer and if the device
3832 * Grab the name of the device and strip off slice information