Home | History | Annotate | Download | only in common

Lines Matching defs:mq

192 	struct mqueue *mq;
207 error = mqueue_get((mqd_t)SCARG(uap, mqdes), 0, &mq);
212 if (mq->mq_notify_proc == NULL) {
213 memcpy(&mq->mq_sig_notify, &sig,
215 mq->mq_notify_proc = l->l_proc;
222 mq->mq_notify_proc = NULL;
224 mutex_exit(&mq->mq_mtx);
242 struct mqueue *mq;
245 error = mqueue_get((mqd_t)SCARG(uap, mqdes), 0, &mq);
248 memcpy(&attr, &mq->mq_attrib, sizeof(struct mq_attr));
250 mutex_exit(&mq->mq_mtx);
268 struct mqueue *mq;
277 error = mqueue_get((mqd_t)SCARG(uap, mqdes), 0, &mq);
283 memcpy(&attr, &mq->mq_attrib, sizeof(struct mq_attr));
289 mq->mq_attrib.mq_flags |= O_NONBLOCK;
291 mq->mq_attrib.mq_flags &= ~O_NONBLOCK;
293 mutex_exit(&mq->mq_mtx);