Home
last modified time | relevance | path

Searched defs:sock (Results 1 – 25 of 121) sorted by relevance

12345

/net/rxrpc/
Daf_rxrpc.c129 static int rxrpc_bind(struct socket *sock, struct sockaddr *saddr, int len) in rxrpc_bind()
208 static int rxrpc_listen(struct socket *sock, int backlog) in rxrpc_listen()
279 struct rxrpc_call *rxrpc_kernel_begin_call(struct socket *sock, in rxrpc_kernel_begin_call()
350 void rxrpc_kernel_end_call(struct socket *sock, struct rxrpc_call *call) in rxrpc_kernel_end_call()
383 bool rxrpc_kernel_check_life(const struct socket *sock, in rxrpc_kernel_check_life()
403 void rxrpc_kernel_probe_life(struct socket *sock, struct rxrpc_call *call) in rxrpc_kernel_probe_life()
419 u32 rxrpc_kernel_get_epoch(struct socket *sock, struct rxrpc_call *call) in rxrpc_kernel_get_epoch()
434 struct socket *sock, in rxrpc_kernel_new_call_notification()
454 void rxrpc_kernel_set_max_life(struct socket *sock, struct rxrpc_call *call, in rxrpc_kernel_set_max_life()
475 static int rxrpc_connect(struct socket *sock, struct sockaddr *addr, in rxrpc_connect()
[all …]
/net/atm/
Dsvc.c41 static int svc_shutdown(struct socket *sock, int how) in svc_shutdown()
75 static int svc_release(struct socket *sock) in svc_release()
95 static int svc_bind(struct socket *sock, struct sockaddr *sockaddr, in svc_bind()
151 static int svc_connect(struct socket *sock, struct sockaddr *sockaddr, in svc_connect()
282 static int svc_listen(struct socket *sock, int backlog) in svc_listen()
322 static int svc_accept(struct socket *sock, struct socket *newsock, int flags, in svc_accept()
421 static int svc_getname(struct socket *sock, struct sockaddr *sockaddr, in svc_getname()
453 static int svc_setsockopt(struct socket *sock, int level, int optname, in svc_setsockopt()
498 static int svc_getsockopt(struct socket *sock, int level, int optname, in svc_getsockopt()
526 static int svc_addparty(struct socket *sock, struct sockaddr *sockaddr, in svc_addparty()
[all …]
Dpvc.c22 static int pvc_shutdown(struct socket *sock, int how) in pvc_shutdown()
27 static int pvc_bind(struct socket *sock, struct sockaddr *sockaddr, in pvc_bind()
59 static int pvc_connect(struct socket *sock, struct sockaddr *sockaddr, in pvc_connect()
65 static int pvc_setsockopt(struct socket *sock, int level, int optname, in pvc_setsockopt()
77 static int pvc_getsockopt(struct socket *sock, int level, int optname, in pvc_getsockopt()
89 static int pvc_getname(struct socket *sock, struct sockaddr *sockaddr, in pvc_getname()
133 static int pvc_create(struct net *net, struct socket *sock, int protocol, in pvc_create()
Dioctl.c51 static int do_vcc_ioctl(struct socket *sock, unsigned int cmd, in do_vcc_ioctl()
171 int vcc_ioctl(struct socket *sock, unsigned int cmd, unsigned long arg) in vcc_ioctl()
230 static int do_atm_iobuf(struct socket *sock, unsigned int cmd, in do_atm_iobuf()
261 static int do_atmif_sioc(struct socket *sock, unsigned int cmd, in do_atmif_sioc()
290 static int do_atm_ioctl(struct socket *sock, unsigned int cmd32, in do_atm_ioctl()
343 int vcc_compat_ioctl(struct socket *sock, unsigned int cmd, in vcc_compat_ioctl()
/net/nfc/
Dllcp_sock.c59 static int llcp_sock_bind(struct socket *sock, struct sockaddr *addr, int alen) in llcp_sock_bind()
138 static int llcp_raw_sock_bind(struct socket *sock, struct sockaddr *addr, in llcp_raw_sock_bind()
193 static int llcp_sock_listen(struct socket *sock, int backlog) in llcp_sock_listen()
220 static int nfc_llcp_setsockopt(struct socket *sock, int level, int optname, in nfc_llcp_setsockopt()
293 static int nfc_llcp_getsockopt(struct socket *sock, int level, int optname, in nfc_llcp_getsockopt()
438 static int llcp_sock_accept(struct socket *sock, struct socket *newsock, in llcp_sock_accept()
492 static int llcp_sock_getname(struct socket *sock, struct sockaddr *uaddr, in llcp_sock_getname()
544 static __poll_t llcp_sock_poll(struct file *file, struct socket *sock, in llcp_sock_poll()
583 static int llcp_sock_release(struct socket *sock) in llcp_sock_release()
647 static int llcp_sock_connect(struct socket *sock, struct sockaddr *_addr, in llcp_sock_connect()
[all …]
/net/bluetooth/rfcomm/
Dsock.c274 static struct sock *rfcomm_sock_alloc(struct net *net, struct socket *sock, int proto, gfp_t prio, … in rfcomm_sock_alloc()
315 static int rfcomm_sock_create(struct net *net, struct socket *sock, in rfcomm_sock_create()
337 static int rfcomm_sock_bind(struct socket *sock, struct sockaddr *addr, int addr_len) in rfcomm_sock_bind()
384 static int rfcomm_sock_connect(struct socket *sock, struct sockaddr *addr, int alen, int flags) in rfcomm_sock_connect()
427 static int rfcomm_sock_listen(struct socket *sock, int backlog) in rfcomm_sock_listen()
476 static int rfcomm_sock_accept(struct socket *sock, struct socket *newsock, int flags, in rfcomm_sock_accept()
537 static int rfcomm_sock_getname(struct socket *sock, struct sockaddr *addr, int peer) in rfcomm_sock_getname()
559 static int rfcomm_sock_sendmsg(struct socket *sock, struct msghdr *msg, in rfcomm_sock_sendmsg()
625 static int rfcomm_sock_recvmsg(struct socket *sock, struct msghdr *msg, in rfcomm_sock_recvmsg()
650 static int rfcomm_sock_setsockopt_old(struct socket *sock, int optname, char __user *optval, unsign… in rfcomm_sock_setsockopt_old()
[all …]
/net/ipv4/
Dudp_tunnel.c17 struct socket *sock = NULL; in udp_sock_create4() local
65 void setup_udp_tunnel_sock(struct net *net, struct socket *sock, in setup_udp_tunnel_sock()
89 void udp_tunnel_push_rx_port(struct net_device *dev, struct socket *sock, in udp_tunnel_push_rx_port()
107 void udp_tunnel_drop_rx_port(struct net_device *dev, struct socket *sock, in udp_tunnel_drop_rx_port()
126 void udp_tunnel_notify_add_rx_port(struct socket *sock, unsigned short type) in udp_tunnel_notify_add_rx_port()
150 void udp_tunnel_notify_del_rx_port(struct socket *sock, unsigned short type) in udp_tunnel_notify_del_rx_port()
196 void udp_tunnel_sock_release(struct socket *sock) in udp_tunnel_sock_release()
Daf_inet.c195 int inet_listen(struct socket *sock, int backlog) in inet_listen()
247 static int inet_create(struct net *net, struct socket *sock, int protocol, in inet_create()
406 int inet_release(struct socket *sock) in inet_release()
434 int inet_bind(struct socket *sock, struct sockaddr *uaddr, int addr_len) in inet_bind()
556 int inet_dgram_connect(struct socket *sock, struct sockaddr *uaddr, in inet_dgram_connect()
607 int __inet_stream_connect(struct socket *sock, struct sockaddr *uaddr, in __inet_stream_connect()
717 int inet_stream_connect(struct socket *sock, struct sockaddr *uaddr, in inet_stream_connect()
733 int inet_accept(struct socket *sock, struct socket *newsock, int flags, in inet_accept()
764 int inet_getname(struct socket *sock, struct sockaddr *uaddr, in inet_getname()
804 int inet_sendmsg(struct socket *sock, struct msghdr *msg, size_t size) in inet_sendmsg()
[all …]
/net/rds/
Daf_rds.c59 static int rds_release(struct socket *sock) in rds_release()
114 static int rds_getname(struct socket *sock, struct sockaddr *uaddr, in rds_getname()
212 static __poll_t rds_poll(struct file *file, struct socket *sock, in rds_poll()
255 static int rds_ioctl(struct socket *sock, unsigned int cmd, unsigned long arg) in rds_ioctl()
434 static int rds_setsockopt(struct socket *sock, int level, int optname, in rds_setsockopt()
485 static int rds_getsockopt(struct socket *sock, int level, int optname, in rds_getsockopt()
538 static int rds_connect(struct socket *sock, struct sockaddr *uaddr, in rds_connect()
669 static int __rds_create(struct socket *sock, struct sock *sk, int protocol) in __rds_create()
700 static int rds_create(struct net *net, struct socket *sock, int protocol, in rds_create()
731 static void rds_sock_inc_info(struct socket *sock, unsigned int len, in rds_sock_inc_info()
[all …]
Dtcp_listen.c41 int rds_tcp_keepalive(struct socket *sock) in rds_tcp_keepalive()
114 void rds_tcp_set_linger(struct socket *sock) in rds_tcp_set_linger()
125 int rds_tcp_accept_one(struct socket *sock) in rds_tcp_accept_one()
290 struct socket *sock = NULL; in rds_tcp_listen_init() local
347 void rds_tcp_listen_stop(struct socket *sock, struct work_struct *acceptor) in rds_tcp_listen_stop()
Dconnection.c522 static void rds_conn_message_info_cmn(struct socket *sock, unsigned int len, in rds_conn_message_info_cmn()
588 static void rds_conn_message_info(struct socket *sock, unsigned int len, in rds_conn_message_info()
597 static void rds6_conn_message_info(struct socket *sock, unsigned int len, in rds6_conn_message_info()
606 static void rds_conn_message_info_send(struct socket *sock, unsigned int len, in rds_conn_message_info_send()
614 static void rds6_conn_message_info_send(struct socket *sock, unsigned int len, in rds6_conn_message_info_send()
622 static void rds_conn_message_info_retrans(struct socket *sock, in rds_conn_message_info_retrans()
631 static void rds6_conn_message_info_retrans(struct socket *sock, in rds6_conn_message_info_retrans()
640 void rds_for_each_conn_info(struct socket *sock, unsigned int len, in rds_for_each_conn_info()
678 static void rds_walk_conn_path_info(struct socket *sock, unsigned int len, in rds_walk_conn_path_info()
786 static void rds_conn_info(struct socket *sock, unsigned int len, in rds_conn_info()
[all …]
/net/llc/
Daf_llc.c138 static void llc_ui_sk_init(struct socket *sock, struct sock *sk) in llc_ui_sk_init()
163 static int llc_ui_create(struct net *net, struct socket *sock, int protocol, in llc_ui_create()
192 static int llc_ui_release(struct socket *sock) in llc_ui_release()
267 static int llc_ui_autobind(struct socket *sock, struct sockaddr_llc *addr) in llc_ui_autobind()
319 static int llc_ui_bind(struct socket *sock, struct sockaddr *uaddr, int addrlen) in llc_ui_bind()
415 static int llc_ui_shutdown(struct socket *sock, int how) in llc_ui_shutdown()
450 static int llc_ui_connect(struct socket *sock, struct sockaddr *uaddr, in llc_ui_connect()
523 static int llc_ui_listen(struct socket *sock, int backlog) in llc_ui_listen()
665 static int llc_ui_accept(struct socket *sock, struct socket *newsock, int flags, in llc_ui_accept()
728 static int llc_ui_recvmsg(struct socket *sock, struct msghdr *msg, size_t len, in llc_ui_recvmsg()
[all …]
/net/bluetooth/
Dl2cap_sock.c49 bool l2cap_is_socket(struct socket *sock) in l2cap_is_socket()
81 static int l2cap_sock_bind(struct socket *sock, struct sockaddr *addr, int alen) in l2cap_sock_bind()
175 static int l2cap_sock_connect(struct socket *sock, struct sockaddr *addr, in l2cap_sock_connect()
253 static int l2cap_sock_listen(struct socket *sock, int backlog) in l2cap_sock_listen()
304 static int l2cap_sock_accept(struct socket *sock, struct socket *newsock, in l2cap_sock_accept()
360 static int l2cap_sock_getname(struct socket *sock, struct sockaddr *addr, in l2cap_sock_getname()
392 static int l2cap_sock_getsockopt_old(struct socket *sock, int optname, in l2cap_sock_getsockopt_old()
495 static int l2cap_sock_getsockopt(struct socket *sock, int level, int optname, in l2cap_sock_getsockopt()
631 static int l2cap_sock_setsockopt_old(struct socket *sock, int optname, in l2cap_sock_setsockopt_old()
743 static int l2cap_sock_setsockopt(struct socket *sock, int level, int optname, in l2cap_sock_setsockopt()
[all …]
Dsco.c469 static struct sock *sco_sock_alloc(struct net *net, struct socket *sock, in sco_sock_alloc()
497 static int sco_sock_create(struct net *net, struct socket *sock, int protocol, in sco_sock_create()
519 static int sco_sock_bind(struct socket *sock, struct sockaddr *addr, in sco_sock_bind()
553 static int sco_sock_connect(struct socket *sock, struct sockaddr *addr, int alen, int flags) in sco_sock_connect()
588 static int sco_sock_listen(struct socket *sock, int backlog) in sco_sock_listen()
628 static int sco_sock_accept(struct socket *sock, struct socket *newsock, in sco_sock_accept()
683 static int sco_sock_getname(struct socket *sock, struct sockaddr *addr, in sco_sock_getname()
701 static int sco_sock_sendmsg(struct socket *sock, struct msghdr *msg, in sco_sock_sendmsg()
771 static int sco_sock_recvmsg(struct socket *sock, struct msghdr *msg, in sco_sock_recvmsg()
793 static int sco_sock_setsockopt(struct socket *sock, int level, int optname, in sco_sock_setsockopt()
[all …]
/net/
Dsocket.c391 struct file *sock_alloc_file(struct socket *sock, int flags, const char *dname) in sock_alloc_file()
412 static int sock_map_fd(struct socket *sock, int flags) in sock_map_fd()
465 struct socket *sock; in sockfd_lookup() local
483 struct socket *sock; in sockfd_lookup_light() local
530 struct socket *sock = SOCKET_I(d_inode(dentry)); in sockfs_setattr() local
557 struct socket *sock; in sock_alloc() local
584 static void __sock_release(struct socket *sock, struct inode *inode) in __sock_release()
609 void sock_release(struct socket *sock) in sock_release()
636 static inline int sock_sendmsg_nosec(struct socket *sock, struct msghdr *msg) in sock_sendmsg_nosec()
653 int sock_sendmsg(struct socket *sock, struct msghdr *msg) in sock_sendmsg()
[all …]
/net/bluetooth/cmtp/
Dsock.c49 static int cmtp_sock_release(struct socket *sock) in cmtp_sock_release()
66 static int do_cmtp_sock_ioctl(struct socket *sock, unsigned int cmd, void __user *argp) in do_cmtp_sock_ioctl()
139 static int cmtp_sock_ioctl(struct socket *sock, unsigned int cmd, unsigned long arg) in cmtp_sock_ioctl()
145 static int cmtp_sock_compat_ioctl(struct socket *sock, unsigned int cmd, unsigned long arg) in cmtp_sock_compat_ioctl()
202 static int cmtp_sock_create(struct net *net, struct socket *sock, int protocol, in cmtp_sock_create()
/net/bluetooth/bnep/
Dsock.c36 static int bnep_sock_release(struct socket *sock) in bnep_sock_release()
52 static int do_bnep_sock_ioctl(struct socket *sock, unsigned int cmd, void __user *argp) in do_bnep_sock_ioctl()
136 static int bnep_sock_ioctl(struct socket *sock, unsigned int cmd, unsigned long arg) in bnep_sock_ioctl()
142 static int bnep_sock_compat_ioctl(struct socket *sock, unsigned int cmd, unsigned long arg) in bnep_sock_compat_ioctl()
199 static int bnep_sock_create(struct net *net, struct socket *sock, int protocol, in bnep_sock_create()
/net/netrom/
Daf_netrom.c274 static int nr_setsockopt(struct socket *sock, int level, int optname, in nr_setsockopt()
326 static int nr_getsockopt(struct socket *sock, int level, int optname, in nr_getsockopt()
376 static int nr_listen(struct socket *sock, int backlog) in nr_listen()
399 static int nr_create(struct net *net, struct socket *sock, int protocol, in nr_create()
491 static int nr_release(struct socket *sock) in nr_release()
537 static int nr_bind(struct socket *sock, struct sockaddr *uaddr, int addr_len) in nr_bind()
608 static int nr_connect(struct socket *sock, struct sockaddr *uaddr, in nr_connect()
743 static int nr_accept(struct socket *sock, struct socket *newsock, int flags, in nr_accept()
806 static int nr_getname(struct socket *sock, struct sockaddr *uaddr, in nr_getname()
1010 static int nr_sendmsg(struct socket *sock, struct msghdr *msg, size_t len) in nr_sendmsg()
[all …]
/net/vmw_vsock/
Daf_vsock.c575 struct socket *sock, in __vsock_create()
717 static int vsock_release(struct socket *sock) in vsock_release()
727 vsock_bind(struct socket *sock, struct sockaddr *addr, int addr_len) in vsock_bind()
745 static int vsock_getname(struct socket *sock, in vsock_getname()
788 static int vsock_shutdown(struct socket *sock, int mode) in vsock_shutdown()
837 static __poll_t vsock_poll(struct file *file, struct socket *sock, in vsock_poll()
950 static int vsock_dgram_sendmsg(struct socket *sock, struct msghdr *msg, in vsock_dgram_sendmsg()
1021 static int vsock_dgram_connect(struct socket *sock, in vsock_dgram_connect()
1063 static int vsock_dgram_recvmsg(struct socket *sock, struct msghdr *msg, in vsock_dgram_recvmsg()
1122 static int vsock_stream_connect(struct socket *sock, struct sockaddr *addr, in vsock_stream_connect()
[all …]
/net/unix/
Daf_unix.c607 static int unix_listen(struct socket *sock, int backlog) in unix_listen()
764 static struct sock *unix_create1(struct net *net, struct socket *sock, int kern) in unix_create1()
805 static int unix_create(struct net *net, struct socket *sock, int protocol, in unix_create()
837 static int unix_release(struct socket *sock) in unix_release()
850 static int unix_autobind(struct socket *sock) in unix_autobind()
995 static int unix_bind(struct socket *sock, struct sockaddr *uaddr, int addr_len) in unix_bind()
1111 static int unix_dgram_connect(struct socket *sock, struct sockaddr *addr, in unix_dgram_connect()
1212 static int unix_stream_connect(struct socket *sock, struct sockaddr *uaddr, in unix_stream_connect()
1431 static int unix_accept(struct socket *sock, struct socket *newsock, int flags, in unix_accept()
1476 static int unix_getname(struct socket *sock, struct sockaddr *uaddr, int peer) in unix_getname()
[all …]
/net/decnet/
Daf_decnet.c464 static struct sock *dn_alloc_sock(struct net *net, struct socket *sock, gfp_t gfp, int kern) in dn_alloc_sock()
668 static int dn_create(struct net *net, struct socket *sock, int protocol, in dn_create()
701 dn_release(struct socket *sock) in dn_release()
717 static int dn_bind(struct socket *sock, struct sockaddr *uaddr, int addr_len) in dn_bind()
778 static int dn_auto_bind(struct socket *sock) in dn_auto_bind()
901 struct socket *sock = sk->sk_socket; in __dn_connect() local
967 static int dn_connect(struct socket *sock, struct sockaddr *uaddr, int addrlen, int flags) in dn_connect()
1065 static int dn_accept(struct socket *sock, struct socket *newsock, int flags, in dn_accept()
1175 static int dn_getname(struct socket *sock, struct sockaddr *uaddr,int peer) in dn_getname()
1202 static __poll_t dn_poll(struct file *file, struct socket *sock, poll_table *wait) in dn_poll()
[all …]
/net/sunrpc/
Dxprtsock.c347 xs_sock_recvmsg(struct socket *sock, struct msghdr *msg, int flags, size_t seek) in xs_sock_recvmsg()
357 xs_read_kvec(struct socket *sock, struct msghdr *msg, int flags, in xs_read_kvec()
365 xs_read_bvec(struct socket *sock, struct msghdr *msg, int flags, in xs_read_bvec()
374 xs_read_discard(struct socket *sock, struct msghdr *msg, int flags, in xs_read_discard()
402 xs_read_xdr_buf(struct socket *sock, struct msghdr *msg, int flags, in xs_read_xdr_buf()
752 static int xs_sendmsg(struct socket *sock, struct msghdr *msg, size_t seek) in xs_sendmsg()
759 static int xs_send_kvec(struct socket *sock, struct msghdr *msg, struct kvec *vec, size_t seek) in xs_send_kvec()
765 static int xs_send_pagedata(struct socket *sock, struct msghdr *msg, struct xdr_buf *xdr, size_t ba… in xs_send_pagedata()
786 static int xs_send_rm_and_kvec(struct socket *sock, struct msghdr *msg, in xs_send_rm_and_kvec()
813 static int xs_sendpages(struct socket *sock, struct sockaddr *addr, int addrlen, struct xdr_buf *xd… in xs_sendpages()
[all …]
/net/x25/
Daf_x25.c433 static int x25_setsockopt(struct socket *sock, int level, int optname, in x25_setsockopt()
460 static int x25_getsockopt(struct socket *sock, int level, int optname, in x25_getsockopt()
489 static int x25_listen(struct socket *sock, int backlog) in x25_listen()
531 static int x25_create(struct net *net, struct socket *sock, int protocol, in x25_create()
629 static int x25_release(struct socket *sock) in x25_release()
671 static int x25_bind(struct socket *sock, struct sockaddr *uaddr, int addr_len) in x25_bind()
738 static int x25_connect(struct socket *sock, struct sockaddr *uaddr, in x25_connect()
865 static int x25_accept(struct socket *sock, struct socket *newsock, int flags, in x25_accept()
907 static int x25_getname(struct socket *sock, struct sockaddr *uaddr, in x25_getname()
1091 static int x25_sendmsg(struct socket *sock, struct msghdr *msg, size_t len) in x25_sendmsg()
[all …]
/net/phonet/
Dsocket.c28 static int pn_socket_release(struct socket *sock) in pn_socket_release()
156 static int pn_socket_bind(struct socket *sock, struct sockaddr *addr, int len) in pn_socket_bind()
202 static int pn_socket_autobind(struct socket *sock) in pn_socket_autobind()
217 static int pn_socket_connect(struct socket *sock, struct sockaddr *addr, in pn_socket_connect()
294 static int pn_socket_accept(struct socket *sock, struct socket *newsock, in pn_socket_accept()
315 static int pn_socket_getname(struct socket *sock, struct sockaddr *addr, in pn_socket_getname()
330 static __poll_t pn_socket_poll(struct file *file, struct socket *sock, in pn_socket_poll()
356 static int pn_socket_ioctl(struct socket *sock, unsigned int cmd, in pn_socket_ioctl()
394 static int pn_socket_listen(struct socket *sock, int backlog) in pn_socket_listen()
418 static int pn_socket_sendmsg(struct socket *sock, struct msghdr *m, in pn_socket_sendmsg()
/net/smc/
Daf_smc.c168 static int smc_release(struct socket *sock) in smc_release()
214 static struct sock *smc_sock_alloc(struct net *net, struct socket *sock, in smc_sock_alloc()
244 static int smc_bind(struct socket *sock, struct sockaddr *uaddr, in smc_bind()
819 static int smc_connect(struct socket *sock, struct sockaddr *addr, in smc_connect()
1393 static int smc_listen(struct socket *sock, int backlog) in smc_listen()
1434 static int smc_accept(struct socket *sock, struct socket *new_sock, in smc_accept()
1504 static int smc_getname(struct socket *sock, struct sockaddr *addr, in smc_getname()
1518 static int smc_sendmsg(struct socket *sock, struct msghdr *msg, size_t len) in smc_sendmsg()
1550 static int smc_recvmsg(struct socket *sock, struct msghdr *msg, size_t len, in smc_recvmsg()
1599 static __poll_t smc_poll(struct file *file, struct socket *sock, in smc_poll()
[all …]

12345