Home
last modified time | relevance | path

Searched defs:sock (Results 51 – 75 of 349) sorted by relevance

12345678910>>...14

/openbmc/linux/net/nfc/
H A Drawsock.c58 static int rawsock_release(struct socket *sock) in rawsock_release()
76 static int rawsock_connect(struct socket *sock, struct sockaddr *_addr, in rawsock_connect()
205 static int rawsock_sendmsg(struct socket *sock, struct msghdr *msg, size_t len) in rawsock_sendmsg()
241 static int rawsock_recvmsg(struct socket *sock, struct msghdr *msg, size_t len, in rawsock_recvmsg()
323 static int rawsock_create(struct net *net, struct socket *sock, in rawsock_create()
H A Dllcp_commands.c242 int nfc_llcp_parse_connection_tlv(struct nfc_llcp_sock *sock, in nfc_llcp_parse_connection_tlv()
313 static struct sk_buff *llcp_allocate_pdu(struct nfc_llcp_sock *sock, in llcp_allocate_pdu()
334 int nfc_llcp_send_disconnect(struct nfc_llcp_sock *sock) in nfc_llcp_send_disconnect()
392 int nfc_llcp_send_connect(struct nfc_llcp_sock *sock) in nfc_llcp_send_connect()
468 int nfc_llcp_send_cc(struct nfc_llcp_sock *sock) in nfc_llcp_send_cc()
646 int nfc_llcp_send_i_frame(struct nfc_llcp_sock *sock, in nfc_llcp_send_i_frame()
729 int nfc_llcp_send_ui_frame(struct nfc_llcp_sock *sock, u8 ssap, u8 dsap, in nfc_llcp_send_ui_frame()
793 int nfc_llcp_send_rr(struct nfc_llcp_sock *sock) in nfc_llcp_send_rr()
/openbmc/linux/net/sunrpc/
H A Dxprtsock.c360 xs_sock_process_cmsg(struct socket *sock, struct msghdr *msg, in xs_sock_process_cmsg()
1237 struct socket *sock = transport->sock; in xs_reset_transport() local
1692 static unsigned short xs_sock_getport(struct socket *sock) in xs_sock_getport()
1903 struct socket *sock; in xs_create_sock() local
1934 struct socket *sock) in xs_local_finish_connecting()
1975 struct socket *sock; in xs_local_setup_socket() local
2174 struct socket *sock; in xs_udp_setup_socket() local
2212 struct socket *sock = transport->sock; in xs_tcp_shutdown() local
2237 struct socket *sock) in xs_tcp_set_socket_timeouts()
2377 struct socket *sock = transport->sock; in xs_tcp_setup_socket() local
[all …]
/openbmc/linux/net/tipc/
H A Dsocket.c70 struct sockaddr_tipc sock; member
404 static int tipc_sk_sock_err(struct socket *sock, long *timeout) in tipc_sk_sock_err()
461 static int tipc_sk_create(struct net *net, struct socket *sock, in tipc_sk_create()
551 static void __tipc_shutdown(struct socket *sock, int error) in __tipc_shutdown()
627 static int tipc_release(struct socket *sock) in tipc_release()
792 static __poll_t tipc_poll(struct file *file, struct socket *sock, in tipc_poll()
1397 static int tipc_sendmsg(struct socket *sock, in tipc_sendmsg()
1886 static int tipc_recvmsg(struct socket *sock, struct msghdr *m, in tipc_recvmsg()
2667 static int tipc_listen(struct socket *sock, int len) in tipc_listen()
2800 static int tipc_shutdown(struct socket *sock, int how) in tipc_shutdown()
[all …]
/openbmc/linux/net/caif/
H A Dcaif_socket.c266 static int caif_seqpkt_recvmsg(struct socket *sock, struct msghdr *m, in caif_seqpkt_recvmsg()
342 static int caif_stream_recvmsg(struct socket *sock, struct msghdr *msg, in caif_stream_recvmsg()
513 static int caif_seqpkt_sendmsg(struct socket *sock, struct msghdr *msg, in caif_seqpkt_sendmsg()
585 static int caif_stream_sendmsg(struct socket *sock, struct msghdr *msg, in caif_stream_sendmsg()
664 static int setsockopt(struct socket *sock, int lvl, int opt, sockptr_t ov, in setsockopt()
736 static int caif_connect(struct socket *sock, struct sockaddr *uaddr, in caif_connect()
890 static int caif_release(struct socket *sock) in caif_release()
930 struct socket *sock, poll_table *wait) in caif_poll()
1016 static int caif_create(struct net *net, struct socket *sock, int protocol, in caif_create()
/openbmc/linux/drivers/net/ppp/
H A Dpppox.c67 int pppox_ioctl(struct socket *sock, unsigned int cmd, unsigned long arg) in pppox_ioctl()
103 int pppox_compat_ioctl(struct socket *sock, unsigned int cmd, unsigned long arg) in pppox_compat_ioctl()
114 static int pppox_create(struct net *net, struct socket *sock, int protocol, in pppox_create()
/openbmc/linux/net/kcm/
H A Dkcmsock.c746 static int kcm_sendmsg(struct socket *sock, struct msghdr *msg, size_t len) in kcm_sendmsg()
959 static void kcm_splice_eof(struct socket *sock) in kcm_splice_eof()
972 static int kcm_recvmsg(struct socket *sock, struct msghdr *msg, in kcm_recvmsg()
1021 static ssize_t kcm_splice_read(struct socket *sock, loff_t *ppos, in kcm_splice_read()
1112 static int kcm_setsockopt(struct socket *sock, int level, int optname, in kcm_setsockopt()
1146 static int kcm_getsockopt(struct socket *sock, int level, int optname, in kcm_getsockopt()
1216 static int kcm_attach(struct socket *sock, struct socket *csock, in kcm_attach()
1319 static int kcm_attach_ioctl(struct socket *sock, struct kcm_attach *info) in kcm_attach_ioctl()
1445 static int kcm_unattach_ioctl(struct socket *sock, struct kcm_unattach *info) in kcm_unattach_ioctl()
1675 static int kcm_release(struct socket *sock) in kcm_release()
[all …]
/openbmc/linux/drivers/pcmcia/
H A Di82092.c375 static void set_bridge_state(int sock) in set_bridge_state()
384 static int i82092aa_init(struct pcmcia_socket *sock) in i82092aa_init()
405 unsigned int sock = container_of(socket, in i82092aa_get_status() local
448 unsigned int sock = sock_info->number; in i82092aa_set_socket() local
554 unsigned int sock = sock_info->number; in i82092aa_set_io_map() local
594 unsigned int sock = sock_info->number; in i82092aa_set_mem_map() local
H A Dsoc_common.c396 static int soc_common_pcmcia_sock_init(struct pcmcia_socket *sock) in soc_common_pcmcia_sock_init()
417 static int soc_common_pcmcia_suspend(struct pcmcia_socket *sock) in soc_common_pcmcia_suspend()
510 soc_common_pcmcia_get_status(struct pcmcia_socket *sock, unsigned int *status) in soc_common_pcmcia_get_status()
529 struct pcmcia_socket *sock, socket_state_t *state) in soc_common_pcmcia_set_socket()
561 struct pcmcia_socket *sock, struct pccard_io_map *map) in soc_common_pcmcia_set_io_map()
615 struct pcmcia_socket *sock, struct pccard_mem_map *map) in soc_common_pcmcia_set_mem_map()
/openbmc/linux/net/ipv6/
H A Daf_inet6.c119 static int inet6_create(struct net *net, struct socket *sock, int protocol, in inet6_create()
468 int inet6_bind(struct socket *sock, struct sockaddr *uaddr, int addr_len) in inet6_bind()
474 int inet6_release(struct socket *sock) in inet6_release()
521 int inet6_getname(struct socket *sock, struct sockaddr *uaddr, in inet6_getname()
563 int inet6_ioctl(struct socket *sock, unsigned int cmd, unsigned long arg) in inet6_ioctl()
631 int inet6_compat_ioctl(struct socket *sock, unsigned int cmd, unsigned long arg) in inet6_compat_ioctl()
649 int inet6_sendmsg(struct socket *sock, struct msghdr *msg, size_t size) in inet6_sendmsg()
665 int inet6_recvmsg(struct socket *sock, struct msghdr *msg, size_t size, in inet6_recvmsg()
/openbmc/linux/drivers/xen/
H A Dpvcalls-front.c59 struct socket *sock; member
99 static inline struct sock_mapping *pvcalls_enter_sock(struct socket *sock) in pvcalls_enter_sock()
116 static inline void pvcalls_exit_sock(struct socket *sock) in pvcalls_exit_sock()
270 int pvcalls_front_socket(struct socket *sock) in pvcalls_front_socket()
422 int pvcalls_front_connect(struct socket *sock, struct sockaddr *addr, in pvcalls_front_connect()
541 int pvcalls_front_sendmsg(struct socket *sock, struct msghdr *msg, in pvcalls_front_sendmsg()
634 int pvcalls_front_recvmsg(struct socket *sock, struct msghdr *msg, size_t len, in pvcalls_front_recvmsg()
670 int pvcalls_front_bind(struct socket *sock, struct sockaddr *addr, int addr_len) in pvcalls_front_bind()
723 int pvcalls_front_listen(struct socket *sock, int backlog) in pvcalls_front_listen()
988 __poll_t pvcalls_front_poll(struct file *file, struct socket *sock, in pvcalls_front_poll()
[all …]
/openbmc/linux/tools/testing/selftests/net/
H A Dfin_ack_lat.c30 int sock = 0; in client() local
86 static void server(int sock, struct sockaddr_in address) in server()
112 int sock; in main() local
/openbmc/linux/net/unix/
H A Daf_unix.c711 static int unix_listen(struct socket *sock, int backlog) in unix_listen()
803 static void unix_show_fdinfo(struct seq_file *m, struct socket *sock) in unix_show_fdinfo()
1042 static int unix_release(struct socket *sock) in unix_release()
1818 static bool unix_passcred_enabled(const struct socket *sock, in unix_passcred_enabled()
1875 static int unix_dgram_sendmsg(struct socket *sock, struct msghdr *msg, in unix_dgram_sendmsg()
2148 static int unix_stream_sendmsg(struct socket *sock, struct msghdr *msg, in unix_stream_sendmsg()
2324 struct socket *sock = sk->sk_socket; in __unix_dgram_recvmsg() local
2516 struct socket *sock = state->socket; in unix_stream_recv_urg() local
2653 struct socket *sock = state->socket; in unix_stream_read_generic() local
2887 static int unix_stream_recvmsg(struct socket *sock, struct msghdr *msg, in unix_stream_recvmsg()
[all …]
/openbmc/linux/net/bluetooth/
H A Diso.c774 static struct sock *iso_sock_alloc(struct net *net, struct socket *sock, in iso_sock_alloc()
817 static int iso_sock_bind_bc(struct socket *sock, struct sockaddr *addr, in iso_sock_bind_bc()
849 static int iso_sock_bind(struct socket *sock, struct sockaddr *addr, in iso_sock_bind()
897 static int iso_sock_connect(struct socket *sock, struct sockaddr *addr, in iso_sock_connect()
1001 static int iso_sock_listen(struct socket *sock, int backlog) in iso_sock_listen()
1038 static int iso_sock_accept(struct socket *sock, struct socket *newsock, in iso_sock_accept()
1093 static int iso_sock_getname(struct socket *sock, struct sockaddr *addr, in iso_sock_getname()
1114 static int iso_sock_sendmsg(struct socket *sock, struct msghdr *msg, in iso_sock_sendmsg()
1224 static int iso_sock_recvmsg(struct socket *sock, struct msghdr *msg, in iso_sock_recvmsg()
1515 static int iso_sock_shutdown(struct socket *sock, int how) in iso_sock_shutdown()
[all …]
H A Dhci_sock.c894 static int hci_sock_release(struct socket *sock) in hci_sock_release()
1036 static int hci_sock_ioctl(struct socket *sock, unsigned int cmd, in hci_sock_ioctl()
1166 static int hci_sock_compat_ioctl(struct socket *sock, unsigned int cmd, in hci_sock_compat_ioctl()
1181 static int hci_sock_bind(struct socket *sock, struct sockaddr *addr, in hci_sock_bind()
1481 static int hci_sock_getname(struct socket *sock, struct sockaddr *addr, in hci_sock_getname()
1549 static int hci_sock_recvmsg(struct socket *sock, struct msghdr *msg, in hci_sock_recvmsg()
1791 static int hci_sock_sendmsg(struct socket *sock, struct msghdr *msg, in hci_sock_sendmsg()
1928 static int hci_sock_setsockopt_old(struct socket *sock, int level, int optname, in hci_sock_setsockopt_old()
2011 static int hci_sock_setsockopt(struct socket *sock, int level, int optname, in hci_sock_setsockopt()
2126 static int hci_sock_getsockopt(struct socket *sock, int level, int optname, in hci_sock_getsockopt()
[all …]
/openbmc/linux/net/can/
H A Draw.c373 static int raw_release(struct socket *sock) in raw_release()
425 static int raw_bind(struct socket *sock, struct sockaddr *uaddr, int len) in raw_bind()
511 static int raw_getname(struct socket *sock, struct sockaddr *uaddr, in raw_getname()
528 static int raw_setsockopt(struct socket *sock, int level, int optname, in raw_setsockopt()
717 static int raw_getsockopt(struct socket *sock, int level, int optname, in raw_getsockopt()
826 static int raw_sendmsg(struct socket *sock, struct msghdr *msg, size_t size) in raw_sendmsg()
907 static int raw_recvmsg(struct socket *sock, struct msghdr *msg, size_t size, in raw_recvmsg()
949 static int raw_sock_no_ioctlcmd(struct socket *sock, unsigned int cmd, in raw_sock_no_ioctlcmd()
/openbmc/linux/crypto/
H A Dalgif_aead.c61 static int aead_sendmsg(struct socket *sock, struct msghdr *msg, size_t size) in aead_sendmsg()
88 static int _aead_recvmsg(struct socket *sock, struct msghdr *msg, in _aead_recvmsg()
325 static int aead_recvmsg(struct socket *sock, struct msghdr *msg, in aead_recvmsg()
377 static int aead_check_key(struct socket *sock) in aead_check_key()
412 static int aead_sendmsg_nokey(struct socket *sock, struct msghdr *msg, in aead_sendmsg_nokey()
424 static int aead_recvmsg_nokey(struct socket *sock, struct msghdr *msg, in aead_recvmsg_nokey()
/openbmc/linux/tools/testing/selftests/exec/
H A Dnon-regular.c170 FIXTURE(sock) in FIXTURE() argument
175 FIXTURE_SETUP(sock) in FIXTURE_SETUP() argument
181 FIXTURE_TEARDOWN(sock) in FIXTURE_TEARDOWN() argument
187 TEST_F(sock, exec_errno) in TEST_F() argument
/openbmc/linux/net/xdp/
H A Dxsk.c833 static int __xsk_sendmsg(struct socket *sock, struct msghdr *m, size_t total_len) in __xsk_sendmsg()
867 static int xsk_sendmsg(struct socket *sock, struct msghdr *m, size_t total_len) in xsk_sendmsg()
915 static __poll_t xsk_poll(struct file *file, struct socket *sock, in xsk_poll()
1026 static int xsk_release(struct socket *sock) in xsk_release()
1066 struct socket *sock; in xsk_lookup_xsk_from_fd() local
1086 static int xsk_bind(struct socket *sock, struct sockaddr *addr, int addr_len) in xsk_bind()
1132 struct socket *sock; in xsk_bind() local
1262 static int xsk_setsockopt(struct socket *sock, int level, int optname, in xsk_setsockopt()
1379 static int xsk_getsockopt(struct socket *sock, int level, int optname, in xsk_getsockopt()
1510 static int xsk_mmap(struct file *file, struct socket *sock, in xsk_mmap()
[all …]
/openbmc/linux/drivers/vhost/
H A Dnet.c349 static bool vhost_sock_xdp(struct socket *sock) in vhost_sock_xdp()
441 struct socket *sock; in vhost_net_enable_vq() local
464 struct socket *sock, in vhost_tx_batch()
529 struct socket *sock; in vhost_net_busy_poll() local
972 struct socket *sock; in handle_tx() local
1138 struct socket *sock; in handle_rx() local
1365 struct socket *sock; in vhost_net_stop_vq() local
1434 struct socket *sock = sockfd_lookup(fd, &r); in get_raw_socket() local
1472 struct socket *sock; in get_tap_socket() local
1487 struct socket *sock; in get_socket() local
[all …]
/openbmc/linux/fs/dlm/
H A Dlowcomms.c69 struct socket *sock; /* NULL if not connected */ member
117 struct socket *sock; member
713 static void dlm_close_sock(struct socket **sock) in dlm_close_sock()
1552 struct socket *sock; in dlm_connect() local
1747 struct socket *sock; in dlm_listen_for_all() local
1797 static int dlm_tcp_bind(struct socket *sock) in dlm_tcp_bind()
1835 static void dlm_tcp_sockopts(struct socket *sock) in dlm_tcp_sockopts()
1847 static int dlm_tcp_listen_bind(struct socket *sock) in dlm_tcp_listen_bind()
1868 static int dlm_sctp_bind(struct socket *sock) in dlm_sctp_bind()
1900 static int dlm_sctp_bind_listen(struct socket *sock) in dlm_sctp_bind_listen()
[all …]
/openbmc/linux/security/apparmor/
H A Dlsm.c956 static int apparmor_socket_bind(struct socket *sock, in apparmor_socket_bind()
972 static int apparmor_socket_connect(struct socket *sock, in apparmor_socket_connect()
988 static int apparmor_socket_listen(struct socket *sock, int backlog) in apparmor_socket_listen()
1033 static int apparmor_socket_sendmsg(struct socket *sock, in apparmor_socket_sendmsg()
1042 static int apparmor_socket_recvmsg(struct socket *sock, in apparmor_socket_recvmsg()
1063 static int apparmor_socket_getsockname(struct socket *sock) in apparmor_socket_getsockname()
1071 static int apparmor_socket_getpeername(struct socket *sock) in apparmor_socket_getpeername()
1092 static int apparmor_socket_getsockopt(struct socket *sock, int level, in apparmor_socket_getsockopt()
1112 static int apparmor_socket_shutdown(struct socket *sock, int how) in apparmor_socket_shutdown()
1161 static int apparmor_socket_getpeersec_stream(struct socket *sock, in apparmor_socket_getpeersec_stream()
[all …]
/openbmc/linux/net/smc/
H A Daf_smc.c311 static int smc_release(struct socket *sock) in smc_release()
365 static struct sock *smc_sock_alloc(struct net *net, struct socket *sock, in smc_sock_alloc()
397 static int smc_bind(struct socket *sock, struct sockaddr *uaddr, in smc_bind()
1621 static int smc_connect(struct socket *sock, struct sockaddr *addr, in smc_connect()
2570 static int smc_listen(struct socket *sock, int backlog) in smc_listen()
2635 static int smc_accept(struct socket *sock, struct socket *new_sock, in smc_accept()
2705 static int smc_getname(struct socket *sock, struct sockaddr *addr, in smc_getname()
2807 static __poll_t smc_poll(struct file *file, struct socket *sock, in smc_poll()
2860 static int smc_shutdown(struct socket *sock, int how) in smc_shutdown()
3113 static int smc_ioctl(struct socket *sock, unsigned int cmd, in smc_ioctl()
[all …]
/openbmc/qemu/tests/
H A Dvhost-user-bridge.c71 int sock; member
97 dispatcher_add(Dispatcher *dispr, int sock, void *ctx, CallbackFunc cb) in dispatcher_add()
119 dispatcher_remove(Dispatcher *dispr, int sock) in dispatcher_remove()
157 int sock; in dispatcher_wait() local
271 vubr_backend_recv_cb(int sock, void *ctx) in vubr_backend_recv_cb()
373 vubr_receive_cb(int sock, void *ctx) in vubr_receive_cb()
389 watch_cb(int sock, void *ctx) in watch_cb()
504 vubr_accept_cb(int sock, void *ctx) in vubr_accept_cb()
690 int sock; in vubr_backend_udp_setup() local
/openbmc/linux/net/can/j1939/
H A Dsocket.c442 static int j1939_sk_bind(struct socket *sock, struct sockaddr *uaddr, int len) in j1939_sk_bind()
534 static int j1939_sk_connect(struct socket *sock, struct sockaddr *uaddr, in j1939_sk_connect()
601 static int j1939_sk_getname(struct socket *sock, struct sockaddr *uaddr, in j1939_sk_getname()
625 static int j1939_sk_release(struct socket *sock) in j1939_sk_release()
681 static int j1939_sk_setsockopt(struct socket *sock, int level, int optname, in j1939_sk_setsockopt()
756 static int j1939_sk_getsockopt(struct socket *sock, int level, int optname, in j1939_sk_getsockopt()
807 static int j1939_sk_recvmsg(struct socket *sock, struct msghdr *msg, in j1939_sk_recvmsg()
1211 static int j1939_sk_sendmsg(struct socket *sock, struct msghdr *msg, in j1939_sk_sendmsg()
1301 static int j1939_sk_no_ioctlcmd(struct socket *sock, unsigned int cmd, in j1939_sk_no_ioctlcmd()

12345678910>>...14