Lines Matching refs:__user
38 struct sockaddr __user **save_addr) in __get_compat_msghdr()
84 struct compat_msghdr __user *umsg, in get_compat_msghdr()
85 struct sockaddr __user **save_addr, in get_compat_msghdr()
107 ((void __user *)((char __user *)(cmsg) + sizeof(struct compat_cmsghdr)))
115 (struct compat_cmsghdr __user *)((msg)->msg_control) : \
116 (struct compat_cmsghdr __user *)NULL)
122 ((char __user *)(ucmsg) - (char __user *)(mhdr)->msg_control_user)))
124 static inline struct compat_cmsghdr __user *cmsg_compat_nxthdr(struct msghdr *msg, in cmsg_compat_nxthdr()
125 struct compat_cmsghdr __user *cmsg, int cmsg_len) in cmsg_compat_nxthdr()
127 char __user *ptr = (char __user *)cmsg + CMSG_COMPAT_ALIGN(cmsg_len); in cmsg_compat_nxthdr()
128 if ((unsigned long)(ptr + 1 - (char __user *)msg->msg_control) > in cmsg_compat_nxthdr()
131 return (struct compat_cmsghdr __user *)ptr; in cmsg_compat_nxthdr()
141 struct compat_cmsghdr __user *ucmsg; in cmsghdr_from_user_compat_to_kern()
227 struct compat_cmsghdr __user *cm = (struct compat_cmsghdr __user *) kmsg->msg_control; in put_cmsg_compat()
290 struct compat_cmsghdr __user *cm = in scm_detach_fds_compat()
291 (struct compat_cmsghdr __user *)msg->msg_control; in scm_detach_fds_compat()
294 int __user *cmsg_data = CMSG_COMPAT_DATA(cm); in scm_detach_fds_compat()
341 struct compat_msghdr __user *msg, in __compat_sys_sendmsg()
344 return __sys_sendmsg(fd, (struct user_msghdr __user *)msg, in __compat_sys_sendmsg()
348 COMPAT_SYSCALL_DEFINE3(sendmsg, int, fd, struct compat_msghdr __user *, msg, in COMPAT_SYSCALL_DEFINE3() argument
355 struct compat_mmsghdr __user *mmsg, in __compat_sys_sendmmsg()
358 return __sys_sendmmsg(fd, (struct mmsghdr __user *)mmsg, vlen, in __compat_sys_sendmmsg()
362 COMPAT_SYSCALL_DEFINE4(sendmmsg, int, fd, struct compat_mmsghdr __user *, mmsg, in COMPAT_SYSCALL_DEFINE4() argument
369 struct compat_msghdr __user *msg, in __compat_sys_recvmsg()
372 return __sys_recvmsg(fd, (struct user_msghdr __user *)msg, in __compat_sys_recvmsg()
376 COMPAT_SYSCALL_DEFINE3(recvmsg, int, fd, struct compat_msghdr __user *, msg, in COMPAT_SYSCALL_DEFINE3() argument
382 static inline long __compat_sys_recvfrom(int fd, void __user *buf, in __compat_sys_recvfrom()
384 struct sockaddr __user *addr, in __compat_sys_recvfrom()
385 int __user *addrlen) in __compat_sys_recvfrom()
391 COMPAT_SYSCALL_DEFINE4(recv, int, fd, void __user *, buf, compat_size_t, len, unsigned int, flags) in COMPAT_SYSCALL_DEFINE4() argument
396 COMPAT_SYSCALL_DEFINE6(recvfrom, int, fd, void __user *, buf, compat_size_t, len, in COMPAT_SYSCALL_DEFINE6() argument
397 unsigned int, flags, struct sockaddr __user *, addr, in COMPAT_SYSCALL_DEFINE6() argument
398 int __user *, addrlen) in COMPAT_SYSCALL_DEFINE6() argument
403 COMPAT_SYSCALL_DEFINE5(recvmmsg_time64, int, fd, struct compat_mmsghdr __user *, mmsg, in COMPAT_SYSCALL_DEFINE5() argument
405 struct __kernel_timespec __user *, timeout) in COMPAT_SYSCALL_DEFINE5() argument
407 return __sys_recvmmsg(fd, (struct mmsghdr __user *)mmsg, vlen, in COMPAT_SYSCALL_DEFINE5()
412 COMPAT_SYSCALL_DEFINE5(recvmmsg_time32, int, fd, struct compat_mmsghdr __user *, mmsg, in COMPAT_SYSCALL_DEFINE5() argument
414 struct old_timespec32 __user *, timeout) in COMPAT_SYSCALL_DEFINE5() argument
416 return __sys_recvmmsg(fd, (struct mmsghdr __user *)mmsg, vlen, in COMPAT_SYSCALL_DEFINE5()
421 COMPAT_SYSCALL_DEFINE2(socketcall, int, call, u32 __user *, args) in COMPAT_SYSCALL_DEFINE2() argument