Searched refs:z_teardown_inactive_lock (Results 1 – 5 of 5) sorted by relevance
75 zfs_teardown_inactive_lock_t z_teardown_inactive_lock; member136 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)
823 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()
4014 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()
353 RW_WRITE_HELD(&ZTOZSB(zp)->z_teardown_inactive_lock)); in zfs_znode_dmu_fini()
107 krwlock_t z_teardown_inactive_lock; member