Home
last modified time | relevance | path

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

/ipc/
Dmsg.c1020 static long do_msg_fill(void __user *dest, struct msg_msg *msg, size_t bufsz) in do_msg_fill() argument
1028 msgsz = (bufsz > msg->m_ts) ? msg->m_ts : bufsz; in do_msg_fill()
1039 static inline struct msg_msg *prepare_copy(void __user *buf, size_t bufsz) in prepare_copy() argument
1046 copy = load_msg(buf, bufsz); in prepare_copy()
1048 copy->m_ts = bufsz; in prepare_copy()
1058 static inline struct msg_msg *prepare_copy(void __user *buf, size_t bufsz) in prepare_copy() argument
1092 static long do_msgrcv(int msqid, void __user *buf, size_t bufsz, long msgtyp, int msgflg, in do_msgrcv() argument
1103 if (msqid < 0 || (long) bufsz < 0) in do_msgrcv()
1109 copy = prepare_copy(buf, min_t(size_t, bufsz, ns->msg_ctlmax)); in do_msgrcv()
1144 if ((bufsz < msg->m_ts) && !(msgflg & MSG_NOERROR)) { in do_msgrcv()
[all …]