Searched refs:waitqp (Results 1 – 1 of 1) sorted by relevance
169 #define rdsv3_init_waitqueue(waitqp) \ argument170 mutex_init(&(waitqp)->waitq_mutex, NULL, MUTEX_DRIVER, NULL); \171 cv_init(&(waitqp)->waitq_cv, NULL, CV_DRIVER, NULL); \172 (waitqp)->waitq_waiters = 0174 #define rdsv3_exit_waitqueue(waitqp) \ argument175 ASSERT((waitqp)->waitq_waiters == 0); \176 mutex_destroy(&(waitqp)->waitq_mutex); \177 cv_destroy(&(waitqp)->waitq_cv)179 #define rdsv3_wake_up(waitqp) { \ argument180 mutex_enter(&(waitqp)->waitq_mutex); \[all …]