/linux-master/net/ceph/ |
H A D | messenger_v2.c | 80 static int do_recvmsg(struct socket *sock, struct iov_iter *it) argument 122 static int do_sendmsg(struct socket *sock, struct iov_iter *it) argument 143 static int do_try_sendpage(struct socket *sock, struct iov_iter *it) argument [all...] |
/linux-master/drivers/block/drbd/ |
H A D | drbd_main.c | 614 void *conn_prepare_command(struct drbd_connection *connection, struct drbd_socket *sock) argument 626 void *drbd_prepare_command(struct drbd_peer_device *peer_device, struct drbd_socket *sock) argument 606 __conn_prepare_command(struct drbd_connection *connection, struct drbd_socket *sock) argument 631 __send_command(struct drbd_connection *connection, int vnr, struct drbd_socket *sock, enum drbd_packet cmd, unsigned int header_size, void *data, unsigned int size) argument 662 __conn_send_command(struct drbd_connection *connection, struct drbd_socket *sock, enum drbd_packet cmd, unsigned int header_size, void *data, unsigned int size) argument 669 conn_send_command(struct drbd_connection *connection, struct drbd_socket *sock, enum drbd_packet cmd, unsigned int header_size, void *data, unsigned int size) argument 680 drbd_send_command(struct drbd_peer_device *peer_device, struct drbd_socket *sock, enum drbd_packet cmd, unsigned int header_size, void *data, unsigned int size) argument 694 struct drbd_socket *sock; local 704 struct drbd_socket *sock; local 714 struct drbd_socket *sock; local 769 struct drbd_socket *sock; local 825 struct drbd_socket *sock; local 887 struct drbd_socket *sock; local 913 struct drbd_socket *sock; local 993 struct drbd_socket *sock; local 1016 struct drbd_socket *sock; local 1029 struct drbd_socket *sock; local 1044 struct drbd_socket *sock; local 1059 struct drbd_socket *sock; local 1072 struct drbd_socket *sock; local 1208 struct drbd_socket *sock = &peer_device->connection->data; local 1303 struct drbd_socket *sock = &peer_device->connection->data; local 1315 struct drbd_socket *sock; local 1341 struct drbd_socket *sock; local 1405 struct drbd_socket *sock; local 1421 struct drbd_socket *sock; local 1437 struct drbd_socket *sock; local 1454 struct drbd_socket *sock; local 1471 we_should_drop_the_connection(struct drbd_connection *connection, struct socket *sock) argument 1668 struct drbd_socket *sock; local 1761 struct drbd_socket *sock; local 1790 struct drbd_socket *sock; local 1818 drbd_send(struct drbd_connection *connection, struct socket *sock, void *buf, size_t size, unsigned msg_flags) argument 1876 drbd_send_all(struct drbd_connection *connection, struct socket *sock, void *buffer, size_t size, unsigned msg_flags) argument [all...] |
H A D | drbd_receiver.c | 500 static int drbd_recv_short(struct socket *sock, void *buf, size_t size, int flags) argument 574 static void drbd_setbufsize(struct socket *sock, unsigned int snd, argument 591 struct socket *sock; local 805 send_first_packet(struct drbd_connection *connection, struct drbd_socket *sock, enum drbd_packet cmd) argument 813 receive_first_packet(struct drbd_connection *connection, struct socket *sock) argument 845 drbd_socket_okay(struct socket **sock) argument 925 struct drbd_socket sock, msock; local 5259 struct drbd_socket *sock; local 5364 struct drbd_socket *sock; local [all...] |
/linux-master/net/netlink/ |
H A D | af_netlink.c | 638 __netlink_create(struct net *net, struct socket *sock, struct mutex *dump_cb_mutex, int protocol, int kern) argument 666 netlink_create(struct net *net, struct socket *sock, int protocol, int kern) argument 747 netlink_release(struct socket *sock) argument 831 netlink_autobind(struct socket *sock) argument 935 netlink_allowed(const struct socket *sock, unsigned int flag) argument 1000 netlink_bind(struct socket *sock, struct sockaddr *addr, int addr_len) argument 1088 netlink_connect(struct socket *sock, struct sockaddr *addr, int alen, int flags) argument 1135 netlink_getname(struct socket *sock, struct sockaddr *addr, int peer) argument 1159 netlink_ioctl(struct socket *sock, unsigned int cmd, unsigned long arg) argument 1169 struct sock *sock; local 1190 struct sock *sock; local 1653 netlink_setsockopt(struct socket *sock, int level, int optname, sockptr_t optval, unsigned int optlen) argument 1729 netlink_getsockopt(struct socket *sock, int level, int optname, char __user *optval, int __user *optlen) argument 1823 netlink_sendmsg(struct socket *sock, struct msghdr *msg, size_t len) argument 1912 netlink_recvmsg(struct socket *sock, struct msghdr *msg, size_t len, int flags) argument 2015 struct socket *sock; local [all...] |
/linux-master/net/tipc/ |
H A D | socket.c | 70 struct sockaddr_tipc sock; member in struct:sockaddr_pair 403 tipc_sk_sock_err(struct socket *sock, long *timeout) argument 460 tipc_sk_create(struct net *net, struct socket *sock, int protocol, int kern) argument 550 __tipc_shutdown(struct socket *sock, int error) argument 626 tipc_release(struct socket *sock) argument 676 __tipc_bind(struct socket *sock, struct sockaddr *skaddr, int alen) argument 705 tipc_sk_bind(struct socket *sock, struct sockaddr *skaddr, int alen) argument 715 tipc_bind(struct socket *sock, struct sockaddr *skaddr, int alen) argument 746 tipc_getname(struct socket *sock, struct sockaddr *uaddr, int peer) argument 791 tipc_poll(struct file *file, struct socket *sock, poll_table *wait) argument 843 tipc_sendmcast(struct socket *sock, struct tipc_uaddr *ua, struct msghdr *msg, size_t dlen, long timeout) argument 957 tipc_send_group_unicast(struct socket *sock, struct msghdr *m, int dlen, long timeout) argument 1001 tipc_send_group_anycast(struct socket *sock, struct msghdr *m, int dlen, long timeout) argument 1083 tipc_send_group_bcast(struct socket *sock, struct msghdr *m, int dlen, long timeout) argument 1157 tipc_send_group_mcast(struct socket *sock, struct msghdr *m, int dlen, long timeout) argument 1396 tipc_sendmsg(struct socket *sock, struct msghdr *m, size_t dsz) argument 1409 __tipc_sendmsg(struct socket *sock, struct msghdr *m, size_t dlen) argument 1544 tipc_sendstream(struct socket *sock, struct msghdr *m, size_t dsz) argument 1556 __tipc_sendstream(struct socket *sock, struct msghdr *m, size_t dlen) argument 1651 tipc_send_packet(struct socket *sock, struct msghdr *m, size_t dsz) argument 1832 tipc_wait_for_rcvmsg(struct socket *sock, long *timeop) argument 1885 tipc_recvmsg(struct socket *sock, struct msghdr *m, size_t buflen, int flags) argument 2014 tipc_recvstream(struct socket *sock, struct msghdr *m, size_t buflen, int flags) argument 2528 tipc_wait_for_connect(struct socket *sock, long *timeo_p) argument 2572 tipc_connect(struct socket *sock, struct sockaddr *dest, int destlen, int flags) argument 2666 tipc_listen(struct socket *sock, int len) argument 2678 tipc_wait_for_accept(struct socket *sock, long timeo) argument 2719 tipc_accept(struct socket *sock, struct socket *new_sock, int flags, bool kern) argument 2799 tipc_shutdown(struct socket *sock, int how) argument 3142 tipc_setsockopt(struct socket *sock, int lvl, int opt, sockptr_t ov, unsigned int ol) argument 3236 tipc_getsockopt(struct socket *sock, int lvl, int opt, char __user *ov, int __user *ol) argument 3303 tipc_ioctl(struct socket *sock, unsigned int cmd, unsigned long arg) argument 3794 struct nlattr *sock[TIPC_NLA_SOCK_MAX + 1]; local [all...] |
/linux-master/net/smc/ |
H A D | af_smc.c | 311 smc_release(struct socket *sock) argument 365 smc_sock_alloc(struct net *net, struct socket *sock, int protocol) argument 397 smc_bind(struct socket *sock, struct sockaddr *uaddr, int addr_len) argument 1637 smc_connect(struct socket *sock, struct sockaddr *addr, int alen, int flags) argument 2611 smc_listen(struct socket *sock, int backlog) argument 2676 smc_accept(struct socket *sock, struct socket *new_sock, int flags, bool kern) argument 2746 smc_getname(struct socket *sock, struct sockaddr *addr, int peer) argument 2760 smc_sendmsg(struct socket *sock, struct msghdr *msg, size_t len) argument 2798 smc_recvmsg(struct socket *sock, struct msghdr *msg, size_t len, int flags) argument 2848 smc_poll(struct file *file, struct socket *sock, poll_table *wait) argument 2901 smc_shutdown(struct socket *sock, int how) argument 2976 __smc_getsockopt(struct socket *sock, int level, int optname, char __user *optval, int __user *optlen) argument 3008 __smc_setsockopt(struct socket *sock, int level, int optname, sockptr_t optval, unsigned int optlen) argument 3041 smc_setsockopt(struct socket *sock, int level, int optname, sockptr_t optval, unsigned int optlen) argument 3128 smc_getsockopt(struct socket *sock, int level, int optname, char __user *optval, int __user *optlen) argument 3154 smc_ioctl(struct socket *sock, unsigned int cmd, unsigned long arg) argument 3241 smc_splice_read(struct socket *sock, loff_t *ppos, struct pipe_inode_info *pipe, size_t len, unsigned int flags) argument 3309 __smc_create(struct net *net, struct socket *sock, int protocol, int kern, struct socket *clcsock) argument 3367 smc_create(struct net *net, struct socket *sock, int protocol, int kern) argument [all...] |
/linux-master/security/apparmor/ |
H A D | lsm.c | 1136 static int apparmor_socket_post_create(struct socket *sock, int family, argument 1157 apparmor_socket_bind(struct socket *sock, struct sockaddr *address, int addrlen) argument 1170 apparmor_socket_connect(struct socket *sock, struct sockaddr *address, int addrlen) argument 1183 apparmor_socket_listen(struct socket *sock, int backlog) argument 1198 apparmor_socket_accept(struct socket *sock, struct socket *newsock) argument 1210 aa_sock_msg_perm(const char *op, u32 request, struct socket *sock, struct msghdr *msg, int size) argument 1223 apparmor_socket_sendmsg(struct socket *sock, struct msghdr *msg, int size) argument 1229 apparmor_socket_recvmsg(struct socket *sock, struct msghdr *msg, int size, int flags) argument 1236 aa_sock_perm(const char *op, u32 request, struct socket *sock) argument 1247 apparmor_socket_getsockname(struct socket *sock) argument 1252 apparmor_socket_getpeername(struct socket *sock) argument 1258 aa_sock_opt_perm(const char *op, u32 request, struct socket *sock, int level, int optname) argument 1270 apparmor_socket_getsockopt(struct socket *sock, int level, int optname) argument 1277 apparmor_socket_setsockopt(struct socket *sock, int level, int optname) argument 1284 apparmor_socket_shutdown(struct socket *sock, int how) argument 1333 apparmor_socket_getpeersec_stream(struct socket *sock, sockptr_t optval, sockptr_t optlen, unsigned int len) argument 1380 apparmor_socket_getpeersec_dgram(struct socket *sock, struct sk_buff *skb, u32 *secid) argument [all...] |
/linux-master/net/ |
H A D | socket.c | 139 struct socket *sock = f->private_data; local 462 sock_alloc_file(struct socket *sock, int flags, const char *dname) argument 485 sock_map_fd(struct socket *sock, int flags) argument 536 struct socket *sock; local 556 struct socket *sock; local 605 struct socket *sock = SOCKET_I(d_inode(dentry)); local 632 struct socket *sock; local 650 __sock_release(struct socket *sock, struct inode *inode) argument 685 sock_release(struct socket *sock) argument 728 sock_sendmsg_nosec(struct socket *sock, struct msghdr *msg) argument 740 __sock_sendmsg(struct socket *sock, struct msghdr *msg) argument 756 sock_sendmsg(struct socket *sock, struct msghdr *msg) argument 788 kernel_sendmsg(struct socket *sock, struct msghdr *msg, struct kvec *vec, size_t num, size_t size) argument 812 struct socket *sock = sk->sk_socket; local 1043 sock_recvmsg_nosec(struct socket *sock, struct msghdr *msg, int flags) argument 1064 sock_recvmsg(struct socket *sock, struct msghdr *msg, int flags) argument 1088 kernel_recvmsg(struct socket *sock, struct msghdr *msg, struct kvec *vec, size_t num, size_t size, int flags) argument 1101 struct socket *sock = file->private_data; local 1113 struct socket *sock = file->private_data; local 1124 struct socket *sock = file->private_data; local 1146 struct socket *sock = file->private_data; local 1212 sock_do_ioctl(struct net *net, struct socket *sock, unsigned int cmd, unsigned long arg) argument 1252 struct socket *sock; local 1363 struct socket *sock = NULL; local 1393 struct socket *sock = file->private_data; local 1414 struct socket *sock = file->private_data; local 1438 struct socket *sock = filp->private_data; local 1504 struct socket *sock; local 1646 struct socket *sock; local 1668 struct socket *sock; local 1703 struct socket *sock; local 1835 struct socket *sock; local 1869 struct socket *sock; local 1897 struct socket *sock, *newsock; local 2034 struct socket *sock; local 2086 struct socket *sock; local 2124 struct socket *sock; local 2162 struct socket *sock; local 2229 struct socket *sock; local 2273 sock_use_custom_sol_socket(const struct socket *sock) argument 2278 do_sock_setsockopt(struct socket *sock, bool compat, int level, int optname, sockptr_t optval, int optlen) argument 2328 struct socket *sock; local 2349 do_sock_getsockopt(struct socket *sock, bool compat, int level, int optname, sockptr_t optval, sockptr_t optlen) argument 2394 struct socket *sock; local 2419 __sys_shutdown_sock(struct socket *sock, int how) argument 2433 struct socket *sock; local 2527 ____sys_sendmsg(struct socket *sock, struct msghdr *msg_sys, unsigned int flags, struct used_address *used_address, unsigned int allowed_msghdr_flags) argument 2623 ___sys_sendmsg(struct socket *sock, struct user_msghdr __user *msg, struct msghdr *msg_sys, unsigned int flags, struct used_address *used_address, unsigned int allowed_msghdr_flags) argument 2647 __sys_sendmsg_sock(struct socket *sock, struct msghdr *msg, unsigned int flags) argument 2658 struct socket *sock; local 2687 struct socket *sock; local 2777 ____sys_recvmsg(struct socket *sock, struct msghdr *msg_sys, struct user_msghdr __user *msg, struct sockaddr __user *uaddr, unsigned int flags, int nosec) argument 2833 ___sys_recvmsg(struct socket *sock, struct user_msghdr __user *msg, struct msghdr *msg_sys, unsigned int flags, int nosec) argument 2854 __sys_recvmsg_sock(struct socket *sock, struct msghdr *msg, struct user_msghdr __user *umsg, struct sockaddr __user *uaddr, unsigned int flags) argument 2866 struct socket *sock; local 2897 struct socket *sock; local 3411 compat_sock_ioctl_trans(struct file *file, struct socket *sock, unsigned int cmd, unsigned long arg) argument 3511 struct socket *sock = file->private_data; local 3543 kernel_bind(struct socket *sock, struct sockaddr *addr, int addrlen) argument 3562 kernel_listen(struct socket *sock, int backlog) argument 3579 kernel_accept(struct socket *sock, struct socket **newsock, int flags) argument 3618 kernel_connect(struct socket *sock, struct sockaddr *addr, int addrlen, int flags) argument 3639 kernel_getsockname(struct socket *sock, struct sockaddr *addr) argument 3654 kernel_getpeername(struct socket *sock, struct sockaddr *addr) argument 3668 kernel_sock_shutdown(struct socket *sock, enum sock_shutdown_cmd how) argument [all...] |
/linux-master/net/ipv4/ |
H A D | tcp.c | 498 __poll_t tcp_poll(struct file *file, struct socket *sock, poll_table *wait) argument 777 tcp_splice_read(struct socket *sock, loff_t *ppos, struct pipe_inode_info *pipe, size_t len, unsigned int flags) argument 1349 tcp_splice_eof(struct socket *sock) argument 1697 tcp_peek_len(struct socket *sock) argument 1748 tcp_mmap(struct file *file, struct socket *sock, struct vm_area_struct *vma) argument [all...] |
H A D | udp.c | 1324 udp_splice_eof(struct socket *sock) argument 2877 udp_poll(struct file *file, struct socket *sock, poll_table *wait) argument [all...] |
/linux-master/net/unix/ |
H A D | af_unix.c | 724 unix_listen(struct socket *sock, int backlog) argument 802 unix_show_fdinfo(struct seq_file *m, struct socket *sock) argument 952 unix_create1(struct net *net, struct socket *sock, int kern, int type) argument 1003 unix_create(struct net *net, struct socket *sock, int protocol, int kern) argument 1041 unix_release(struct socket *sock) argument 1304 unix_bind(struct socket *sock, struct sockaddr *uaddr, int addr_len) argument 1349 unix_dgram_connect(struct socket *sock, struct sockaddr *addr, int alen, int flags) argument 1463 unix_stream_connect(struct socket *sock, struct sockaddr *uaddr, int addr_len, int flags) argument 1691 unix_accept(struct socket *sock, struct socket *newsock, int flags, bool kern) argument 1737 unix_getname(struct socket *sock, struct sockaddr *uaddr, int peer) argument 1900 unix_passcred_enabled(const struct socket *sock, const struct sock *other) argument 1915 maybe_add_creds(struct sk_buff *skb, const struct socket *sock, const struct sock *other) argument 1957 unix_dgram_sendmsg(struct socket *sock, struct msghdr *msg, size_t len) argument 2183 queue_oob(struct socket *sock, struct msghdr *msg, struct sock *other, struct scm_cookie *scm, bool fds_sent) argument 2235 unix_stream_sendmsg(struct socket *sock, struct msghdr *msg, size_t len) argument 2368 unix_seqpacket_sendmsg(struct socket *sock, struct msghdr *msg, size_t len) argument 2387 unix_seqpacket_recvmsg(struct socket *sock, struct msghdr *msg, size_t size, int flags) argument 2412 struct socket *sock = sk->sk_socket; local 2520 unix_dgram_recvmsg(struct socket *sock, struct msghdr *msg, size_t size, int flags) argument 2609 struct socket *sock = state->socket; local 2693 struct socket *sock = state->socket; local 2932 unix_stream_recvmsg(struct socket *sock, struct msghdr *msg, size_t size, int flags) argument 2962 unix_stream_splice_read(struct socket *sock, loff_t *ppos, struct pipe_inode_info *pipe, size_t size, unsigned int flags) argument 2984 unix_shutdown(struct socket *sock, int mode) argument 3099 unix_ioctl(struct socket *sock, unsigned int cmd, unsigned long arg) argument 3141 unix_compat_ioctl(struct socket *sock, unsigned int cmd, unsigned long arg) argument 3147 unix_poll(struct file *file, struct socket *sock, poll_table *wait) argument 3190 unix_dgram_poll(struct file *file, struct socket *sock, poll_table *wait) argument [all...] |
/linux-master/net/sunrpc/ |
H A D | xprtsock.c | 361 xs_sock_process_cmsg(struct socket *sock, struct msghdr *msg, argument 390 xs_sock_recv_cmsg(struct socket *sock, struct msghdr *msg, int flags) argument 407 xs_sock_recvmsg(struct socket *sock, struct msghdr *msg, int flags, size_t seek) argument 417 xs_read_kvec(struct socket *sock, struct msghdr *msg, int flags, struct kvec *kvec, size_t count, size_t seek) argument 425 xs_read_bvec(struct socket *sock, struct msghdr *msg, int flags, struct bio_vec *bvec, unsigned long nr, size_t count, size_t seek) argument 434 xs_read_discard(struct socket *sock, struct msghdr *msg, int flags, size_t count) argument 462 xs_read_xdr_buf(struct socket *sock, struct msghdr *msg, int flags, struct xdr_buf *buf, size_t count, size_t seek, size_t *read) argument 1250 struct socket *sock = transport->sock; local 1707 xs_sock_getport(struct socket *sock) argument 1744 xs_set_srcport(struct sock_xprt *transport, struct socket *sock) argument 1761 struct sock_xprt *sock = container_of(xprt, struct sock_xprt, xprt); local 1772 struct sock_xprt *sock = container_of(xprt, struct sock_xprt, xprt); local 1799 xs_bind(struct sock_xprt *transport, struct socket *sock) argument 1867 xs_reclassify_socketu(struct socket *sock) argument 1875 xs_reclassify_socket4(struct socket *sock) argument 1883 xs_reclassify_socket6(struct socket *sock) argument 1891 xs_reclassify_socket(int family, struct socket *sock) argument 1909 xs_reclassify_socket(int family, struct socket *sock) argument 1923 struct socket *sock; local 1953 xs_local_finish_connecting(struct rpc_xprt *xprt, struct socket *sock) argument 1995 struct socket *sock; local 2158 xs_udp_finish_connecting(struct rpc_xprt *xprt, struct socket *sock) argument 2194 struct socket *sock; local 2232 struct socket *sock = transport->sock; local 2256 xs_tcp_set_socket_timeouts(struct rpc_xprt *xprt, struct socket *sock) argument 2330 xs_tcp_finish_connecting(struct rpc_xprt *xprt, struct socket *sock) argument 2397 struct socket *sock = transport->sock; local 2487 struct socket *sock = lower_transport->sock; local [all...] |
/linux-master/drivers/nvme/host/ |
H A D | tcp.c | 67 static void nvme_tcp_reclassify_socket(struct socket *sock) argument 92 static void nvme_tcp_reclassify_socket(struct socket *sock) { } argument 140 struct socket *sock; member in struct:nvme_tcp_queue 1254 struct socket *sock = queue->sock; local 1804 struct socket *sock = queue->sock; local [all...] |
/linux-master/net/sctp/ |
H A D | socket.c | 4825 sctp_inet_connect(struct socket *sock, struct sockaddr *uaddr, int addr_len, int flags) argument 5628 struct socket *sock; local 8581 sctp_inet_listen(struct socket *sock, int backlog) argument 8643 sctp_poll(struct file *file, struct socket *sock, poll_table *wait) argument [all...] |
/linux-master/security/smack/ |
H A D | smack_lsm.c | 1556 struct socket *sock; local 1960 struct socket *sock; local 2694 smk_ipv6_port_label(struct socket *sock, struct sockaddr *address) argument 2855 struct socket *sock; local 2925 smack_socket_post_create(struct socket *sock, int family, int type, int protocol, int kern) argument 2982 smack_socket_bind(struct socket *sock, struct sockaddr *address, int addrlen) argument 3005 smack_socket_connect(struct socket *sock, struct sockaddr *sap, int addrlen) argument 3816 smack_unix_stream_connect(struct sock *sock, struct sock *other, struct sock *newsk) argument 3867 smack_unix_may_send(struct socket *sock, struct socket *other) argument 3899 smack_socket_sendmsg(struct socket *sock, struct msghdr *msg, int size) argument 4236 smack_socket_getpeersec_stream(struct socket *sock, sockptr_t optval, sockptr_t optlen, unsigned int len) argument 4272 smack_socket_getpeersec_dgram(struct socket *sock, struct sk_buff *skb, u32 *secid) argument [all...] |
/linux-master/net/packet/ |
H A D | af_packet.c | 1928 packet_parse_headers(struct sk_buff *skb, struct socket *sock) argument 1952 packet_sendmsg_spkt(struct socket *sock, struct msghdr *msg, size_t len) argument 2578 struct socket *sock = po->sk.sk_socket; local 2943 packet_snd(struct socket *sock, struct msghdr *msg, size_t len) argument 3102 packet_sendmsg(struct socket *sock, struct msghdr *msg, size_t len) argument 3121 packet_release(struct socket *sock) argument 3287 packet_bind_spkt(struct socket *sock, struct sockaddr *uaddr, int addr_len) argument 3308 packet_bind(struct socket *sock, struct sockaddr *uaddr, int addr_len) argument 3335 packet_create(struct net *net, struct socket *sock, int protocol, int kern) argument 3413 packet_recvmsg(struct socket *sock, struct msghdr *msg, size_t len, int flags) argument 3562 packet_getname_spkt(struct socket *sock, struct sockaddr *uaddr, int peer) argument 3582 packet_getname(struct socket *sock, struct sockaddr *uaddr, int peer) argument 3767 packet_setsockopt(struct socket *sock, int level, int optname, sockptr_t optval, unsigned int optlen) argument 4037 packet_getsockopt(struct socket *sock, int level, int optname, char __user *optval, int __user *optlen) argument 4216 packet_ioctl(struct socket *sock, unsigned int cmd, unsigned long arg) argument 4264 packet_poll(struct file *file, struct socket *sock, poll_table *wait) argument 4296 struct socket *sock = file->private_data; local 4306 struct socket *sock = file->private_data; local 4553 packet_mmap(struct file *file, struct socket *sock, struct vm_area_struct *vma) argument [all...] |
/linux-master/net/core/ |
H A D | sock.c | 1095 struct socket *sock = sk->sk_socket; local 1546 sock_setsockopt(struct socket *sock, int level, int optname, sockptr_t optval, unsigned int optlen) argument 1596 struct socket *sock = sk->sk_socket; local 3226 sock_no_bind(struct socket *sock, struct sockaddr *saddr, int len) argument 3232 sock_no_connect(struct socket *sock, struct sockaddr *saddr, int len, int flags) argument 3245 sock_no_accept(struct socket *sock, struct socket *newsock, int flags, bool kern) argument 3252 sock_no_getname(struct socket *sock, struct sockaddr *saddr, int peer) argument 3259 sock_no_ioctl(struct socket *sock, unsigned int cmd, unsigned long arg) argument 3265 sock_no_listen(struct socket *sock, int backlog) argument 3271 sock_no_shutdown(struct socket *sock, int how) argument 3277 sock_no_sendmsg(struct socket *sock, struct msghdr *m, size_t len) argument 3289 sock_no_recvmsg(struct socket *sock, struct msghdr *m, size_t len, int flags) argument 3296 sock_no_mmap(struct file *file, struct socket *sock, struct vm_area_struct *vma) argument 3309 struct socket *sock; local 3439 sock_init_data_uid(struct socket *sock, struct sock *sk, kuid_t uid) argument 3522 sock_init_data(struct socket *sock, struct sock *sk) argument 3595 sock_gettstamp(struct socket *sock, void __user *userstamp, bool timeval, bool time32) argument 3694 sock_common_getsockopt(struct socket *sock, int level, int optname, char __user *optval, int __user *optlen) argument 3704 sock_common_recvmsg(struct socket *sock, struct msghdr *msg, size_t size, int flags) argument 3721 sock_common_setsockopt(struct socket *sock, int level, int optname, sockptr_t optval, unsigned int optlen) argument [all...] |
H A D | skbuff.c | 3208 struct socket *sock = sk->sk_socket; local 3222 struct socket *sock = sk->sk_socket; local [all...] |
/linux-master/drivers/net/ |
H A D | tun.c | 2556 static int tun_sendmsg(struct socket *sock, struct msghdr *m, size_t total_len) argument 2608 static int tun_recvmsg(struct socket *sock, struct msghdr *m, size_t total_len, argument 2660 tun_peek_len(struct socket *sock) argument [all...] |
/linux-master/net/mptcp/ |
H A D | protocol.c | 3808 mptcp_bind(struct socket *sock, struct sockaddr *uaddr, int addr_len) argument 3835 mptcp_listen(struct socket *sock, int backlog) argument 3875 mptcp_stream_accept(struct socket *sock, struct socket *newsock, int flags, bool kern) argument 3976 mptcp_poll(struct file *file, struct socket *sock, struct poll_table_struct *wait) argument [all...] |
/linux-master/drivers/net/vxlan/ |
H A D | vxlan_core.c | 3498 struct socket *sock; local 3532 struct socket *sock; local [all...] |
/linux-master/include/target/iscsi/ |
H A D | iscsi_target_core.h | 554 struct socket *sock; member in struct:iscsit_conn
|
/linux-master/include/linux/ |
H A D | security.h | 1567 security_unix_stream_connect(struct sock *sock, struct sock *other, struct sock *newsk) argument 1574 security_unix_may_send(struct socket *sock, struct socket *other) argument 1586 security_socket_post_create(struct socket *sock, int family, int type, int protocol, int kern) argument 1600 security_socket_bind(struct socket *sock, struct sockaddr *address, int addrlen) argument 1607 security_socket_connect(struct socket *sock, struct sockaddr *address, int addrlen) argument 1614 security_socket_listen(struct socket *sock, int backlog) argument 1619 security_socket_accept(struct socket *sock, struct socket *newsock) argument 1625 security_socket_sendmsg(struct socket *sock, struct msghdr *msg, int size) argument 1631 security_socket_recvmsg(struct socket *sock, struct msghdr *msg, int size, int flags) argument 1638 security_socket_getsockname(struct socket *sock) argument 1643 security_socket_getpeername(struct socket *sock) argument 1648 security_socket_getsockopt(struct socket *sock, int level, int optname) argument 1654 security_socket_setsockopt(struct socket *sock, int level, int optname) argument 1660 security_socket_shutdown(struct socket *sock, int how) argument 1670 security_socket_getpeersec_stream(struct socket *sock, sockptr_t optval, sockptr_t optlen, unsigned int len) argument 1678 security_socket_getpeersec_dgram(struct socket *sock, struct sk_buff *skb, u32 *secid) argument [all...] |
/linux-master/security/ |
H A D | security.c | 4328 int security_unix_stream_connect(struct sock *sock, struct sock *other, argument 4355 security_unix_may_send(struct socket *sock, struct socket *other) argument 4395 security_socket_post_create(struct socket *sock, int family, int type, int protocol, int kern) argument 4430 security_socket_bind(struct socket *sock, struct sockaddr *address, int addrlen) argument 4447 security_socket_connect(struct socket *sock, struct sockaddr *address, int addrlen) argument 4462 security_socket_listen(struct socket *sock, int backlog) argument 4478 security_socket_accept(struct socket *sock, struct socket *newsock) argument 4493 security_socket_sendmsg(struct socket *sock, struct msghdr *msg, int size) argument 4509 security_socket_recvmsg(struct socket *sock, struct msghdr *msg, int size, int flags) argument 4524 security_socket_getsockname(struct socket *sock) argument 4537 security_socket_getpeername(struct socket *sock) argument 4553 security_socket_getsockopt(struct socket *sock, int level, int optname) argument 4568 security_socket_setsockopt(struct socket *sock, int level, int optname) argument 4583 security_socket_shutdown(struct socket *sock, int how) argument 4621 security_socket_getpeersec_stream(struct socket *sock, sockptr_t optval, sockptr_t optlen, unsigned int len) argument 4642 security_socket_getpeersec_dgram(struct socket *sock, struct sk_buff *skb, u32 *secid) argument [all...] |
/linux-master/include/net/ |
H A D | sock.h | 341 struct sock { struct 2046 sk_set_socket(struct sock *sk, struct socket *sock) argument 2354 sock_poll_wait(struct file *filp, struct socket *sock, poll_table *p) argument [all...] |