Searched refs:dn_struct_rwlock (Results 1 – 7 of 7) sorted by relevance
/titanic_44/usr/src/uts/common/fs/zfs/ |
H A D | dnode.c | 107 rw_init(&dn->dn_struct_rwlock, NULL, RW_DEFAULT, NULL); in dnode_cons() 168 rw_destroy(&dn->dn_struct_rwlock); in dnode_dest() 243 if (!RW_WRITE_HELD(&dn->dn_struct_rwlock)) { in dnode_verify() 244 rw_enter(&dn->dn_struct_rwlock, RW_READER); in dnode_verify() 279 rw_exit(&dn->dn_struct_rwlock); in dnode_verify() 357 rw_enter(&dn->dn_struct_rwlock, RW_WRITER); in dnode_setbonuslen() 365 rw_exit(&dn->dn_struct_rwlock); in dnode_setbonuslen() 373 rw_enter(&dn->dn_struct_rwlock, RW_WRITER); in dnode_setbonus_type() 376 rw_exit(&dn->dn_struct_rwlock); in dnode_setbonus_type() 383 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 | 159 rw_enter(&dn->dn_struct_rwlock, RW_READER); in dbuf_find_bonus() 164 rw_exit(&dn->dn_struct_rwlock); in dbuf_find_bonus() 488 if (RW_WRITE_HELD(&dn->dn_struct_rwlock)) { in dbuf_verify() 646 ASSERT(RW_LOCK_HELD(&dn->dn_struct_rwlock)); in dbuf_read_impl() 731 rw_enter(&dn->dn_struct_rwlock, RW_READER); in dbuf_read() 744 rw_exit(&dn->dn_struct_rwlock); in dbuf_read() 760 rw_exit(&dn->dn_struct_rwlock); in dbuf_read() 779 rw_exit(&dn->dn_struct_rwlock); in dbuf_read() 1087 ASSERT(RW_WRITE_HELD(&dn->dn_struct_rwlock)); in dbuf_new_size() 1358 if (!RW_WRITE_HELD(&dn->dn_struct_rwlock)) { in dbuf_dirty() [all …]
|
H A D | dmu_tx.c | 160 rw_enter(&dn->dn_struct_rwlock, RW_READER); in dmu_tx_check_ioerr() 162 rw_exit(&dn->dn_struct_rwlock); in dmu_tx_check_ioerr() 317 rw_enter(&dn->dn_struct_rwlock, RW_READER); in dmu_tx_count_write() 320 rw_exit(&dn->dn_struct_rwlock); in dmu_tx_count_write() 447 rw_enter(&dn->dn_struct_rwlock, RW_READER); in dmu_tx_count_free() 454 rw_exit(&dn->dn_struct_rwlock); in dmu_tx_count_free() 462 rw_exit(&dn->dn_struct_rwlock); in dmu_tx_count_free() 561 rw_exit(&dn->dn_struct_rwlock); in dmu_tx_count_free()
|
H A D | dmu_objset.c | 1381 if (RW_WRITE_HELD(&dn->dn_struct_rwlock)) in dmu_objset_userquota_get_ids()
|
/titanic_44/usr/src/uts/common/fs/zfs/sys/ |
H A D | dnode.h | 152 krwlock_t dn_struct_rwlock; member
|