Lines Matching refs:vf
91 vdev_file_t *vf;
128 vf = vd->vdev_tsd;
132 vf = vd->vdev_tsd = kmem_zalloc(sizeof (vdev_file_t), KM_SLEEP);
149 vf->vf_file = fp;
166 error = zfs_file_getattr(vf->vf_file, &zfa);
182 vdev_file_t *vf = vd->vdev_tsd;
184 if (vd->vdev_reopening || vf == NULL)
187 if (vf->vf_file != NULL) {
188 (void) zfs_file_close(vf->vf_file);
192 kmem_free(vf, sizeof (vdev_file_t));
201 vdev_file_t *vf = vd->vdev_tsd;
214 err = zfs_file_pread(vf->vf_file, buf, size, off, &resid);
218 err = zfs_file_pwrite(vf->vf_file, buf, size, off, &resid);
232 vdev_file_t *vf = zio->io_vd->vdev_tsd;
234 zio->io_error = zfs_file_fsync(vf->vf_file, O_SYNC | O_DSYNC);
243 vdev_file_t *vf = vd->vdev_tsd;
273 zio->io_error = zfs_file_fsync(vf->vf_file,
289 zio->io_error = zfs_file_fallocate(vf->vf_file,