Lines Matching refs:msg_qbytes
348 if (in->msg_qbytes > USHRT_MAX) in copy_msqid_to_user()
349 out.msg_qbytes = USHRT_MAX; in copy_msqid_to_user()
351 out.msg_qbytes = in->msg_qbytes; in copy_msqid_to_user()
352 out.msg_lqbytes = in->msg_qbytes; in copy_msqid_to_user()
383 if (tbuf_old.msg_qbytes == 0) in copy_msqid_from_user()
384 out->msg_qbytes = tbuf_old.msg_lqbytes; in copy_msqid_from_user()
386 out->msg_qbytes = tbuf_old.msg_qbytes; in copy_msqid_from_user()
401 struct ipc64_perm *perm, int msg_qbytes) in msgctl_down() argument
411 perm, msg_qbytes); in msgctl_down()
433 if (msg_qbytes > ns->msg_ctlmnb && in msgctl_down()
444 msq->q_qbytes = msg_qbytes; in msgctl_down()
567 p->msg_qbytes = msq->q_qbytes; in msgctl_stat()
626 msqid64.msg_qbytes); in ksys_msgctl()
666 unsigned short msg_qbytes; member
679 if (get_user(out->msg_qbytes, &p->msg_qbytes)) in copy_compat_msqid_from_user()
685 if (get_user(out->msg_qbytes, &p->msg_qbytes)) in copy_compat_msqid_from_user()
706 v.msg_qbytes = in->msg_qbytes; in copy_compat_msqid_to_user()
719 v.msg_qbytes = in->msg_qbytes; in copy_compat_msqid_to_user()
760 return msgctl_down(ns, msqid, cmd, &msqid64.msg_perm, msqid64.msg_qbytes); in compat_ksys_msgctl()