Home
last modified time | relevance | path

Searched refs:msgsz (Results 1 – 6 of 6) sorted by relevance

/linux-4.4.14/ipc/
Dmsg.c610 size_t msgsz, int msgflg) in do_msgsnd() argument
619 if (msgsz > ns->msg_ctlmax || (long) msgsz < 0 || msqid < 0) in do_msgsnd()
624 msg = load_msg(mtext, msgsz); in do_msgsnd()
629 msg->m_ts = msgsz; in do_msgsnd()
657 if (msgsz + msq->q_cbytes <= msq->q_qbytes && in do_msgsnd()
704 msq->q_cbytes += msgsz; in do_msgsnd()
706 atomic_add(msgsz, &ns->msg_bytes); in do_msgsnd()
722 SYSCALL_DEFINE4(msgsnd, int, msqid, struct msgbuf __user *, msgp, size_t, msgsz, in SYSCALL_DEFINE4() argument
729 return do_msgsnd(msqid, mtype, msgp->mtext, msgsz, msgflg); in SYSCALL_DEFINE4()
756 size_t msgsz; in do_msg_fill() local
[all …]
Dcompat.c313 size_t msgsz; in compat_do_msg_fill() local
318 msgsz = (bufsz > msg->m_ts) ? msg->m_ts : bufsz; in compat_do_msg_fill()
319 if (store_msg(msgp->mtext, msg, msgsz)) in compat_do_msg_fill()
321 return msgsz; in compat_do_msg_fill()
419 compat_ssize_t, msgsz, int, msgflg) in COMPAT_SYSCALL_DEFINE4() argument
426 return do_msgsnd(msqid, mtype, up->mtext, (ssize_t)msgsz, msgflg); in COMPAT_SYSCALL_DEFINE4()
430 compat_ssize_t, msgsz, compat_long_t, msgtyp, int, msgflg) in COMPAT_SYSCALL_DEFINE5() argument
432 return do_msgrcv(msqid, compat_ptr(msgp), (ssize_t)msgsz, (long)msgtyp, in COMPAT_SYSCALL_DEFINE5()
/linux-4.4.14/include/linux/
Dmsg.h36 size_t msgsz, int msgflg);
Dcompat.h322 compat_ssize_t msgsz, int msgflg);
324 compat_ssize_t msgsz, compat_long_t msgtyp, int msgflg);
Dsyscalls.h659 size_t msgsz, int msgflg);
661 size_t msgsz, long msgtyp, int msgflg);
/linux-4.4.14/drivers/staging/rdma/ipath/
Dipath_intr.c452 unsigned supp_msgs, char *msg, u32 msgsz) in handle_supp_msgs() argument
461 iserr = ipath_decode_err(dd, msg, msgsz, in handle_supp_msgs()
499 u32 msgsz, int *noprint) in handle_frequent_errors() argument
517 handle_supp_msgs(dd, supp_msgs, msg, msgsz); in handle_frequent_errors()