Lines Matching refs:volume

149 	VD_DRIVER_VOLUME	/* volume driver */
158 vd_driver_t type; /* driver type (disk or volume) */
163 * or a volume, especially with pseudo devices. So we maintain a list of well
165 * volume).
174 * <type> is either the string "disk" or "volume"
180 * driver-type-list="foo:disk","bar:volume";
182 * defines that "foo" is a disk driver, and driver "bar" is a volume driver.
239 ((vd)->file || (vd)->volume))
465 boolean_t volume; /* is vDisk backed by volume */
637 * or volume device then it will be exported with the same type of label as
851 * image is a file or a volume exported as a full disk or a file
886 if (vd->volume) {
904 * ldi_write() (for example with a ZFS volume).
1384 ASSERT(!vd->volume);
2079 } else if (vd->volume || vd->file) {
2126 * volumes because the ZFS volume strategy() function will only
2137 * write in vd_complete_bio() by flushing the volume
2447 * ZFS volume. In that case the bio notification indicates
3412 /* slice, file or volume exported as a single slice disk */
3417 /* file or volume exported as a full disk */
4032 if (vd->file || vd->volume || !vd->ownership)
4481 PR0("vdisk_type = %s, volume = %s, file = %s, nslices = %u",
4483 (vd->volume ? "yes" : "no"),
5459 * We wish to read the sector that should contain the 2nd ISO volume
5618 * When a slice or a volume is exported as a single-slice disk, we want
5619 * the disk backend (i.e. the slice or volume) to be entirely mapped as
5634 * disk backend: | slice/volume/file |
5638 * N is the number of blocks in the slice/volume/file.
5650 * - blocks C to D-1 are mapped to the exported slice or volume
5757 * When a slice, volume or file is exported as a single-slice disk, we want
5758 * the disk backend (i.e. the slice, volume or file) to be entirely mapped
5774 * disk backend: | slice/volume/file |
5778 * N is the number of blocks in the slice/volume/file.
5793 * - blocks 34 to 34+N are mapped to the exported slice, volume or file
5892 ASSERT(!vd->volume);
6127 * slice or volume device) exported as a full disk or as a slice. In these
6195 * The exported device can be either a volume, a disk or a CD/DVD
6199 * as a full disk (even if it isn't s2). A volume is exported as a
6204 if (vd->volume) {
6211 ASSERT(!vd->volume);
6221 * The exported device can be either a volume device or a disk slice. If
6224 * If it is disk slice 2 or a volume device then it is exported as a
6240 if (vd->volume) {
6324 * value is 512 bytes (DEV_BSIZE) when the backend is a file, a volume or a
6342 * attribute is set only when the backend is a file or a volume, otherwise it
6376 } else if (vd->volume) {
6378 /* volume (slice or full disk) */
6451 if (vd->file || vd->volume)
6478 } else if (!vd->file && !vd->volume) {
6490 * a disk device or a volume device.
6585 vd->volume = B_FALSE;
6597 * - A volume device is exported as a single-slice disk if the
6641 vd->volume = B_TRUE;
6645 * If this is a volume device then its usage depends if the
6647 * then the volume device will be exported as a single slice,
6651 * then we always export volume devices as slices.
6653 if (vd->volume && vd_volume_force_slice) {
6694 * For file or ZFS volume we also need an I/O queue.
6699 * the backend is a ZFS volume or a file.
6765 PR0("vdisk_type = %s, volume = %s, file = %s, nslices = %u",
6767 (vd->volume ? "yes" : "no"), (vd->file ? "yes" : "no"),
7191 } else if (strcmp(s + 1, "volume") == 0) {