Searched refs:rw_lock (Results 1 – 9 of 9) sorted by relevance
/titanic_41/usr/src/lib/libfakekernel/common/ |
H A D | rwlock.c | 44 (void) rwlock_init(&rwlp->rw_lock, USYNC_THREAD, NULL); in rw_init() 51 (void) rwlock_destroy(&rwlp->rw_lock); in rw_destroy() 61 rc = rw_rdlock(&rwlp->rw_lock); in rw_enter() 63 rc = rw_wrlock(&rwlp->rw_lock); in rw_enter() 72 if (_rw_write_held(&rwlp->rw_lock)) { in rw_exit() 76 (void) rw_unlock(&rwlp->rw_lock); in rw_exit() 85 rv = rw_trywrlock(&rwlp->rw_lock); in rw_tryenter() 89 rv = rw_tryrdlock(&rwlp->rw_lock); in rw_tryenter() 107 VERIFY(rw_unlock(&rwlp->rw_lock) == 0); in rw_downgrade() 108 VERIFY(rw_rdlock(&rwlp->rw_lock) == 0); in rw_downgrade()
|
/titanic_41/usr/src/uts/common/ipp/ipgpc/ |
H A D | trie.c | 229 rw_enter(&tid->rw_lock, RW_WRITER); in t_insert() 320 rw_exit(&tid->rw_lock); in t_insert() 344 rw_enter(&tid->rw_lock, RW_WRITER); in t_insert6() 385 rw_exit(&tid->rw_lock); in t_insert6() 614 rw_enter(&tid->rw_lock, RW_WRITER); in t_remove() 618 rw_exit(&tid->rw_lock); in t_remove() 641 rw_enter(&tid->rw_lock, RW_WRITER); in t_remove6() 683 rw_exit(&tid->rw_lock); in t_remove6() 710 rw_enter(&tid->rw_lock, RW_READER); in t_retrieve() 715 rw_exit(&tid->rw_lock); in t_retrieve() [all …]
|
H A D | classifier-objects.h | 215 krwlock_t rw_lock; /* lock protecting this trie */ member
|
H A D | filters.c | 184 rw_init(&ipgpc_trie_list[trie_id].rw_lock, NULL, RW_DEFAULT, NULL); in insert_ipgpc_trie_list_info() 2057 rw_destroy(&ipgpc_trie_list[IPGPC_TRIE_SADDRID6].rw_lock); in ipgpc_destroy() 2066 rw_destroy(&ipgpc_trie_list[IPGPC_TRIE_DADDRID6].rw_lock); in ipgpc_destroy() 2077 rw_destroy(&ipgpc_trie_list[i].rw_lock); in ipgpc_destroy()
|
/titanic_41/usr/src/cmd/lms/SyncLib/Include/ |
H A D | Lock.h | 53 Lock(RWLock &rw_lock, RWLock::RWMode mode = RWLock::READ_ONLY) : 54 _sem(NULL), _rw_lock(&rw_lock) in _sem()
|
/titanic_41/usr/src/lib/libzpool/common/ |
H A D | kernel.c | 208 rwlock_init(&rwlp->rw_lock, USYNC_THREAD, NULL); in rw_init() 216 rwlock_destroy(&rwlp->rw_lock); in rw_destroy() 230 VERIFY(rw_wrlock(&rwlp->rw_lock) == 0); in rw_enter() 232 VERIFY(rw_rdlock(&rwlp->rw_lock) == 0); in rw_enter() 244 VERIFY(rw_unlock(&rwlp->rw_lock) == 0); in rw_exit() 256 rv = rw_trywrlock(&rwlp->rw_lock); in rw_tryenter() 258 rv = rw_tryrdlock(&rwlp->rw_lock); in rw_tryenter()
|
/titanic_41/usr/src/lib/libfakekernel/common/sys/ |
H A D | rwlock.h | 52 lwp_rwlock_t rw_lock; member
|
/titanic_41/usr/src/lib/libzpool/common/sys/ |
H A D | zfs_context.h | 243 rwlock_t rw_lock; member 253 #define RW_READ_HELD(x) _rw_read_held(&(x)->rw_lock) 256 #define RW_WRITE_HELD(x) _rw_write_held(&(x)->rw_lock)
|
/titanic_41/usr/src/uts/common/inet/ipf/netinet/ |
H A D | ip_compat.h | 434 # define KRWLOCK_T struct rw_lock
|