Lines Matching defs:msg_prio
194 unsigned int msg_prio;
260 size_t msg_len, unsigned msg_prio, int waitok,
263 size_t msg_len, unsigned *msg_prio, int waitok,
1639 mqueue_loadmsg(const char *msg_ptr, size_t msg_size, int msg_prio)
1654 msg->msg_prio = msg_prio;
1663 mqueue_savemsg(struct mqueue_msg *msg, char *msg_ptr, int *msg_prio)
1669 if (error == 0 && msg_prio != NULL)
1670 error = copyout(&msg->msg_prio, msg_prio, sizeof(int));
1690 size_t msg_len, unsigned msg_prio, int waitok,
1698 if (msg_prio >= MQ_PRIO_MAX)
1702 msg = mqueue_loadmsg(msg_ptr, msg_len, msg_prio);
1783 if (msg->msg_prio <= TAILQ_LAST(&mq->mq_msgq, msgq)->msg_prio) {
1787 if (msg2->msg_prio < msg->msg_prio)
1845 size_t msg_len, unsigned *msg_prio, int waitok,
1901 error = mqueue_savemsg(msg, msg_ptr, msg_prio);
2279 size_t msg_len, unsigned int *msg_prio, const struct timespec *abs_timeout)
2290 error = mqueue_receive(mq, msg_ptr, msg_len, msg_prio, waitok,
2311 uap->msg_prio, abs_timeout));
2316 size_t msg_len, unsigned int msg_prio, const struct timespec *abs_timeout)
2327 error = mqueue_send(mq, msg_ptr, msg_len, msg_prio, waitok,
2348 uap->msg_prio, abs_timeout));
2838 uap->msg_prio, abs_timeout));
2860 uap->msg_prio, abs_timeout));