Lines Matching defs:vdev
183 vdev_read(vdev_t *vdev, void *priv, off_t off, void *buf, size_t bytes)
212 vdev_write(vdev_t *vdev, void *priv, off_t off, void *buf, size_t bytes)
252 * vdev label of the given vdev.
255 vdev_read_pad2(vdev_t *vdev, char *buf, size_t size)
270 if (vdev_read_phys(vdev, &bp, tmp, off, 0))
277 vdev_clear_pad2(vdev_t *vdev)
291 if (vdev_write(vdev, vdev->v_read_priv, off, zeroes, VDEV_PAD_SIZE))
405 * We call this when we find a ZFS vdev - ZFS consumes the dsk
432 * If we find a vdev on the whole disk, stop here. Otherwise dig
434 * in turn for a vdev.
476 * This slice had a vdev. We need a new dsk
477 * structure now since the vdev now owns this one.
499 * This slice had a vdev. We need a new dsk structure now
500 * since the vdev now owns this one.
604 printf("failed to clear pad2 area of primary vdev\n");
619 printf("failed to parse pad2 area of primary vdev\n");
629 printf("failed to read pad2 area of primary vdev\n");
816 printf("failed to detect primary vdev\n");