Home
last modified time | relevance | path

Searched refs:sockaddr_un (Results 1 – 18 of 18) sorted by relevance

/kernel/linux/linux-5.10/arch/um/drivers/
Ddaemon_user.c30 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()
Dvector_user.c312 struct sockaddr_un *local_addr = NULL, *remote_addr = NULL; in user_init_unix_fds()
321 remote_addr = uml_kmalloc(sizeof(struct sockaddr_un), UM_GFP_KERNEL); in user_init_unix_fds()
331 local_addr = uml_kmalloc(sizeof(struct sockaddr_un), UM_GFP_KERNEL); in user_init_unix_fds()
358 if (bind(fd, (struct sockaddr *) local_addr, sizeof(struct sockaddr_un))) { in user_init_unix_fds()
365 if (connect(fd, (const struct sockaddr *) remote_addr, sizeof(struct sockaddr_un)) < 0) { in user_init_unix_fds()
373 result->remote_addr_size = sizeof(struct sockaddr_un); in user_init_unix_fds()
Dmconsole_user.c181 struct sockaddr_un target; in mconsole_notify()
/kernel/linux/linux-5.10/tools/perf/trace/beauty/
Dsockaddr.c38 struct sockaddr_un *sun = (struct sockaddr_un *)sa; in af_local__scnprintf()
/kernel/linux/patches/linux-5.10/prebuilts/usr/include/linux/
Dun.h23 struct sockaddr_un { struct
/kernel/linux/patches/linux-4.19/prebuilts/usr/include/linux/
Dun.h10 struct sockaddr_un { struct
/kernel/linux/linux-5.10/include/uapi/linux/
Dun.h9 struct sockaddr_un { struct
/kernel/liteos_m/kal/libc/newlib/porting/include/sys/
Dun.h42 struct sockaddr_un { struct
/kernel/linux/linux-5.10/tools/testing/selftests/android/ion/
Dipcsocket.c42 struct sockaddr_un skaddr; in opensocket()
81 struct sockaddr_un skaddr; in opensocket()
/kernel/linux/linux-5.10/net/unix/
Daf_unix.c229 static int unix_mkname(struct sockaddr_un *sunaddr, int len, unsigned int *hashp) in unix_mkname()
280 struct sockaddr_un *sunname, in __unix_find_socket_byname()
299 struct sockaddr_un *sunname, in unix_find_socket_byname()
949 struct sockaddr_un *sunname, int len, in unix_find_other()
1037 struct sockaddr_un *sunaddr = (struct sockaddr_un *)uaddr; in unix_bind()
1046 if (addr_len < offsetofend(struct sockaddr_un, sun_family) || in unix_bind()
1153 struct sockaddr_un *sunaddr = (struct sockaddr_un *)addr; in unix_dgram_connect()
1253 struct sockaddr_un *sunaddr = (struct sockaddr_un *)uaddr; in unix_stream_connect()
1518 DECLARE_SOCKADDR(struct sockaddr_un *, sunaddr, uaddr); in unix_getname()
1690 DECLARE_SOCKADDR(struct sockaddr_un *, sunaddr, msg->msg_name); in unix_dgram_sendmsg()
[all …]
/kernel/linux/linux-5.10/include/net/
Daf_unix.h30 struct sockaddr_un name[];
/kernel/linux/linux-5.10/arch/um/os-Linux/
Dfile.c217 struct sockaddr_un sock; in os_connect_socket()
547 struct sockaddr_un addr; in os_create_unix_socket()
/kernel/linux/linux-5.10/net/sunrpc/auth_gss/
Dgss_rpc_upcall.c81 static const struct sockaddr_un gssp_localaddr = { in gssp_rpc_create()
/kernel/linux/linux-5.10/net/9p/
Dtrans_fd.c1022 struct sockaddr_un sun_server; in p9_fd_create_unix()
1046 sizeof(struct sockaddr_un) - 1, 0); in p9_fd_create_unix()
/kernel/linux/linux-5.10/net/sunrpc/
Dxprtsock.c232 static inline struct sockaddr_un *xs_addr_un(struct rpc_xprt *xprt) in xs_addr_un()
234 return (struct sockaddr_un *) &xprt->addr; in xs_addr_un()
252 struct sockaddr_un *sun; in xs_format_common_peer_addresses()
2780 struct sockaddr_un *sun = (struct sockaddr_un *)args->dstaddr; in xs_setup_local()
Drpcb_clnt.c225 static const struct sockaddr_un rpcb_localaddr_rpcbind = { in rpcb_create_local_unix()
Dclnt.c547 struct sockaddr_un *sun = in rpc_create()
548 (struct sockaddr_un *)args->address; in rpc_create()
/kernel/linux/linux-5.10/security/tomoyo/
Dnetwork.c603 u->addr = ((struct sockaddr_un *) addr)->sun_path; in tomoyo_check_unix_address()