Home
last modified time | relevance | path

Searched refs:rw_lock (Results 1 – 7 of 7) sorted by relevance

/illumos-gate/usr/src/lib/libfakekernel/common/
H A Drwlock.c43 (void) rwlock_init(&rwlp->rw_lock, USYNC_THREAD, NULL); in rw_init()
50 (void) rwlock_destroy(&rwlp->rw_lock); in rw_destroy()
60 rc = rw_rdlock(&rwlp->rw_lock); in rw_enter()
62 rc = rw_wrlock(&rwlp->rw_lock); in rw_enter()
71 if (_rw_write_held(&rwlp->rw_lock)) { in rw_exit()
75 ASSERT(_rw_read_held(&rwlp->rw_lock)); in rw_exit()
77 (void) rw_unlock(&rwlp->rw_lock); in rw_exit()
86 rv = rw_trywrlock(&rwlp->rw_lock); in rw_tryenter()
90 rv = rw_tryrdlock(&rwlp->rw_lock); in rw_tryenter()
108 VERIFY(rw_unlock(&rwlp->rw_lock) == 0); in rw_downgrade()
[all …]
/illumos-gate/usr/src/uts/common/ipp/ipgpc/
H A Dtrie.c320 rw_exit(&tid->rw_lock); in t_insert()
385 rw_exit(&tid->rw_lock); in t_insert6()
618 rw_exit(&tid->rw_lock); in t_remove()
683 rw_exit(&tid->rw_lock); in t_remove6()
715 rw_exit(&tid->rw_lock); in t_retrieve()
726 rw_exit(&tid->rw_lock); in t_retrieve()
756 rw_exit(&tid->rw_lock); in t_retrieve()
764 rw_exit(&tid->rw_lock); in t_retrieve()
769 rw_exit(&tid->rw_lock); in t_retrieve()
793 rw_exit(&tid->rw_lock); in t_retrieve6()
[all …]
H A Dclassifier-objects.h215 krwlock_t rw_lock; /* lock protecting this trie */ member
H A Dfilters.c184 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()
/illumos-gate/usr/src/boot/sys/sys/
H A D_rwlock.h45 volatile uintptr_t rw_lock; member
59 volatile uintptr_t rw_lock; member
/illumos-gate/usr/src/lib/libfakekernel/common/sys/
H A Drwlock.h52 lwp_rwlock_t rw_lock; member
/illumos-gate/usr/src/uts/common/inet/ipf/netinet/
H A Dip_compat.h439 # define KRWLOCK_T struct rw_lock