Searched refs:z_parent_lock (Results 1 – 4 of 4) sorted by relevance
187 krwlock_t z_parent_lock; /* parent lock for directories */ member
413 rw_enter(&dzp->z_parent_lock, RW_READER); in zfs_dirlook()417 rw_exit(&dzp->z_parent_lock); in zfs_dirlook()
1481 rw_enter(&zp->z_parent_lock, RW_WRITER); in zfs_rmdir()1493 rw_exit(&zp->z_parent_lock); in zfs_rmdir()1521 rw_exit(&zp->z_parent_lock); in zfs_rmdir()2679 krwlock_t *rwlp = &szp->z_parent_lock; in zfs_rename_lock()2701 rwlp = &szp->z_parent_lock; in zfs_rename_lock()2732 rwlp = &zp->z_parent_lock; in zfs_rename_lock()
118 rw_init(&zp->z_parent_lock, NULL, RW_DEFAULT, NULL); in zfs_znode_cache_constructor()143 rw_destroy(&zp->z_parent_lock); in zfs_znode_cache_destructor()