Searched refs:z_name_lock (Results 1 – 4 of 4) sorted by relevance
221 rw_enter(&dzp->z_name_lock, RW_READER); in zfs_dirent_lock()228 rw_exit(&dzp->z_name_lock); in zfs_dirent_lock()239 rw_exit(&dzp->z_name_lock); in zfs_dirent_lock()351 rw_exit(&dzp->z_name_lock); in zfs_dirent_unlock()
2138 rw_enter(&zp->z_name_lock, RW_WRITER); in zfs_rmdir()2156 rw_exit(&zp->z_name_lock); in zfs_rmdir()2189 rw_exit(&zp->z_name_lock); in zfs_rmdir()3615 rw_enter(&sdzp->z_name_lock, RW_READER); in zfs_rename()3642 rw_exit(&sdzp->z_name_lock); in zfs_rename()3654 rw_exit(&sdzp->z_name_lock); in zfs_rename()3746 rw_exit(&sdzp->z_name_lock); in zfs_rename()3813 rw_exit(&sdzp->z_name_lock); in zfs_rename()
133 rw_init(&zp->z_name_lock, NULL, RW_DEFAULT, NULL); in zfs_znode_cache_constructor()158 rw_destroy(&zp->z_name_lock); in zfs_znode_cache_destructor()
176 krwlock_t z_name_lock; /* "master" lock for dirent locks */ member