Lines Matching defs:disk
31 * disk=(path=..., devid=...)
45 * Hot spares are a special case, and passed down as an array of disk vdevs, at
74 #include <sys/disk.h>
158 * If we're given a whole disk, ignore overlapping slices since we're
181 * Validate a whole disk. Iterate over all slices on the disk and make sure
185 check_disk(const char *name, dm_descriptor_t disk, int force, int isspare)
193 * Get the drive associated with this disk. This should never fail,
196 if ((drive = dm_get_associated_descriptors(disk, DM_DRIVE,
237 * overlapping slices because we are using the whole disk.
369 * By "whole disk" we mean an entire physical disk (something we can
372 * are labeling the disk, which should be a pretty good test of whether
412 * /dev/dsk/xxx Complete disk path
449 * an entire disk (minus the slice number).
516 * For a whole disk, defer getting its devid until after labeling it.
615 * This is a 'file' or 'disk' vdev.
915 * device in order to provide a devid. Now that we have labelled the disk and
918 * If the disk was already labeled with an EFI label, we will have gotten the
919 * devid already (because we were able to open the whole disk). Otherwise, we
920 * need to get the devid after we label the disk.
944 * We have a disk device. Get the path to the device
945 * and see if it's a whole disk by appending the backup
960 * Fill in the devid, now that we've labeled the disk.