Lines Matching refs:msg_qbytes
159 msqs[i].msq_u.msg_qbytes = 0;
181 if (msqs[i].msq_u.msg_qbytes != 0) {
260 if (mptr->msg_qbytes || (mptr->msg_perm.mode & MSG_LOCKED))
293 new_msqs[i].msq_u.msg_qbytes = 0;
310 if (mptr->msg_qbytes == 0 &&
497 if (msqptr->msg_qbytes == 0) {
530 msqptr->msg_qbytes = 0;
538 if (msqbuf->msg_qbytes > msqptr->msg_qbytes &&
541 KAUTH_ARG(msqbuf->msg_qbytes),
542 KAUTH_ARG(msqptr->msg_qbytes), NULL) != 0) {
546 if (msqbuf->msg_qbytes > msginfo.msgmnb) {
547 MSG_PRINTF(("can't increase msg_qbytes beyond %d "
550 msqbuf->msg_qbytes = msginfo.msgmnb;
552 if (msqbuf->msg_qbytes == 0) {
553 MSG_PRINTF(("can't reduce msg_qbytes to 0\n"));
561 msqptr->msg_qbytes = msqbuf->msg_qbytes;
574 msqbuf->msg_qbytes = msqptr->msg_qbytes;
615 if (msqptr->msg_qbytes != 0 &&
647 if (msqptr->msg_qbytes == 0 &&
669 msqptr->msg_qbytes = msginfo.msgmnb;
739 if (msqptr->msg_qbytes == 0) {
763 * (inside this loop in case msg_qbytes changes while we sleep)
766 if (msgsz > msqptr->msg_qbytes) {
767 MSG_PRINTF(("msgsz > msqptr->msg_qbytes\n"));
776 if (msgsz + msqptr->_msg_cbytes > msqptr->msg_qbytes) {
777 MSG_PRINTF(("msgsz + msg_cbytes > msg_qbytes\n"));
840 if (msqptr->msg_qbytes == 0) {
858 KASSERT(msgsz + msqptr->_msg_cbytes <= msqptr->msg_qbytes);
965 if (msqptr->msg_qbytes == 0) {
1049 if (msqptr->msg_qbytes == 0) {
1181 if (msqptr->msg_qbytes == 0 ||