/net/atm/ |
D | svc.c | 41 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 …]
|
D | pvc.c | 22 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()
|
D | ioctl.c | 51 static int do_vcc_ioctl(struct socket *sock, unsigned int cmd, in do_vcc_ioctl() 218 int vcc_ioctl(struct socket *sock, unsigned int cmd, unsigned long arg) in vcc_ioctl() 277 static int do_atm_iobuf(struct socket *sock, unsigned int cmd, in do_atm_iobuf() 289 static int do_atmif_sioc(struct socket *sock, unsigned int cmd, in do_atmif_sioc() 301 static int do_atm_ioctl(struct socket *sock, unsigned int cmd32, in do_atm_ioctl() 354 int vcc_compat_ioctl(struct socket *sock, unsigned int cmd, in vcc_compat_ioctl()
|
/net/rxrpc/ |
D | af_rxrpc.c | 129 static int rxrpc_bind(struct socket *sock, struct sockaddr *saddr, int len) in rxrpc_bind() 209 static int rxrpc_listen(struct socket *sock, int backlog) in rxrpc_listen() 280 struct rxrpc_call *rxrpc_kernel_begin_call(struct socket *sock, in rxrpc_kernel_begin_call() 352 void rxrpc_kernel_end_call(struct socket *sock, struct rxrpc_call *call) in rxrpc_kernel_end_call() 379 bool rxrpc_kernel_check_life(const struct socket *sock, in rxrpc_kernel_check_life() 394 u32 rxrpc_kernel_get_epoch(struct socket *sock, struct rxrpc_call *call) in rxrpc_kernel_get_epoch() 409 struct socket *sock, in rxrpc_kernel_new_call_notification() 429 void rxrpc_kernel_set_max_life(struct socket *sock, struct rxrpc_call *call, in rxrpc_kernel_set_max_life() 450 static int rxrpc_connect(struct socket *sock, struct sockaddr *addr, in rxrpc_connect() 500 static int rxrpc_sendmsg(struct socket *sock, struct msghdr *m, size_t len) in rxrpc_sendmsg() [all …]
|
/net/nfc/ |
D | llcp_sock.c | 59 static int llcp_sock_bind(struct socket *sock, struct sockaddr *addr, int alen) in llcp_sock_bind() 144 static int llcp_raw_sock_bind(struct socket *sock, struct sockaddr *addr, in llcp_raw_sock_bind() 199 static int llcp_sock_listen(struct socket *sock, int backlog) in llcp_sock_listen() 226 static int nfc_llcp_setsockopt(struct socket *sock, int level, int optname, in nfc_llcp_setsockopt() 299 static int nfc_llcp_getsockopt(struct socket *sock, int level, int optname, in nfc_llcp_getsockopt() 444 static int llcp_sock_accept(struct socket *sock, struct socket *newsock, in llcp_sock_accept() 498 static int llcp_sock_getname(struct socket *sock, struct sockaddr *uaddr, in llcp_sock_getname() 550 static __poll_t llcp_sock_poll(struct file *file, struct socket *sock, in llcp_sock_poll() 589 static int llcp_sock_release(struct socket *sock) in llcp_sock_release() 653 static int llcp_sock_connect(struct socket *sock, struct sockaddr *_addr, in llcp_sock_connect() [all …]
|
/net/bluetooth/rfcomm/ |
D | sock.c | 271 static struct sock *rfcomm_sock_alloc(struct net *net, struct socket *sock, int proto, gfp_t prio, … in rfcomm_sock_alloc() 312 static int rfcomm_sock_create(struct net *net, struct socket *sock, in rfcomm_sock_create() 334 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() 534 static int rfcomm_sock_getname(struct socket *sock, struct sockaddr *addr, int peer) in rfcomm_sock_getname() 556 static int rfcomm_sock_sendmsg(struct socket *sock, struct msghdr *msg, in rfcomm_sock_sendmsg() 596 static int rfcomm_sock_recvmsg(struct socket *sock, struct msghdr *msg, in rfcomm_sock_recvmsg() 621 static int rfcomm_sock_setsockopt_old(struct socket *sock, int optname, in rfcomm_sock_setsockopt_old() [all …]
|
/net/ipv4/ |
D | udp_tunnel_core.c | 17 struct socket *sock = NULL; in udp_sock_create4() local 63 void setup_udp_tunnel_sock(struct net *net, struct socket *sock, in setup_udp_tunnel_sock() 87 void udp_tunnel_push_rx_port(struct net_device *dev, struct socket *sock, in udp_tunnel_push_rx_port() 105 void udp_tunnel_drop_rx_port(struct net_device *dev, struct socket *sock, in udp_tunnel_drop_rx_port() 124 void udp_tunnel_notify_add_rx_port(struct socket *sock, unsigned short type) in udp_tunnel_notify_add_rx_port() 148 void udp_tunnel_notify_del_rx_port(struct socket *sock, unsigned short type) in udp_tunnel_notify_del_rx_port() 194 void udp_tunnel_sock_release(struct socket *sock) in udp_tunnel_sock_release()
|
D | af_inet.c | 196 int inet_listen(struct socket *sock, int backlog) in inet_listen() 248 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() 565 int inet_dgram_connect(struct socket *sock, struct sockaddr *uaddr, in inet_dgram_connect() 616 int __inet_stream_connect(struct socket *sock, struct sockaddr *uaddr, in __inet_stream_connect() 726 int inet_stream_connect(struct socket *sock, struct sockaddr *uaddr, in inet_stream_connect() 742 int inet_accept(struct socket *sock, struct socket *newsock, int flags, in inet_accept() 772 int inet_getname(struct socket *sock, struct sockaddr *uaddr, in inet_getname() 817 int inet_sendmsg(struct socket *sock, struct msghdr *msg, size_t size) in inet_sendmsg() [all …]
|
/net/rds/ |
D | af_rds.c | 59 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() 432 static int rds_setsockopt(struct socket *sock, int level, int optname, in rds_setsockopt() 483 static int rds_getsockopt(struct socket *sock, int level, int optname, in rds_getsockopt() 536 static int rds_connect(struct socket *sock, struct sockaddr *uaddr, in rds_connect() 667 static int __rds_create(struct socket *sock, struct sock *sk, int protocol) in __rds_create() 698 static int rds_create(struct net *net, struct socket *sock, int protocol, in rds_create() 729 static void rds_sock_inc_info(struct socket *sock, unsigned int len, in rds_sock_inc_info() [all …]
|
D | tcp_listen.c | 41 void rds_tcp_keepalive(struct socket *sock) in rds_tcp_keepalive() 97 int rds_tcp_accept_one(struct socket *sock) in rds_tcp_accept_one() 265 struct socket *sock = NULL; in rds_tcp_listen_init() local 322 void rds_tcp_listen_stop(struct socket *sock, struct work_struct *acceptor) in rds_tcp_listen_stop()
|
D | connection.c | 534 static void rds_conn_message_info_cmn(struct socket *sock, unsigned int len, in rds_conn_message_info_cmn() 600 static void rds_conn_message_info(struct socket *sock, unsigned int len, in rds_conn_message_info() 609 static void rds6_conn_message_info(struct socket *sock, unsigned int len, in rds6_conn_message_info() 618 static void rds_conn_message_info_send(struct socket *sock, unsigned int len, in rds_conn_message_info_send() 626 static void rds6_conn_message_info_send(struct socket *sock, unsigned int len, in rds6_conn_message_info_send() 634 static void rds_conn_message_info_retrans(struct socket *sock, in rds_conn_message_info_retrans() 643 static void rds6_conn_message_info_retrans(struct socket *sock, in rds6_conn_message_info_retrans() 652 void rds_for_each_conn_info(struct socket *sock, unsigned int len, in rds_for_each_conn_info() 690 static void rds_walk_conn_path_info(struct socket *sock, unsigned int len, in rds_walk_conn_path_info() 798 static void rds_conn_info(struct socket *sock, unsigned int len, in rds_conn_info() [all …]
|
/net/ |
D | socket.c | 135 struct socket *sock = f->private_data; in sock_show_fdinfo() local 405 struct file *sock_alloc_file(struct socket *sock, int flags, const char *dname) in sock_alloc_file() 427 static int sock_map_fd(struct socket *sock, int flags) in sock_map_fd() 480 struct socket *sock; in sockfd_lookup() local 498 struct socket *sock; in sockfd_lookup_light() local 545 struct socket *sock = SOCKET_I(d_inode(dentry)); in sockfs_setattr() local 572 struct socket *sock; in sock_alloc() local 590 static void __sock_release(struct socket *sock, struct inode *inode) in __sock_release() 623 void sock_release(struct socket *sock) in sock_release() 650 static inline int sock_sendmsg_nosec(struct socket *sock, struct msghdr *msg) in sock_sendmsg_nosec() [all …]
|
/net/llc/ |
D | af_llc.c | 146 static void llc_ui_sk_init(struct socket *sock, struct sock *sk) in llc_ui_sk_init() 171 static int llc_ui_create(struct net *net, struct socket *sock, int protocol, in llc_ui_create() 200 static int llc_ui_release(struct socket *sock) in llc_ui_release() 277 static int llc_ui_autobind(struct socket *sock, struct sockaddr_llc *addr) in llc_ui_autobind() 340 static int llc_ui_bind(struct socket *sock, struct sockaddr *uaddr, int addrlen) in llc_ui_bind() 444 static int llc_ui_shutdown(struct socket *sock, int how) in llc_ui_shutdown() 479 static int llc_ui_connect(struct socket *sock, struct sockaddr *uaddr, in llc_ui_connect() 552 static int llc_ui_listen(struct socket *sock, int backlog) in llc_ui_listen() 696 static int llc_ui_accept(struct socket *sock, struct socket *newsock, int flags, in llc_ui_accept() 759 static int llc_ui_recvmsg(struct socket *sock, struct msghdr *msg, size_t len, in llc_ui_recvmsg() [all …]
|
/net/bluetooth/cmtp/ |
D | sock.c | 49 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() 200 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 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() 197 static int bnep_sock_create(struct net *net, struct socket *sock, int protocol, in bnep_sock_create()
|
/net/bluetooth/ |
D | l2cap_sock.c | 50 bool l2cap_is_socket(struct socket *sock) in l2cap_is_socket() 82 static int l2cap_sock_bind(struct socket *sock, struct sockaddr *addr, int alen) in l2cap_sock_bind() 195 static int l2cap_sock_connect(struct socket *sock, struct sockaddr *addr, in l2cap_sock_connect() 287 static int l2cap_sock_listen(struct socket *sock, int backlog) in l2cap_sock_listen() 346 static int l2cap_sock_accept(struct socket *sock, struct socket *newsock, in l2cap_sock_accept() 402 static int l2cap_sock_getname(struct socket *sock, struct sockaddr *addr, in l2cap_sock_getname() 452 static int l2cap_sock_getsockopt_old(struct socket *sock, int optname, in l2cap_sock_getsockopt_old() 571 static int l2cap_sock_getsockopt(struct socket *sock, int level, int optname, in l2cap_sock_getsockopt() 741 static int l2cap_sock_setsockopt_old(struct socket *sock, int optname, in l2cap_sock_setsockopt_old() 897 static int l2cap_sock_setsockopt(struct socket *sock, int level, int optname, in l2cap_sock_setsockopt() [all …]
|
D | sco.c | 476 static struct sock *sco_sock_alloc(struct net *net, struct socket *sock, in sco_sock_alloc() 502 static int sco_sock_create(struct net *net, struct socket *sock, int protocol, in sco_sock_create() 524 static int sco_sock_bind(struct socket *sock, struct sockaddr *addr, in sco_sock_bind() 558 static int sco_sock_connect(struct socket *sock, struct sockaddr *addr, int alen, int flags) in sco_sock_connect() 606 static int sco_sock_listen(struct socket *sock, int backlog) in sco_sock_listen() 646 static int sco_sock_accept(struct socket *sock, struct socket *newsock, in sco_sock_accept() 701 static int sco_sock_getname(struct socket *sock, struct sockaddr *addr, in sco_sock_getname() 719 static int sco_sock_sendmsg(struct socket *sock, struct msghdr *msg, in sco_sock_sendmsg() 802 static int sco_sock_recvmsg(struct socket *sock, struct msghdr *msg, in sco_sock_recvmsg() 824 static int sco_sock_setsockopt(struct socket *sock, int level, int optname, in sco_sock_setsockopt() [all …]
|
/net/netrom/ |
D | af_netrom.c | 296 static int nr_setsockopt(struct socket *sock, int level, int optname, in nr_setsockopt() 348 static int nr_getsockopt(struct socket *sock, int level, int optname, in nr_getsockopt() 398 static int nr_listen(struct socket *sock, int backlog) in nr_listen() 426 static int nr_create(struct net *net, struct socket *sock, int protocol, in nr_create() 518 static int nr_release(struct socket *sock) in nr_release() 564 static int nr_bind(struct socket *sock, struct sockaddr *uaddr, int addr_len) in nr_bind() 635 static int nr_connect(struct socket *sock, struct sockaddr *uaddr, in nr_connect() 775 static int nr_accept(struct socket *sock, struct socket *newsock, int flags, in nr_accept() 838 static int nr_getname(struct socket *sock, struct sockaddr *uaddr, in nr_getname() 1042 static int nr_sendmsg(struct socket *sock, struct msghdr *msg, size_t len) in nr_sendmsg() [all …]
|
/net/unix/ |
D | af_unix.c | 634 static int unix_listen(struct socket *sock, int backlog) in unix_listen() 707 static void unix_show_fdinfo(struct seq_file *m, struct socket *sock) in unix_show_fdinfo() 801 static struct sock *unix_create1(struct net *net, struct socket *sock, int kern) in unix_create1() 843 static int unix_create(struct net *net, struct socket *sock, int protocol, in unix_create() 875 static int unix_release(struct socket *sock) in unix_release() 888 static int unix_autobind(struct socket *sock) in unix_autobind() 1032 static int unix_bind(struct socket *sock, struct sockaddr *uaddr, int addr_len) in unix_bind() 1146 static int unix_dgram_connect(struct socket *sock, struct sockaddr *addr, in unix_dgram_connect() 1248 static int unix_stream_connect(struct socket *sock, struct sockaddr *uaddr, in unix_stream_connect() 1467 static int unix_accept(struct socket *sock, struct socket *newsock, int flags, in unix_accept() [all …]
|
/net/x25/ |
D | af_x25.c | 433 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() 537 static int x25_create(struct net *net, struct socket *sock, int protocol, in x25_create() 635 static int x25_release(struct socket *sock) in x25_release() 683 static int x25_bind(struct socket *sock, struct sockaddr *uaddr, int addr_len) in x25_bind() 751 static int x25_connect(struct socket *sock, struct sockaddr *uaddr, in x25_connect() 879 static int x25_accept(struct socket *sock, struct socket *newsock, int flags, in x25_accept() 921 static int x25_getname(struct socket *sock, struct sockaddr *uaddr, in x25_getname() 1108 static int x25_sendmsg(struct socket *sock, struct msghdr *msg, size_t len) in x25_sendmsg() [all …]
|
/net/phonet/ |
D | socket.c | 28 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/vmw_vsock/ |
D | af_vsock.c | 690 struct socket *sock, in __vsock_create() 836 static int vsock_release(struct socket *sock) in vsock_release() 846 vsock_bind(struct socket *sock, struct sockaddr *addr, int addr_len) in vsock_bind() 864 static int vsock_getname(struct socket *sock, in vsock_getname() 907 static int vsock_shutdown(struct socket *sock, int mode) in vsock_shutdown() 958 static __poll_t vsock_poll(struct file *file, struct socket *sock, in vsock_poll() 1075 static int vsock_dgram_sendmsg(struct socket *sock, struct msghdr *msg, in vsock_dgram_sendmsg() 1149 static int vsock_dgram_connect(struct socket *sock, in vsock_dgram_connect() 1191 static int vsock_dgram_recvmsg(struct socket *sock, struct msghdr *msg, in vsock_dgram_recvmsg() 1250 static int vsock_stream_connect(struct socket *sock, struct sockaddr *addr, in vsock_stream_connect() [all …]
|
/net/ax25/ |
D | af_ax25.c | 551 static int ax25_setsockopt(struct socket *sock, int level, int optname, in ax25_setsockopt() 702 static int ax25_getsockopt(struct socket *sock, int level, int optname, in ax25_getsockopt() 799 static int ax25_listen(struct socket *sock, int backlog) in ax25_listen() 828 static int ax25_create(struct net *net, struct socket *sock, int protocol, in ax25_create() 979 static int ax25_release(struct socket *sock) in ax25_release() 1077 static int ax25_bind(struct socket *sock, struct sockaddr *uaddr, int addr_len) in ax25_bind() 1157 static int __must_check ax25_connect(struct socket *sock, in ax25_connect() 1367 static int ax25_accept(struct socket *sock, struct socket *newsock, int flags, in ax25_accept() 1435 static int ax25_getname(struct socket *sock, struct sockaddr *uaddr, in ax25_getname() 1483 static int ax25_sendmsg(struct socket *sock, struct msghdr *msg, size_t len) in ax25_sendmsg() [all …]
|
/net/sunrpc/ |
D | socklib.c | 205 static inline int xprt_sendmsg(struct socket *sock, struct msghdr *msg, in xprt_sendmsg() 213 static int xprt_send_kvec(struct socket *sock, struct msghdr *msg, in xprt_send_kvec() 220 static int xprt_send_pagedata(struct socket *sock, struct msghdr *msg, in xprt_send_pagedata() 239 static int xprt_send_rm_and_kvec(struct socket *sock, struct msghdr *msg, in xprt_send_rm_and_kvec() 269 int xprt_sock_sendmsg(struct socket *sock, struct msghdr *msg, in xprt_sock_sendmsg()
|
/net/bluetooth/hidp/ |
D | sock.c | 32 static int hidp_sock_release(struct socket *sock) in hidp_sock_release() 49 static int do_hidp_sock_ioctl(struct socket *sock, unsigned int cmd, void __user *argp) in do_hidp_sock_ioctl() 125 static int hidp_sock_ioctl(struct socket *sock, unsigned int cmd, unsigned long arg) in hidp_sock_ioctl() 147 static int hidp_sock_compat_ioctl(struct socket *sock, unsigned int cmd, unsigned long arg) in hidp_sock_compat_ioctl() 248 static int hidp_sock_create(struct net *net, struct socket *sock, int protocol, in hidp_sock_create()
|