Lines Matching refs:__user
246 int move_addr_to_kernel(void __user *uaddr, int ulen, struct sockaddr_storage *kaddr) in move_addr_to_kernel()
275 void __user *uaddr, int __user *ulen) in move_addr_to_user()
1178 void __user *uarg);
1182 void __user *uarg)) in brioctl_set()
1191 struct ifreq *ifr, void __user *uarg) in br_ioctl_call()
1207 static int (*vlan_ioctl_hook) (struct net *, void __user *arg);
1209 void vlan_ioctl_set(int (*hook) (struct net *, void __user *)) in vlan_ioctl_set() argument
1224 void __user *argp = (void __user *)arg; in sock_do_ioctl()
1225 void __user *data; in sock_do_ioctl()
1259 void __user *argp = (void __user *)arg; in sock_ioctl()
1269 void __user *data; in sock_ioctl()
1287 if (get_user(pid, (int __user *)argp)) in sock_ioctl()
1294 (int __user *)argp); in sock_ioctl()
1737 int __sys_socketpair(int family, int type, int protocol, int __user *usockvec) in __sys_socketpair()
1830 int __user *, usockvec) in SYSCALL_DEFINE4() argument
1857 int __sys_bind(int fd, struct sockaddr __user *umyaddr, int addrlen) in __sys_bind()
1873 SYSCALL_DEFINE3(bind, int, fd, struct sockaddr __user *, umyaddr, int, addrlen) in SYSCALL_DEFINE3() argument
1916 struct sockaddr __user *upeer_sockaddr, in do_accept()
1917 int __user *upeer_addrlen, int flags) in do_accept()
1975 static int __sys_accept4_file(struct file *file, struct sockaddr __user *upeer_sockaddr, in __sys_accept4_file()
1976 int __user *upeer_addrlen, int flags) in __sys_accept4_file()
2014 int __sys_accept4(int fd, struct sockaddr __user *upeer_sockaddr, in __sys_accept4()
2015 int __user *upeer_addrlen, int flags) in __sys_accept4()
2030 SYSCALL_DEFINE4(accept4, int, fd, struct sockaddr __user *, upeer_sockaddr, in SYSCALL_DEFINE4() argument
2031 int __user *, upeer_addrlen, int, flags) in SYSCALL_DEFINE4() argument
2036 SYSCALL_DEFINE3(accept, int, fd, struct sockaddr __user *, upeer_sockaddr, in SYSCALL_DEFINE3() argument
2037 int __user *, upeer_addrlen) in SYSCALL_DEFINE3() argument
2077 int __sys_connect(int fd, struct sockaddr __user *uservaddr, int addrlen) in __sys_connect()
2095 SYSCALL_DEFINE3(connect, int, fd, struct sockaddr __user *, uservaddr, in SYSCALL_DEFINE3() argument
2106 int __sys_getsockname(int fd, struct sockaddr __user *usockaddr, in __sys_getsockname()
2107 int __user *usockaddr_len) in __sys_getsockname()
2133 SYSCALL_DEFINE3(getsockname, int, fd, struct sockaddr __user *, usockaddr, in SYSCALL_DEFINE3() argument
2134 int __user *, usockaddr_len) in SYSCALL_DEFINE3() argument
2144 int __sys_getpeername(int fd, struct sockaddr __user *usockaddr, in __sys_getpeername()
2145 int __user *usockaddr_len) in __sys_getpeername()
2171 SYSCALL_DEFINE3(getpeername, int, fd, struct sockaddr __user *, usockaddr, in SYSCALL_DEFINE3() argument
2172 int __user *, usockaddr_len) in SYSCALL_DEFINE3() argument
2182 int __sys_sendto(int fd, void __user *buff, size_t len, unsigned int flags, in __sys_sendto()
2183 struct sockaddr __user *addr, int addr_len) in __sys_sendto()
2222 SYSCALL_DEFINE6(sendto, int, fd, void __user *, buff, size_t, len, in SYSCALL_DEFINE6() argument
2223 unsigned int, flags, struct sockaddr __user *, addr, in SYSCALL_DEFINE6() argument
2233 SYSCALL_DEFINE4(send, int, fd, void __user *, buff, size_t, len, in SYSCALL_DEFINE4() argument
2244 int __sys_recvfrom(int fd, void __user *ubuf, size_t size, unsigned int flags, in __sys_recvfrom()
2245 struct sockaddr __user *addr, int __user *addr_len) in __sys_recvfrom()
2279 SYSCALL_DEFINE6(recvfrom, int, fd, void __user *, ubuf, size_t, size, in SYSCALL_DEFINE6() argument
2280 unsigned int, flags, struct sockaddr __user *, addr, in SYSCALL_DEFINE6() argument
2281 int __user *, addr_len) in SYSCALL_DEFINE6() argument
2290 SYSCALL_DEFINE4(recv, int, fd, void __user *, ubuf, size_t, size, in SYSCALL_DEFINE4() argument
2345 int __sys_setsockopt(int fd, int level, int optname, char __user *user_optval, in __sys_setsockopt()
2364 char __user *, optval, int, optlen) in SYSCALL_DEFINE5() argument
2413 int __sys_getsockopt(int fd, int level, int optname, char __user *optval, in __sys_getsockopt()
2414 int __user *optlen) in __sys_getsockopt()
2433 char __user *, optval, int __user *, optlen) in SYSCALL_DEFINE5() argument
2485 struct sockaddr __user **save_addr) in __copy_msghdr()
2530 struct user_msghdr __user *umsg, in copy_msghdr_from_user()
2531 struct sockaddr __user **save_addr, in copy_msghdr_from_user()
2627 struct user_msghdr __user *umsg, unsigned flags, in sendmsg_copy_msghdr()
2633 struct compat_msghdr __user *msg_compat; in sendmsg_copy_msghdr()
2635 msg_compat = (struct compat_msghdr __user *) umsg; in sendmsg_copy_msghdr()
2646 static int ___sys_sendmsg(struct socket *sock, struct user_msghdr __user *msg, in ___sys_sendmsg()
2676 long __sys_sendmsg(int fd, struct user_msghdr __user *msg, unsigned int flags, in __sys_sendmsg()
2697 SYSCALL_DEFINE3(sendmsg, int, fd, struct user_msghdr __user *, msg, unsigned int, flags) in SYSCALL_DEFINE3() argument
2706 int __sys_sendmmsg(int fd, struct mmsghdr __user *mmsg, unsigned int vlen, in __sys_sendmmsg()
2711 struct mmsghdr __user *entry; in __sys_sendmmsg()
2712 struct compat_mmsghdr __user *compat_entry; in __sys_sendmmsg()
2731 compat_entry = (struct compat_mmsghdr __user *)mmsg; in __sys_sendmmsg()
2740 err = ___sys_sendmsg(sock, (struct user_msghdr __user *)compat_entry, in __sys_sendmmsg()
2748 (struct user_msghdr __user *)entry, in __sys_sendmmsg()
2773 SYSCALL_DEFINE4(sendmmsg, int, fd, struct mmsghdr __user *, mmsg, in SYSCALL_DEFINE4() argument
2780 struct user_msghdr __user *umsg, unsigned flags, in recvmsg_copy_msghdr()
2781 struct sockaddr __user **uaddr, in recvmsg_copy_msghdr()
2787 struct compat_msghdr __user *msg_compat; in recvmsg_copy_msghdr()
2789 msg_compat = (struct compat_msghdr __user *) umsg; in recvmsg_copy_msghdr()
2801 struct user_msghdr __user *msg, in ____sys_recvmsg()
2802 struct sockaddr __user *uaddr, in ____sys_recvmsg()
2805 struct compat_msghdr __user *msg_compat = in ____sys_recvmsg()
2806 (struct compat_msghdr __user *) msg; in ____sys_recvmsg()
2807 int __user *uaddr_len = COMPAT_NAMELEN(msg); in ____sys_recvmsg()
2856 static int ___sys_recvmsg(struct socket *sock, struct user_msghdr __user *msg, in ___sys_recvmsg()
2861 struct sockaddr __user *uaddr; in ___sys_recvmsg()
2878 struct user_msghdr __user *umsg, in __sys_recvmsg_sock()
2879 struct sockaddr __user *uaddr, unsigned int flags) in __sys_recvmsg_sock()
2884 long __sys_recvmsg(int fd, struct user_msghdr __user *msg, unsigned int flags, in __sys_recvmsg()
2905 SYSCALL_DEFINE3(recvmsg, int, fd, struct user_msghdr __user *, msg, in SYSCALL_DEFINE3() argument
2915 static int do_recvmmsg(int fd, struct mmsghdr __user *mmsg, in do_recvmmsg()
2921 struct mmsghdr __user *entry; in do_recvmmsg()
2922 struct compat_mmsghdr __user *compat_entry; in do_recvmmsg()
2947 compat_entry = (struct compat_mmsghdr __user *)mmsg; in do_recvmmsg()
2954 err = ___sys_recvmsg(sock, (struct user_msghdr __user *)compat_entry, in do_recvmmsg()
2963 (struct user_msghdr __user *)entry, in do_recvmmsg()
3026 int __sys_recvmmsg(int fd, struct mmsghdr __user *mmsg, in __sys_recvmmsg()
3028 struct __kernel_timespec __user *timeout, in __sys_recvmmsg()
3029 struct old_timespec32 __user *timeout32) in __sys_recvmmsg()
3057 SYSCALL_DEFINE5(recvmmsg, int, fd, struct mmsghdr __user *, mmsg, in SYSCALL_DEFINE5() argument
3059 struct __kernel_timespec __user *, timeout) in SYSCALL_DEFINE5() argument
3068 SYSCALL_DEFINE5(recvmmsg_time32, int, fd, struct mmsghdr __user *, mmsg, in SYSCALL_DEFINE5() argument
3070 struct old_timespec32 __user *, timeout) in SYSCALL_DEFINE5() argument
3099 SYSCALL_DEFINE2(socketcall, int, call, unsigned long __user *, args) in SYSCALL_DEFINE2() argument
3130 err = __sys_bind(a0, (struct sockaddr __user *)a1, a[2]); in SYSCALL_DEFINE2()
3133 err = __sys_connect(a0, (struct sockaddr __user *)a1, a[2]); in SYSCALL_DEFINE2()
3139 err = __sys_accept4(a0, (struct sockaddr __user *)a1, in SYSCALL_DEFINE2()
3140 (int __user *)a[2], 0); in SYSCALL_DEFINE2()
3144 __sys_getsockname(a0, (struct sockaddr __user *)a1, in SYSCALL_DEFINE2()
3145 (int __user *)a[2]); in SYSCALL_DEFINE2()
3149 __sys_getpeername(a0, (struct sockaddr __user *)a1, in SYSCALL_DEFINE2()
3150 (int __user *)a[2]); in SYSCALL_DEFINE2()
3153 err = __sys_socketpair(a0, a1, a[2], (int __user *)a[3]); in SYSCALL_DEFINE2()
3156 err = __sys_sendto(a0, (void __user *)a1, a[2], a[3], in SYSCALL_DEFINE2()
3160 err = __sys_sendto(a0, (void __user *)a1, a[2], a[3], in SYSCALL_DEFINE2()
3161 (struct sockaddr __user *)a[4], a[5]); in SYSCALL_DEFINE2()
3164 err = __sys_recvfrom(a0, (void __user *)a1, a[2], a[3], in SYSCALL_DEFINE2()
3168 err = __sys_recvfrom(a0, (void __user *)a1, a[2], a[3], in SYSCALL_DEFINE2()
3169 (struct sockaddr __user *)a[4], in SYSCALL_DEFINE2()
3170 (int __user *)a[5]); in SYSCALL_DEFINE2()
3176 err = __sys_setsockopt(a0, a1, a[2], (char __user *)a[3], in SYSCALL_DEFINE2()
3181 __sys_getsockopt(a0, a1, a[2], (char __user *)a[3], in SYSCALL_DEFINE2()
3182 (int __user *)a[4]); in SYSCALL_DEFINE2()
3185 err = __sys_sendmsg(a0, (struct user_msghdr __user *)a1, in SYSCALL_DEFINE2()
3189 err = __sys_sendmmsg(a0, (struct mmsghdr __user *)a1, a[2], in SYSCALL_DEFINE2()
3193 err = __sys_recvmsg(a0, (struct user_msghdr __user *)a1, in SYSCALL_DEFINE2()
3198 err = __sys_recvmmsg(a0, (struct mmsghdr __user *)a1, in SYSCALL_DEFINE2()
3200 (struct __kernel_timespec __user *)a[4], in SYSCALL_DEFINE2()
3203 err = __sys_recvmmsg(a0, (struct mmsghdr __user *)a1, in SYSCALL_DEFINE2()
3205 (struct old_timespec32 __user *)a[4]); in SYSCALL_DEFINE2()
3208 err = __sys_accept4(a0, (struct sockaddr __user *)a1, in SYSCALL_DEFINE2()
3209 (int __user *)a[2], a[3]); in SYSCALL_DEFINE2()
3353 int get_user_ifreq(struct ifreq *ifr, void __user **ifrdata, void __user *arg) in get_user_ifreq()
3378 int put_user_ifreq(struct ifreq *ifr, void __user *arg) in put_user_ifreq()
3393 static int compat_siocwandev(struct net *net, struct compat_ifreq __user *uifr32) in compat_siocwandev()
3397 void __user *saved; in compat_siocwandev()
3420 struct compat_ifreq __user *u_ifreq32) in compat_ifr_data_ioctl()
3423 void __user *data; in compat_ifr_data_ioctl()
3437 void __user *argp = compat_ptr(arg); in compat_sock_ioctl_trans()