Home
last modified time | relevance | path

Searched refs:zap_rwlock (Results 1 – 3 of 3) sorted by relevance

/freebsd/sys/contrib/openzfs/module/zfs/
H A Dzap.c111 ASSERT(RW_WRITE_HELD(&zap->zap_rwlock)); in fzap_upgrade()
162 if (RW_WRITE_HELD(&zap->zap_rwlock)) in zap_tryupgradedir()
164 if (rw_tryupgrade(&zap->zap_rwlock)) { in zap_tryupgradedir()
185 ASSERT(RW_WRITE_HELD(&zap->zap_rwlock)); in zap_table_grow()
258 ASSERT(RW_LOCK_HELD(&zap->zap_rwlock)); in zap_table_store()
304 ASSERT(RW_LOCK_HELD(&zap->zap_rwlock)); in zap_table_load()
410 ASSERT(RW_WRITE_HELD(&zap->zap_rwlock)); in zap_allocate_blocks()
428 ASSERT(RW_WRITE_HELD(&zap->zap_rwlock)); in zap_create_leaf()
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()
[all …]
H A Dzap_micro.c397 ASSERT(RW_WRITE_HELD(&zap->zap_rwlock)); in ZFS_BTREE_FIND_IN_BUF_FUNC()
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()
517 rw_init(&zap->zap_rwlock, NULL, RW_DEFAULT, NULL); in mzap_open()
518 rw_enter(&zap->zap_rwlock, RW_WRITER); in mzap_open()
593 rw_exit(&zap->zap_rwlock); in mzap_open()
597 rw_exit(&zap->zap_rwlock); in mzap_open()
598 rw_destroy(&zap->zap_rwlock); in mzap_open()
644 rw_enter(&zap->zap_rwlock, lt); in zap_lockdir_impl()
650 rw_downgrade(&zap->zap_rwlock); in zap_lockdir_impl()
[all …]
/freebsd/sys/contrib/openzfs/include/sys/
H A Dzap_impl.h150 krwlock_t zap_rwlock; member