Lines Matching defs:wqs
287 #define WQSPREV(wqs, wql) ((wait_queue_link_t)queue_prev( \
288 ((&(wqs)->wqs_setlinks == (queue_t)(wql)) ? \
291 #define WQSNEXT(wqs, wql) ((wait_queue_link_t)queue_next( \
292 ((&(wqs)->wqs_setlinks == (queue_t)(wql)) ? \
295 #define WAIT_QUEUE_SET_LINK_CHECK(wqs, wql) \
297 ((wql)->wql_setqueue == (wqs)) && \
299 (WQSNEXT((wqs), WQSPREV((wqs),(wql))) == (wql))), \
300 "wait queue set links corruption: wqs=%#x, wql=%#x", \
301 (wqs), (wql))
317 #define WAIT_QUEUE_SET_CHECK(wqs) \
319 queue_t q2 = &(wqs)->wqs_setlinks; \
322 WAIT_QUEUE_SET_LINK_CHECK((wqs), wql2); \
332 #define WAIT_QUEUE_SET_CHECK(wqs)
869 wait_queue_set_t wqs = (wait_queue_set_t)wq;
871 if (wqs->wqs_isprepost && wqs->wqs_refcount > 0)
1012 wait_queue_set_t wqs = (wait_queue_set_t)set_queue;
1018 wqs->wqs_refcount++;