Searched refs:z_lock (Results 1 – 9 of 9) sorted by relevance
223 mutex_enter(&dzp->z_lock); in zfs_dirent_lock()226 mutex_exit(&dzp->z_lock); in zfs_dirent_lock()237 mutex_exit(&dzp->z_lock); in zfs_dirent_lock()259 cv_wait(&dl->dl_cv, &dzp->z_lock); in zfs_dirent_lock()283 mutex_exit(&dzp->z_lock); in zfs_dirent_lock()348 mutex_enter(&dzp->z_lock); in zfs_dirent_unlock()355 mutex_exit(&dzp->z_lock); in zfs_dirent_unlock()363 mutex_exit(&dzp->z_lock); in zfs_dirent_unlock()667 mutex_enter(&xzp->z_lock); in zfs_rmnode()672 mutex_exit(&xzp->z_lock); in zfs_rmnode()[all …]
127 ASSERT(MUTEX_HELD(&zp->z_lock)); in zfs_sa_get_scanstamp()161 ASSERT(MUTEX_HELD(&zp->z_lock)); in zfs_sa_set_scanstamp()228 if (mutex_owner(&zp->z_lock) != curthread) { in zfs_sa_upgrade()229 if (mutex_tryenter(&zp->z_lock) == 0) in zfs_sa_upgrade()315 mutex_exit(&zp->z_lock); in zfs_sa_upgrade()
1597 mutex_enter(&dzp->z_lock); in zfs_create()1599 mutex_exit(&dzp->z_lock); in zfs_create()1756 mutex_enter(&zp->z_lock); in zfs_remove()1759 mutex_exit(&zp->z_lock); in zfs_remove()1804 mutex_enter(&zp->z_lock); in zfs_remove()1827 mutex_enter(&xzp->z_lock); in zfs_remove()1833 mutex_exit(&xzp->z_lock); in zfs_remove()1849 mutex_exit(&zp->z_lock); in zfs_remove()1852 mutex_exit(&zp->z_lock); in zfs_remove()2586 mutex_enter(&zp->z_lock); in zfs_getattr()[all …]
130 mutex_init(&zp->z_lock, NULL, MUTEX_DEFAULT, NULL); in zfs_znode_cache_constructor()155 mutex_destroy(&zp->z_lock); in zfs_znode_cache_destructor()583 mutex_enter(&zp->z_lock); in zfs_znode_sa_init()603 mutex_exit(&zp->z_lock); in zfs_znode_sa_init()1146 mutex_enter(&zp->z_lock); in zfs_zget()1156 mutex_exit(&zp->z_lock); in zfs_zget()1299 mutex_enter(&zp->z_lock); in zfs_zinactive()1315 mutex_exit(&zp->z_lock); in zfs_zinactive()1326 mutex_exit(&zp->z_lock); in zfs_zinactive()1332 mutex_exit(&zp->z_lock); in zfs_zinactive()
1091 mutex_enter(&zp->z_lock); in zfs_acl_node_read()1140 mutex_exit(&zp->z_lock); in zfs_acl_node_read()1167 ASSERT(MUTEX_HELD(&zp->z_lock)); in zfs_acl_chown_setattr()1451 mutex_enter(&zp->z_lock); in zfs_acl_chmod_setattr()1462 mutex_exit(&zp->z_lock); in zfs_acl_chmod_setattr()1712 mutex_enter(&dzp->z_lock); in zfs_acl_ids_create()1726 mutex_exit(&dzp->z_lock); in zfs_acl_ids_create()1964 mutex_enter(&zp->z_lock); in zfs_setacl()1997 mutex_exit(&zp->z_lock); in zfs_setacl()2023 mutex_exit(&zp->z_lock); in zfs_setacl()
818 mutex_enter(&zfsvfs->z_lock); in zfs_set_userquota()825 mutex_exit(&zfsvfs->z_lock); in zfs_set_userquota()1004 mutex_init(&zfsvfs->z_lock, NULL, MUTEX_DEFAULT, NULL); in zfsvfs_create()1120 mutex_destroy(&zfsvfs->z_lock); in zfsvfs_free()
5069 mutex_enter(&zfsvfs->z_lock); in zfs_ioc_smb_acl()5085 mutex_exit(&zfsvfs->z_lock); in zfs_ioc_smb_acl()5091 mutex_exit(&zfsvfs->z_lock); in zfs_ioc_smb_acl()
80 kmutex_t z_lock; member
173 kmutex_t z_lock; /* znode modification lock */ member