Lines Matching refs:msgflg
176 * @params: ptr to the structure that contains the key and msgflg
185 int msgflg = params->flg;
191 msq->q_perm.mode = msgflg & S_IRWXUGO;
305 static inline int msg_security(struct kern_ipc_perm *ipcp, int msgflg)
309 return security_msg_queue_associate(msq, msgflg);
312 SYSCALL_DEFINE2(msgget, key_t, key, int, msgflg)
325 msg_params.flg = msgflg;
636 size_t msgsz, int msgflg)
670 err = security_msg_queue_msgsnd(msq, msg, msgflg);
680 if (msgflg & IPC_NOWAIT) {
727 int, msgflg)
733 return do_msgsnd(msqid, mtype, msgp->mtext, msgsz, msgflg);
736 static inline int convert_mode(long *msgtyp, int msgflg)
750 if (msgflg & MSG_EXCEPT)
756 size_t msgsz, long msgtyp, int msgflg)
765 mode = convert_mode(&msgtyp, msgflg);
807 if ((msgsz < msg->m_ts) && !(msgflg & MSG_NOERROR)) {
823 if (msgflg & IPC_NOWAIT) {
831 if (msgflg & MSG_NOERROR)
908 long, msgtyp, int, msgflg)
912 err = do_msgrcv(msqid, &mtype, msgp->mtext, msgsz, msgtyp, msgflg);