Lines Matching defs:disk
33 * disk=(path=..., devid=...)
47 * Hot spares are a special case, and passed down as an array of disk vdevs, at
157 * If we're given a whole disk, ignore overlapping slices since we're
180 * Validate a whole disk. Iterate over all slices on the disk and make sure
184 check_disk(const char *name, dm_descriptor_t disk, int force, int isspare)
192 * Get the drive associated with this disk. This should never fail,
195 if ((drive = dm_get_associated_descriptors(disk, DM_DRIVE,
236 * overlapping slices because we are using the whole disk.
353 * By "whole disk" we mean an entire physical disk (something we can
356 * are labeling the disk, which should be a pretty good test of whether
385 * /dev/dsk/xxx Complete disk path
422 * an entire disk (minus the slice number).
479 * For a whole disk, defer getting its devid until after labeling it.
579 * This is a 'file' or 'disk' vdev.
878 * device in order to provide a devid. Now that we have labelled the disk and
881 * If the disk was already labeled with an EFI label, we will have gotten the
882 * devid already (because we were able to open the whole disk). Otherwise, we
883 * need to get the devid after we label the disk.
907 * We have a disk device. Get the path to the device
908 * and see if it's a whole disk by appending the backup
923 * Fill in the devid, now that we've labeled the disk.