Home
last modified time | relevance | path

Searched refs:rwst_lock (Results 1 – 2 of 2) sorted by relevance

/onnv-gate/usr/src/uts/common/os/
H A Drwstlock.c63 mutex_enter(&l->rwst_lock); in rwst_enter_common()
68 mutex_exit(&l->rwst_lock); in rwst_enter_common()
83 mutex_exit(&l->rwst_lock); in rwst_enter_common()
96 mutex_exit(&l->rwst_lock); in rwst_enter_common()
113 mutex_exit(&l->rwst_lock); in rwst_enter_common()
123 mutex_exit(&l->rwst_lock); in rwst_enter_common()
130 mutex_enter(&l->rwst_lock); in rwst_exit()
143 mutex_exit(&l->rwst_lock); in rwst_exit()
178 mutex_init(&l->rwst_lock, NULL, MUTEX_DEFAULT, NULL); in rwst_init()
187 mutex_destroy(&l->rwst_lock); in rwst_destroy()
/onnv-gate/usr/src/uts/common/sys/
H A Drwstlock.h49 kmutex_t rwst_lock; member
71 #define RWST_READ_WAIT(l, f) RWST_WAIT(&(l)->rwst_rcv, &(l)->rwst_lock, f)
72 #define RWST_WRITE_WAIT(l, f) RWST_WAIT(&(l)->rwst_wcv, &(l)->rwst_lock, f)