/linux-6.1.9/arch/um/drivers/ |
D | daemon_user.c | 30 struct sockaddr_un sock; 33 static struct sockaddr_un *new_addr(void *name, int len) in new_addr() 35 struct sockaddr_un *sun; in new_addr() 37 sun = uml_kmalloc(sizeof(struct sockaddr_un), UM_GFP_KERNEL); in new_addr() 50 struct sockaddr_un *ctl_addr = pri->ctl_addr; in connect_to_switch() 51 struct sockaddr_un *local_addr = pri->local_addr; in connect_to_switch() 52 struct sockaddr_un *sun; in connect_to_switch() 86 sun = uml_kmalloc(sizeof(struct sockaddr_un), UM_GFP_KERNEL); in connect_to_switch() 180 struct sockaddr_un *data_addr = pri->data_addr; in daemon_user_write()
|
D | vector_user.c | 313 struct sockaddr_un *local_addr = NULL, *remote_addr = NULL; in user_init_unix_fds() 322 remote_addr = uml_kmalloc(sizeof(struct sockaddr_un), UM_GFP_KERNEL); in user_init_unix_fds() 332 local_addr = uml_kmalloc(sizeof(struct sockaddr_un), UM_GFP_KERNEL); in user_init_unix_fds() 359 if (bind(fd, (struct sockaddr *) local_addr, sizeof(struct sockaddr_un))) { in user_init_unix_fds() 366 if (connect(fd, (const struct sockaddr *) remote_addr, sizeof(struct sockaddr_un)) < 0) { in user_init_unix_fds() 374 result->remote_addr_size = sizeof(struct sockaddr_un); in user_init_unix_fds()
|
D | mconsole_user.c | 181 struct sockaddr_un target; in mconsole_notify()
|
/linux-6.1.9/tools/testing/selftests/bpf/prog_tests/ |
D | bpf_iter_setsockopt_unix.c | 12 struct sockaddr_un addr = { in create_unix_socket() 23 len = offsetof(struct sockaddr_un, sun_path); in create_unix_socket() 34 len - offsetof(struct sockaddr_un, sun_path)); in create_unix_socket()
|
D | skc_to_unix_sock.c | 13 struct sockaddr_un sockaddr; in test_skc_to_unix_sock()
|
/linux-6.1.9/tools/perf/trace/beauty/ |
D | sockaddr.c | 38 struct sockaddr_un *sun = (struct sockaddr_un *)sa; in af_local__scnprintf()
|
/linux-6.1.9/tools/testing/selftests/net/af_unix/ |
D | unix_connect.c | 119 struct sockaddr_un addr = { in TEST_F() 127 addrlen = offsetof(struct sockaddr_un, sun_path) + variant->len; in TEST_F()
|
D | test_unix_oob.c | 116 void producer(struct sockaddr_un *consumer_addr) in producer() 178 struct sockaddr_un consumer_addr, paddr; in main()
|
/linux-6.1.9/net/unix/ |
D | af_unix.c | 146 static unsigned int unix_abstract_hash(struct sockaddr_un *sunaddr, in unix_abstract_hash() 250 static struct unix_address *unix_create_addr(struct sockaddr_un *sunaddr, in unix_create_addr() 279 static int unix_validate_addr(struct sockaddr_un *sunaddr, int addr_len) in unix_validate_addr() 281 if (addr_len <= offsetof(struct sockaddr_un, sun_path) || in unix_validate_addr() 291 static void unix_mkname_bsd(struct sockaddr_un *sunaddr, int addr_len) in unix_mkname_bsd() 358 struct sockaddr_un *sunname, in __unix_find_socket_byname() 374 struct sockaddr_un *sunname, in unix_find_socket_byname() 1047 static struct sock *unix_find_bsd(struct sockaddr_un *sunaddr, int addr_len, in unix_find_bsd() 1092 struct sockaddr_un *sunaddr, in unix_find_abstract() 1111 struct sockaddr_un *sunaddr, in unix_find_other() [all …]
|
D | diag.c | 23 addr->len - offsetof(struct sockaddr_un, sun_path), in sk_diag_dump_name()
|
/linux-6.1.9/include/uapi/linux/ |
D | un.h | 9 struct sockaddr_un { struct
|
/linux-6.1.9/tools/testing/selftests/bpf/progs/ |
D | test_skc_to_unix_sock.c | 32 if (i >= sizeof(struct sockaddr_un)) in BPF_PROG()
|
D | bpf_iter_unix.c | 67 if (i >= sizeof(struct sockaddr_un)) in dump_unix()
|
/linux-6.1.9/include/net/ |
D | af_unix.h | 28 struct sockaddr_un name[];
|
/linux-6.1.9/arch/um/os-Linux/ |
D | file.c | 217 struct sockaddr_un sock; in os_connect_socket() 547 struct sockaddr_un addr; in os_create_unix_socket()
|
/linux-6.1.9/net/sunrpc/auth_gss/ |
D | gss_rpc_upcall.c | 81 static const struct sockaddr_un gssp_localaddr = { in gssp_rpc_create()
|
/linux-6.1.9/net/sunrpc/ |
D | xprtsock.c | 238 static inline struct sockaddr_un *xs_addr_un(struct rpc_xprt *xprt) in xs_addr_un() 240 return (struct sockaddr_un *) &xprt->addr; in xs_addr_un() 258 struct sockaddr_un *sun; in xs_format_common_peer_addresses() 2835 struct sockaddr_un *sun = (struct sockaddr_un *)args->dstaddr; in xs_setup_local()
|
D | rpcb_clnt.c | 225 static const struct sockaddr_un rpcb_localaddr_rpcbind = { in rpcb_create_local_unix()
|
D | clnt.c | 558 struct sockaddr_un *sun = in rpc_create() 559 (struct sockaddr_un *)args->address; in rpc_create()
|
/linux-6.1.9/net/9p/ |
D | trans_fd.c | 1040 struct sockaddr_un sun_server; in p9_fd_create_unix() 1064 sizeof(struct sockaddr_un) - 1, 0); in p9_fd_create_unix()
|
/linux-6.1.9/tools/perf/ |
D | builtin-daemon.c | 583 struct sockaddr_un addr; in setup_server_socket() 861 struct sockaddr_un addr; in setup_client_socket()
|
/linux-6.1.9/security/tomoyo/ |
D | network.c | 603 u->addr = ((struct sockaddr_un *) addr)->sun_path; in tomoyo_check_unix_address()
|