/net/atm/ |
D | svc.c | 40 static int svc_shutdown(struct socket *sock, int how) in svc_shutdown() 74 static int svc_release(struct socket *sock) in svc_release() 94 static int svc_bind(struct socket *sock, struct sockaddr *sockaddr, in svc_bind() 150 static int svc_connect(struct socket *sock, struct sockaddr *sockaddr, in svc_connect() 281 static int svc_listen(struct socket *sock, int backlog) in svc_listen() 321 static int svc_accept(struct socket *sock, struct socket *newsock, int flags) in svc_accept() 419 static int svc_getname(struct socket *sock, struct sockaddr *sockaddr, in svc_getname() 452 static int svc_setsockopt(struct socket *sock, int level, int optname, in svc_setsockopt() 497 static int svc_getsockopt(struct socket *sock, int level, int optname, in svc_getsockopt() 525 static int svc_addparty(struct socket *sock, struct sockaddr *sockaddr, in svc_addparty() [all …]
|
D | pvc.c | 21 static int pvc_shutdown(struct socket *sock, int how) in pvc_shutdown() 26 static int pvc_bind(struct socket *sock, struct sockaddr *sockaddr, in pvc_bind() 58 static int pvc_connect(struct socket *sock, struct sockaddr *sockaddr, in pvc_connect() 64 static int pvc_setsockopt(struct socket *sock, int level, int optname, in pvc_setsockopt() 76 static int pvc_getsockopt(struct socket *sock, int level, int optname, in pvc_getsockopt() 88 static int pvc_getname(struct socket *sock, struct sockaddr *sockaddr, in pvc_getname() 132 static int pvc_create(struct net *net, struct socket *sock, int protocol, in pvc_create()
|
D | ioctl.c | 50 static int do_vcc_ioctl(struct socket *sock, unsigned int cmd, in do_vcc_ioctl() 186 int vcc_ioctl(struct socket *sock, unsigned int cmd, unsigned long arg) in vcc_ioctl() 245 static int do_atm_iobuf(struct socket *sock, unsigned int cmd, in do_atm_iobuf() 276 static int do_atmif_sioc(struct socket *sock, unsigned int cmd, in do_atmif_sioc() 305 static int do_atm_ioctl(struct socket *sock, unsigned int cmd32, in do_atm_ioctl() 358 int vcc_compat_ioctl(struct socket *sock, unsigned int cmd, in vcc_compat_ioctl()
|
/net/nfc/ |
D | llcp_sock.c | 70 static int llcp_sock_bind(struct socket *sock, struct sockaddr *addr, int alen) in llcp_sock_bind() 155 static int llcp_raw_sock_bind(struct socket *sock, struct sockaddr *addr, in llcp_raw_sock_bind() 210 static int llcp_sock_listen(struct socket *sock, int backlog) in llcp_sock_listen() 237 static int nfc_llcp_setsockopt(struct socket *sock, int level, int optname, in nfc_llcp_setsockopt() 310 static int nfc_llcp_getsockopt(struct socket *sock, int level, int optname, in nfc_llcp_getsockopt() 455 static int llcp_sock_accept(struct socket *sock, struct socket *newsock, in llcp_sock_accept() 509 static int llcp_sock_getname(struct socket *sock, struct sockaddr *uaddr, in llcp_sock_getname() 556 static unsigned int llcp_sock_poll(struct file *file, struct socket *sock, in llcp_sock_poll() 595 static int llcp_sock_release(struct socket *sock) in llcp_sock_release() 659 static int llcp_sock_connect(struct socket *sock, struct sockaddr *_addr, in llcp_sock_connect() [all …]
|
/net/rds/ |
D | af_rds.c | 58 static int rds_release(struct socket *sock) in rds_release() 112 static int rds_getname(struct socket *sock, struct sockaddr *uaddr, in rds_getname() 155 static unsigned int rds_poll(struct file *file, struct socket *sock, in rds_poll() 195 static int rds_ioctl(struct socket *sock, unsigned int cmd, unsigned long arg) in rds_ioctl() 280 static int rds_setsockopt(struct socket *sock, int level, int optname, in rds_setsockopt() 322 static int rds_getsockopt(struct socket *sock, int level, int optname, in rds_getsockopt() 375 static int rds_connect(struct socket *sock, struct sockaddr *uaddr, in rds_connect() 443 static int __rds_create(struct socket *sock, struct sock *sk, int protocol) in __rds_create() 470 static int rds_create(struct net *net, struct socket *sock, int protocol, in rds_create() 501 static void rds_sock_inc_info(struct socket *sock, unsigned int len, in rds_sock_inc_info() [all …]
|
D | tcp_listen.c | 41 int rds_tcp_keepalive(struct socket *sock) in rds_tcp_keepalive() 73 int rds_tcp_accept_one(struct socket *sock) in rds_tcp_accept_one() 183 struct socket *sock = NULL; in rds_tcp_listen_init() local 217 void rds_tcp_listen_stop(struct socket *sock) in rds_tcp_listen_stop()
|
/net/rxrpc/ |
D | af_rxrpc.c | 122 static int rxrpc_bind(struct socket *sock, struct sockaddr *saddr, int len) in rxrpc_bind() 188 static int rxrpc_listen(struct socket *sock, int backlog) in rxrpc_listen() 223 static struct rxrpc_transport *rxrpc_name_to_transport(struct socket *sock, in rxrpc_name_to_transport() 269 struct rxrpc_call *rxrpc_kernel_begin_call(struct socket *sock, in rxrpc_kernel_begin_call() 357 void rxrpc_kernel_intercept_rx_messages(struct socket *sock, in rxrpc_kernel_intercept_rx_messages() 373 static int rxrpc_connect(struct socket *sock, struct sockaddr *addr, in rxrpc_connect() 444 static int rxrpc_sendmsg(struct socket *sock, struct msghdr *m, size_t len) in rxrpc_sendmsg() 512 static int rxrpc_setsockopt(struct socket *sock, int level, int optname, in rxrpc_setsockopt() 588 static unsigned int rxrpc_poll(struct file *file, struct socket *sock, in rxrpc_poll() 614 static int rxrpc_create(struct net *net, struct socket *sock, int protocol, in rxrpc_create() [all …]
|
/net/bluetooth/rfcomm/ |
D | sock.c | 272 static struct sock *rfcomm_sock_alloc(struct net *net, struct socket *sock, int proto, gfp_t prio, … in rfcomm_sock_alloc() 313 static int rfcomm_sock_create(struct net *net, struct socket *sock, in rfcomm_sock_create() 335 static int rfcomm_sock_bind(struct socket *sock, struct sockaddr *addr, int addr_len) in rfcomm_sock_bind() 381 static int rfcomm_sock_connect(struct socket *sock, struct sockaddr *addr, int alen, int flags) in rfcomm_sock_connect() 424 static int rfcomm_sock_listen(struct socket *sock, int backlog) in rfcomm_sock_listen() 473 static int rfcomm_sock_accept(struct socket *sock, struct socket *newsock, int flags) in rfcomm_sock_accept() 533 static int rfcomm_sock_getname(struct socket *sock, struct sockaddr *addr, int *len, int peer) in rfcomm_sock_getname() 556 static int rfcomm_sock_sendmsg(struct socket *sock, struct msghdr *msg, in rfcomm_sock_sendmsg() 622 static int rfcomm_sock_recvmsg(struct socket *sock, struct msghdr *msg, in rfcomm_sock_recvmsg() 647 static int rfcomm_sock_setsockopt_old(struct socket *sock, int optname, char __user *optval, unsign… in rfcomm_sock_setsockopt_old() [all …]
|
/net/llc/ |
D | af_llc.c | 144 static void llc_ui_sk_init(struct socket *sock, struct sock *sk) in llc_ui_sk_init() 169 static int llc_ui_create(struct net *net, struct socket *sock, int protocol, in llc_ui_create() 198 static int llc_ui_release(struct socket *sock) in llc_ui_release() 273 static int llc_ui_autobind(struct socket *sock, struct sockaddr_llc *addr) in llc_ui_autobind() 329 static int llc_ui_bind(struct socket *sock, struct sockaddr *uaddr, int addrlen) in llc_ui_bind() 426 static int llc_ui_shutdown(struct socket *sock, int how) in llc_ui_shutdown() 461 static int llc_ui_connect(struct socket *sock, struct sockaddr *uaddr, in llc_ui_connect() 534 static int llc_ui_listen(struct socket *sock, int backlog) in llc_ui_listen() 675 static int llc_ui_accept(struct socket *sock, struct socket *newsock, int flags) in llc_ui_accept() 737 static int llc_ui_recvmsg(struct socket *sock, struct msghdr *msg, size_t len, in llc_ui_recvmsg() [all …]
|
/net/ |
D | socket.c | 356 struct file *sock_alloc_file(struct socket *sock, int flags, const char *dname) in sock_alloc_file() 392 static int sock_map_fd(struct socket *sock, int flags) in sock_map_fd() 435 struct socket *sock; in sockfd_lookup() local 453 struct socket *sock; in sockfd_lookup_light() local 517 struct socket *sock = SOCKET_I(d_inode(dentry)); in sockfs_setattr() local 545 struct socket *sock; in sock_alloc() local 573 static void __sock_release(struct socket *sock, struct inode *inode) in __sock_release() 599 void sock_release(struct socket *sock) in sock_release() 625 static inline int sock_sendmsg_nosec(struct socket *sock, struct msghdr *msg) in sock_sendmsg_nosec() 632 int sock_sendmsg(struct socket *sock, struct msghdr *msg) in sock_sendmsg() [all …]
|
/net/bluetooth/ |
D | l2cap_sock.c | 48 bool l2cap_is_socket(struct socket *sock) in l2cap_is_socket() 80 static int l2cap_sock_bind(struct socket *sock, struct sockaddr *addr, int alen) in l2cap_sock_bind() 173 static int l2cap_sock_connect(struct socket *sock, struct sockaddr *addr, in l2cap_sock_connect() 251 static int l2cap_sock_listen(struct socket *sock, int backlog) in l2cap_sock_listen() 302 static int l2cap_sock_accept(struct socket *sock, struct socket *newsock, in l2cap_sock_accept() 358 static int l2cap_sock_getname(struct socket *sock, struct sockaddr *addr, in l2cap_sock_getname() 391 static int l2cap_sock_getsockopt_old(struct socket *sock, int optname, in l2cap_sock_getsockopt_old() 494 static int l2cap_sock_getsockopt(struct socket *sock, int level, int optname, in l2cap_sock_getsockopt() 630 static int l2cap_sock_setsockopt_old(struct socket *sock, int optname, in l2cap_sock_setsockopt_old() 742 static int l2cap_sock_setsockopt(struct socket *sock, int level, int optname, in l2cap_sock_setsockopt() [all …]
|
D | sco.c | 461 static struct sock *sco_sock_alloc(struct net *net, struct socket *sock, in sco_sock_alloc() 489 static int sco_sock_create(struct net *net, struct socket *sock, int protocol, in sco_sock_create() 511 static int sco_sock_bind(struct socket *sock, struct sockaddr *addr, in sco_sock_bind() 547 static int sco_sock_connect(struct socket *sock, struct sockaddr *addr, int alen, int flags) in sco_sock_connect() 582 static int sco_sock_listen(struct socket *sock, int backlog) in sco_sock_listen() 622 static int sco_sock_accept(struct socket *sock, struct socket *newsock, in sco_sock_accept() 677 static int sco_sock_getname(struct socket *sock, struct sockaddr *addr, in sco_sock_getname() 696 static int sco_sock_sendmsg(struct socket *sock, struct msghdr *msg, in sco_sock_sendmsg() 782 static int sco_sock_recvmsg(struct socket *sock, struct msghdr *msg, in sco_sock_recvmsg() 804 static int sco_sock_setsockopt(struct socket *sock, int level, int optname, in sco_sock_setsockopt() [all …]
|
/net/irda/ |
D | af_irda.c | 698 static int irda_getname(struct socket *sock, struct sockaddr *uaddr, in irda_getname() 735 static int irda_listen(struct socket *sock, int backlog) in irda_listen() 764 static int irda_bind(struct socket *sock, struct sockaddr *uaddr, int addr_len) in irda_bind() 837 static int irda_accept(struct socket *sock, struct socket *newsock, int flags) in irda_accept() 960 static int irda_connect(struct socket *sock, struct sockaddr *uaddr, in irda_connect() 1092 static int irda_create(struct net *net, struct socket *sock, int protocol, in irda_create() 1215 static int irda_release(struct socket *sock) in irda_release() 1277 static int irda_sendmsg(struct socket *sock, struct msghdr *msg, size_t len) in irda_sendmsg() 1367 static int irda_recvmsg_dgram(struct socket *sock, struct msghdr *msg, in irda_recvmsg_dgram() 1414 static int irda_recvmsg_stream(struct socket *sock, struct msghdr *msg, in irda_recvmsg_stream() [all …]
|
/net/bluetooth/cmtp/ |
D | sock.c | 49 static int cmtp_sock_release(struct socket *sock) in cmtp_sock_release() 66 static int cmtp_sock_ioctl(struct socket *sock, unsigned int cmd, unsigned long arg) in cmtp_sock_ioctl() 141 static int cmtp_sock_compat_ioctl(struct socket *sock, unsigned int cmd, unsigned long arg) in cmtp_sock_compat_ioctl() 198 static int cmtp_sock_create(struct net *net, struct socket *sock, int protocol, in cmtp_sock_create()
|
/net/bluetooth/bnep/ |
D | sock.c | 36 static int bnep_sock_release(struct socket *sock) in bnep_sock_release() 52 static int bnep_sock_ioctl(struct socket *sock, unsigned int cmd, unsigned long arg) in bnep_sock_ioctl() 138 static int bnep_sock_compat_ioctl(struct socket *sock, unsigned int cmd, unsigned long arg) in bnep_sock_compat_ioctl() 195 static int bnep_sock_create(struct net *net, struct socket *sock, int protocol, in bnep_sock_create()
|
/net/ipv4/ |
D | af_inet.c | 208 int inet_listen(struct socket *sock, int backlog) in inet_listen() 263 static int inet_create(struct net *net, struct socket *sock, int protocol, in inet_create() 410 int inet_release(struct socket *sock) in inet_release() 441 int inet_bind(struct socket *sock, struct sockaddr *uaddr, int addr_len) in inet_bind() 538 int inet_dgram_connect(struct socket *sock, struct sockaddr *uaddr, in inet_dgram_connect() 583 int __inet_stream_connect(struct socket *sock, struct sockaddr *uaddr, in __inet_stream_connect() 670 int inet_stream_connect(struct socket *sock, struct sockaddr *uaddr, in inet_stream_connect() 686 int inet_accept(struct socket *sock, struct socket *newsock, int flags) in inet_accept() 716 int inet_getname(struct socket *sock, struct sockaddr *uaddr, in inet_getname() 744 int inet_sendmsg(struct socket *sock, struct msghdr *msg, size_t size) in inet_sendmsg() [all …]
|
/net/tipc/ |
D | socket.c | 326 static int tipc_sk_create(struct net *net, struct socket *sock, in tipc_sk_create() 421 static int tipc_release(struct socket *sock) in tipc_release() 500 static int tipc_bind(struct socket *sock, struct sockaddr *uaddr, in tipc_bind() 558 static int tipc_getname(struct socket *sock, struct sockaddr *uaddr, in tipc_getname() 626 static unsigned int tipc_poll(struct file *file, struct socket *sock, in tipc_poll() 669 static int tipc_sendmcast(struct socket *sock, struct tipc_name_seq *seq, in tipc_sendmcast() 815 static int tipc_wait_for_sndmsg(struct socket *sock, long *timeo_p) in tipc_wait_for_sndmsg() 853 static int tipc_sendmsg(struct socket *sock, in tipc_sendmsg() 866 static int __tipc_sendmsg(struct socket *sock, struct msghdr *m, size_t dsz) in __tipc_sendmsg() 969 static int tipc_wait_for_sndpkt(struct socket *sock, long *timeo_p) in tipc_wait_for_sndpkt() [all …]
|
/net/vmw_vsock/ |
D | af_vsock.c | 604 struct socket *sock, in __vsock_create() 740 static int vsock_release(struct socket *sock) in vsock_release() 750 vsock_bind(struct socket *sock, struct sockaddr *addr, int addr_len) in vsock_bind() 768 static int vsock_getname(struct socket *sock, in vsock_getname() 811 static int vsock_shutdown(struct socket *sock, int mode) in vsock_shutdown() 862 static unsigned int vsock_poll(struct file *file, struct socket *sock, in vsock_poll() 975 static int vsock_dgram_sendmsg(struct socket *sock, struct msghdr *msg, in vsock_dgram_sendmsg() 1046 static int vsock_dgram_connect(struct socket *sock, in vsock_dgram_connect() 1088 static int vsock_dgram_recvmsg(struct socket *sock, struct msghdr *msg, in vsock_dgram_recvmsg() 1147 static int vsock_stream_connect(struct socket *sock, struct sockaddr *addr, in vsock_stream_connect() [all …]
|
/net/netrom/ |
D | af_netrom.c | 299 static int nr_setsockopt(struct socket *sock, int level, int optname, in nr_setsockopt() 351 static int nr_getsockopt(struct socket *sock, int level, int optname, in nr_getsockopt() 401 static int nr_listen(struct socket *sock, int backlog) in nr_listen() 424 static int nr_create(struct net *net, struct socket *sock, int protocol, in nr_create() 516 static int nr_release(struct socket *sock) in nr_release() 562 static int nr_bind(struct socket *sock, struct sockaddr *uaddr, int addr_len) in nr_bind() 633 static int nr_connect(struct socket *sock, struct sockaddr *uaddr, in nr_connect() 768 static int nr_accept(struct socket *sock, struct socket *newsock, int flags) in nr_accept() 830 static int nr_getname(struct socket *sock, struct sockaddr *uaddr, in nr_getname() 1033 static int nr_sendmsg(struct socket *sock, struct msghdr *msg, size_t len) in nr_sendmsg() [all …]
|
/net/decnet/ |
D | af_decnet.c | 471 static struct sock *dn_alloc_sock(struct net *net, struct socket *sock, gfp_t gfp, int kern) in dn_alloc_sock() 676 static int dn_create(struct net *net, struct socket *sock, int protocol, in dn_create() 709 dn_release(struct socket *sock) in dn_release() 725 static int dn_bind(struct socket *sock, struct sockaddr *uaddr, int addr_len) in dn_bind() 786 static int dn_auto_bind(struct socket *sock) in dn_auto_bind() 907 struct socket *sock = sk->sk_socket; in __dn_connect() local 973 static int dn_connect(struct socket *sock, struct sockaddr *uaddr, int addrlen, int flags) in dn_connect() 1070 static int dn_accept(struct socket *sock, struct socket *newsock, int flags) in dn_accept() 1179 static int dn_getname(struct socket *sock, struct sockaddr *uaddr,int *uaddr_len,int peer) in dn_getname() 1208 static unsigned int dn_poll(struct file *file, struct socket *sock, poll_table *wait) in dn_poll() [all …]
|
/net/x25/ |
D | af_x25.c | 437 static int x25_setsockopt(struct socket *sock, int level, int optname, in x25_setsockopt() 464 static int x25_getsockopt(struct socket *sock, int level, int optname, in x25_getsockopt() 493 static int x25_listen(struct socket *sock, int backlog) in x25_listen() 535 static int x25_create(struct net *net, struct socket *sock, int protocol, in x25_create() 633 static int x25_release(struct socket *sock) in x25_release() 675 static int x25_bind(struct socket *sock, struct sockaddr *uaddr, int addr_len) in x25_bind() 743 static int x25_connect(struct socket *sock, struct sockaddr *uaddr, in x25_connect() 871 static int x25_accept(struct socket *sock, struct socket *newsock, int flags) in x25_accept() 912 static int x25_getname(struct socket *sock, struct sockaddr *uaddr, in x25_getname() 1097 static int x25_sendmsg(struct socket *sock, struct msghdr *msg, size_t len) in x25_sendmsg() [all …]
|
/net/phonet/ |
D | socket.c | 39 static int pn_socket_release(struct socket *sock) in pn_socket_release() 165 static int pn_socket_bind(struct socket *sock, struct sockaddr *addr, int len) in pn_socket_bind() 211 static int pn_socket_autobind(struct socket *sock) in pn_socket_autobind() 226 static int pn_socket_connect(struct socket *sock, struct sockaddr *addr, in pn_socket_connect() 303 static int pn_socket_accept(struct socket *sock, struct socket *newsock, in pn_socket_accept() 324 static int pn_socket_getname(struct socket *sock, struct sockaddr *addr, in pn_socket_getname() 340 static unsigned int pn_socket_poll(struct file *file, struct socket *sock, in pn_socket_poll() 366 static int pn_socket_ioctl(struct socket *sock, unsigned int cmd, in pn_socket_ioctl() 404 static int pn_socket_listen(struct socket *sock, int backlog) in pn_socket_listen() 428 static int pn_socket_sendmsg(struct socket *sock, struct msghdr *m, in pn_socket_sendmsg()
|
/net/ax25/ |
D | af_ax25.c | 536 static int ax25_setsockopt(struct socket *sock, int level, int optname, in ax25_setsockopt() 687 static int ax25_getsockopt(struct socket *sock, int level, int optname, in ax25_getsockopt() 784 static int ax25_listen(struct socket *sock, int backlog) in ax25_listen() 813 static int ax25_create(struct net *net, struct socket *sock, int protocol, in ax25_create() 964 static int ax25_release(struct socket *sock) in ax25_release() 1051 static int ax25_bind(struct socket *sock, struct sockaddr *uaddr, int addr_len) in ax25_bind() 1129 static int __must_check ax25_connect(struct socket *sock, in ax25_connect() 1339 static int ax25_accept(struct socket *sock, struct socket *newsock, int flags) in ax25_accept() 1406 static int ax25_getname(struct socket *sock, struct sockaddr *uaddr, in ax25_getname() 1454 static int ax25_sendmsg(struct socket *sock, struct msghdr *msg, size_t len) in ax25_sendmsg() [all …]
|
/net/unix/ |
D | af_unix.c | 635 static int unix_listen(struct socket *sock, int backlog) in unix_listen() 788 static struct sock *unix_create1(struct net *net, struct socket *sock, int kern) in unix_create1() 830 static int unix_create(struct net *net, struct socket *sock, int protocol, in unix_create() 861 static int unix_release(struct socket *sock) in unix_release() 874 static int unix_autobind(struct socket *sock) in unix_autobind() 1019 static int unix_bind(struct socket *sock, struct sockaddr *uaddr, int addr_len) in unix_bind() 1135 static int unix_dgram_connect(struct socket *sock, struct sockaddr *addr, in unix_dgram_connect() 1236 static int unix_stream_connect(struct socket *sock, struct sockaddr *uaddr, in unix_stream_connect() 1455 static int unix_accept(struct socket *sock, struct socket *newsock, int flags) in unix_accept() 1499 static int unix_getname(struct socket *sock, struct sockaddr *uaddr, int *uaddr_len, int peer) in unix_getname() [all …]
|
/net/sunrpc/ |
D | xprtsock.c | 326 static int xs_send_kvec(struct socket *sock, struct sockaddr *addr, int addrlen, struct kvec *vec, … in xs_send_kvec() 343 static int xs_send_pagedata(struct socket *sock, struct xdr_buf *xdr, unsigned int base, int more, … in xs_send_pagedata() 392 static int xs_sendpages(struct socket *sock, struct sockaddr *addr, int addrlen, struct xdr_buf *xd… in xs_sendpages() 814 struct socket *sock = transport->sock; in xs_reset_transport() local 1734 static void xs_sock_set_reuseport(struct socket *sock) in xs_sock_set_reuseport() 1742 static unsigned short xs_sock_getport(struct socket *sock) in xs_sock_getport() 1775 static void xs_set_srcport(struct sock_xprt *transport, struct socket *sock) in xs_set_srcport() 1800 static int xs_bind(struct sock_xprt *transport, struct socket *sock) in xs_bind() 1869 static inline void xs_reclassify_socketu(struct socket *sock) in xs_reclassify_socketu() 1877 static inline void xs_reclassify_socket4(struct socket *sock) in xs_reclassify_socket4() [all …]
|