socket 18 fs/afs/rxrpc.c static struct socket *afs_socket; /* my RxRPC socket */ socket 67 fs/afs/rxrpc.c struct socket *socket; socket 80 fs/afs/rxrpc.c ret = sock_create_kern(AF_RXRPC, SOCK_DGRAM, PF_INET, &socket); socket 87 fs/afs/rxrpc.c socket->sk->sk_allocation = GFP_NOFS; socket 99 fs/afs/rxrpc.c ret = kernel_bind(socket, (struct sockaddr *) &srx, sizeof(srx)); socket 101 fs/afs/rxrpc.c sock_release(socket); socket 106 fs/afs/rxrpc.c rxrpc_kernel_intercept_rx_messages(socket, afs_rx_interceptor); socket 108 fs/afs/rxrpc.c afs_socket = socket; socket 129 fs/cifs/cifsglob.h struct socket *ssocket; socket 340 fs/cifs/connect.c struct socket *csocket = server->ssocket; socket 1855 fs/cifs/connect.c struct socket *csocket = NULL; socket 613 fs/compat_ioctl.c struct socket *mysock = sockfd_lookup(fd, &ret); socket 99 fs/dlm/lowcomms.c struct socket *sock; /* NULL if not connected */ socket 653 fs/dlm/lowcomms.c struct socket *newsock; socket 870 fs/dlm/lowcomms.c struct socket *sock; socket 946 fs/dlm/lowcomms.c static struct socket *tcp_create_listen_sock(struct connection *con, socket 949 fs/dlm/lowcomms.c struct socket *sock = NULL; socket 1052 fs/dlm/lowcomms.c struct socket *sock = NULL; socket 1127 fs/dlm/lowcomms.c struct socket *sock = NULL; socket 1253 fs/dlm/lowcomms.c ssize_t(*sendpage) (struct socket *, struct page *, int, size_t, int); socket 440 fs/ncpfs/inode.c struct socket *sock; socket 537 fs/ncpfs/inode.c struct socket *info_sock; socket 384 fs/ncpfs/sock.c struct socket* sock; socket 110 fs/ocfs2/cluster/tcp.c static struct socket *o2net_listen_sock = NULL; socket 1537 fs/ocfs2/cluster/tcp.c struct socket *sock = NULL; socket 1760 fs/ocfs2/cluster/tcp.c struct socket *new_sock = NULL; socket 1868 fs/ocfs2/cluster/tcp.c struct socket *sock = o2net_listen_sock; socket 1900 fs/ocfs2/cluster/tcp.c struct socket *sock = NULL; socket 1983 fs/ocfs2/cluster/tcp.c struct socket *sock = o2net_listen_sock; socket 133 fs/ocfs2/cluster/tcp_internal.h struct socket *sc_sock; socket 43 fs/smbfs/sock.c return kernel_recvmsg(socket, &msg, &iov, 1, size, msg.msg_flags); socket 52 fs/smbfs/sock.c return socket->sk->sk_user_data; socket 76 fs/smbfs/sock.c static struct socket * socket 98 fs/smbfs/sock.c struct socket *sock = server_sock(server); socket 112 fs/smbfs/sock.c result = _recvfrom(socket, header, 4, MSG_PEEK); socket 129 fs/smbfs/sock.c _recvfrom(socket, header, 4, 0); /* read away */ socket 146 fs/smbfs/sock.c struct socket *sock = server_sock(server); socket 202 fs/smbfs/sock.c struct socket *sock; socket 263 fs/smbfs/sock.c struct socket *sock; socket 310 fs/smbfs/sock.c struct socket *sock; socket 359 fs/smbfs/sock.c struct socket *sock; socket 480 include/linux/atmdev.h int (*ioctl)(struct socket *, unsigned int cmd, unsigned long arg); socket 174 include/linux/if_pppox.h int (*create)(struct net *net, struct socket *sock); socket 175 include/linux/if_pppox.h int (*ioctl)(struct socket *sock, unsigned int cmd, socket 54 include/linux/nbd.h struct socket * sock; socket 33 include/linux/ncp_fs_sb.h struct socket *ncp_sock;/* ncp socket */ socket 35 include/linux/ncp_fs_sb.h struct socket *info_sock; socket 149 include/linux/net.h int (*release) (struct socket *sock); socket 150 include/linux/net.h int (*bind) (struct socket *sock, socket 153 include/linux/net.h int (*connect) (struct socket *sock, socket 156 include/linux/net.h int (*socketpair)(struct socket *sock1, socket 157 include/linux/net.h struct socket *sock2); socket 158 include/linux/net.h int (*accept) (struct socket *sock, socket 159 include/linux/net.h struct socket *newsock, int flags); socket 160 include/linux/net.h int (*getname) (struct socket *sock, socket 163 include/linux/net.h unsigned int (*poll) (struct file *file, struct socket *sock, socket 165 include/linux/net.h int (*ioctl) (struct socket *sock, unsigned int cmd, socket 167 include/linux/net.h int (*compat_ioctl) (struct socket *sock, unsigned int cmd, socket 169 include/linux/net.h int (*listen) (struct socket *sock, int len); socket 170 include/linux/net.h int (*shutdown) (struct socket *sock, int flags); socket 171 include/linux/net.h int (*setsockopt)(struct socket *sock, int level, socket 173 include/linux/net.h int (*getsockopt)(struct socket *sock, int level, socket 175 include/linux/net.h int (*compat_setsockopt)(struct socket *sock, int level, socket 177 include/linux/net.h int (*compat_getsockopt)(struct socket *sock, int level, socket 179 include/linux/net.h int (*sendmsg) (struct kiocb *iocb, struct socket *sock, socket 181 include/linux/net.h int (*recvmsg) (struct kiocb *iocb, struct socket *sock, socket 184 include/linux/net.h int (*mmap) (struct file *file, struct socket *sock, socket 186 include/linux/net.h ssize_t (*sendpage) (struct socket *sock, struct page *page, socket 188 include/linux/net.h ssize_t (*splice_read)(struct socket *sock, loff_t *ppos, socket 194 include/linux/net.h int (*create)(struct net *net, struct socket *sock, int protocol); socket 223 include/linux/net.h extern struct socket *sockfd_lookup(int fd, int *err); socket 288 include/linux/net.h SOCKCALL_WRAP(name, release, (struct socket *sock), (sock)) \ socket 289 include/linux/net.h SOCKCALL_WRAP(name, bind, (struct socket *sock, struct sockaddr *uaddr, int addr_len), \ socket 291 include/linux/net.h SOCKCALL_WRAP(name, connect, (struct socket *sock, struct sockaddr * uaddr, \ socket 294 include/linux/net.h SOCKCALL_WRAP(name, socketpair, (struct socket *sock1, struct socket *sock2), \ socket 296 include/linux/net.h SOCKCALL_WRAP(name, accept, (struct socket *sock, struct socket *newsock, \ socket 298 include/linux/net.h SOCKCALL_WRAP(name, getname, (struct socket *sock, struct sockaddr *uaddr, \ socket 300 include/linux/net.h SOCKCALL_UWRAP(name, poll, (struct file *file, struct socket *sock, struct poll_table_struct *wait), \ socket 302 include/linux/net.h SOCKCALL_WRAP(name, ioctl, (struct socket *sock, unsigned int cmd, \ socket 304 include/linux/net.h SOCKCALL_WRAP(name, compat_ioctl, (struct socket *sock, unsigned int cmd, \ socket 306 include/linux/net.h SOCKCALL_WRAP(name, listen, (struct socket *sock, int len), (sock, len)) \ socket 307 include/linux/net.h SOCKCALL_WRAP(name, shutdown, (struct socket *sock, int flags), (sock, flags)) \ socket 308 include/linux/net.h SOCKCALL_WRAP(name, setsockopt, (struct socket *sock, int level, int optname, \ socket 310 include/linux/net.h SOCKCALL_WRAP(name, getsockopt, (struct socket *sock, int level, int optname, \ socket 312 include/linux/net.h SOCKCALL_WRAP(name, sendmsg, (struct kiocb *iocb, struct socket *sock, struct msghdr *m, size_t len), \ socket 314 include/linux/net.h SOCKCALL_WRAP(name, recvmsg, (struct kiocb *iocb, struct socket *sock, struct msghdr *m, size_t len, int flags), \ socket 316 include/linux/net.h SOCKCALL_WRAP(name, mmap, (struct file *file, struct socket *sock, struct vm_area_struct *vma), \ socket 76 include/linux/security.h struct socket; socket 1483 include/linux/security.h int (*unix_stream_connect) (struct socket *sock, socket 1484 include/linux/security.h struct socket *other, struct sock *newsk); socket 1485 include/linux/security.h int (*unix_may_send) (struct socket *sock, struct socket *other); socket 1488 include/linux/security.h int (*socket_post_create) (struct socket *sock, int family, socket 1490 include/linux/security.h int (*socket_bind) (struct socket *sock, socket 1492 include/linux/security.h int (*socket_connect) (struct socket *sock, socket 1494 include/linux/security.h int (*socket_listen) (struct socket *sock, int backlog); socket 1495 include/linux/security.h int (*socket_accept) (struct socket *sock, struct socket *newsock); socket 1496 include/linux/security.h void (*socket_post_accept) (struct socket *sock, socket 1497 include/linux/security.h struct socket *newsock); socket 1498 include/linux/security.h int (*socket_sendmsg) (struct socket *sock, socket 1500 include/linux/security.h int (*socket_recvmsg) (struct socket *sock, socket 1502 include/linux/security.h int (*socket_getsockname) (struct socket *sock); socket 1503 include/linux/security.h int (*socket_getpeername) (struct socket *sock); socket 1504 include/linux/security.h int (*socket_getsockopt) (struct socket *sock, int level, int optname); socket 1505 include/linux/security.h int (*socket_setsockopt) (struct socket *sock, int level, int optname); socket 1506 include/linux/security.h int (*socket_shutdown) (struct socket *sock, int how); socket 1508 include/linux/security.h int (*socket_getpeersec_stream) (struct socket *sock, char __user *optval, int __user *optlen, unsigned len); socket 1509 include/linux/security.h int (*socket_getpeersec_dgram) (struct socket *sock, struct sk_buff *skb, u32 *secid); socket 1514 include/linux/security.h void (*sock_graft) (struct sock *sk, struct socket *parent); socket 20 include/linux/sunrpc/svcsock.h struct socket * sk_sock; /* berkeley socket layer */ socket 156 include/net/bluetooth/rfcomm.h struct socket *sock; socket 14 include/net/inet_common.h struct socket; socket 266 include/net/sock.h struct socket *sk_socket; socket 685 include/net/sock.h struct socket *sock; socket 703 include/net/sock.h struct socket socket; socket 707 include/net/sock.h static inline struct socket *SOCKET_I(struct inode *inode) socket 709 include/net/sock.h return &container_of(inode, struct socket_alloc, vfs_inode)->socket; socket 714 include/net/sock.h return &container_of(socket, struct socket_alloc, socket)->vfs_inode; socket 75 include/pcmcia/ds.h struct pcmcia_socket *socket; socket 187 include/pcmcia/ds.h pccard_get_first_tuple(p_dev->socket, p_dev->func, tuple) socket 192 include/pcmcia/ds.h pccard_get_next_tuple(p_dev->socket, p_dev->func, tuple) socket 196 include/pcmcia/ds.h pccard_get_tuple_data(p_dev->socket, tuple) socket 147 include/pcmcia/ss.h socket_state_t socket; socket 39 include/scsi/libiscsi.h struct socket; socket 1410 net/9p/trans_fd.c struct socket *csocket; socket 1479 net/9p/trans_fd.c struct socket *csocket; socket 166 net/bluetooth/bnep/bnep.h struct socket *sock; socket 100 net/bluetooth/bnep/core.c struct socket *sock = s->sock; socket 409 net/bluetooth/bnep/core.c struct socket *sock = s->sock; socket 74 net/bluetooth/bnep/sock.c struct socket *nsock; socket 73 net/bluetooth/cmtp/cmtp.h struct socket *sock; socket 202 net/bluetooth/cmtp/core.c struct socket *sock = session->sock; socket 72 net/bluetooth/cmtp/sock.c struct socket *nsock; socket 129 net/bluetooth/hidp/hidp.h struct socket *ctrl_sock; socket 130 net/bluetooth/hidp/hidp.h struct socket *intr_sock; socket 69 net/bluetooth/hidp/sock.c struct socket *csock; socket 70 net/bluetooth/hidp/sock.c struct socket *isock; socket 632 net/bluetooth/rfcomm/core.c struct socket *sock; socket 689 net/bluetooth/rfcomm/core.c struct socket *sock = s->sock; socket 983 net/bluetooth/rfcomm/core.c struct socket *sock = s->sock; socket 1753 net/bluetooth/rfcomm/core.c struct socket *sock = s->sock; socket 1775 net/bluetooth/rfcomm/core.c struct socket *sock = s->sock, *nsock; socket 1870 net/bluetooth/rfcomm/core.c struct socket *sock; socket 386 net/compat.c struct socket *sock; socket 502 net/compat.c struct socket *sock; socket 30 net/core/stream.c struct socket *sock = sk->sk_socket; socket 907 net/decnet/af_decnet.c struct socket *sock = sk->sk_socket; socket 601 net/decnet/dn_nsp_in.c struct socket *sock = sk->sk_socket; socket 61 net/econet/af_econet.c static struct socket *udpsock; socket 1251 net/ipv4/af_inet.c struct socket *sock; socket 72 net/netfilter/ipvs/ip_vs_sync.c struct socket *sock; socket 597 net/netfilter/ipvs/ip_vs_sync.c static struct socket * make_send_sock(void) socket 599 net/netfilter/ipvs/ip_vs_sync.c struct socket *sock; socket 642 net/netfilter/ipvs/ip_vs_sync.c static struct socket * make_receive_sock(void) socket 644 net/netfilter/ipvs/ip_vs_sync.c struct socket *sock; socket 822 net/netfilter/ipvs/ip_vs_sync.c struct socket *sock; socket 1363 net/netlink/af_netlink.c struct socket *sock; socket 1722 net/packet/af_packet.c struct socket * sock = file->private_data; socket 1732 net/packet/af_packet.c struct socket * sock = file->private_data; socket 335 net/rxrpc/af_rxrpc.c rxrpc_remove_user_ID(call->socket, call); socket 58 net/rxrpc/ar-accept.c ret = kernel_sendmsg(local->socket, &msg, iov, 1, len); socket 1114 net/rxrpc/ar-ack.c &call->socket->acceptq); socket 1218 net/rxrpc/ar-ack.c ret = kernel_sendmsg(call->conn->trans->local->socket, socket 121 net/rxrpc/ar-call.c call->socket = rx; socket 262 net/rxrpc/ar-call.c candidate->socket = rx; socket 421 net/rxrpc/ar-call.c struct rxrpc_sock *rx = call->socket; socket 639 net/rxrpc/ar-call.c ASSERT(call->socket); socket 692 net/rxrpc/ar-call.c sock_put(&call->socket->sk); socket 115 net/rxrpc/ar-connevent.c ret = kernel_sendmsg(conn->trans->local->socket, &msg, iov, 2, len); socket 390 net/rxrpc/ar-connevent.c kernel_sendmsg(local->socket, &msg, iov, 2, size); socket 47 net/rxrpc/ar-input.c struct rxrpc_sock *rx = call->socket; socket 89 net/rxrpc/ar-input.c call->socket->sk.sk_state != RXRPC_CLOSE) { socket 151 net/rxrpc/ar-internal.h struct socket *socket; /* my UDP socket */ socket 299 net/rxrpc/ar-internal.h struct rxrpc_sock *socket; /* socket responsible */ socket 68 net/rxrpc/ar-local.c &local->socket); socket 77 net/rxrpc/ar-local.c ret = kernel_bind(local->socket, socket 88 net/rxrpc/ar-local.c ret = kernel_setsockopt(local->socket, SOL_IP, IP_RECVERR, socket 97 net/rxrpc/ar-local.c ret = kernel_setsockopt(local->socket, SOL_IP, IP_MTU_DISCOVER, socket 109 net/rxrpc/ar-local.c sock = local->socket->sk; socket 117 net/rxrpc/ar-local.c kernel_sock_shutdown(local->socket, SHUT_RDWR); socket 118 net/rxrpc/ar-local.c local->socket->sk->sk_user_data = NULL; socket 119 net/rxrpc/ar-local.c sock_release(local->socket); socket 120 net/rxrpc/ar-local.c local->socket = NULL; socket 258 net/rxrpc/ar-local.c local->socket->sk->sk_user_data = NULL; socket 270 net/rxrpc/ar-local.c kernel_sock_shutdown(local->socket, SHUT_RDWR); socket 271 net/rxrpc/ar-local.c sock_release(local->socket); socket 218 net/rxrpc/ar-output.c lock_sock(&call->socket->sk); socket 232 net/rxrpc/ar-output.c ret = rxrpc_send_data(NULL, call->socket, call, msg, len); socket 236 net/rxrpc/ar-output.c release_sock(&call->socket->sk); socket 254 net/rxrpc/ar-output.c lock_sock(&call->socket->sk); socket 262 net/rxrpc/ar-output.c release_sock(&call->socket->sk); socket 360 net/rxrpc/ar-output.c ret = kernel_sendmsg(trans->local->socket, &msg, iov, 1, socket 377 net/rxrpc/ar-output.c ret = kernel_setsockopt(trans->local->socket, SOL_IP, IP_MTU_DISCOVER, socket 380 net/rxrpc/ar-output.c ret = kernel_sendmsg(trans->local->socket, &msg, iov, 1, socket 384 net/rxrpc/ar-output.c kernel_setsockopt(trans->local->socket, SOL_IP, socket 28 net/rxrpc/ar-recvmsg.c rb_erase(&call->sock_node, &call->socket->calls); socket 614 net/rxrpc/rxkad.c ret = kernel_sendmsg(conn->trans->local->socket, &msg, iov, 2, len); socket 664 net/rxrpc/rxkad.c ret = kernel_sendmsg(conn->trans->local->socket, &msg, iov, 3, len); socket 17 net/sched/sch_atm.c extern struct socket *sockfd_lookup(int fd, int *err); /* @@@ fix this */ socket 49 net/sched/sch_atm.c struct socket *sock; /* for closing */ socket 211 net/sched/sch_atm.c struct socket *sock; socket 3875 net/sctp/socket.c struct socket *sock; socket 3912 net/sctp/socket.c struct socket *newsock; socket 6244 net/sctp/socket.c struct socket *sock = sk->sk_socket; socket 250 net/socket.c init_waitqueue_head(&ei->socket.wait); socket 252 net/socket.c ei->socket.fasync_list = NULL; socket 253 net/socket.c ei->socket.state = SS_UNCONNECTED; socket 254 net/socket.c ei->socket.flags = 0; socket 255 net/socket.c ei->socket.ops = NULL; socket 256 net/socket.c ei->socket.sk = NULL; socket 257 net/socket.c ei->socket.file = NULL; socket 419 net/socket.c static struct socket *sock_from_file(struct file *file, int *err) socket 441 net/socket.c struct socket *sockfd_lookup(int fd, int *err) socket 444 net/socket.c struct socket *sock; socket 458 net/socket.c static struct socket *sockfd_lookup_light(int fd, int *err, int *fput_needed) socket 461 net/socket.c struct socket *sock; socket 482 net/socket.c static struct socket *sock_alloc(void) socket 485 net/socket.c struct socket *sock; socket 689 net/socket.c struct socket *sock; socket 705 net/socket.c struct socket *sock = file->private_data; socket 732 net/socket.c struct socket *sock = file->private_data; socket 772 net/socket.c struct socket *sock = file->private_data; socket 855 net/socket.c struct socket *sock; socket 937 net/socket.c struct socket *sock = NULL; socket 966 net/socket.c struct socket *sock; socket 977 net/socket.c struct socket *sock = file->private_data; socket 1016 net/socket.c struct socket *sock; socket 1100 net/socket.c struct socket *sock; socket 1222 net/socket.c struct socket *sock; socket 1263 net/socket.c struct socket *sock1, *sock2; socket 1370 net/socket.c struct socket *sock; socket 1399 net/socket.c struct socket *sock; socket 1433 net/socket.c struct socket *sock, *newsock; socket 1591 net/socket.c struct socket *sock; socket 1623 net/socket.c struct socket *sock; socket 1654 net/socket.c struct socket *sock; socket 1687 net/socket.c struct socket *sock; socket 1743 net/socket.c struct socket *sock; socket 1797 net/socket.c struct socket *sock; socket 1831 net/socket.c struct socket *sock; socket 1860 net/socket.c struct socket *sock; socket 1887 net/socket.c struct socket *sock; socket 1994 net/socket.c struct socket *sock; socket 2324 net/socket.c struct socket *sock = file->private_data; socket 166 net/sunrpc/svcsock.c struct socket *sock = svsk->sk_sock; socket 299 net/sunrpc/svcsock.c struct socket *sock = svsk->sk_sock; socket 717 net/sunrpc/svcsock.c struct socket *sock = svsk->sk_sock; socket 718 net/sunrpc/svcsock.c struct socket *newsock; socket 1173 net/sunrpc/svcsock.c struct socket *so = sockfd_lookup(fd, &err); socket 1218 net/sunrpc/svcsock.c struct socket *sock; socket 218 net/sunrpc/xprtsock.c struct socket * sock; socket 628 net/sunrpc/xprtsock.c struct socket *sock = transport->sock; socket 755 net/sunrpc/xprtsock.c struct socket *sock = transport->sock; socket 1198 net/sunrpc/xprtsock.c struct socket *sock; socket 1233 net/sunrpc/xprtsock.c struct socket *sock; socket 1488 net/sunrpc/xprtsock.c struct socket *sock = transport->sock; socket 1529 net/sunrpc/xprtsock.c struct socket *sock = transport->sock; socket 1633 net/sunrpc/xprtsock.c struct socket *sock = transport->sock; socket 1693 net/sunrpc/xprtsock.c struct socket *sock = transport->sock; socket 1195 net/tipc/socket.c struct socket *sock = sk->sk_socket; socket 107 net/unix/garbage.c struct socket * sock = SOCKET_I(inode); socket 4377 security/selinux/hooks.c struct socket *sock = sk->sk_socket; socket 383 security/selinux/netlabel.c struct socket *sock; socket 711 security/smack/smack_lsm.c struct socket *sock; socket 1360 security/smack/smack_lsm.c struct socket *sock;