Home
last modified time | relevance | path

Searched refs:vf_file (Results 1 – 4 of 4) sorted by relevance

/f-stack/freebsd/contrib/openzfs/module/os/linux/zfs/
H A Dvdev_file.c149 vf->vf_file = fp; in vdev_file_open()
166 error = zfs_file_getattr(vf->vf_file, &zfa); in vdev_file_open()
187 if (vf->vf_file != NULL) { in vdev_file_close()
188 (void) zfs_file_close(vf->vf_file); in vdev_file_close()
214 err = zfs_file_pread(vf->vf_file, buf, size, off, &resid); in vdev_file_io_strategy()
218 err = zfs_file_pwrite(vf->vf_file, buf, size, off, &resid); in vdev_file_io_strategy()
234 zio->io_error = zfs_file_fsync(vf->vf_file, O_SYNC | O_DSYNC); in vdev_file_io_fsync()
273 zio->io_error = zfs_file_fsync(vf->vf_file, in vdev_file_io_start()
289 zio->io_error = zfs_file_fallocate(vf->vf_file, in vdev_file_io_start()
/f-stack/freebsd/contrib/openzfs/module/os/freebsd/zfs/
H A Dvdev_file.c149 vf->vf_file = fp; in vdev_file_open()
166 error = zfs_file_getattr(vf->vf_file, &zfa); in vdev_file_open()
187 if (vf->vf_file != NULL) { in vdev_file_close()
188 zfs_file_close(vf->vf_file); in vdev_file_close()
229 err = zfs_file_pread(vf->vf_file, buf, size, off, &resid); in vdev_file_io_strategy()
233 err = zfs_file_pwrite(vf->vf_file, buf, size, off, &resid); in vdev_file_io_strategy()
258 zio->io_error = zfs_file_fsync(vf->vf_file, in vdev_file_io_start()
274 zio->io_error = zfs_file_fallocate(vf->vf_file, in vdev_file_io_start()
/f-stack/freebsd/contrib/openzfs/include/sys/
H A Dvdev_file.h37 zfs_file_t *vf_file; member
/f-stack/freebsd/contrib/openzfs/cmd/ztest/
H A Dztest.c5984 (void) close(vf->vf_file->f_fd); in ztest_fault_inject()
5985 vf->vf_file->f_fd = -1; in ztest_fault_inject()