Home
last modified time | relevance | path

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

/ipc/
Dmsg.c994 static long do_msg_fill(void __user *dest, struct msg_msg *msg, size_t bufsz) in do_msg_fill() argument
1002 msgsz = (bufsz > msg->m_ts) ? msg->m_ts : bufsz; in do_msg_fill()
1013 static inline struct msg_msg *prepare_copy(void __user *buf, size_t bufsz) in prepare_copy() argument
1020 copy = load_msg(buf, bufsz); in prepare_copy()
1022 copy->m_ts = bufsz; in prepare_copy()
1032 static inline struct msg_msg *prepare_copy(void __user *buf, size_t bufsz) in prepare_copy() argument
1066 static long do_msgrcv(int msqid, void __user *buf, size_t bufsz, long msgtyp, int msgflg, in do_msgrcv() argument
1077 if (msqid < 0 || (long) bufsz < 0) in do_msgrcv()
1083 copy = prepare_copy(buf, min_t(size_t, bufsz, ns->msg_ctlmax)); in do_msgrcv()
1118 if ((bufsz < msg->m_ts) && !(msgflg & MSG_NOERROR)) { in do_msgrcv()
[all …]