Searched refs:rwst_lock (Results 1 – 2 of 2) sorted by relevance
63 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()
49 kmutex_t rwst_lock; member71 #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)