Lines Matching refs:mq
107 #define imq_is_set(mq) wait_queue_is_set(&(mq)->imq_set_queue)
109 #define imq_lock(mq) wait_queue_lock(&(mq)->imq_wait_queue)
110 #define imq_lock_try(mq) wait_queue_lock_try(&(mq)->imq_wait_queue)
111 #define imq_unlock(mq) wait_queue_unlock(&(mq)->imq_wait_queue)
112 #define imq_held(mq) wait_queue_held(&(mq)->imq_wait_queue)
114 #define imq_full(mq) ((mq)->imq_msgcount >= (mq)->imq_qlimit)
115 #define imq_full_kernel(mq) ((mq)->imq_msgcount >= MACH_PORT_QLIMIT_KERNEL)