Lines Matching refs:fd
342 static inline long __compat_sys_sendmsg(int fd, in __compat_sys_sendmsg() argument
346 return __sys_sendmsg(fd, (struct user_msghdr __user *)msg, in __compat_sys_sendmsg()
350 COMPAT_SYSCALL_DEFINE3(sendmsg, int, fd, struct compat_msghdr __user *, msg, in COMPAT_SYSCALL_DEFINE3() argument
353 return __compat_sys_sendmsg(fd, msg, flags); in COMPAT_SYSCALL_DEFINE3()
356 static inline long __compat_sys_sendmmsg(int fd, in __compat_sys_sendmmsg() argument
360 return __sys_sendmmsg(fd, (struct mmsghdr __user *)mmsg, vlen, in __compat_sys_sendmmsg()
364 COMPAT_SYSCALL_DEFINE4(sendmmsg, int, fd, struct compat_mmsghdr __user *, mmsg, in COMPAT_SYSCALL_DEFINE4() argument
367 return __compat_sys_sendmmsg(fd, mmsg, vlen, flags); in COMPAT_SYSCALL_DEFINE4()
370 static inline long __compat_sys_recvmsg(int fd, in __compat_sys_recvmsg() argument
374 return __sys_recvmsg(fd, (struct user_msghdr __user *)msg, in __compat_sys_recvmsg()
378 COMPAT_SYSCALL_DEFINE3(recvmsg, int, fd, struct compat_msghdr __user *, msg, in COMPAT_SYSCALL_DEFINE3() argument
381 return __compat_sys_recvmsg(fd, msg, flags); in COMPAT_SYSCALL_DEFINE3()
384 static inline long __compat_sys_recvfrom(int fd, void __user *buf, in __compat_sys_recvfrom() argument
389 return __sys_recvfrom(fd, buf, len, flags | MSG_CMSG_COMPAT, addr, in __compat_sys_recvfrom()
393 COMPAT_SYSCALL_DEFINE4(recv, int, fd, void __user *, buf, compat_size_t, len, unsigned int, flags) in COMPAT_SYSCALL_DEFINE4() argument
395 return __compat_sys_recvfrom(fd, buf, len, flags, NULL, NULL); in COMPAT_SYSCALL_DEFINE4()
398 COMPAT_SYSCALL_DEFINE6(recvfrom, int, fd, void __user *, buf, compat_size_t, len, in COMPAT_SYSCALL_DEFINE6() argument
402 return __compat_sys_recvfrom(fd, buf, len, flags, addr, addrlen); in COMPAT_SYSCALL_DEFINE6()
405 COMPAT_SYSCALL_DEFINE5(recvmmsg_time64, int, fd, struct compat_mmsghdr __user *, mmsg, in COMPAT_SYSCALL_DEFINE5() argument
409 return __sys_recvmmsg(fd, (struct mmsghdr __user *)mmsg, vlen, in COMPAT_SYSCALL_DEFINE5()
414 COMPAT_SYSCALL_DEFINE5(recvmmsg_time32, int, fd, struct compat_mmsghdr __user *, mmsg, in COMPAT_SYSCALL_DEFINE5() argument
418 return __sys_recvmmsg(fd, (struct mmsghdr __user *)mmsg, vlen, in COMPAT_SYSCALL_DEFINE5()