/openbmc/linux/arch/um/drivers/ |
H A 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()
|
H A 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()
|
H A D | mconsole_user.c | 181 struct sockaddr_un target; in mconsole_notify()
|
/openbmc/linux/tools/testing/selftests/bpf/prog_tests/ |
H A 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()
|
H A D | skc_to_unix_sock.c | 13 struct sockaddr_un sockaddr; in test_skc_to_unix_sock()
|
/openbmc/linux/tools/perf/trace/beauty/ |
H A D | sockaddr.c | 38 struct sockaddr_un *sun = (struct sockaddr_un *)sa; in af_local__scnprintf()
|
/openbmc/linux/tools/testing/selftests/net/af_unix/ |
H A 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()
|
H A D | test_unix_oob.c | 116 void producer(struct sockaddr_un *consumer_addr) in producer() 178 struct sockaddr_un consumer_addr, paddr; in main()
|
H A D | scm_pidfd.c | 213 struct sockaddr_un listen_addr; 281 addr->addrlen = offsetof(struct sockaddr_un, sun_path); in fill_sockaddr()
|
/openbmc/linux/include/uapi/linux/ |
H A D | un.h | 9 struct sockaddr_un { struct
|
/openbmc/linux/net/unix/ |
H A D | af_unix.c | 274 if (addr_len <= offsetof(struct sockaddr_un, sun_path) || in unix_validate_addr() 363 struct sockaddr_un *sunname, in __unix_find_socket_byname() 379 struct sockaddr_un *sunname, in unix_find_socket_byname() 1101 struct sockaddr_un *sunaddr, in unix_find_abstract() 1120 struct sockaddr_un *sunaddr, in unix_find_other() 1310 struct sockaddr_un *sunaddr = (struct sockaddr_un *)uaddr; in unix_bind() 1356 struct sockaddr_un *sunaddr = (struct sockaddr_un *)addr; in unix_dgram_connect() 1474 struct sockaddr_un *sunaddr = (struct sockaddr_un *)uaddr; in unix_stream_connect() 1745 err = offsetof(struct sockaddr_un, sun_path); in unix_getname() 2779 DECLARE_SOCKADDR(struct sockaddr_un *, sunaddr, in unix_stream_read_generic() [all …]
|
/openbmc/linux/tools/testing/selftests/bpf/progs/ |
H A D | test_skc_to_unix_sock.c | 32 if (i >= sizeof(struct sockaddr_un)) in BPF_PROG()
|
H A D | bpf_iter_unix.c | 67 if (i >= sizeof(struct sockaddr_un)) in dump_unix()
|
/openbmc/obmc-console/ |
H A D | console-socket.c | 57 ssize_t console_socket_path_readable(const struct sockaddr_un *addr, in console_socket_path_readable()
|
H A D | console-server.h | 87 typedef char(socket_path_t)[sizeof(((struct sockaddr_un *)NULL)->sun_path)]; 250 ssize_t console_socket_path_readable(const struct sockaddr_un *addr,
|
/openbmc/qemu/contrib/plugins/ |
H A D | lockstep.c | 273 struct sockaddr_un sockaddr; in setup_socket() 321 struct sockaddr_un sockaddr; in connect_socket()
|
/openbmc/qemu/util/ |
H A D | qemu-sockets.c | 900 struct sockaddr_un un; in unix_listen_saddr() 961 addrlen = offsetof(struct sockaddr_un, sun_path) + 1 + pathlen; in unix_listen_saddr() 988 struct sockaddr_un un; in unix_connect_saddr() 1022 addrlen = offsetof(struct sockaddr_un, sun_path) + 1 + pathlen; in unix_connect_saddr() 1341 struct sockaddr_un *su = (struct sockaddr_un *)sa; in socket_sockaddr_to_address_unix() 1345 salen -= offsetof(struct sockaddr_un, sun_path); in socket_sockaddr_to_address_unix()
|
/openbmc/openbmc/meta-openembedded/meta-oe/recipes-graphics/lxdm/lxdm/ |
H A D | 0001-Initialize-msghdr-struct-in-a-portable-way.patch | 22 struct sockaddr_un peer;
|
/openbmc/qemu/hw/9pfs/ |
H A D | 9p-util-darwin.c | 79 struct sockaddr_un addr = { in create_socket_file_at_cwd()
|
/openbmc/linux/include/net/ |
H A D | af_unix.h | 29 struct sockaddr_un name[];
|
/openbmc/linux/net/sunrpc/ |
H A D | rpcb_clnt.c | 221 # define SUN_LEN(ptr) (offsetof(struct sockaddr_un, sun_path) \ 229 const struct sockaddr_un *addr) in rpcb_create_af_local() 276 static const struct sockaddr_un rpcb_localaddr_abstract = { in rpcb_create_local_abstract() 286 static const struct sockaddr_un rpcb_localaddr_unix = { in rpcb_create_local_unix()
|
/openbmc/qemu/contrib/ivshmem-server/ |
H A D | ivshmem-server.c | 134 struct sockaddr_un unaddr; in ivshmem_server_handle_new_conn() 291 struct sockaddr_un s_un; in ivshmem_server_start()
|
/openbmc/qemu/include/sysemu/ |
H A D | os-win32.h | 43 typedef struct sockaddr_un { struct
|
/openbmc/ipmitool/src/plugins/dummy/ |
H A D | dummy.c | 175 struct sockaddr_un address; in ipmi_dummyipmi_open()
|
/openbmc/pldm/oem/ibm/libpldmresponder/ |
H A D | utils.cpp | 30 struct sockaddr_un addr; in setupUnixSocket()
|