Home
last modified time | relevance | path

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

/freebsd/sys/contrib/openzfs/module/os/freebsd/zfs/
H A Dzvol_os.c734 lr = zfs_rangelock_enter(&zv->zv_rangelock, off, resid, in zvol_geom_bio_strategy()
843 lr = zfs_rangelock_enter(&zv->zv_rangelock, zfs_uio_offset(&uio), in zvol_cdev_read()
895 lr = zfs_rangelock_enter(&zv->zv_rangelock, zfs_uio_offset(&uio), in zvol_cdev_write()
1152 lr = zfs_rangelock_enter(&zv->zv_rangelock, offset, length, in zvol_cdev_ioctl()
1212 lr = zfs_rangelock_enter(&zv->zv_rangelock, 0, UINT64_MAX, in zvol_cdev_ioctl()
1343 zfs_rangelock_fini(&zv->zv_rangelock); in zvol_os_free()
1472 zfs_rangelock_init(&zv->zv_rangelock, NULL, NULL); in zvol_os_create_minor()
/freebsd/sys/contrib/openzfs/include/sys/
H A Dzvol_impl.h48 zfs_rangelock_t zv_rangelock; /* for range locking */ member
/freebsd/sys/contrib/openzfs/module/os/linux/zfs/
H A Dzvol_os.c278 zfs_locked_range_t *lr = zfs_rangelock_enter(&zv->zv_rangelock, in zvol_write()
384 zfs_locked_range_t *lr = zfs_rangelock_enter(&zv->zv_rangelock, in zvol_discard()
456 zfs_locked_range_t *lr = zfs_rangelock_enter(&zv->zv_rangelock, in zvol_read()
1411 zfs_rangelock_init(&zv->zv_rangelock, NULL, NULL); in zvol_alloc()
1462 zfs_rangelock_fini(&zv->zv_rangelock); in zvol_os_free()
/freebsd/sys/contrib/openzfs/module/zfs/
H A Dzvol.c691 zgd->zgd_lr = zfs_rangelock_enter(&zv->zv_rangelock, offset, in zvol_get_data()
705 zgd->zgd_lr = zfs_rangelock_enter(&zv->zv_rangelock, offset, in zvol_get_data()