Home
last modified time | relevance | path

Searched refs:RW_LOCK_HELD (Results 1 – 17 of 17) sorted by relevance

/freebsd/sys/contrib/openzfs/include/os/linux/spl/sys/
H A Drwlock.h96 RW_LOCK_HELD(krwlock_t *rwp) in RW_LOCK_HELD() function
110 return (RW_LOCK_HELD(rwp) && rw_owner(rwp) == NULL); in RW_READ_HELD()
/freebsd/sys/contrib/openzfs/module/zfs/
H A Dzap.c258 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()
H A Dzvol.c767 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()
H A Dzfs_sa.c201 ASSERT(RW_LOCK_HELD(&zp->z_xattr_lock)); in zfs_sa_get_xattr()
H A Ddbuf.c1179 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()
H A Dzap_micro.c416 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()
H A Ddsl_crypt.c411 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()
H A Ddnode.c894 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()
/freebsd/sys/contrib/openzfs/include/os/freebsd/spl/sys/
H A Drwlock.h58 #define RW_LOCK_HELD(x) (rw_lock_held((x))) macro
/freebsd/sys/cddl/compat/opensolaris/sys/
H A Drwlock.h56 #define RW_LOCK_HELD(x) (rw_lock_held((x))) macro
/freebsd/cddl/contrib/opensolaris/head/
H A Dsynch.h179 #define RW_LOCK_HELD(x) (RW_READ_HELD(x) || RW_WRITE_HELD(x)) macro
/freebsd/sys/contrib/openzfs/module/os/freebsd/zfs/
H A Dzvol_os.c1267 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()
H A Dzfs_vnops_os.c5248 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()
/freebsd/sys/contrib/openzfs/module/os/linux/zfs/
H A Dzpl_xattr.c340 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()
H A Dzfs_ctldir.c272 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()
H A Dzvol_os.c1456 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()
/freebsd/sys/contrib/openzfs/include/sys/
H A Dzfs_context.h301 #define RW_LOCK_HELD(rw) (RW_READ_HELD(rw) || RW_WRITE_HELD(rw))