Lines Matching refs:msg_qbytes
349 if (in->msg_qbytes > USHRT_MAX) in copy_msqid_to_user()
350 out.msg_qbytes = USHRT_MAX; in copy_msqid_to_user()
352 out.msg_qbytes = in->msg_qbytes; in copy_msqid_to_user()
353 out.msg_lqbytes = in->msg_qbytes; in copy_msqid_to_user()
384 if (tbuf_old.msg_qbytes == 0) in copy_msqid_from_user()
385 out->msg_qbytes = tbuf_old.msg_lqbytes; in copy_msqid_from_user()
387 out->msg_qbytes = tbuf_old.msg_qbytes; in copy_msqid_from_user()
402 struct ipc64_perm *perm, int msg_qbytes) in msgctl_down() argument
412 perm, msg_qbytes); in msgctl_down()
434 if (msg_qbytes > ns->msg_ctlmnb && in msgctl_down()
445 msq->q_qbytes = msg_qbytes; in msgctl_down()
573 p->msg_qbytes = msq->q_qbytes; in msgctl_stat()
632 msqid64.msg_qbytes); in ksys_msgctl()
672 unsigned short msg_qbytes; member
685 if (get_user(out->msg_qbytes, &p->msg_qbytes)) in copy_compat_msqid_from_user()
691 if (get_user(out->msg_qbytes, &p->msg_qbytes)) in copy_compat_msqid_from_user()
712 v.msg_qbytes = in->msg_qbytes; in copy_compat_msqid_to_user()
725 v.msg_qbytes = in->msg_qbytes; in copy_compat_msqid_to_user()
766 return msgctl_down(ns, msqid, cmd, &msqid64.msg_perm, msqid64.msg_qbytes); in compat_ksys_msgctl()