Home | History | Annotate | Download | only in netbsd32

Lines Matching defs:mq

108 	struct mqueue *mq;
113 error = mqueue_get(SCARG(uap, mqdes), 0, &mq);
117 memcpy(&attr, &mq->mq_attrib, sizeof(struct mq_attr));
118 mutex_exit(&mq->mq_mtx);
133 struct mqueue *mq;
144 error = mqueue_get(SCARG(uap, mqdes), 0, &mq);
150 memcpy(&attr, &mq->mq_attrib, sizeof(struct mq_attr));
154 mq->mq_attrib.mq_flags |= O_NONBLOCK;
156 mq->mq_attrib.mq_flags &= ~O_NONBLOCK;
158 mutex_exit(&mq->mq_mtx);
183 struct mqueue *mq;
198 error = mqueue_get(SCARG(uap, mqdes), 0, &mq);
204 if (mq->mq_notify_proc == NULL) {
205 netbsd32_to_sigevent(&sig32, &mq->mq_sig_notify);
206 mq->mq_notify_proc = l->l_proc;
213 mq->mq_notify_proc = NULL;
215 mutex_exit(&mq->mq_mtx);