Lines Matching defs:device
142 * check whether device is swapped on
234 * check whether device is a dump device
245 char device[MAXPATHLEN];
251 if (ioctl(dump_fd, DIOCGETDEV, device) != -1) {
254 if ((dump_np = metaname(&sp, device, UNKNOWN, ep)) == NULL) {
263 } else { /* not a dump device - but does it overlap? */
277 * check whether device is mounted
329 } else { /* device isn't in mnttab - does it overlap? */
405 * with a device already in use. Checks are made to determine whether
406 * the device is mounted, is a swap device, or a dump device. In each
407 * case if the device is not in use then an overlap check is done to ensure
478 * Add a device/device id tuple to the devname cache
483 ddi_devid_t devid /* device id */
592 * of opening the device, getting the devid, and closing the
593 * device. Add the result into the static list.
597 * created. In that situation the underlying physical device name
626 * Start by checking if the device has a device id, and if they
670 * device ID. Do not make the assumption that is one drive
671 * did have a device id and the other did not that they are not
672 * the same. One drive could be covered by a device and still
789 * check to see if a device is in a metadevice
853 * check to see if a device is in its set