Lines Matching refs:msg
118 #define CMSG_FIRSTHDR(msg) __CMSG_FIRSTHDR((msg)->msg_control, (msg)->msg_controllen) argument
123 #define for_each_cmsghdr(cmsg, msg) \ argument
124 for (cmsg = CMSG_FIRSTHDR(msg); \
126 cmsg = CMSG_NXTHDR(msg, cmsg))
158 static inline size_t msg_data_left(struct msghdr *msg) in msg_data_left() argument
160 return iov_iter_count(&msg->msg_iter); in msg_data_left()
378 extern void put_cmsg_scm_timestamping64(struct msghdr *msg, struct scm_timestamping_internal *tss);
379 extern void put_cmsg_scm_timestamping(struct msghdr *msg, struct scm_timestamping_internal *tss);
384 extern long __sys_recvmsg(int fd, struct user_msghdr __user *msg,
386 extern long __sys_sendmsg(int fd, struct user_msghdr __user *msg,
395 extern long __sys_sendmsg_sock(struct socket *sock, struct msghdr *msg,
397 extern long __sys_recvmsg_sock(struct socket *sock, struct msghdr *msg,
401 extern int sendmsg_copy_msghdr(struct msghdr *msg,
404 extern int recvmsg_copy_msghdr(struct msghdr *msg,