Searched refs:msgsz (Results 1 – 2 of 2) sorted by relevance
90 size_t msgsz; member186 static inline bool msg_fits_inqueue(struct msg_queue *msq, size_t msgsz) in msg_fits_inqueue() argument188 return msgsz + msq->q_cbytes <= msq->q_qbytes && in msg_fits_inqueue()193 struct msg_sender *mss, size_t msgsz) in ss_add() argument196 mss->msgsz = msgsz; in ss_add()236 else if (!msg_fits_inqueue(msq, mss->msgsz)) { in ss_wakeup()843 size_t msgsz, int msgflg) in do_msgsnd() argument853 if (msgsz > ns->msg_ctlmax || (long) msgsz < 0 || msqid < 0) in do_msgsnd()858 msg = load_msg(mtext, msgsz); in do_msgsnd()863 msg->m_ts = msgsz; in do_msgsnd()[all …]
285 long compat_ksys_msgrcv(int msqid, compat_uptr_t msgp, compat_ssize_t msgsz,288 compat_ssize_t msgsz, int msgflg);