Lines Matching defs:device

68  * INPUT:	str - Fully qualified pathname of a block or character device
69 * RETURNS: char * - The pathname of the raw device
70 * PURPOSE: Allocation of a new string representing the character device
72 * done to verify the existence of this device file.
88 * is passing old school device names like "/dev/[r]sd" or
115 * INPUT: uname - Fully qualified pathname of a block or character device
116 * RETURNS: char * - The fully qualified character device pathname
117 * PURPOSE: Return the fully qualified pathname of the character device
118 * corresponding to the block or character device passed in.
166 * in the form [set name/]device
171 * PURPOSE: Parse uname and sp into the set name and device name strings.
1312 * uname - the possibly unqualified device name
1313 * type - ptr to the device type of uname
1316 * qualified raw device name
1318 * unqualified device name. If uname is an absolute
1366 * Get device that matches the requested type. If
1372 * Check for metadevice before physical device.
1435 /* Simply return if a logical device was requested */
1447 * ./ for the specified device. rname_list contains all
1453 * we have an UNKNOWN device with 1-3 entries in rname_list.
1468 "Error: ambiguous device name.\n%s %s %s\n\n"),
1496 "Error: ambiguous device "
1544 * if it is device name, assume it is /dev/rdsk/..
1675 * The target can either be a SCSI target id or if the device
1690 uint_t device;
1711 /* find the beginning of the device specifier */
1734 /* check the device and slice */
1736 if (sscanf(device_start_pos, "d%us%u%n", &device, slice, &l) != 2 ||
1738 /* check the device and partition */
1739 if (sscanf(device_start_pos, "d%up%u%n", &device, slice, &l)
1954 /* regular device */
2453 * set up names for a device
2609 * Get the dnp using the device id.
2612 * have different device ids. This would happen in the case of a partial
2615 * dnp belongs with this disk is by searching by device id. We have the
2616 * potential to have the case where 1) the disk who's device id we pass in is
2617 * in the system. In this case the name and the device id are both valid for
2618 * the disk. 2) The disk whose device id we've been passed is not in the
2620 * disk whose device id we've been passed is not on the system but there is
2773 * an entry with the same device id, create one for the uname passed in.
3063 /* get corresponding device name */
3110 * check for device type
3378 * because the device does not yet exist.
3749 * meta_create_non_dup_list will take a mdname_t pointer and if the device
3771 * Grab the name of the device and strip off slice information