Searched refs:RW_LOCK_HELD (Results 1 – 17 of 17) sorted by relevance
96 RW_LOCK_HELD(krwlock_t *rwp) in RW_LOCK_HELD() function110 return (RW_LOCK_HELD(rwp) && rw_owner(rwp) == NULL); in RW_READ_HELD()
258 ASSERT(RW_LOCK_HELD(&zap->zap_rwlock)); in zap_table_store()304 ASSERT(RW_LOCK_HELD(&zap->zap_rwlock)); in zap_table_load()540 ASSERT(RW_LOCK_HELD(&zap->zap_rwlock)); in zap_get_leaf_byblk()587 ASSERT(RW_LOCK_HELD(&zap->zap_rwlock)); in zap_idx_to_blk()659 ASSERT(RW_LOCK_HELD(&zap->zap_rwlock)); in check_sibling_ptrtbl_range()718 ASSERT(RW_LOCK_HELD(&zap->zap_rwlock)); in zap_expand_leaf()921 ASSERT(RW_LOCK_HELD(&zap->zap_rwlock)); in fzap_add_cd()983 ASSERT(RW_LOCK_HELD(&zap->zap_rwlock)); in fzap_update()1550 ASSERT(RW_LOCK_HELD(&zap->zap_rwlock)); in zap_shrink()
767 ASSERT(RW_LOCK_HELD(&zv->zv_suspend_lock)); in zvol_setup_zv()806 RW_LOCK_HELD(&zv->zv_suspend_lock)); in zvol_shutdown_zv()1244 ASSERT(!RW_LOCK_HELD(&zvol_state_lock)); in zvol_remove_minor_task()
201 ASSERT(RW_LOCK_HELD(&zp->z_xattr_lock)); in zfs_sa_get_xattr()
1179 if (RW_LOCK_HELD(&db->db_parent->db_rwlock)) { in dbuf_verify()1598 RW_LOCK_HELD(&db->db_parent->db_rwlock)); in dbuf_read_impl()3333 ASSERT(RW_LOCK_HELD(&dn->dn_struct_rwlock)); in dbuf_findbp()3403 ASSERT(RW_LOCK_HELD(&dn->dn_struct_rwlock)); in dbuf_create()3503 ASSERT(RW_LOCK_HELD(&dn->dn_struct_rwlock)); in dbuf_dnode_findbp()3704 ASSERT(RW_LOCK_HELD(&dn->dn_struct_rwlock)); in dbuf_prefetch_impl()3901 ASSERT(RW_LOCK_HELD(&dn->dn_struct_rwlock)); in dbuf_hold_impl()
416 ASSERT(RW_LOCK_HELD(&zn->zn_zap->zap_rwlock)); in mze_find()443 ASSERT(RW_LOCK_HELD(&zap->zap_rwlock)); in mze_find_unused_cd()
411 ASSERT(RW_LOCK_HELD(&spa->spa_keystore.sk_wkeys_lock)); in spa_keystore_wkey_hold_ddobj_impl()650 ASSERT(RW_LOCK_HELD(&spa->spa_keystore.sk_dk_lock)); in spa_keystore_dsl_key_hold_impl()
894 ASSERT(!RW_LOCK_HELD(&odn->dn_struct_rwlock)); in dnode_move_impl()2551 ASSERT(RW_LOCK_HELD(&dn->dn_struct_rwlock)); in dnode_next_offset_level()
58 #define RW_LOCK_HELD(x) (rw_lock_held((x))) macro
56 #define RW_LOCK_HELD(x) (rw_lock_held((x))) macro
179 #define RW_LOCK_HELD(x) (RW_READ_HELD(x) || RW_WRITE_HELD(x)) macro
1267 ASSERT(RW_LOCK_HELD(&zvol_state_lock)); in zvol_os_rename_minor()1336 ASSERT(!RW_LOCK_HELD(&zv->zv_suspend_lock)); in zvol_os_free()1523 ASSERT(RW_LOCK_HELD(&zvol_state_lock)); in zvol_os_clear_private()1539 ASSERT(!RW_LOCK_HELD(&zv->zv_suspend_lock)); in zvol_os_clear_private()
5248 ASSERT(RW_LOCK_HELD(&zp->z_xattr_lock)); in zfs_ensure_xattr_cached()5329 ASSERT(RW_LOCK_HELD(&zp->z_xattr_lock)); in zfs_getextattr_sa()5846 ASSERT(RW_LOCK_HELD(&zp->z_xattr_lock)); in zfs_listextattr_sa()
340 ASSERT(RW_LOCK_HELD(&zp->z_xattr_lock)); in zpl_xattr_get_sa()375 ASSERT(RW_LOCK_HELD(&zp->z_xattr_lock)); in __zpl_xattr_get()403 ASSERT(RW_LOCK_HELD(&zp->z_xattr_lock)); in __zpl_xattr_where()
272 ASSERT(RW_LOCK_HELD(&zfs_snapshot_lock)); in zfsctl_snapshot_find_by_name()292 ASSERT(RW_LOCK_HELD(&zfs_snapshot_lock)); in zfsctl_snapshot_find_by_objsetid()
1456 ASSERT(!RW_LOCK_HELD(&zv->zv_suspend_lock)); in zvol_os_free()1743 ASSERT(RW_LOCK_HELD(&zvol_state_lock)); in zvol_os_rename_minor()
301 #define RW_LOCK_HELD(rw) (RW_READ_HELD(rw) || RW_WRITE_HELD(rw))