Lines Matching refs:msqbuf
379 struct user_msqid_ds msqbuf; in msgctl() local
498 msqid_ds_user64tokernel(&tmpds, &msqbuf); in msgctl()
504 msqid_ds_user32tokernel(&tmpds, &msqbuf); in msgctl()
512 if (msqbuf.msg_qbytes > msqptr->u.msg_qbytes) { in msgctl()
521 if (msqbuf.msg_qbytes > (user_msglen_t)msginfo.msgmnb) { in msgctl()
526 msqbuf.msg_qbytes = msginfo.msgmnb; /* silently restrict qbytes to system limit */ in msgctl()
528 if (msqbuf.msg_qbytes == 0) { in msgctl()
535 msqptr->u.msg_perm.uid = msqbuf.msg_perm.uid; /* change the owner */ in msgctl()
536 msqptr->u.msg_perm.gid = msqbuf.msg_perm.gid; /* change the owner */ in msgctl()
538 (msqbuf.msg_perm.mode & 0777); in msgctl()
539 msqptr->u.msg_qbytes = msqbuf.msg_qbytes; in msgctl()