Lines Matching refs:disk
33 * disk=(path=..., devid=...)
47 * Hot spares are a special case, and passed down as an array of disk vdevs, at
76 #include <sys/disk.h>
164 * If we're given a whole disk, ignore overlapping slices since we're
187 * Validate a whole disk. Iterate over all slices on the disk and make sure
191 check_disk(const char *name, dm_descriptor_t disk, int force, int isspare)
199 * Get the drive associated with this disk. This should never fail,
202 if ((drive = dm_get_associated_descriptors(disk, DM_DRIVE,
243 * overlapping slices because we are using the whole disk.
375 * By "whole disk" we mean an entire physical disk (something we can
378 * are labeling the disk, which should be a pretty good test of whether
430 * /dev/dsk/xxx Complete disk path
467 * an entire disk (minus the slice number).
535 * For a whole disk, defer getting its devid until after labeling it.
636 * This is a 'file' or 'disk' vdev.
940 * device in order to provide a devid. Now that we have labelled the disk and
943 * If the disk was already labeled with an EFI label, we will have gotten the
944 * devid already (because we were able to open the whole disk). Otherwise, we
945 * need to get the devid after we label the disk.
969 * We have a disk device. Get the path to the device
970 * and see if it's a whole disk by appending the backup
985 * Fill in the devid, now that we've labeled the disk.