Home
last modified time | relevance | path

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

/titanic_41/usr/src/uts/common/os/
H A Drwstlock.c67 mutex_enter(&l->rwst_lock); in rwst_enter_common()
73 mutex_exit(&l->rwst_lock); in rwst_enter_common()
88 mutex_exit(&l->rwst_lock); in rwst_enter_common()
101 mutex_exit(&l->rwst_lock); in rwst_enter_common()
118 mutex_exit(&l->rwst_lock); in rwst_enter_common()
128 mutex_exit(&l->rwst_lock); in rwst_enter_common()
135 mutex_enter(&l->rwst_lock); in rwst_exit()
148 mutex_exit(&l->rwst_lock); in rwst_exit()
183 mutex_init(&l->rwst_lock, NULL, MUTEX_DEFAULT, NULL); in rwst_init()
192 mutex_destroy(&l->rwst_lock); in rwst_destroy()
/titanic_41/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)