Lines Matching refs:vf
60 vdev_file_t *vf; in vdev_file_open() local
97 vf = vd->vdev_tsd; in vdev_file_open()
101 vf = vd->vdev_tsd = kmem_zalloc(sizeof (vdev_file_t), KM_SLEEP); in vdev_file_open()
118 vf->vf_vnode = vp; in vdev_file_open()
135 error = VOP_GETATTR(vf->vf_vnode, &vattr, 0, kcred, NULL); in vdev_file_open()
150 vdev_file_t *vf = vd->vdev_tsd; in vdev_file_close() local
152 if (vd->vdev_reopening || vf == NULL) in vdev_file_close()
155 if (vf->vf_vnode != NULL) { in vdev_file_close()
156 (void) VOP_PUTPAGE(vf->vf_vnode, 0, 0, B_INVAL, kcred, NULL); in vdev_file_close()
157 (void) VOP_CLOSE(vf->vf_vnode, spa_mode(vd->vdev_spa), 1, 0, in vdev_file_close()
159 VN_RELE(vf->vf_vnode); in vdev_file_close()
163 kmem_free(vf, sizeof (vdev_file_t)); in vdev_file_close()
219 vdev_file_t *vf = vd->vdev_tsd; in vdev_file_io_start() local
233 zio->io_error = VOP_FSYNC(vf->vf_vnode, FSYNC | FDSYNC, in vdev_file_io_start()
252 zio->io_error = VOP_SPACE(vf->vf_vnode, F_FREESP, &flck, in vdev_file_io_start()
281 bp->b_private = vf->vf_vnode; in vdev_file_io_start()