Lines Matching defs:device
143 * check whether device is swapped on
235 * check whether device is a dump device
246 char device[MAXPATHLEN];
252 if (ioctl(dump_fd, DIOCGETDEV, device) != -1) {
255 if ((dump_np = metaname(&sp, device, UNKNOWN, ep)) == NULL) {
264 } else { /* not a dump device - but does it overlap? */
278 * check whether device is mounted
330 } else { /* device isn't in mnttab - does it overlap? */
406 * with a device already in use. Checks are made to determine whether
407 * the device is mounted, is a swap device, or a dump device. In each
408 * case if the device is not in use then an overlap check is done to ensure
479 * Add a device/device id tuple to the devname cache
484 ddi_devid_t devid /* device id */
593 * of opening the device, getting the devid, and closing the
594 * device. Add the result into the static list.
598 * created. In that situation the underlying physical device name
627 * Start by checking if the device has a device id, and if they
671 * device ID. Do not make the assumption that is one drive
672 * did have a device id and the other did not that they are not
673 * the same. One drive could be covered by a device and still
790 * check to see if a device is in a metadevice
854 * check to see if a device is in its set