Lines Matching refs:q
39 # define mqsend(q) (mqsend) (q, __LINE__) argument
41 (mqsend) (mqd_t q, int line)
44 if (mq_send (q, &c, 1, 1) != 0)
52 # define mqrecv(q) (mqrecv) (q, __LINE__) argument
54 (mqrecv) (mqd_t q, int line)
57 ssize_t rets = TEMP_FAILURE_RETRY (mq_receive (q, &c, 1, NULL));
76 mqd_t q = *(mqd_t *) s.sival_ptr; in fct() local
103 fct_err |= mqsend (q); in fct()
116 mqd_t q = mq_open (name, O_CREAT | O_EXCL | O_RDWR, 0600, &attr); in do_test() local
118 if (q == (mqd_t) -1) in do_test()
144 ev.sigev_value.sival_ptr = &q; in do_test()
145 if (mq_notify (q, &ev) != 0) in do_test()
158 if (mq_notify (q, &ev) == 0) in do_test()
175 result |= mqsend (q); in do_test()
177 result |= mqrecv (q); in do_test()
178 result |= mqrecv (q); in do_test()
191 if (mq_notify (q, &ev) != 0) in do_test()
197 if (mq_notify (q, NULL) != 0) in do_test()
207 ev.sigev_value.sival_ptr = &q; in do_test()
208 if (mq_notify (q, &ev) != 0) in do_test()
220 if (mq_notify (q, &ev) == 0) in do_test()
237 result |= mqsend (q); in do_test()
239 result |= mqrecv (q); in do_test()
240 result |= mqrecv (q); in do_test()
253 if (mq_notify (q, &ev) != 0) in do_test()
259 if (mq_notify (q, NULL) != 0) in do_test()
277 if (mq_close (q) != 0) in do_test()
288 if (mq_notify (q, &ev) == 0) in do_test()