Home
last modified time | relevance | path

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

/linux-6.6.21/tools/testing/selftests/bpf/progs/
Dbtf_type_tag_user.c35 int BPF_PROG(test_sys_getsockname, int fd, struct sockaddr *usockaddr, in BPF_PROG() argument
38 g = usockaddr->sa_family; in BPF_PROG()
/linux-6.6.21/include/linux/
Dsocket.h456 extern int __sys_getsockname(int fd, struct sockaddr __user *usockaddr,
458 extern int __sys_getpeername(int fd, struct sockaddr __user *usockaddr,
/linux-6.6.21/tools/perf/trace/beauty/include/linux/
Dsocket.h455 extern int __sys_getsockname(int fd, struct sockaddr __user *usockaddr,
457 extern int __sys_getpeername(int fd, struct sockaddr __user *usockaddr,
/linux-6.6.21/net/
Dsocket.c2087 int __sys_getsockname(int fd, struct sockaddr __user *usockaddr, in __sys_getsockname() argument
2106 err = move_addr_to_user(&address, err, usockaddr, usockaddr_len); in __sys_getsockname()
2114 SYSCALL_DEFINE3(getsockname, int, fd, struct sockaddr __user *, usockaddr, in SYSCALL_DEFINE3() argument
2117 return __sys_getsockname(fd, usockaddr, usockaddr_len); in SYSCALL_DEFINE3()
2125 int __sys_getpeername(int fd, struct sockaddr __user *usockaddr, in __sys_getpeername() argument
2145 err = move_addr_to_user(&address, err, usockaddr, in __sys_getpeername()
2152 SYSCALL_DEFINE3(getpeername, int, fd, struct sockaddr __user *, usockaddr, in SYSCALL_DEFINE3() argument
2155 return __sys_getpeername(fd, usockaddr, usockaddr_len); in SYSCALL_DEFINE3()