Home
last modified time | relevance | path

Searched refs:z_teardown_inactive_lock (Results 1 – 5 of 5) sorted by relevance

/freebsd/sys/contrib/openzfs/include/os/freebsd/zfs/sys/
H A Dzfs_vfsops_os.h75 zfs_teardown_inactive_lock_t z_teardown_inactive_lock; member
136 rms_init(&(zfsvfs)->z_teardown_inactive_lock, "zfs teardown inactive")
139 rms_destroy(&(zfsvfs)->z_teardown_inactive_lock)
142 rms_try_rlock(&(zfsvfs)->z_teardown_inactive_lock)
145 rms_rlock(&(zfsvfs)->z_teardown_inactive_lock)
148 rms_runlock(&(zfsvfs)->z_teardown_inactive_lock)
151 rms_wlock(&(zfsvfs)->z_teardown_inactive_lock)
154 rms_wunlock(&(zfsvfs)->z_teardown_inactive_lock)
157 rms_wowned(&(zfsvfs)->z_teardown_inactive_lock)
/freebsd/sys/contrib/openzfs/module/os/linux/zfs/
H A Dzfs_vfsops.c823 rw_init(&zfsvfs->z_teardown_inactive_lock, NULL, RW_DEFAULT, NULL); in zfsvfs_create_impl()
966 rw_destroy(&zfsvfs->z_teardown_inactive_lock); in zfsvfs_free()
1315 rw_enter(&zfsvfs->z_teardown_inactive_lock, RW_WRITER); in zfsvfs_teardown()
1323 rw_exit(&zfsvfs->z_teardown_inactive_lock); in zfsvfs_teardown()
1360 rw_exit(&zfsvfs->z_teardown_inactive_lock); in zfsvfs_teardown()
1797 ASSERT(RW_WRITE_HELD(&zfsvfs->z_teardown_inactive_lock)); in zfs_resume_fs()
1871 rw_exit(&zfsvfs->z_teardown_inactive_lock); in zfs_resume_fs()
1892 ASSERT(RW_WRITE_HELD(&zfsvfs->z_teardown_inactive_lock)); in zfs_end_fs()
1908 rw_exit(&zfsvfs->z_teardown_inactive_lock); in zfs_end_fs()
H A Dzfs_vnops_os.c4014 if (!RW_WRITE_HELD(&zfsvfs->z_teardown_inactive_lock)) { in zfs_inactive()
4016 rw_enter(&zfsvfs->z_teardown_inactive_lock, RW_READER); in zfs_inactive()
4020 rw_exit(&zfsvfs->z_teardown_inactive_lock); in zfs_inactive()
4047 rw_exit(&zfsvfs->z_teardown_inactive_lock); in zfs_inactive()
H A Dzfs_znode_os.c353 RW_WRITE_HELD(&ZTOZSB(zp)->z_teardown_inactive_lock)); in zfs_znode_dmu_fini()
/freebsd/sys/contrib/openzfs/include/os/linux/zfs/sys/
H A Dzfs_vfsops_os.h107 krwlock_t z_teardown_inactive_lock; member