Searched refs:rwst_lock (Results 1 – 2 of 2) sorted by relevance
67 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()
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)