Searched refs:dn_struct_rwlock (Results 1 – 7 of 7) sorted by relevance
/titanic_50/usr/src/uts/common/fs/zfs/ |
H A D | dnode.c | 108 rw_init(&dn->dn_struct_rwlock, NULL, RW_DEFAULT, NULL); in dnode_cons() 169 rw_destroy(&dn->dn_struct_rwlock); in dnode_dest() 244 if (!RW_WRITE_HELD(&dn->dn_struct_rwlock)) { in dnode_verify() 245 rw_enter(&dn->dn_struct_rwlock, RW_READER); in dnode_verify() 280 rw_exit(&dn->dn_struct_rwlock); in dnode_verify() 358 rw_enter(&dn->dn_struct_rwlock, RW_WRITER); in dnode_setbonuslen() 366 rw_exit(&dn->dn_struct_rwlock); in dnode_setbonuslen() 374 rw_enter(&dn->dn_struct_rwlock, RW_WRITER); in dnode_setbonus_type() 377 rw_exit(&dn->dn_struct_rwlock); in dnode_setbonus_type() 384 ASSERT(RW_WRITE_HELD(&dn->dn_struct_rwlock)); in dnode_rm_spill() [all …]
|
H A D | dmu.c | 142 rw_enter(&dn->dn_struct_rwlock, RW_READER); in dmu_buf_hold_noread() 144 rw_exit(&dn->dn_struct_rwlock); in dmu_buf_hold_noread() 254 rw_enter(&dn->dn_struct_rwlock, RW_WRITER); in dmu_rm_spill() 256 rw_exit(&dn->dn_struct_rwlock); in dmu_rm_spill() 275 rw_enter(&dn->dn_struct_rwlock, RW_READER); in dmu_bonus_hold() 277 rw_exit(&dn->dn_struct_rwlock); in dmu_bonus_hold() 278 rw_enter(&dn->dn_struct_rwlock, RW_WRITER); in dmu_bonus_hold() 295 rw_exit(&dn->dn_struct_rwlock); in dmu_bonus_hold() 321 rw_enter(&dn->dn_struct_rwlock, RW_READER); in dmu_spill_hold_by_dnode() 326 rw_exit(&dn->dn_struct_rwlock); in dmu_spill_hold_by_dnode() [all …]
|
H A D | dnode_sync.c | 49 rw_enter(&dn->dn_struct_rwlock, RW_WRITER); in dnode_increase_indirection() 53 ASSERT(RW_WRITE_HELD(&dn->dn_struct_rwlock)); in dnode_increase_indirection() 116 rw_exit(&dn->dn_struct_rwlock); in dnode_increase_indirection() 189 rw_enter(&dn->dn_struct_rwlock, RW_READER); in free_verify() 192 rw_exit(&dn->dn_struct_rwlock); in free_verify() 285 rw_enter(&dn->dn_struct_rwlock, RW_READER); in free_children() 288 rw_exit(&dn->dn_struct_rwlock); in free_children() 358 rw_enter(&dn->dn_struct_rwlock, RW_READER); in dnode_sync_free_range_impl() 361 rw_exit(&dn->dn_struct_rwlock); in dnode_sync_free_range_impl() 440 rw_enter(&dn->dn_struct_rwlock, RW_WRITER); in dnode_evict_bonus() [all …]
|
H A D | dbuf.c | 160 rw_enter(&dn->dn_struct_rwlock, RW_READER); in dbuf_find_bonus() 165 rw_exit(&dn->dn_struct_rwlock); in dbuf_find_bonus() 489 if (RW_WRITE_HELD(&dn->dn_struct_rwlock)) { in dbuf_verify() 647 ASSERT(RW_LOCK_HELD(&dn->dn_struct_rwlock)); in dbuf_read_impl() 729 rw_enter(&dn->dn_struct_rwlock, RW_READER); in dbuf_read() 741 rw_exit(&dn->dn_struct_rwlock); in dbuf_read() 756 rw_exit(&dn->dn_struct_rwlock); in dbuf_read() 774 rw_exit(&dn->dn_struct_rwlock); in dbuf_read() 1082 ASSERT(RW_WRITE_HELD(&dn->dn_struct_rwlock)); in dbuf_new_size() 1370 if (!RW_WRITE_HELD(&dn->dn_struct_rwlock)) { in dbuf_dirty() [all …]
|
H A D | dmu_tx.c | 161 rw_enter(&dn->dn_struct_rwlock, RW_READER); in dmu_tx_check_ioerr() 163 rw_exit(&dn->dn_struct_rwlock); in dmu_tx_check_ioerr() 318 rw_enter(&dn->dn_struct_rwlock, RW_READER); in dmu_tx_count_write() 321 rw_exit(&dn->dn_struct_rwlock); in dmu_tx_count_write() 448 rw_enter(&dn->dn_struct_rwlock, RW_READER); in dmu_tx_count_free() 455 rw_exit(&dn->dn_struct_rwlock); in dmu_tx_count_free() 463 rw_exit(&dn->dn_struct_rwlock); in dmu_tx_count_free() 562 rw_exit(&dn->dn_struct_rwlock); in dmu_tx_count_free()
|
H A D | dmu_objset.c | 1350 if (RW_WRITE_HELD(&dn->dn_struct_rwlock)) in dmu_objset_userquota_get_ids()
|
/titanic_50/usr/src/uts/common/fs/zfs/sys/ |
H A D | dnode.h | 152 krwlock_t dn_struct_rwlock; member
|