sock             1466 fs/cifs/connect.c 	struct sock *sk = sock->sk;
sock             1475 fs/cifs/connect.c 	struct sock *sk = sock->sk;
sock               99 fs/dlm/lowcomms.c 	struct socket *sock;	/* NULL if not connected */
sock              291 fs/dlm/lowcomms.c 	con->sock = sock;
sock              294 fs/dlm/lowcomms.c 	con->sock->sk->sk_data_ready = lowcomms_data_ready;
sock              295 fs/dlm/lowcomms.c 	con->sock->sk->sk_write_space = lowcomms_write_space;
sock              296 fs/dlm/lowcomms.c 	con->sock->sk->sk_state_change = lowcomms_state_change;
sock              297 fs/dlm/lowcomms.c 	con->sock->sk->sk_user_data = con;
sock              325 fs/dlm/lowcomms.c 	if (con->sock) {
sock              326 fs/dlm/lowcomms.c 		sock_release(con->sock);
sock              327 fs/dlm/lowcomms.c 		con->sock = NULL;
sock              372 fs/dlm/lowcomms.c 	ret = kernel_sendmsg(con->sock, &outmessage, NULL, 0, 0);
sock              437 fs/dlm/lowcomms.c 			ret = kernel_getsockopt(con->sock,
sock              472 fs/dlm/lowcomms.c 			ret = kernel_getsockopt(con->sock, IPPROTO_SCTP,
sock              481 fs/dlm/lowcomms.c 			new_con->sock = SOCKET_I(file->f_dentry->d_inode);
sock              482 fs/dlm/lowcomms.c 			add_sock(new_con->sock, new_con);
sock              543 fs/dlm/lowcomms.c 	if (con->sock == NULL) {
sock              585 fs/dlm/lowcomms.c 	r = ret = kernel_recvmsg(con->sock, &msg, iov, nvec, len,
sock              668 fs/dlm/lowcomms.c 	if (con->sock == NULL)
sock              671 fs/dlm/lowcomms.c 	newsock->type = con->sock->type;
sock              672 fs/dlm/lowcomms.c 	newsock->ops = con->sock->ops;
sock              674 fs/dlm/lowcomms.c 	result = con->sock->ops->accept(con->sock, newsock, O_NONBLOCK);
sock              708 fs/dlm/lowcomms.c 	if (newcon->sock) {
sock              726 fs/dlm/lowcomms.c 		if (!othercon->sock) {
sock              728 fs/dlm/lowcomms.c 			othercon->sock = newsock;
sock              841 fs/dlm/lowcomms.c 	ret = kernel_sendmsg(base_con->sock, &outmessage, iov, 1, len);
sock              870 fs/dlm/lowcomms.c 	struct socket *sock;
sock              882 fs/dlm/lowcomms.c 	if (con->sock) {
sock              889 fs/dlm/lowcomms.c 				  IPPROTO_TCP, &sock);
sock              895 fs/dlm/lowcomms.c 		sock_release(sock);
sock              899 fs/dlm/lowcomms.c 	sock->sk->sk_user_data = con;
sock              902 fs/dlm/lowcomms.c 	add_sock(sock, con);
sock              908 fs/dlm/lowcomms.c 	result = sock->ops->bind(sock, (struct sockaddr *) &src_addr,
sock              919 fs/dlm/lowcomms.c 		sock->ops->connect(sock, (struct sockaddr *)&saddr, addr_len,
sock              927 fs/dlm/lowcomms.c 	if (con->sock) {
sock              928 fs/dlm/lowcomms.c 		sock_release(con->sock);
sock              929 fs/dlm/lowcomms.c 		con->sock = NULL;
sock              949 fs/dlm/lowcomms.c 	struct socket *sock = NULL;
sock              961 fs/dlm/lowcomms.c 				  IPPROTO_TCP, &sock);
sock              967 fs/dlm/lowcomms.c 	result = kernel_setsockopt(sock, SOL_SOCKET, SO_REUSEADDR,
sock              973 fs/dlm/lowcomms.c 	sock->sk->sk_user_data = con;
sock              976 fs/dlm/lowcomms.c 	con->sock = sock;
sock              980 fs/dlm/lowcomms.c 	result = sock->ops->bind(sock, (struct sockaddr *) saddr, addr_len);
sock              983 fs/dlm/lowcomms.c 		sock_release(sock);
sock              984 fs/dlm/lowcomms.c 		sock = NULL;
sock              985 fs/dlm/lowcomms.c 		con->sock = NULL;
sock              988 fs/dlm/lowcomms.c 	result = kernel_setsockopt(sock, SOL_SOCKET, SO_KEEPALIVE,
sock              994 fs/dlm/lowcomms.c 	result = sock->ops->listen(sock, 5);
sock              997 fs/dlm/lowcomms.c 		sock_release(sock);
sock              998 fs/dlm/lowcomms.c 		sock = NULL;
sock             1003 fs/dlm/lowcomms.c 	return sock;
sock             1034 fs/dlm/lowcomms.c 		result = kernel_bind(sctp_con->sock,
sock             1038 fs/dlm/lowcomms.c 		result = kernel_setsockopt(sctp_con->sock, SOL_SCTP,
sock             1052 fs/dlm/lowcomms.c 	struct socket *sock = NULL;
sock             1065 fs/dlm/lowcomms.c 				  IPPROTO_SCTP, &sock);
sock             1079 fs/dlm/lowcomms.c 	result = kernel_setsockopt(sock, SOL_SOCKET, SO_RCVBUFFORCE,
sock             1084 fs/dlm/lowcomms.c 	result = kernel_setsockopt(sock, SOL_SCTP, SCTP_EVENTS,
sock             1093 fs/dlm/lowcomms.c 	sock->sk->sk_user_data = con;
sock             1094 fs/dlm/lowcomms.c 	con->sock = sock;
sock             1095 fs/dlm/lowcomms.c 	con->sock->sk->sk_data_ready = lowcomms_data_ready;
sock             1110 fs/dlm/lowcomms.c 	result = sock->ops->listen(sock, 5);
sock             1119 fs/dlm/lowcomms.c 	sock_release(sock);
sock             1120 fs/dlm/lowcomms.c 	con->sock = NULL;
sock             1127 fs/dlm/lowcomms.c 	struct socket *sock = NULL;
sock             1143 fs/dlm/lowcomms.c 	sock = tcp_create_listen_sock(con, dlm_local_addr[0]);
sock             1144 fs/dlm/lowcomms.c 	if (sock) {
sock             1145 fs/dlm/lowcomms.c 		add_sock(sock, con);
sock             1259 fs/dlm/lowcomms.c 	if (con->sock == NULL)
sock             1262 fs/dlm/lowcomms.c 	sendpage = con->sock->ops->sendpage;
sock             1279 fs/dlm/lowcomms.c 			ret = sendpage(con->sock, e->page, offset, len,
sock             1428 fs/dlm/lowcomms.c 			if (con->sock)
sock             1429 fs/dlm/lowcomms.c 				con->sock->sk->sk_user_data = NULL;
sock               28 fs/ecryptfs/netlink.c static struct sock *ecryptfs_nl_sock;
sock              301 fs/ncpfs/inode.c 	struct sock* sk = server->ncp_sock->sk;
sock              440 fs/ncpfs/inode.c 	struct socket *sock;
sock              514 fs/ncpfs/inode.c 	sock = SOCKET_I(sock_inode);
sock              515 fs/ncpfs/inode.c 	if (!sock)
sock              518 fs/ncpfs/inode.c 	if (sock->type == SOCK_STREAM)
sock              534 fs/ncpfs/inode.c 	server->ncp_sock = sock;
sock              597 fs/ncpfs/inode.c 	server->data_ready	= sock->sk->sk_data_ready;
sock              598 fs/ncpfs/inode.c 	server->write_space	= sock->sk->sk_write_space;
sock              599 fs/ncpfs/inode.c 	server->error_report	= sock->sk->sk_error_report;
sock              600 fs/ncpfs/inode.c 	sock->sk->sk_user_data	= server;
sock              617 fs/ncpfs/inode.c 	sock->sk->sk_data_ready	  = ncp_tcp_data_ready;
sock              618 fs/ncpfs/inode.c 	sock->sk->sk_error_report = ncp_tcp_error_report;
sock              619 fs/ncpfs/inode.c 	if (sock->type == SOCK_STREAM) {
sock              625 fs/ncpfs/inode.c 		sock->sk->sk_write_space = ncp_tcp_write_space;
sock               38 fs/ncpfs/sock.c 	return kernel_recvmsg(sock, &msg, &iov, 1, size, flags);
sock               45 fs/ncpfs/sock.c 	return kernel_sendmsg(sock, &msg, vec, count, len);
sock               53 fs/ncpfs/sock.c 	return do_send(sock, &vec, 1, len, 0);
sock              209 fs/ncpfs/sock.c 	return do_send(sock, vec, req->tx_iovlen,
sock              384 fs/ncpfs/sock.c 	struct socket* sock;
sock              386 fs/ncpfs/sock.c 	sock = server->ncp_sock;
sock              392 fs/ncpfs/sock.c 		result = _recv(sock, &reply, sizeof(reply), MSG_PEEK | MSG_DONTWAIT);
sock              405 fs/ncpfs/sock.c 				result = _recv(sock, buf, sizeof(buf), MSG_DONTWAIT);
sock              419 fs/ncpfs/sock.c 				_send(sock, buf, sizeof(buf));
sock              423 fs/ncpfs/sock.c 				result = _recv(sock, server->unexpected_packet.data, sizeof(server->unexpected_packet.data), MSG_DONTWAIT);
sock              439 fs/ncpfs/sock.c 					result = _recv(sock, server->rxbuf, req->datalen, MSG_DONTWAIT);
sock              448 fs/ncpfs/sock.c 							hdrl = sock->sk->sk_family == AF_INET ? 8 : 6;
sock              467 fs/ncpfs/sock.c 		_recv(sock, &reply, sizeof(reply), MSG_DONTWAIT);
sock              543 fs/ocfs2/cluster/tcp.c 	void (*ready)(struct sock *sk, int bytes);
sock              563 fs/ocfs2/cluster/tcp.c 	void (*state_change)(struct sock *sk);
sock              871 fs/ocfs2/cluster/tcp.c 	ret = sock_recvmsg(sock, &msg, len, msg.msg_flags);
sock              887 fs/ocfs2/cluster/tcp.c 	if (sock == NULL) {
sock              894 fs/ocfs2/cluster/tcp.c 	ret = sock_sendmsg(sock, &msg, total);
sock             1126 fs/ocfs2/cluster/tcp.c 	return o2net_send_tcp_msg(sock, &vec, 1, sizeof(struct o2net_msg));
sock             1423 fs/ocfs2/cluster/tcp.c 	ret = sock->ops->setsockopt(sock, SOL_TCP, TCP_NODELAY,
sock             1537 fs/ocfs2/cluster/tcp.c 	struct socket *sock = NULL;
sock             1584 fs/ocfs2/cluster/tcp.c 	ret = sock_create(PF_INET, SOCK_STREAM, IPPROTO_TCP, &sock);
sock             1589 fs/ocfs2/cluster/tcp.c 	sc->sc_sock = sock; /* freed by sc_kref_release */
sock             1591 fs/ocfs2/cluster/tcp.c 	sock->sk->sk_allocation = GFP_ATOMIC;
sock             1597 fs/ocfs2/cluster/tcp.c 	ret = sock->ops->bind(sock, (struct sockaddr *)&myaddr,
sock             1765 fs/ocfs2/cluster/tcp.c 	BUG_ON(sock == NULL);
sock             1766 fs/ocfs2/cluster/tcp.c 	ret = sock_create_lite(sock->sk->sk_family, sock->sk->sk_type,
sock             1767 fs/ocfs2/cluster/tcp.c 			       sock->sk->sk_protocol, &new_sock);
sock             1771 fs/ocfs2/cluster/tcp.c 	new_sock->type = sock->type;
sock             1772 fs/ocfs2/cluster/tcp.c 	new_sock->ops = sock->ops;
sock             1773 fs/ocfs2/cluster/tcp.c 	ret = sock->ops->accept(sock, new_sock, O_NONBLOCK);
sock             1868 fs/ocfs2/cluster/tcp.c 	struct socket *sock = o2net_listen_sock;
sock             1869 fs/ocfs2/cluster/tcp.c 	while (o2net_accept_one(sock) == 0)
sock             1875 fs/ocfs2/cluster/tcp.c 	void (*ready)(struct sock *sk, int bytes);
sock             1900 fs/ocfs2/cluster/tcp.c 	struct socket *sock = NULL;
sock             1908 fs/ocfs2/cluster/tcp.c 	ret = sock_create(PF_INET, SOCK_STREAM, IPPROTO_TCP, &sock);
sock             1914 fs/ocfs2/cluster/tcp.c 	sock->sk->sk_allocation = GFP_ATOMIC;
sock             1916 fs/ocfs2/cluster/tcp.c 	write_lock_bh(&sock->sk->sk_callback_lock);
sock             1917 fs/ocfs2/cluster/tcp.c 	sock->sk->sk_user_data = sock->sk->sk_data_ready;
sock             1918 fs/ocfs2/cluster/tcp.c 	sock->sk->sk_data_ready = o2net_listen_data_ready;
sock             1919 fs/ocfs2/cluster/tcp.c 	write_unlock_bh(&sock->sk->sk_callback_lock);
sock             1921 fs/ocfs2/cluster/tcp.c 	o2net_listen_sock = sock;
sock             1924 fs/ocfs2/cluster/tcp.c 	sock->sk->sk_reuse = 1;
sock             1925 fs/ocfs2/cluster/tcp.c 	ret = sock->ops->bind(sock, (struct sockaddr *)&sin, sizeof(sin));
sock             1932 fs/ocfs2/cluster/tcp.c 	ret = sock->ops->listen(sock, 64);
sock             1941 fs/ocfs2/cluster/tcp.c 		if (sock)
sock             1942 fs/ocfs2/cluster/tcp.c 			sock_release(sock);
sock             1983 fs/ocfs2/cluster/tcp.c 	struct socket *sock = o2net_listen_sock;
sock             1990 fs/ocfs2/cluster/tcp.c 	write_lock_bh(&sock->sk->sk_callback_lock);
sock             1991 fs/ocfs2/cluster/tcp.c 	sock->sk->sk_data_ready = sock->sk->sk_user_data;
sock             1992 fs/ocfs2/cluster/tcp.c 	sock->sk->sk_user_data = NULL;
sock             1993 fs/ocfs2/cluster/tcp.c 	write_unlock_bh(&sock->sk->sk_callback_lock);
sock               70 fs/ocfs2/cluster/tcp.h 	if (sock) {
sock               71 fs/ocfs2/cluster/tcp.h 		if (sock->sk->sk_state != TCP_ESTABLISHED &&
sock               72 fs/ocfs2/cluster/tcp.h 	    	    sock->sk->sk_state != TCP_CLOSE_WAIT)
sock              167 fs/ocfs2/cluster/tcp_internal.h 	void			(*sc_state_change)(struct sock *sk);
sock              168 fs/ocfs2/cluster/tcp_internal.h 	void			(*sc_data_ready)(struct sock *sk, int bytes);
sock              852 fs/smbfs/proc.c 	struct sock *sk;
sock                6 fs/smbfs/proto.h struct sock;
sock               62 fs/smbfs/sock.c 	void (*data_ready)(struct sock *, int) = server->data_ready;
sock               98 fs/smbfs/sock.c 		struct socket *sock = server_sock(server);
sock              100 fs/smbfs/sock.c 		VERBOSE("closing socket %p\n", sock);
sock              101 fs/smbfs/sock.c 		sock->sk->sk_data_ready = server->data_ready;
sock              146 fs/smbfs/sock.c 	struct socket *sock = server_sock(server);
sock              150 fs/smbfs/sock.c 	err = sock->ops->ioctl(sock, SIOCINQ, (unsigned long) &avail);
sock              202 fs/smbfs/sock.c 	struct socket *sock;
sock              207 fs/smbfs/sock.c 	sock = server_sock(server);
sock              208 fs/smbfs/sock.c 	if (!sock)
sock              210 fs/smbfs/sock.c 	if (sock->sk->sk_state != TCP_ESTABLISHED)
sock              214 fs/smbfs/sock.c 		result = smb_get_length(sock, peek_buf);
sock              236 fs/smbfs/sock.c 	result = _recvfrom(sock, server->header + server->smb_read,
sock              263 fs/smbfs/sock.c 	struct socket *sock;
sock              273 fs/smbfs/sock.c 	sock = server_sock(server);
sock              274 fs/smbfs/sock.c 	if (!sock)
sock              276 fs/smbfs/sock.c 	if (sock->sk->sk_state != TCP_ESTABLISHED)
sock              287 fs/smbfs/sock.c 	result = kernel_recvmsg(sock, &msg, &iov, 1, rlen, flags);
sock              310 fs/smbfs/sock.c 	struct socket *sock;
sock              319 fs/smbfs/sock.c 	sock = server_sock(server);
sock              320 fs/smbfs/sock.c 	if (!sock)
sock              322 fs/smbfs/sock.c 	if (sock->sk->sk_state != TCP_ESTABLISHED)
sock              335 fs/smbfs/sock.c 	result = kernel_recvmsg(sock, &msg, p, num, rlen, flags);
sock              359 fs/smbfs/sock.c 	struct socket *sock;
sock              367 fs/smbfs/sock.c 	sock = server_sock(server);
sock              368 fs/smbfs/sock.c 	if (!sock)
sock              370 fs/smbfs/sock.c 	if (sock->sk->sk_state != TCP_ESTABLISHED)
sock              377 fs/smbfs/sock.c 	result = kernel_sendmsg(sock, &msg, p, num, slen);
sock               74 include/linux/atalk.h 	struct sock	sk;
sock              289 include/linux/atmdev.h 	struct sock	sk;
sock              325 include/linux/atmdev.h 	return atm_sk(sock->sk);
sock              328 include/linux/atmdev.h static inline struct sock *sk_atm(struct atm_vcc *vcc)
sock              330 include/linux/atmdev.h 	return (struct sock *)vcc;
sock              116 include/linux/connector.h 	struct sock *nls;
sock              154 include/linux/connector.h 	struct sock *nls;
sock              144 include/linux/filter.h struct sock;
sock               52 include/linux/if_ec.h   struct sock	sk;
sock              148 include/linux/if_pppox.h 	struct sock		sk;
sock              166 include/linux/if_pppox.h static inline struct sock *sk_pppox(struct pppox_sock *po)
sock              168 include/linux/if_pppox.h 	return (struct sock *)po;
sock              174 include/linux/if_pppox.h 	int		(*create)(struct net *net, struct socket *sock);
sock              175 include/linux/if_pppox.h 	int		(*ioctl)(struct socket *sock, unsigned int cmd,
sock              122 include/linux/inet_diag.h struct sock;
sock              127 include/linux/inet_diag.h 	void			(*idiag_get_info)(struct sock *sk,
sock              415 include/linux/mISDNif.h 	struct sock		sk;
sock              133 include/linux/mroute6.h struct sock;
sock              235 include/linux/mroute6.h extern struct sock *mroute6_socket;
sock               54 include/linux/nbd.h 	struct socket * sock;
sock               22 include/linux/ncp_fs_sb.h struct sock;
sock               96 include/linux/ncp_fs_sb.h 	void (*data_ready)(struct sock* sk, int len);
sock               97 include/linux/ncp_fs_sb.h 	void (*error_report)(struct sock* sk);
sock               98 include/linux/ncp_fs_sb.h 	void (*write_space)(struct sock* sk);	/* STREAM mode only */
sock              135 include/linux/net.h 	struct sock		*sk;
sock              149 include/linux/net.h 	int		(*release)   (struct socket *sock);
sock              150 include/linux/net.h 	int		(*bind)	     (struct socket *sock,
sock              153 include/linux/net.h 	int		(*connect)   (struct socket *sock,
sock              158 include/linux/net.h 	int		(*accept)    (struct socket *sock,
sock              160 include/linux/net.h 	int		(*getname)   (struct socket *sock,
sock              163 include/linux/net.h 	unsigned int	(*poll)	     (struct file *file, struct socket *sock,
sock              165 include/linux/net.h 	int		(*ioctl)     (struct socket *sock, unsigned int cmd,
sock              167 include/linux/net.h 	int	 	(*compat_ioctl) (struct socket *sock, unsigned int cmd,
sock              169 include/linux/net.h 	int		(*listen)    (struct socket *sock, int len);
sock              170 include/linux/net.h 	int		(*shutdown)  (struct socket *sock, int flags);
sock              171 include/linux/net.h 	int		(*setsockopt)(struct socket *sock, int level,
sock              173 include/linux/net.h 	int		(*getsockopt)(struct socket *sock, int level,
sock              175 include/linux/net.h 	int		(*compat_setsockopt)(struct socket *sock, int level,
sock              177 include/linux/net.h 	int		(*compat_getsockopt)(struct socket *sock, int level,
sock              179 include/linux/net.h 	int		(*sendmsg)   (struct kiocb *iocb, struct socket *sock,
sock              181 include/linux/net.h 	int		(*recvmsg)   (struct kiocb *iocb, struct socket *sock,
sock              184 include/linux/net.h 	int		(*mmap)	     (struct file *file, struct socket *sock,
sock              186 include/linux/net.h 	ssize_t		(*sendpage)  (struct socket *sock, struct page *page,
sock              188 include/linux/net.h 	ssize_t 	(*splice_read)(struct socket *sock,  loff_t *ppos,
sock              194 include/linux/net.h 	int		(*create)(struct net *net, struct socket *sock, int protocol);
sock              224 include/linux/net.h #define		     sockfd_put(sock) fput(sock->file)
sock              288 include/linux/net.h SOCKCALL_WRAP(name, release, (struct socket *sock), (sock))	\
sock              289 include/linux/net.h SOCKCALL_WRAP(name, bind, (struct socket *sock, struct sockaddr *uaddr, int addr_len), \
sock              290 include/linux/net.h 	      (sock, uaddr, addr_len))				\
sock              291 include/linux/net.h SOCKCALL_WRAP(name, connect, (struct socket *sock, struct sockaddr * uaddr, \
sock              293 include/linux/net.h 	      (sock, uaddr, addr_len, flags))			\
sock              296 include/linux/net.h SOCKCALL_WRAP(name, accept, (struct socket *sock, struct socket *newsock, \
sock              297 include/linux/net.h 			 int flags), (sock, newsock, flags)) \
sock              298 include/linux/net.h SOCKCALL_WRAP(name, getname, (struct socket *sock, struct sockaddr *uaddr, \
sock              299 include/linux/net.h 			 int *addr_len, int peer), (sock, uaddr, addr_len, peer)) \
sock              300 include/linux/net.h SOCKCALL_UWRAP(name, poll, (struct file *file, struct socket *sock, struct poll_table_struct *wait), \
sock              301 include/linux/net.h 	      (file, sock, wait)) \
sock              302 include/linux/net.h SOCKCALL_WRAP(name, ioctl, (struct socket *sock, unsigned int cmd, \
sock              303 include/linux/net.h 			 unsigned long arg), (sock, cmd, arg)) \
sock              304 include/linux/net.h SOCKCALL_WRAP(name, compat_ioctl, (struct socket *sock, unsigned int cmd, \
sock              305 include/linux/net.h 			 unsigned long arg), (sock, cmd, arg)) \
sock              306 include/linux/net.h SOCKCALL_WRAP(name, listen, (struct socket *sock, int len), (sock, len)) \
sock              307 include/linux/net.h SOCKCALL_WRAP(name, shutdown, (struct socket *sock, int flags), (sock, flags)) \
sock              308 include/linux/net.h SOCKCALL_WRAP(name, setsockopt, (struct socket *sock, int level, int optname, \
sock              309 include/linux/net.h 			 char __user *optval, int optlen), (sock, level, optname, optval, optlen)) \
sock              310 include/linux/net.h SOCKCALL_WRAP(name, getsockopt, (struct socket *sock, int level, int optname, \
sock              311 include/linux/net.h 			 char __user *optval, int __user *optlen), (sock, level, optname, optval, optlen)) \
sock              312 include/linux/net.h SOCKCALL_WRAP(name, sendmsg, (struct kiocb *iocb, struct socket *sock, struct msghdr *m, size_t len), \
sock              313 include/linux/net.h 	      (iocb, sock, m, len)) \
sock              314 include/linux/net.h SOCKCALL_WRAP(name, recvmsg, (struct kiocb *iocb, struct socket *sock, struct msghdr *m, size_t len, int flags), \
sock              315 include/linux/net.h 	      (iocb, sock, m, len, flags)) \
sock              316 include/linux/net.h SOCKCALL_WRAP(name, mmap, (struct file *file, struct socket *sock, struct vm_area_struct *vma), \
sock              317 include/linux/net.h 	      (file, sock, vma)) \
sock              118 include/linux/netfilter.h 	int (*set)(struct sock *sk, int optval, void __user *user, unsigned int len);
sock              119 include/linux/netfilter.h 	int (*compat_set)(struct sock *sk, int optval,
sock              124 include/linux/netfilter.h 	int (*get)(struct sock *sk, int optval, void __user *user, int *len);
sock              125 include/linux/netfilter.h 	int (*compat_get)(struct sock *sk, int optval,
sock               59 include/linux/netfilter/nfnetlink.h 	int (*call)(struct sock *nl, struct sk_buff *skb, 
sock              177 include/linux/netlink.h extern struct sock *netlink_kernel_create(struct net *net,
sock              195 include/linux/netlink.h struct sock *netlink_getsockbyfilp(struct file *filp);
sock               74 include/linux/security.h struct sock;
sock             1471 include/linux/security.h 	int (*netlink_send) (struct sock *sk, struct sk_buff *skb);
sock             1483 include/linux/security.h 	int (*unix_stream_connect) (struct socket *sock,
sock             1484 include/linux/security.h 				    struct socket *other, struct sock *newsk);
sock             1485 include/linux/security.h 	int (*unix_may_send) (struct socket *sock, struct socket *other);
sock             1488 include/linux/security.h 	int (*socket_post_create) (struct socket *sock, int family,
sock             1490 include/linux/security.h 	int (*socket_bind) (struct socket *sock,
sock             1492 include/linux/security.h 	int (*socket_connect) (struct socket *sock,
sock             1494 include/linux/security.h 	int (*socket_listen) (struct socket *sock, int backlog);
sock             1495 include/linux/security.h 	int (*socket_accept) (struct socket *sock, struct socket *newsock);
sock             1496 include/linux/security.h 	void (*socket_post_accept) (struct socket *sock,
sock             1498 include/linux/security.h 	int (*socket_sendmsg) (struct socket *sock,
sock             1500 include/linux/security.h 	int (*socket_recvmsg) (struct socket *sock,
sock             1502 include/linux/security.h 	int (*socket_getsockname) (struct socket *sock);
sock             1503 include/linux/security.h 	int (*socket_getpeername) (struct socket *sock);
sock             1504 include/linux/security.h 	int (*socket_getsockopt) (struct socket *sock, int level, int optname);
sock             1505 include/linux/security.h 	int (*socket_setsockopt) (struct socket *sock, int level, int optname);
sock             1506 include/linux/security.h 	int (*socket_shutdown) (struct socket *sock, int how);
sock             1507 include/linux/security.h 	int (*socket_sock_rcv_skb) (struct sock *sk, struct sk_buff *skb);
sock             1508 include/linux/security.h 	int (*socket_getpeersec_stream) (struct socket *sock, char __user *optval, int __user *optlen, unsigned len);
sock             1509 include/linux/security.h 	int (*socket_getpeersec_dgram) (struct socket *sock, struct sk_buff *skb, u32 *secid);
sock             1510 include/linux/security.h 	int (*sk_alloc_security) (struct sock *sk, int family, gfp_t priority);
sock             1511 include/linux/security.h 	void (*sk_free_security) (struct sock *sk);
sock             1512 include/linux/security.h 	void (*sk_clone_security) (const struct sock *sk, struct sock *newsk);
sock             1513 include/linux/security.h 	void (*sk_getsecid) (struct sock *sk, u32 *secid);
sock             1514 include/linux/security.h 	void (*sock_graft) (struct sock *sk, struct socket *parent);
sock             1515 include/linux/security.h 	int (*inet_conn_request) (struct sock *sk, struct sk_buff *skb,
sock             1517 include/linux/security.h 	void (*inet_csk_clone) (struct sock *newsk, const struct request_sock *req);
sock             1518 include/linux/security.h 	void (*inet_conn_established) (struct sock *sk, struct sk_buff *skb);
sock              264 include/linux/skbuff.h 	struct sock		*sk;
sock               21 include/linux/sunrpc/svcsock.h 	struct sock *		sk_sk;		/* INET layer */
sock               24 include/linux/sunrpc/svcsock.h 	void			(*sk_ostate)(struct sock *);
sock               25 include/linux/sunrpc/svcsock.h 	void			(*sk_odata)(struct sock *, int bytes);
sock               26 include/linux/sunrpc/svcsock.h 	void			(*sk_owspace)(struct sock *);
sock               97 include/linux/tifm.h 	void          (*card_event)(struct tifm_dev *sock);
sock               98 include/linux/tifm.h 	void          (*data_event)(struct tifm_dev *sock);
sock              127 include/linux/tifm.h 				     struct tifm_dev *sock);
sock              129 include/linux/tifm.h 					  struct tifm_dev *sock);
sock               80 include/linux/udp.h 	int (*encap_rcv)(struct sock *sk, struct sk_buff *skb);
sock               46 include/net/af_unix.h 	struct sock		sk;
sock               51 include/net/af_unix.h         struct sock		*peer;
sock               52 include/net/af_unix.h         struct sock		*other;
sock              243 include/net/ax25.h 	struct sock		*sk;		/* Backlink to socket */
sock              275 include/net/ax25.h struct sock *ax25_find_listener(ax25_address *, int, struct net_device *, int);
sock              276 include/net/ax25.h struct sock *ax25_get_socket(ax25_address *, ax25_address *, int);
sock              282 include/net/ax25.h extern struct sock *ax25_make_new(struct sock *, struct ax25_dev *);
sock              106 include/net/bluetooth/bluetooth.h 	struct sock sk;
sock              110 include/net/bluetooth/bluetooth.h 	struct sock *parent;
sock              129 include/net/bluetooth/bluetooth.h struct sock *bt_accept_dequeue(struct sock *parent, struct socket *newsock);
sock              195 include/net/bluetooth/l2cap.h 	struct sock	*head;
sock              253 include/net/bluetooth/l2cap.h 	struct sock		*next_c;
sock              254 include/net/bluetooth/l2cap.h 	struct sock		*prev_c;
sock              156 include/net/bluetooth/rfcomm.h 	struct socket   *sock;
sock               62 include/net/bluetooth/sco.h 	struct sock 	*sk;
sock                5 include/net/compat.h struct sock;
sock              122 include/net/dn.h 	int (*persist_fxn)(struct sock *sk);
sock              124 include/net/dn.h 	void (*keepalive_fxn)(struct sock *sk);
sock              131 include/net/dn.h 	void (*delack_fxn)(struct sock *sk);
sock              210 include/net/dn.h extern struct sock *dn_sklist_find_listener(struct sockaddr_dn *addr);
sock              211 include/net/dn.h extern struct sock *dn_find_by_skb(struct sk_buff *skb);
sock               87 include/net/flow.h struct sock;
sock               99 include/net/genetlink.h extern struct sock *genl_sock;
sock               22 include/net/inet6_connection_sock.h struct sock;
sock               64 include/net/inet6_hashtables.h extern struct sock *__inet6_lookup_established(struct net *net,
sock               72 include/net/inet6_hashtables.h extern struct sock *inet6_lookup_listener(struct net *net,
sock               78 include/net/inet6_hashtables.h static inline struct sock *__inet6_lookup(struct net *net,
sock               86 include/net/inet6_hashtables.h 	struct sock *sk = __inet6_lookup_established(net, hashinfo, saddr,
sock               94 include/net/inet6_hashtables.h static inline struct sock *__inet6_lookup_skb(struct inet_hashinfo *hashinfo,
sock               99 include/net/inet6_hashtables.h 	struct sock *sk;
sock              109 include/net/inet6_hashtables.h extern struct sock *inet6_lookup(struct net *net, struct inet_hashinfo *hashinfo,
sock               12 include/net/inet_common.h struct sock;
sock               40 include/net/inet_connection_sock.h 	void	    (*send_check)(struct sock *sk, int len,
sock               42 include/net/inet_connection_sock.h 	int	    (*rebuild_header)(struct sock *sk);
sock               43 include/net/inet_connection_sock.h 	int	    (*conn_request)(struct sock *sk, struct sk_buff *skb);
sock               44 include/net/inet_connection_sock.h 	struct sock *(*syn_recv_sock)(struct sock *sk, struct sk_buff *skb,
sock               47 include/net/inet_connection_sock.h 	int	    (*remember_stamp)(struct sock *sk);
sock               50 include/net/inet_connection_sock.h 	int	    (*setsockopt)(struct sock *sk, int level, int optname, 
sock               52 include/net/inet_connection_sock.h 	int	    (*getsockopt)(struct sock *sk, int level, int optname, 
sock               55 include/net/inet_connection_sock.h 	int	    (*compat_setsockopt)(struct sock *sk,
sock               58 include/net/inet_connection_sock.h 	int	    (*compat_getsockopt)(struct sock *sk,
sock               62 include/net/inet_connection_sock.h 	void	    (*addr2sockaddr)(struct sock *sk, struct sockaddr *);
sock               63 include/net/inet_connection_sock.h 	int	    (*bind_conflict)(const struct sock *sk,
sock               99 include/net/inet_connection_sock.h 	unsigned int		  (*icsk_sync_mss)(struct sock *sk, u32 pmtu);
sock              147 include/net/inet_connection_sock.h extern struct sock *inet_csk_clone(struct sock *sk,
sock              241 include/net/inet_connection_sock.h extern struct sock *inet_csk_accept(struct sock *sk, int flags, int *err);
sock              257 include/net/inet_hashtables.h extern struct sock *__inet_lookup_listener(struct net *net,
sock              263 include/net/inet_hashtables.h static inline struct sock *inet_lookup_listener(struct net *net,
sock              333 include/net/inet_hashtables.h extern struct sock * __inet_lookup_established(struct net *net,
sock              338 include/net/inet_hashtables.h static inline struct sock *
sock              348 include/net/inet_hashtables.h static inline struct sock *__inet_lookup(struct net *net,
sock              355 include/net/inet_hashtables.h 	struct sock *sk = __inet_lookup_established(net, hashinfo,
sock              361 include/net/inet_hashtables.h static inline struct sock *inet_lookup(struct net *net,
sock              367 include/net/inet_hashtables.h 	struct sock *sk;
sock              376 include/net/inet_hashtables.h static inline struct sock *__inet_lookup_skb(struct inet_hashinfo *hashinfo,
sock              381 include/net/inet_hashtables.h 	struct sock *sk;
sock              110 include/net/inet_sock.h 	struct sock		sk;
sock               34 include/net/ip.h struct sock;
sock               65 include/net/ip.h 	struct sock		*sk;
sock               66 include/net/ip.h 	void			(*destructor)(struct sock *);
sock              153 include/net/ipv6.h 	struct sock		*sk;
sock              155 include/net/ipv6.h 	void			(*destructor)(struct sock *);
sock               20 include/net/ipx.h 	__be16  sock;
sock               97 include/net/ipx.h 	struct sock		sk;
sock               41 include/net/irda/af_irda.h 	struct sock sk;
sock               63 include/net/iucv/af_iucv.h 	struct sock		sk;
sock               70 include/net/iucv/af_iucv.h 	struct sock		*parent;
sock               93 include/net/iucv/af_iucv.h struct sock *iucv_accept_dequeue(struct sock *parent, struct socket *newsock);
sock               34 include/net/llc_conn.h 	struct sock	    sk;
sock               96 include/net/llc_conn.h extern struct sock *llc_sk_alloc(struct net *net, int family, gfp_t priority,
sock              112 include/net/llc_conn.h extern struct sock *llc_lookup_established(struct llc_sap *sap,
sock               20 include/net/llc_sap.h struct sock;
sock               25 include/net/net_namespace.h struct sock;
sock               58 include/net/net_namespace.h 	struct sock 		*rtnl;			/* rtnetlink socket */
sock               12 include/net/netfilter/nf_tproxy_core.h extern struct sock *
sock                4 include/net/netns/dccp.h struct sock;
sock                7 include/net/netns/dccp.h 	struct sock *v4_ctl_sk;
sock                8 include/net/netns/dccp.h 	struct sock *v6_ctl_sk;
sock               14 include/net/netns/ipv4.h struct sock;
sock               29 include/net/netns/ipv4.h 	struct sock		*fibnl;
sock               31 include/net/netns/ipv4.h 	struct sock		**icmp_sk;
sock               32 include/net/netns/ipv4.h 	struct sock		*tcp_sock;
sock               54 include/net/netns/ipv6.h 	struct sock		**icmp_sk;
sock               55 include/net/netns/ipv6.h 	struct sock             *ndisc_sk;
sock               56 include/net/netns/ipv6.h 	struct sock             *tcp_sk;
sock               57 include/net/netns/ipv6.h 	struct sock             *igmp_sk;
sock               67 include/net/netrom.h 	struct sock		sock;
sock               28 include/net/phonet/gprs.h struct sock;
sock               35 include/net/phonet/pep.h 	struct sock		*listener;
sock               37 include/net/phonet/phonet.h 	struct sock	sk;
sock               49 include/net/phonet/phonet.h struct sock *pn_find_sock_by_sa(const struct sockaddr_pn *sa);
sock               34 include/net/request_sock.h 	int		(*rtx_syn_ack)(struct sock *sk,
sock               36 include/net/request_sock.h 	void		(*send_ack)(struct sock *sk, struct sk_buff *skb,
sock               38 include/net/request_sock.h 	void		(*send_reset)(struct sock *sk,
sock               56 include/net/request_sock.h 	struct sock			*sk;
sock              183 include/net/request_sock.h static inline struct sock *reqsk_queue_get_child(struct request_sock_queue *queue,
sock              187 include/net/request_sock.h 	struct sock *child = req->sk;
sock              120 include/net/rose.h 	struct sock		sock;
sock              160 include/net/rose.h extern struct sock *rose_find_socket(unsigned int, struct rose_neigh *);
sock               40 include/net/scm.h 	security_socket_getpeersec_dgram(sock, NULL, &scm->secid);
sock               62 include/net/scm.h 	unix_get_peersec_dgram(sock, scm);
sock               65 include/net/scm.h 	return __scm_send(sock, msg, scm);
sock               75 include/net/scm.h 	if (test_bit(SOCK_PASSSEC, &sock->flags)) {
sock               94 include/net/scm.h 		if (test_bit(SOCK_PASSCRED, &sock->flags) || scm->fp)
sock              100 include/net/scm.h 	if (test_bit(SOCK_PASSCRED, &sock->flags))
sock              103 include/net/scm.h 	scm_passec(sock, msg, scm);
sock              124 include/net/sctp/sctp.h extern struct sock *sctp_get_ctl_sock(void);
sock              161 include/net/sctp/sctp.h struct sock *sctp_err_lookup(int family, struct sk_buff *,
sock              332 include/net/sctp/structs.h static inline struct sock *sctp_opt2sk(const struct sctp_sock *sp)
sock              334 include/net/sctp/structs.h        return (struct sock *)sp;
sock              528 include/net/sctp/structs.h 	int		(*setsockopt)	(struct sock *sk,
sock              533 include/net/sctp/structs.h 	int		(*getsockopt)	(struct sock *sk,
sock              538 include/net/sctp/structs.h 	int		(*compat_setsockopt)	(struct sock *sk,
sock              543 include/net/sctp/structs.h 	int		(*compat_getsockopt)	(struct sock *sk,
sock              569 include/net/sctp/structs.h 					 struct sock *sk);
sock              571 include/net/sctp/structs.h 					 struct sock *sk);
sock              573 include/net/sctp/structs.h 					 struct sock *sk);
sock              591 include/net/sctp/structs.h 	void		(*ecn_capable)(struct sock *sk);
sock              612 include/net/sctp/structs.h 	struct sock *(*create_accept_sk) (struct sock *sk,
sock             1275 include/net/sctp/structs.h 	struct sock *sk;
sock               98 include/net/sock.h struct sock;
sock              275 include/net/sock.h 	void			(*sk_state_change)(struct sock *sk);
sock              276 include/net/sock.h 	void			(*sk_data_ready)(struct sock *sk, int bytes);
sock              277 include/net/sock.h 	void			(*sk_write_space)(struct sock *sk);
sock              278 include/net/sock.h 	void			(*sk_error_report)(struct sock *sk);
sock              279 include/net/sock.h   	int			(*sk_backlog_rcv)(struct sock *sk,
sock              281 include/net/sock.h 	void                    (*sk_destruct)(struct sock *sk);
sock              287 include/net/sock.h static inline struct sock *__sk_head(const struct hlist_head *head)
sock              289 include/net/sock.h 	return hlist_entry(head->first, struct sock, sk_node);
sock              292 include/net/sock.h static inline struct sock *sk_head(const struct hlist_head *head)
sock              297 include/net/sock.h static inline struct sock *sk_next(const struct sock *sk)
sock              300 include/net/sock.h 		hlist_entry(sk->sk_node.next, struct sock, sk_node) : NULL;
sock              520 include/net/sock.h 	void			(*close)(struct sock *sk, 
sock              522 include/net/sock.h 	int			(*connect)(struct sock *sk,
sock              525 include/net/sock.h 	int			(*disconnect)(struct sock *sk, int flags);
sock              527 include/net/sock.h 	struct sock *		(*accept) (struct sock *sk, int flags, int *err);
sock              529 include/net/sock.h 	int			(*ioctl)(struct sock *sk, int cmd,
sock              531 include/net/sock.h 	int			(*init)(struct sock *sk);
sock              532 include/net/sock.h 	void			(*destroy)(struct sock *sk);
sock              533 include/net/sock.h 	void			(*shutdown)(struct sock *sk, int how);
sock              534 include/net/sock.h 	int			(*setsockopt)(struct sock *sk, int level, 
sock              537 include/net/sock.h 	int			(*getsockopt)(struct sock *sk, int level, 
sock              541 include/net/sock.h 	int			(*compat_setsockopt)(struct sock *sk,
sock              545 include/net/sock.h 	int			(*compat_getsockopt)(struct sock *sk,
sock              550 include/net/sock.h 	int			(*sendmsg)(struct kiocb *iocb, struct sock *sk,
sock              552 include/net/sock.h 	int			(*recvmsg)(struct kiocb *iocb, struct sock *sk,
sock              556 include/net/sock.h 	int			(*sendpage)(struct sock *sk, struct page *page,
sock              558 include/net/sock.h 	int			(*bind)(struct sock *sk, 
sock              561 include/net/sock.h 	int			(*backlog_rcv) (struct sock *sk, 
sock              565 include/net/sock.h 	void			(*hash)(struct sock *sk);
sock              566 include/net/sock.h 	void			(*unhash)(struct sock *sk);
sock              567 include/net/sock.h 	int			(*get_port)(struct sock *sk, unsigned short snum);
sock              575 include/net/sock.h 	void			(*enter_memory_pressure)(struct sock *sk);
sock              685 include/net/sock.h 	struct socket		*sock;
sock              686 include/net/sock.h 	struct sock		*sk;
sock              844 include/net/sock.h extern struct sock		*sk_alloc(struct net *net, int family,
sock              849 include/net/sock.h extern struct sock		*sk_clone(const struct sock *sk,
sock             1002 include/net/sock.h 	sk->sk_socket = sock;
sock             1332 include/net/sock.h static inline struct sock *skb_steal_sock(struct sk_buff *skb)
sock             1335 include/net/sock.h 		struct sock *sk = skb->sk;
sock              361 include/net/tcp.h extern struct sock *		tcp_check_req(struct sock *sk,struct sk_buff *skb,
sock              412 include/net/tcp.h extern struct sock *		tcp_create_openreq_child(struct sock *sk,
sock              416 include/net/tcp.h extern struct sock *		tcp_v4_syn_recv_sock(struct sock *sk,
sock              439 include/net/tcp.h extern struct sock *cookie_v4_check(struct sock *sk, struct sk_buff *skb, 
sock              448 include/net/tcp.h extern struct sock *cookie_v6_check(struct sock *sk, struct sk_buff *skb);
sock              654 include/net/tcp.h 	void (*init)(struct sock *sk);
sock              656 include/net/tcp.h 	void (*release)(struct sock *sk);
sock              659 include/net/tcp.h 	u32 (*ssthresh)(struct sock *sk);
sock              661 include/net/tcp.h 	u32 (*min_cwnd)(const struct sock *sk);
sock              663 include/net/tcp.h 	void (*cong_avoid)(struct sock *sk, u32 ack, u32 in_flight);
sock              665 include/net/tcp.h 	void (*set_state)(struct sock *sk, u8 new_state);
sock              667 include/net/tcp.h 	void (*cwnd_event)(struct sock *sk, enum tcp_ca_event ev);
sock              669 include/net/tcp.h 	u32  (*undo_cwnd)(struct sock *sk);
sock              671 include/net/tcp.h 	void (*pkts_acked)(struct sock *sk, u32 num_acked, s32 rtt_us);
sock              673 include/net/tcp.h 	void (*get_info)(struct sock *sk, u32 ext, struct sk_buff *skb);
sock             1347 include/net/tcp.h 	struct sock		*syn_wait_sk;
sock             1370 include/net/tcp.h 	struct tcp_md5sig_key	*(*md5_lookup) (struct sock *sk,
sock             1371 include/net/tcp.h 						struct sock *addr_sk);
sock             1374 include/net/tcp.h 						  struct sock *sk,
sock             1377 include/net/tcp.h 	int			(*md5_add) (struct sock *sk,
sock             1378 include/net/tcp.h 					    struct sock *addr_sk,
sock             1381 include/net/tcp.h 	int			(*md5_parse) (struct sock *sk,
sock             1389 include/net/tcp.h 	struct tcp_md5sig_key	*(*md5_lookup) (struct sock *sk,
sock               20 include/net/timewait_sock.h 	int		(*twsk_unique)(struct sock *sk,
sock               21 include/net/timewait_sock.h 				       struct sock *sktw, void *twp);
sock               22 include/net/timewait_sock.h 	void		(*twsk_destructor)(struct sock *sk);
sock              151 include/net/udp.h extern struct sock *udp4_lib_lookup(struct net *net, __be32 saddr, __be16 sport,
sock              144 include/net/x25.h 	struct sock		sk;
sock              189 include/net/x25.h extern struct sock *x25_find_socket(unsigned int, struct x25_neigh *);
sock               51 include/net/xfrm.h extern struct sock *xfrm_nl;
sock              537 include/net/xfrm.h 	struct xfrm_policy	*(*compile_policy)(struct sock *sk, int opt, u8 *data, int len, int *dir);
sock             1502 include/net/xfrm.h 	struct sock *nlsk;
sock              115 include/pcmcia/ss.h 	struct pcmcia_socket 	*sock;
sock              167 include/pcmcia/ss.h 	unsigned int			sock;		/* socket number */
sock              201 include/pcmcia/ss.h 	int (*power_hook)(struct pcmcia_socket *sock, int operation);
sock              205 include/pcmcia/ss.h 	void (*tune_bridge)(struct pcmcia_socket *sock, struct pci_bus *bus);
sock               74 ipc/mqueue.c   	struct sock *notify_sock;
sock              989 ipc/mqueue.c   	struct sock *sock;
sock             1000 ipc/mqueue.c   	sock = NULL;
sock             1037 ipc/mqueue.c   			sock = netlink_getsockbyfilp(filp);
sock             1039 ipc/mqueue.c   			if (IS_ERR(sock)) {
sock             1040 ipc/mqueue.c   				ret = PTR_ERR(sock);
sock             1041 ipc/mqueue.c   				sock = NULL;
sock             1046 ipc/mqueue.c   			ret = netlink_attachskb(sock, nc, &timeo, NULL);
sock             1050 ipc/mqueue.c   				sock = NULL;
sock             1082 ipc/mqueue.c   			info->notify_sock = sock;
sock             1084 ipc/mqueue.c   			sock = NULL;
sock             1102 ipc/mqueue.c   	if (sock) {
sock             1103 ipc/mqueue.c   		netlink_detachskb(sock, nc);
sock              113 kernel/audit.c static struct sock *audit_sock;
sock               32 lib/kobject_uevent.c static struct sock *uevent_sock;
sock              147 net/appletalk/atalk_proc.c static __inline__ struct sock *atalk_get_socket_idx(loff_t pos)
sock              149 net/appletalk/atalk_proc.c 	struct sock *s;
sock              171 net/appletalk/atalk_proc.c 	struct sock *i;
sock              191 net/appletalk/atalk_proc.c 	struct sock *s;
sock               90 net/appletalk/ddp.c static struct sock *atalk_search_socket(struct sockaddr_at *to,
sock               93 net/appletalk/ddp.c 	struct sock *s;
sock              138 net/appletalk/ddp.c static struct sock *atalk_find_or_insert_socket(struct sock *sk,
sock              141 net/appletalk/ddp.c 	struct sock *s;
sock              163 net/appletalk/ddp.c 	struct sock *sk = (struct sock *)data;
sock             1033 net/appletalk/ddp.c 	struct sock *sk;
sock             1043 net/appletalk/ddp.c 	if (sock->type != SOCK_RAW && sock->type != SOCK_DGRAM)
sock             1050 net/appletalk/ddp.c 	sock->ops = &atalk_dgram_ops;
sock             1051 net/appletalk/ddp.c 	sock_init_data(sock, sk);
sock             1062 net/appletalk/ddp.c 	struct sock *sk = sock->sk;
sock             1066 net/appletalk/ddp.c 		sock->sk = NULL;
sock             1091 net/appletalk/ddp.c 		struct sock *s;
sock             1142 net/appletalk/ddp.c 	struct sock *sk = sock->sk;
sock             1189 net/appletalk/ddp.c 	struct sock *sk = sock->sk;
sock             1194 net/appletalk/ddp.c 	sock->state = SS_UNCONNECTED;
sock             1227 net/appletalk/ddp.c 	sock->state  = SS_CONNECTED;
sock             1240 net/appletalk/ddp.c 	struct sock *sk = sock->sk;
sock             1402 net/appletalk/ddp.c 	struct sock *sock;
sock             1472 net/appletalk/ddp.c 	sock = atalk_search_socket(&tosat, atif);
sock             1473 net/appletalk/ddp.c 	if (!sock) /* But not one of our sockets */
sock             1477 net/appletalk/ddp.c 	skb->sk = sock;
sock             1479 net/appletalk/ddp.c 	if (sock_queue_rcv_skb(sock, skb) < 0)
sock             1549 net/appletalk/ddp.c 	struct sock *sk = sock->sk;
sock             1710 net/appletalk/ddp.c 	struct sock *sk = sock->sk;
sock             1757 net/appletalk/ddp.c 	struct sock *sk = sock->sk;
sock               30 net/atm/atm_misc.c 	struct sock *sk = sk_atm(vcc);
sock              638 net/atm/br2684.c 	struct atm_vcc *atmvcc = ATM_SD(sock);
sock               50 net/atm/clip.c 	struct sock *sk;
sock              725 net/atm/clip.c 	struct atm_vcc *vcc = ATM_SD(sock);
sock              748 net/atm/clip.c 			sock->state = SS_CONNECTED;
sock               63 net/atm/common.c 	struct sock *sk = sk_atm(vcc);
sock              130 net/atm/common.c 	struct sock *sk;
sock              133 net/atm/common.c 	sock->sk = NULL;
sock              134 net/atm/common.c 	if (sock->type == SOCK_STREAM)
sock              139 net/atm/common.c 	sock_init_data(sock, sk);
sock              188 net/atm/common.c 	struct sock *sk = sock->sk;
sock              192 net/atm/common.c 		vcc_destroy_socket(sock->sk);
sock              203 net/atm/common.c 	struct sock *sk = sk_atm(vcc);
sock              224 net/atm/common.c 		struct sock *s;
sock              270 net/atm/common.c 	struct sock *s;
sock              341 net/atm/common.c 	struct sock *sk = sk_atm(vcc);
sock              413 net/atm/common.c 	struct atm_vcc *vcc = ATM_SD(sock);
sock              417 net/atm/common.c 	if (sock->state == SS_CONNECTED)
sock              419 net/atm/common.c 	if (sock->state != SS_UNCONNECTED)
sock              462 net/atm/common.c 	if (test_bit(ATM_VF_READY,&ATM_SD(sock)->flags))
sock              463 net/atm/common.c 		sock->state = SS_CONNECTED;
sock              471 net/atm/common.c 	struct sock *sk = sock->sk;
sock              476 net/atm/common.c 	if (sock->state != SS_CONNECTED)
sock              480 net/atm/common.c 	vcc = ATM_SD(sock);
sock              510 net/atm/common.c 	struct sock *sk = sock->sk;
sock              519 net/atm/common.c 	if (sock->state != SS_CONNECTED) {
sock              533 net/atm/common.c 	vcc = ATM_SD(sock);
sock              593 net/atm/common.c 	struct sock *sk = sock->sk;
sock              600 net/atm/common.c 	vcc = ATM_SD(sock);
sock              615 net/atm/common.c 	if (sock->state == SS_CONNECTING &&
sock              691 net/atm/common.c 	vcc = ATM_SD(sock);
sock              701 net/atm/common.c 				if (sock->state == SS_CONNECTED)
sock              703 net/atm/common.c 				if (sock->state != SS_UNCONNECTED)
sock              735 net/atm/common.c 	vcc = ATM_SD(sock);
sock               51 net/atm/ioctl.c 	struct sock *sk = sock->sk;
sock               57 net/atm/ioctl.c 	vcc = ATM_SD(sock);
sock               60 net/atm/ioctl.c 			if (sock->state != SS_CONNECTED ||
sock               73 net/atm/ioctl.c 				if (sock->state != SS_CONNECTED) {
sock              110 net/atm/ioctl.c 				sock->state = SS_CONNECTED;
sock              147 net/atm/ioctl.c 			error = ic->ioctl(sock, cmd, arg);
sock              142 net/atm/lec.c  		struct sock *sk;
sock              561 net/atm/lec.c  				struct sock *sk;
sock              640 net/atm/lec.c  	struct sock *sk;
sock              762 net/atm/lec.c  		struct sock *sk = sk_atm(vcc);
sock             1194 net/atm/lec.c  	struct atm_vcc *vcc = ATM_SD(sock);
sock             1212 net/atm/lec.c  			sock->state = SS_CONNECTED;
sock              666 net/atm/mpc.c  		struct sock *sk = sk_atm(vcc);
sock              942 net/atm/mpc.c  	struct sock *sk;
sock             1213 net/atm/mpc.c  	struct sock *sk;
sock             1416 net/atm/mpc.c  	struct atm_vcc *vcc = ATM_SD(sock);
sock             1428 net/atm/mpc.c  				sock->state = SS_CONNECTED;
sock              310 net/atm/pppoatm.c 	struct atm_vcc *atmvcc = ATM_SD(sock);
sock               68 net/atm/proc.c 	struct sock *sk;
sock               79 net/atm/proc.c 	struct sock *sk = *sock;
sock              103 net/atm/proc.c 	*sock = sk;
sock              188 net/atm/proc.c 	struct sock *sk = sk_atm(vcc);
sock               29 net/atm/pvc.c  	struct sock *sk = sock->sk;
sock               38 net/atm/pvc.c  	vcc = ATM_SD(sock);
sock               47 net/atm/pvc.c  	error = vcc_connect(sock, addr->sap_addr.itf, addr->sap_addr.vpi,
sock               58 net/atm/pvc.c  	return pvc_bind(sock,sockaddr,sockaddr_len);
sock               64 net/atm/pvc.c  	struct sock *sk = sock->sk;
sock               68 net/atm/pvc.c  	error = vcc_setsockopt(sock, level, optname, optval, optlen);
sock               77 net/atm/pvc.c  	struct sock *sk = sock->sk;
sock               81 net/atm/pvc.c  	error = vcc_getsockopt(sock, level, optname, optval, optlen);
sock               91 net/atm/pvc.c  	struct atm_vcc *vcc = ATM_SD(sock);
sock              132 net/atm/pvc.c  	sock->ops = &pvc_proto_ops;
sock              133 net/atm/pvc.c  	return vcc_create(net, sock, protocol, PF_ATMPVC);
sock               23 net/atm/raw.c  		struct sock *sk = sk_atm(vcc);
sock               33 net/atm/raw.c  	struct sock *sk = sk_atm(vcc);
sock               88 net/atm/signaling.c 	struct sock *sk;
sock              219 net/atm/signaling.c 	struct sock *s;
sock               47 net/atm/svc.c  	struct sock *sk = sk_atm(vcc);
sock               74 net/atm/svc.c  	struct sock *sk = sock->sk;
sock               78 net/atm/svc.c  		vcc = ATM_SD(sock);
sock               85 net/atm/svc.c  		vcc_release(sock);
sock               95 net/atm/svc.c  	struct sock *sk = sock->sk;
sock              103 net/atm/svc.c  	if (sock->state == SS_CONNECTED) {
sock              107 net/atm/svc.c  	if (sock->state != SS_UNCONNECTED) {
sock              111 net/atm/svc.c  	vcc = ATM_SD(sock);
sock              151 net/atm/svc.c  	struct sock *sk = sock->sk;
sock              153 net/atm/svc.c  	struct atm_vcc *vcc = ATM_SD(sock);
sock              163 net/atm/svc.c  	switch (sock->state) {
sock              175 net/atm/svc.c  		sock->state = SS_UNCONNECTED;
sock              207 net/atm/svc.c  			sock->state = SS_CONNECTING;
sock              272 net/atm/svc.c  	if (!(error = vcc_connect(sock, vcc->itf, vcc->vpi, vcc->vci)))
sock              273 net/atm/svc.c  		sock->state = SS_CONNECTED;
sock              285 net/atm/svc.c  	struct sock *sk = sock->sk;
sock              286 net/atm/svc.c  	struct atm_vcc *vcc = ATM_SD(sock);
sock              320 net/atm/svc.c  	struct sock *sk = sock->sk;
sock              323 net/atm/svc.c  	struct atm_vcc *old_vcc = ATM_SD(sock);
sock              419 net/atm/svc.c  	memcpy(addr,peer ? &ATM_SD(sock)->remote : &ATM_SD(sock)->local,
sock              427 net/atm/svc.c  	struct sock *sk = sk_atm(vcc);
sock              447 net/atm/svc.c  	struct sock *sk = sock->sk;
sock              448 net/atm/svc.c  	struct atm_vcc *vcc = ATM_SD(sock);
sock              482 net/atm/svc.c  			error = vcc_setsockopt(sock, level, optname,
sock              495 net/atm/svc.c  	struct sock *sk = sock->sk;
sock              500 net/atm/svc.c  		error = vcc_getsockopt(sock, level, optname, optval, optlen);
sock              511 net/atm/svc.c  	if (copy_to_user(optval, &ATM_SD(sock)->sap, sizeof(struct atm_sap))) {
sock              525 net/atm/svc.c  	struct sock *sk = sock->sk;
sock              526 net/atm/svc.c  	struct atm_vcc *vcc = ATM_SD(sock);
sock              555 net/atm/svc.c  	struct sock *sk = sock->sk;
sock              556 net/atm/svc.c  	struct atm_vcc *vcc = ATM_SD(sock);
sock              583 net/atm/svc.c  	struct atm_vcc *vcc = ATM_SD(sock);
sock              591 net/atm/svc.c  			error = svc_addparty(sock, (struct sockaddr *) &sa, sizeof(sa), 0);
sock              598 net/atm/svc.c  			error = svc_dropparty(sock, ep_ref);
sock              601 net/atm/svc.c  			error = vcc_ioctl(sock, cmd, arg);
sock              637 net/atm/svc.c  	sock->ops = &svc_proto_ops;
sock              638 net/atm/svc.c  	error = vcc_create(net, sock, protocol, AF_ATMSVC);
sock              640 net/atm/svc.c  	ATM_SD(sock)->local.sas_family = AF_ATMSVC;
sock              641 net/atm/svc.c  	ATM_SD(sock)->remote.sas_family = AF_ATMSVC;
sock              157 net/ax25/af_ax25.c struct sock *ax25_find_listener(ax25_address *addr, int digi,
sock              185 net/ax25/af_ax25.c struct sock *ax25_get_socket(ax25_address *my_addr, ax25_address *dest_addr,
sock              188 net/ax25/af_ax25.c 	struct sock *sk = NULL;
sock              280 net/ax25/af_ax25.c 	struct sock *sk;
sock              341 net/ax25/af_ax25.c 			struct sock *sk=ax25->sk;
sock              533 net/ax25/af_ax25.c 	struct sock *sk = sock->sk;
sock              651 net/ax25/af_ax25.c 		   (sock->state != SS_UNCONNECTED ||
sock              673 net/ax25/af_ax25.c 	struct sock *sk = sock->sk;
sock              769 net/ax25/af_ax25.c 	struct sock *sk = sock->sk;
sock              793 net/ax25/af_ax25.c 	.obj_size = sizeof(struct sock),
sock              798 net/ax25/af_ax25.c 	struct sock *sk;
sock              804 net/ax25/af_ax25.c 	switch (sock->type) {
sock              859 net/ax25/af_ax25.c 	sock_init_data(sock, sk);
sock              862 net/ax25/af_ax25.c 	sock->ops    = &ax25_proto_ops;
sock              870 net/ax25/af_ax25.c struct sock *ax25_make_new(struct sock *osk, struct ax25_dev *ax25_dev)
sock              872 net/ax25/af_ax25.c 	struct sock *sk;
sock              942 net/ax25/af_ax25.c 	struct sock *sk = sock->sk;
sock             1013 net/ax25/af_ax25.c 	sock->sk   = NULL;
sock             1028 net/ax25/af_ax25.c 	struct sock *sk = sock->sk;
sock             1107 net/ax25/af_ax25.c 	struct sock *sk = sock->sk;
sock             1137 net/ax25/af_ax25.c 	if (sock->state == SS_CONNECTING) {
sock             1144 net/ax25/af_ax25.c 			sock->state = SS_CONNECTED;
sock             1148 net/ax25/af_ax25.c 			sock->state = SS_UNCONNECTED;
sock             1160 net/ax25/af_ax25.c 	sock->state = SS_UNCONNECTED;
sock             1235 net/ax25/af_ax25.c 		sock->state = SS_CONNECTED;
sock             1241 net/ax25/af_ax25.c 	sock->state        = SS_CONNECTING;
sock             1297 net/ax25/af_ax25.c 		sock->state = SS_UNCONNECTED;
sock             1302 net/ax25/af_ax25.c 	sock->state = SS_CONNECTED;
sock             1314 net/ax25/af_ax25.c 	struct sock *newsk;
sock             1316 net/ax25/af_ax25.c 	struct sock *sk;
sock             1319 net/ax25/af_ax25.c 	if (sock->state != SS_UNCONNECTED)
sock             1322 net/ax25/af_ax25.c 	if ((sk = sock->sk) == NULL)
sock             1382 net/ax25/af_ax25.c 	struct sock *sk = sock->sk;
sock             1430 net/ax25/af_ax25.c 	struct sock *sk = sock->sk;
sock             1612 net/ax25/af_ax25.c 	struct sock *sk = sock->sk;
sock             1688 net/ax25/af_ax25.c 	struct sock *sk = sock->sk;
sock               99 net/ax25/ax25_ds_timer.c 	struct sock *sk=ax25->sk;
sock              192 net/ax25/ax25_in.c 	struct sock *make, *sk;
sock               35 net/ax25/ax25_std_timer.c 	struct sock *sk = ax25->sk;
sock              125 net/bluetooth/af_bluetooth.c 	struct sock *sk = sock->sk;
sock              159 net/bluetooth/af_bluetooth.c 		err = bt_proto[proto]->create(net, sock, proto);
sock              160 net/bluetooth/af_bluetooth.c 		bt_reclassify_sock_lock(sock, proto);
sock              207 net/bluetooth/af_bluetooth.c struct sock *bt_accept_dequeue(struct sock *parent, struct socket *newsock)
sock              210 net/bluetooth/af_bluetooth.c 	struct sock *sk;
sock              215 net/bluetooth/af_bluetooth.c 		sk = (struct sock *) list_entry(p, struct bt_sock, accept_q);
sock              244 net/bluetooth/af_bluetooth.c 	struct sock *sk = sock->sk;
sock              249 net/bluetooth/af_bluetooth.c 	BT_DBG("sock %p sk %p len %d", sock, sk, len);
sock              282 net/bluetooth/af_bluetooth.c 	struct sock *sk;
sock              285 net/bluetooth/af_bluetooth.c 		sk = (struct sock *) list_entry(p, struct bt_sock, accept_q);
sock              295 net/bluetooth/af_bluetooth.c 	struct sock *sk = sock->sk;
sock              298 net/bluetooth/af_bluetooth.c 	BT_DBG("sock %p, sk %p", sock, sk);
sock              337 net/bluetooth/af_bluetooth.c 	struct sock *sk = sock->sk;
sock              117 net/bluetooth/bnep/bnep.h 	int   sock;       // Connected socket
sock              166 net/bluetooth/bnep/bnep.h 	struct socket    *sock;
sock              100 net/bluetooth/bnep/core.c 	struct socket *sock = s->sock;
sock              103 net/bluetooth/bnep/core.c 	return kernel_sendmsg(sock, &s->msg, &iv, 1, len);
sock              409 net/bluetooth/bnep/core.c 	struct socket *sock = s->sock;
sock              452 net/bluetooth/bnep/core.c 		len = kernel_sendmsg(sock, &s->msg, iv, il, len);
sock              469 net/bluetooth/bnep/core.c 	struct sock *sk = s->sock->sk;
sock              510 net/bluetooth/bnep/core.c 	s->sock->sk->sk_err = EUNATCH;
sock              512 net/bluetooth/bnep/core.c 	wake_up_interruptible(s->sock->sk->sk_sleep);
sock              515 net/bluetooth/bnep/core.c 	fput(s->sock->file);
sock              526 net/bluetooth/bnep/core.c 	bdaddr_t *src = &bt_sk(session->sock->sk)->src;
sock              527 net/bluetooth/bnep/core.c 	bdaddr_t *dst = &bt_sk(session->sock->sk)->dst;
sock              551 net/bluetooth/bnep/core.c 	baswap((void *) dst, &bt_sk(sock->sk)->dst);
sock              552 net/bluetooth/bnep/core.c 	baswap((void *) src, &bt_sk(sock->sk)->src);
sock              578 net/bluetooth/bnep/core.c 	s->sock  = sock;
sock              634 net/bluetooth/bnep/core.c 		s->sock->sk->sk_err = EUNATCH;
sock              638 net/bluetooth/bnep/core.c 		wake_up_interruptible(s->sock->sk->sk_sleep);
sock               73 net/bluetooth/bnep/netdev.c 	struct sock *sk = s->sock->sk;
sock              187 net/bluetooth/bnep/netdev.c 	struct sock *sk = s->sock->sk;
sock               56 net/bluetooth/bnep/sock.c 	struct sock *sk = sock->sk;
sock               58 net/bluetooth/bnep/sock.c 	BT_DBG("sock %p sk %p", sock, sk);
sock               88 net/bluetooth/bnep/sock.c 		nsock = sockfd_lookup(ca.sock, &err);
sock              170 net/bluetooth/bnep/sock.c 	return bnep_sock_ioctl(sock, cmd, arg);
sock              205 net/bluetooth/bnep/sock.c 	struct sock *sk;
sock              207 net/bluetooth/bnep/sock.c 	BT_DBG("sock %p", sock);
sock              209 net/bluetooth/bnep/sock.c 	if (sock->type != SOCK_RAW)
sock              216 net/bluetooth/bnep/sock.c 	sock_init_data(sock, sk);
sock              218 net/bluetooth/bnep/sock.c 	sock->ops = &bnep_sock_ops;
sock              220 net/bluetooth/bnep/sock.c 	sock->state = SS_UNCONNECTED;
sock               40 net/bluetooth/cmtp/cmtp.h 	int   sock;	// Connected socket
sock               73 net/bluetooth/cmtp/cmtp.h 	struct socket *sock;
sock              126 net/bluetooth/cmtp/cmtp.h 	struct sock *sk = session->sock->sk;
sock              202 net/bluetooth/cmtp/core.c 	struct socket *sock = session->sock;
sock              213 net/bluetooth/cmtp/core.c 	return kernel_sendmsg(sock, &msg, &iv, 1, len);
sock              283 net/bluetooth/cmtp/core.c 	struct sock *sk = session->sock->sk;
sock              317 net/bluetooth/cmtp/core.c 	fput(session->sock->file);
sock              335 net/bluetooth/cmtp/core.c 	baswap(&src, &bt_sk(sock->sk)->src);
sock              336 net/bluetooth/cmtp/core.c 	baswap(&dst, &bt_sk(sock->sk)->dst);
sock              344 net/bluetooth/cmtp/core.c 	s = __cmtp_get_session(&bt_sk(sock->sk)->dst);
sock              350 net/bluetooth/cmtp/core.c 	bacpy(&session->bdaddr, &bt_sk(sock->sk)->dst);
sock              352 net/bluetooth/cmtp/core.c 	session->mtu = min_t(uint, l2cap_pi(sock->sk)->omtu, l2cap_pi(sock->sk)->imtu);
sock              358 net/bluetooth/cmtp/core.c 	session->sock  = sock;
sock               53 net/bluetooth/cmtp/sock.c 	struct sock *sk = sock->sk;
sock               55 net/bluetooth/cmtp/sock.c 	BT_DBG("sock %p sk %p", sock, sk);
sock               86 net/bluetooth/cmtp/sock.c 		nsock = sockfd_lookup(ca.sock, &err);
sock              165 net/bluetooth/cmtp/sock.c 	return cmtp_sock_ioctl(sock, cmd, arg);
sock              200 net/bluetooth/cmtp/sock.c 	struct sock *sk;
sock              202 net/bluetooth/cmtp/sock.c 	BT_DBG("sock %p", sock);
sock              204 net/bluetooth/cmtp/sock.c 	if (sock->type != SOCK_RAW)
sock              211 net/bluetooth/cmtp/sock.c 	sock_init_data(sock, sk);
sock              213 net/bluetooth/cmtp/sock.c 	sock->ops = &cmtp_sock_ops;
sock              215 net/bluetooth/cmtp/sock.c 	sock->state = SS_UNCONNECTED;
sock               93 net/bluetooth/hci_sock.c 	struct sock *sk;
sock              147 net/bluetooth/hci_sock.c 	struct sock *sk = sock->sk;
sock              150 net/bluetooth/hci_sock.c 	BT_DBG("sock %p sk %p", sock, sk);
sock              211 net/bluetooth/hci_sock.c 	struct sock *sk = sock->sk;
sock              273 net/bluetooth/hci_sock.c 	struct sock *sk = sock->sk;
sock              277 net/bluetooth/hci_sock.c 	BT_DBG("sock %p sk %p", sock, sk);
sock              309 net/bluetooth/hci_sock.c 	struct sock *sk = sock->sk;
sock              312 net/bluetooth/hci_sock.c 	BT_DBG("sock %p sk %p", sock, sk);
sock              363 net/bluetooth/hci_sock.c 	struct sock *sk = sock->sk;
sock              367 net/bluetooth/hci_sock.c 	BT_DBG("sock %p, sk %p", sock, sk);
sock              399 net/bluetooth/hci_sock.c 	struct sock *sk = sock->sk;
sock              404 net/bluetooth/hci_sock.c 	BT_DBG("sock %p sk %p", sock, sk);
sock              477 net/bluetooth/hci_sock.c 	struct sock *sk = sock->sk;
sock              553 net/bluetooth/hci_sock.c 	struct sock *sk = sock->sk;
sock              631 net/bluetooth/hci_sock.c 	struct sock *sk;
sock              633 net/bluetooth/hci_sock.c 	BT_DBG("sock %p", sock);
sock              635 net/bluetooth/hci_sock.c 	if (sock->type != SOCK_RAW)
sock              638 net/bluetooth/hci_sock.c 	sock->ops = &hci_sock_ops;
sock              644 net/bluetooth/hci_sock.c 	sock_init_data(sock, sk);
sock              650 net/bluetooth/hci_sock.c 	sock->state = SS_UNCONNECTED;
sock              670 net/bluetooth/hci_sock.c 		struct sock *sk;
sock              480 net/bluetooth/hidp/core.c 	BT_DBG("sock %p data %p len %d", sock, data, len);
sock              487 net/bluetooth/hidp/core.c 	return kernel_sendmsg(sock, &msg, &iv, 1, len);
sock              520 net/bluetooth/hidp/core.c 	struct sock *ctrl_sk = session->ctrl_sock->sk;
sock              521 net/bluetooth/hidp/core.c 	struct sock *intr_sk = session->intr_sock->sk;
sock              160 net/bluetooth/hidp/hidp.h 	struct sock *ctrl_sk = session->ctrl_sock->sk;
sock              161 net/bluetooth/hidp/hidp.h 	struct sock *intr_sk = session->intr_sock->sk;
sock               49 net/bluetooth/hidp/sock.c 	struct sock *sk = sock->sk;
sock               51 net/bluetooth/hidp/sock.c 	BT_DBG("sock %p sk %p", sock, sk);
sock              216 net/bluetooth/hidp/sock.c 	return hidp_sock_ioctl(sock, cmd, arg);
sock              251 net/bluetooth/hidp/sock.c 	struct sock *sk;
sock              253 net/bluetooth/hidp/sock.c 	BT_DBG("sock %p", sock);
sock              255 net/bluetooth/hidp/sock.c 	if (sock->type != SOCK_RAW)
sock              262 net/bluetooth/hidp/sock.c 	sock_init_data(sock, sk);
sock              264 net/bluetooth/hidp/sock.c 	sock->ops = &hidp_sock_ops;
sock              266 net/bluetooth/hidp/sock.c 	sock->state = SS_UNCONNECTED;
sock               78 net/bluetooth/l2cap.c 	struct sock *sk = (struct sock *) arg;
sock              113 net/bluetooth/l2cap.c static struct sock *__l2cap_get_chan_by_dcid(struct l2cap_chan_list *l, u16 cid)
sock              115 net/bluetooth/l2cap.c 	struct sock *s;
sock              123 net/bluetooth/l2cap.c static struct sock *__l2cap_get_chan_by_scid(struct l2cap_chan_list *l, u16 cid)
sock              125 net/bluetooth/l2cap.c 	struct sock *s;
sock              135 net/bluetooth/l2cap.c static inline struct sock *l2cap_get_chan_by_scid(struct l2cap_chan_list *l, u16 cid)
sock              137 net/bluetooth/l2cap.c 	struct sock *s;
sock              145 net/bluetooth/l2cap.c static struct sock *__l2cap_get_chan_by_ident(struct l2cap_chan_list *l, u8 ident)
sock              147 net/bluetooth/l2cap.c 	struct sock *s;
sock              155 net/bluetooth/l2cap.c static inline struct sock *l2cap_get_chan_by_ident(struct l2cap_chan_list *l, u8 ident)
sock              157 net/bluetooth/l2cap.c 	struct sock *s;
sock              191 net/bluetooth/l2cap.c 	struct sock *next = l2cap_pi(sk)->next_c, *prev = l2cap_pi(sk)->prev_c;
sock              240 net/bluetooth/l2cap.c 	struct sock *parent = bt_sk(sk)->parent;
sock              349 net/bluetooth/l2cap.c 	struct sock *sk;
sock              401 net/bluetooth/l2cap.c 	struct sock *sk;
sock              427 net/bluetooth/l2cap.c 	struct sock *sk;
sock              484 net/bluetooth/l2cap.c 	struct sock *sk;
sock              518 net/bluetooth/l2cap.c static struct sock *__l2cap_get_sock_by_addr(__le16 psm, bdaddr_t *src)
sock              520 net/bluetooth/l2cap.c 	struct sock *sk;
sock              533 net/bluetooth/l2cap.c static struct sock *__l2cap_get_sock_by_psm(int state, __le16 psm, bdaddr_t *src)
sock              535 net/bluetooth/l2cap.c 	struct sock *sk = NULL, *sk1 = NULL;
sock              557 net/bluetooth/l2cap.c static inline struct sock *l2cap_get_sock_by_psm(int state, __le16 psm, bdaddr_t *src)
sock              559 net/bluetooth/l2cap.c 	struct sock *s;
sock              577 net/bluetooth/l2cap.c 	struct sock *sk;
sock              681 net/bluetooth/l2cap.c static struct sock *l2cap_sock_alloc(struct net *net, struct socket *sock, int proto, gfp_t prio)
sock              683 net/bluetooth/l2cap.c 	struct sock *sk;
sock              689 net/bluetooth/l2cap.c 	sock_init_data(sock, sk);
sock              708 net/bluetooth/l2cap.c 	struct sock *sk;
sock              710 net/bluetooth/l2cap.c 	BT_DBG("sock %p", sock);
sock              712 net/bluetooth/l2cap.c 	sock->state = SS_UNCONNECTED;
sock              714 net/bluetooth/l2cap.c 	if (sock->type != SOCK_SEQPACKET &&
sock              715 net/bluetooth/l2cap.c 			sock->type != SOCK_DGRAM && sock->type != SOCK_RAW)
sock              718 net/bluetooth/l2cap.c 	if (sock->type == SOCK_RAW && !capable(CAP_NET_RAW))
sock              721 net/bluetooth/l2cap.c 	sock->ops = &l2cap_sock_ops;
sock              723 net/bluetooth/l2cap.c 	sk = l2cap_sock_alloc(net, sock, protocol, GFP_ATOMIC);
sock              734 net/bluetooth/l2cap.c 	struct sock *sk = sock->sk;
sock              844 net/bluetooth/l2cap.c 	struct sock *sk = sock->sk;
sock              899 net/bluetooth/l2cap.c 	struct sock *sk = sock->sk;
sock              906 net/bluetooth/l2cap.c 	if (sk->sk_state != BT_BOUND || sock->type != SOCK_SEQPACKET) {
sock              945 net/bluetooth/l2cap.c 	struct sock *sk = sock->sk, *nsk;
sock             1001 net/bluetooth/l2cap.c 	struct sock *sk = sock->sk;
sock             1003 net/bluetooth/l2cap.c 	BT_DBG("sock %p, sk %p", sock, sk);
sock             1087 net/bluetooth/l2cap.c 	struct sock *sk = sock->sk;
sock             1090 net/bluetooth/l2cap.c 	BT_DBG("sock %p, sk %p", sock, sk);
sock             1116 net/bluetooth/l2cap.c 	struct sock *sk = sock->sk;
sock             1162 net/bluetooth/l2cap.c 	struct sock *sk = sock->sk;
sock             1218 net/bluetooth/l2cap.c 	struct sock *sk = sock->sk;
sock             1221 net/bluetooth/l2cap.c 	BT_DBG("sock %p, sk %p", sock, sk);
sock             1242 net/bluetooth/l2cap.c 	struct sock *sk = sock->sk;
sock             1245 net/bluetooth/l2cap.c 	BT_DBG("sock %p, sk %p", sock, sk);
sock             1250 net/bluetooth/l2cap.c 	err = l2cap_sock_shutdown(sock, 2);
sock             1259 net/bluetooth/l2cap.c 	struct sock *parent = bt_sk(sk)->parent;
sock             1290 net/bluetooth/l2cap.c 	struct sock * sk;
sock             1570 net/bluetooth/l2cap.c 	struct sock *sk, *parent;
sock             1678 net/bluetooth/l2cap.c 	struct sock *sk;
sock             1724 net/bluetooth/l2cap.c 	struct sock *sk;
sock             1793 net/bluetooth/l2cap.c 	struct sock *sk;
sock             1855 net/bluetooth/l2cap.c 	struct sock *sk;
sock             1882 net/bluetooth/l2cap.c 	struct sock *sk;
sock             2041 net/bluetooth/l2cap.c 	struct sock *sk;
sock             2077 net/bluetooth/l2cap.c 	struct sock *sk;
sock             2136 net/bluetooth/l2cap.c 	register struct sock *sk;
sock             2196 net/bluetooth/l2cap.c 	struct sock *sk;
sock             2266 net/bluetooth/l2cap.c 	struct sock *sk;
sock             2423 net/bluetooth/l2cap.c 	struct sock *sk;
sock              222 net/bluetooth/rfcomm/core.c 	err = sock_create_kern(PF_BLUETOOTH, SOCK_SEQPACKET, BTPROTO_L2CAP, sock);
sock              224 net/bluetooth/rfcomm/core.c 		struct sock *sk = (*sock)->sk;
sock              233 net/bluetooth/rfcomm/core.c 	struct sock *sk = d->session->sock->sk;
sock              551 net/bluetooth/rfcomm/core.c 	BT_DBG("session %p sock %p", s, sock);
sock              555 net/bluetooth/rfcomm/core.c 	s->sock  = sock;
sock              584 net/bluetooth/rfcomm/core.c 	sock_release(s->sock);
sock              598 net/bluetooth/rfcomm/core.c 		sk = bt_sk(s->sock->sk);
sock              632 net/bluetooth/rfcomm/core.c 	struct socket *sock;
sock              633 net/bluetooth/rfcomm/core.c 	struct sock *sk;
sock              637 net/bluetooth/rfcomm/core.c 	*err = rfcomm_l2sock_create(&sock);
sock              644 net/bluetooth/rfcomm/core.c 	*err = kernel_bind(sock, (struct sockaddr *) &addr, sizeof(addr));
sock              649 net/bluetooth/rfcomm/core.c 	sk = sock->sk;
sock              654 net/bluetooth/rfcomm/core.c 	s = rfcomm_session_add(sock, BT_BOUND);
sock              665 net/bluetooth/rfcomm/core.c 	*err = kernel_connect(sock, (struct sockaddr *) &addr, sizeof(addr), O_NONBLOCK);
sock              673 net/bluetooth/rfcomm/core.c 	sock_release(sock);
sock              679 net/bluetooth/rfcomm/core.c 	struct sock *sk = s->sock->sk;
sock              689 net/bluetooth/rfcomm/core.c 	struct socket *sock = s->sock;
sock              697 net/bluetooth/rfcomm/core.c 	return kernel_sendmsg(sock, &msg, &iv, 1, len);
sock              983 net/bluetooth/rfcomm/core.c 	struct socket *sock = s->sock;
sock             1010 net/bluetooth/rfcomm/core.c 	return kernel_sendmsg(sock, &msg, iv, 3, 6 + len);
sock             1172 net/bluetooth/rfcomm/core.c 	struct sock *sk = d->session->sock->sk;
sock             1728 net/bluetooth/rfcomm/core.c 				struct sock *sk = s->sock->sk;
sock             1753 net/bluetooth/rfcomm/core.c 	struct socket *sock = s->sock;
sock             1754 net/bluetooth/rfcomm/core.c 	struct sock *sk = sock->sk;
sock             1775 net/bluetooth/rfcomm/core.c 	struct socket *sock = s->sock, *nsock;
sock             1780 net/bluetooth/rfcomm/core.c 	if (list_empty(&bt_sk(sock->sk)->accept_q))
sock             1785 net/bluetooth/rfcomm/core.c 	err = kernel_accept(sock, &nsock, O_NONBLOCK);
sock             1810 net/bluetooth/rfcomm/core.c 	struct sock *sk = s->sock->sk;
sock             1870 net/bluetooth/rfcomm/core.c 	struct socket *sock;
sock             1871 net/bluetooth/rfcomm/core.c 	struct sock *sk;
sock             1876 net/bluetooth/rfcomm/core.c 	err = rfcomm_l2sock_create(&sock);
sock             1886 net/bluetooth/rfcomm/core.c 	err = kernel_bind(sock, (struct sockaddr *) &addr, sizeof(addr));
sock             1893 net/bluetooth/rfcomm/core.c 	sk = sock->sk;
sock             1899 net/bluetooth/rfcomm/core.c 	err = kernel_listen(sock, 10);
sock             1906 net/bluetooth/rfcomm/core.c 	s = rfcomm_session_add(sock, BT_LISTEN);
sock             1913 net/bluetooth/rfcomm/core.c 	sock_release(sock);
sock             2048 net/bluetooth/rfcomm/core.c 			struct sock *sk = s->sock->sk;
sock               73 net/bluetooth/rfcomm/sock.c 	struct sock *sk = d->owner;
sock               87 net/bluetooth/rfcomm/sock.c 	struct sock *sk = d->owner, *parent;
sock              125 net/bluetooth/rfcomm/sock.c static struct sock *__rfcomm_get_sock_by_addr(u8 channel, bdaddr_t *src)
sock              127 net/bluetooth/rfcomm/sock.c 	struct sock *sk = NULL;
sock              142 net/bluetooth/rfcomm/sock.c static struct sock *__rfcomm_get_sock_by_channel(int state, u8 channel, bdaddr_t *src)
sock              144 net/bluetooth/rfcomm/sock.c 	struct sock *sk = NULL, *sk1 = NULL;
sock              166 net/bluetooth/rfcomm/sock.c static inline struct sock *rfcomm_get_sock_by_channel(int state, u8 channel, bdaddr_t *src)
sock              168 net/bluetooth/rfcomm/sock.c 	struct sock *s;
sock              198 net/bluetooth/rfcomm/sock.c 	struct sock *sk;
sock              283 net/bluetooth/rfcomm/sock.c static struct sock *rfcomm_sock_alloc(struct net *net, struct socket *sock, int proto, gfp_t prio)
sock              286 net/bluetooth/rfcomm/sock.c 	struct sock *sk;
sock              292 net/bluetooth/rfcomm/sock.c 	sock_init_data(sock, sk);
sock              326 net/bluetooth/rfcomm/sock.c 	struct sock *sk;
sock              328 net/bluetooth/rfcomm/sock.c 	BT_DBG("sock %p", sock);
sock              330 net/bluetooth/rfcomm/sock.c 	sock->state = SS_UNCONNECTED;
sock              332 net/bluetooth/rfcomm/sock.c 	if (sock->type != SOCK_STREAM && sock->type != SOCK_RAW)
sock              335 net/bluetooth/rfcomm/sock.c 	sock->ops = &rfcomm_sock_ops;
sock              337 net/bluetooth/rfcomm/sock.c 	sk = rfcomm_sock_alloc(net, sock, protocol, GFP_ATOMIC);
sock              348 net/bluetooth/rfcomm/sock.c 	struct sock *sk = sock->sk;
sock              389 net/bluetooth/rfcomm/sock.c 	struct sock *sk = sock->sk;
sock              428 net/bluetooth/rfcomm/sock.c 	struct sock *sk = sock->sk;
sock              478 net/bluetooth/rfcomm/sock.c 	struct sock *sk = sock->sk, *nsk;
sock              539 net/bluetooth/rfcomm/sock.c 	struct sock *sk = sock->sk;
sock              541 net/bluetooth/rfcomm/sock.c 	BT_DBG("sock %p, sk %p", sock, sk);
sock              557 net/bluetooth/rfcomm/sock.c 	struct sock *sk = sock->sk;
sock              568 net/bluetooth/rfcomm/sock.c 	BT_DBG("sock %p, sk %p", sock, sk);
sock              637 net/bluetooth/rfcomm/sock.c 	struct sock *sk = sock->sk;
sock              720 net/bluetooth/rfcomm/sock.c 	struct sock *sk = sock->sk;
sock              749 net/bluetooth/rfcomm/sock.c 	struct sock *sk = sock->sk;
sock              750 net/bluetooth/rfcomm/sock.c 	struct sock *l2cap_sk;
sock              773 net/bluetooth/rfcomm/sock.c 		l2cap_sk = rfcomm_pi(sk)->dlc->session->sock->sk;
sock              795 net/bluetooth/rfcomm/sock.c 	struct sock *sk = sock->sk;
sock              800 net/bluetooth/rfcomm/sock.c 	err = bt_sock_ioctl(sock, cmd, arg);
sock              817 net/bluetooth/rfcomm/sock.c 	struct sock *sk = sock->sk;
sock              820 net/bluetooth/rfcomm/sock.c 	BT_DBG("sock %p, sk %p", sock, sk);
sock              838 net/bluetooth/rfcomm/sock.c 	struct sock *sk = sock->sk;
sock              841 net/bluetooth/rfcomm/sock.c 	BT_DBG("sock %p, sk %p", sock, sk);
sock              846 net/bluetooth/rfcomm/sock.c 	err = rfcomm_sock_shutdown(sock, 2);
sock              859 net/bluetooth/rfcomm/sock.c 	struct sock *sk, *parent;
sock              901 net/bluetooth/rfcomm/sock.c 	struct sock *sk;
sock              272 net/bluetooth/rfcomm/tty.c 		struct sock *sk = dlc->owner;
sock               77 net/bluetooth/sco.c 	struct sock *sk = (struct sock *) arg;
sock              133 net/bluetooth/sco.c static inline struct sock *sco_chan_get(struct sco_conn *conn)
sock              135 net/bluetooth/sco.c 	struct sock *sk = NULL;
sock              145 net/bluetooth/sco.c 	struct sock *sk;
sock              267 net/bluetooth/sco.c 	struct sock *sk = sco_chan_get(conn);
sock              286 net/bluetooth/sco.c static struct sock *__sco_get_sock_by_addr(bdaddr_t *ba)
sock              288 net/bluetooth/sco.c 	struct sock *sk;
sock              302 net/bluetooth/sco.c static struct sock *sco_get_sock_listen(bdaddr_t *src)
sock              304 net/bluetooth/sco.c 	struct sock *sk = NULL, *sk1 = NULL;
sock              337 net/bluetooth/sco.c 	struct sock *sk;
sock              418 net/bluetooth/sco.c static struct sock *sco_sock_alloc(struct net *net, struct socket *sock, int proto, gfp_t prio)
sock              420 net/bluetooth/sco.c 	struct sock *sk;
sock              426 net/bluetooth/sco.c 	sock_init_data(sock, sk);
sock              445 net/bluetooth/sco.c 	struct sock *sk;
sock              447 net/bluetooth/sco.c 	BT_DBG("sock %p", sock);
sock              449 net/bluetooth/sco.c 	sock->state = SS_UNCONNECTED;
sock              451 net/bluetooth/sco.c 	if (sock->type != SOCK_SEQPACKET)
sock              454 net/bluetooth/sco.c 	sock->ops = &sco_sock_ops;
sock              456 net/bluetooth/sco.c 	sk = sco_sock_alloc(net, sock, protocol, GFP_ATOMIC);
sock              467 net/bluetooth/sco.c 	struct sock *sk = sock->sk;
sock              503 net/bluetooth/sco.c 	struct sock *sk = sock->sk;
sock              536 net/bluetooth/sco.c 	struct sock *sk = sock->sk;
sock              543 net/bluetooth/sco.c 	if (sk->sk_state != BT_BOUND || sock->type != SOCK_SEQPACKET) {
sock              560 net/bluetooth/sco.c 	struct sock *sk = sock->sk, *ch;
sock              616 net/bluetooth/sco.c 	struct sock *sk = sock->sk;
sock              618 net/bluetooth/sco.c 	BT_DBG("sock %p, sk %p", sock, sk);
sock              634 net/bluetooth/sco.c 	struct sock *sk = sock->sk;
sock              637 net/bluetooth/sco.c 	BT_DBG("sock %p, sk %p", sock, sk);
sock              659 net/bluetooth/sco.c 	struct sock *sk = sock->sk;
sock              678 net/bluetooth/sco.c 	struct sock *sk = sock->sk;
sock              733 net/bluetooth/sco.c 	struct sock *sk = sock->sk;
sock              736 net/bluetooth/sco.c 	BT_DBG("sock %p, sk %p", sock, sk);
sock              792 net/bluetooth/sco.c 	struct sock *parent, *sk;
sock              898 net/bluetooth/sco.c 	struct sock *sk;
sock               68 net/bridge/netfilter/ebt_ulog.c static struct sock *ebtulognl;
sock              100 net/can/af_can.c 	struct sock *sk = sock->sk;
sock              119 net/can/af_can.c 	struct sock *sk;
sock              123 net/can/af_can.c 	sock->state = SS_UNCONNECTED;
sock              158 net/can/af_can.c 	if (cp->type != sock->type) {
sock              168 net/can/af_can.c 	sock->ops = cp->ops;
sock              176 net/can/af_can.c 	sock_init_data(sock, sk);
sock              101 net/can/bcm.c  	struct sock *sk;
sock              108 net/can/bcm.c  	struct sock sk;
sock              150 net/can/bcm.c  	struct sock *sk = (struct sock *)data;
sock              289 net/can/bcm.c  	struct sock *sk = op->sk;
sock             1190 net/can/bcm.c  	struct sock *sk = sock->sk;
sock             1302 net/can/bcm.c  	struct sock *sk = &bo->sk;
sock             1377 net/can/bcm.c  	struct sock *sk = sock->sk;
sock             1438 net/can/bcm.c  	struct sock *sk = sock->sk;
sock             1469 net/can/bcm.c  		sprintf(bo->procname, "%p", sock);
sock             1481 net/can/bcm.c  	struct sock *sk = sock->sk;
sock               79 net/can/raw.c  	struct sock sk;
sock               98 net/can/raw.c  	struct sock *sk = (struct sock *)data;
sock              211 net/can/raw.c  	struct sock *sk = &ro->sk;
sock              280 net/can/raw.c  	struct sock *sk = sock->sk;
sock              317 net/can/raw.c  	struct sock *sk = sock->sk;
sock              393 net/can/raw.c  	struct sock *sk = sock->sk;
sock              410 net/can/raw.c  	struct sock *sk = sock->sk;
sock              554 net/can/raw.c  	struct sock *sk = sock->sk;
sock              617 net/can/raw.c  	struct sock *sk = sock->sk;
sock              671 net/can/raw.c  	struct sock *sk = sock->sk;
sock              344 net/compat.c   	return sock_setsockopt(sock, level, optname, (char __user *)kfprog,
sock              364 net/compat.c   	err = sock_setsockopt(sock, level, optname, (char *) &ktime, sizeof(ktime));
sock              374 net/compat.c   		return do_set_attach_filter(sock, level, optname,
sock              377 net/compat.c   		return do_set_sock_timeout(sock, level, optname, optval, optlen);
sock              379 net/compat.c   	return sock_setsockopt(sock, level, optname, optval, optlen);
sock              386 net/compat.c   	struct socket *sock;
sock              391 net/compat.c   	if ((sock = sockfd_lookup(fd, &err))!=NULL)
sock              393 net/compat.c   		err = security_socket_setsockopt(sock,level,optname);
sock              395 net/compat.c   			sockfd_put(sock);
sock              400 net/compat.c   			err = compat_sock_setsockopt(sock, level,
sock              402 net/compat.c   		else if (sock->ops->compat_setsockopt)
sock              403 net/compat.c   			err = sock->ops->compat_setsockopt(sock, level,
sock              406 net/compat.c   			err = sock->ops->setsockopt(sock, level,
sock              408 net/compat.c   		sockfd_put(sock);
sock              429 net/compat.c   	err = sock_getsockopt(sock, level, optname, (char *) &ktime, &len);
sock              446 net/compat.c   		return do_get_sock_timeout(sock, level, optname, optval, optlen);
sock              447 net/compat.c   	return sock_getsockopt(sock, level, optname, optval, optlen);
sock              502 net/compat.c   	struct socket *sock;
sock              504 net/compat.c   	if ((sock = sockfd_lookup(fd, &err))!=NULL)
sock              506 net/compat.c   		err = security_socket_getsockopt(sock, level,
sock              509 net/compat.c   			sockfd_put(sock);
sock              514 net/compat.c   			err = compat_sock_getsockopt(sock, level,
sock              516 net/compat.c   		else if (sock->ops->compat_getsockopt)
sock              517 net/compat.c   			err = sock->ops->compat_getsockopt(sock, level,
sock              520 net/compat.c   			err = sock->ops->getsockopt(sock, level,
sock              522 net/compat.c   		sockfd_put(sock);
sock              638 net/compat.c   	return setsockopt(sock, level, optname, koptval, koptlen);
sock              654 net/compat.c   		return getsockopt(sock, level, optname, optval, optlen);
sock              684 net/compat.c   	err = getsockopt(sock, level, optname, (char __user *)kgf, koptlen);
sock              610 net/core/datagram.c 	struct sock *sk = sock->sk;
sock             1345 net/core/dev.c 		     (struct sock *)ptype->af_packet_priv != skb->sk)) {
sock              439 net/core/rtnetlink.c 	struct sock *rtnl = net->rtnl;
sock              453 net/core/rtnetlink.c 	struct sock *rtnl = net->rtnl;
sock              461 net/core/rtnetlink.c 	struct sock *rtnl = net->rtnl;
sock              472 net/core/rtnetlink.c 	struct sock *rtnl = net->rtnl;
sock             1289 net/core/rtnetlink.c 		struct sock *rtnl;
sock             1370 net/core/rtnetlink.c 	struct sock *sk;
sock             1486 net/core/skbuff.c 		struct sock *sk = __skb->sk;
sock              445 net/core/sock.c 	struct sock *sk=sock->sk;
sock              606 net/core/sock.c 			set_bit(SOCK_PASSCRED, &sock->flags);
sock              608 net/core/sock.c 			clear_bit(SOCK_PASSCRED, &sock->flags);
sock              659 net/core/sock.c 			set_bit(SOCK_PASSSEC, &sock->flags);
sock              661 net/core/sock.c 			clear_bit(SOCK_PASSSEC, &sock->flags);
sock              685 net/core/sock.c 	struct sock *sk = sock->sk;
sock              802 net/core/sock.c 		v.val = test_bit(SOCK_PASSCRED, &sock->flags) ? 1 : 0;
sock              816 net/core/sock.c 		if (sock->ops->getname(sock, (struct sockaddr *)address, &lv, 2))
sock              833 net/core/sock.c 		v.val = test_bit(SOCK_PASSSEC, &sock->flags) ? 1 : 0;
sock              837 net/core/sock.c 		return security_socket_getpeersec_stream(sock, optval, optlen, len);
sock              884 net/core/sock.c static struct sock *sk_prot_alloc(struct proto *prot, gfp_t priority,
sock              887 net/core/sock.c 	struct sock *sk;
sock              939 net/core/sock.c struct sock *sk_alloc(struct net *net, int family, gfp_t priority,
sock              942 net/core/sock.c 	struct sock *sk;
sock             1002 net/core/sock.c struct sock *sk_clone(const struct sock *sk, const gfp_t priority)
sock             1004 net/core/sock.c 	struct sock *newsk;
sock             1124 net/core/sock.c 	struct sock *sk = skb->sk;
sock             1138 net/core/sock.c 	struct sock *sk = skb->sk;
sock             1608 net/core/sock.c 	res = kernel_sendmsg(sock, &msg, &iov, 1, size);
sock             1708 net/core/sock.c 	sk_set_socket(sk, sock);
sock             1712 net/core/sock.c 	if (sock) {
sock             1713 net/core/sock.c 		sk->sk_type	=	sock->type;
sock             1714 net/core/sock.c 		sk->sk_sleep	=	&sock->wait;
sock             1715 net/core/sock.c 		sock->sk	=	sk;
sock             1832 net/core/sock.c 	struct sock *sk = sock->sk;
sock             1843 net/core/sock.c 	struct sock *sk = sock->sk;
sock             1856 net/core/sock.c 	struct sock *sk = sock->sk;
sock             1875 net/core/sock.c 	struct sock *sk = sock->sk;
sock             1886 net/core/sock.c 	struct sock *sk = sock->sk;
sock               30 net/core/stream.c 	struct socket *sock = sk->sk_socket;
sock               32 net/core/stream.c 	if (sk_stream_wspace(sk) >= sk_stream_min_wspace(sk) && sock) {
sock               33 net/core/stream.c 		clear_bit(SOCK_NOSPACE, &sock->flags);
sock               37 net/core/stream.c 		if (sock->fasync_list && !(sk->sk_shutdown & SEND_SHUTDOWN))
sock               38 net/core/stream.c 			sock_wake_async(sock, SOCK_WAKE_SPACE, POLL_OUT);
sock               85 net/dccp/ackvec.h struct sock;
sock               57 net/dccp/ccid.h 	int		(*ccid_hc_rx_init)(struct ccid *ccid, struct sock *sk);
sock               58 net/dccp/ccid.h 	int		(*ccid_hc_tx_init)(struct ccid *ccid, struct sock *sk);
sock               59 net/dccp/ccid.h 	void		(*ccid_hc_rx_exit)(struct sock *sk);
sock               60 net/dccp/ccid.h 	void		(*ccid_hc_tx_exit)(struct sock *sk);
sock               61 net/dccp/ccid.h 	void		(*ccid_hc_rx_packet_recv)(struct sock *sk,
sock               63 net/dccp/ccid.h 	int		(*ccid_hc_rx_parse_options)(struct sock *sk,
sock               67 net/dccp/ccid.h 	int		(*ccid_hc_rx_insert_options)(struct sock *sk,
sock               69 net/dccp/ccid.h 	void		(*ccid_hc_tx_packet_recv)(struct sock *sk,
sock               71 net/dccp/ccid.h 	int		(*ccid_hc_tx_parse_options)(struct sock *sk,
sock               75 net/dccp/ccid.h 	int		(*ccid_hc_tx_send_packet)(struct sock *sk,
sock               77 net/dccp/ccid.h 	void		(*ccid_hc_tx_packet_sent)(struct sock *sk,
sock               79 net/dccp/ccid.h 	void		(*ccid_hc_rx_get_info)(struct sock *sk,
sock               81 net/dccp/ccid.h 	void		(*ccid_hc_tx_get_info)(struct sock *sk,
sock               83 net/dccp/ccid.h 	int		(*ccid_hc_rx_getsockopt)(struct sock *sk,
sock               87 net/dccp/ccid.h 	int		(*ccid_hc_tx_getsockopt)(struct sock *sk,
sock              170 net/dccp/ccids/ccid2.c 	struct sock *sk = (struct sock *)data;
sock               30 net/dccp/ccids/ccid2.h struct sock;
sock              213 net/dccp/ccids/ccid3.c 	struct sock *sk = (struct sock *)data;
sock              259 net/dccp/dccp.h extern struct sock *dccp_create_openreq_child(struct sock *sk,
sock              265 net/dccp/dccp.h extern struct sock *dccp_v4_request_recv_sock(struct sock *sk,
sock              269 net/dccp/dccp.h extern struct sock *dccp_check_req(struct sock *sk, struct sk_buff *skb,
sock              205 net/dccp/ipv4.c 	struct sock *sk;
sock              374 net/dccp/ipv4.c struct sock *dccp_v4_request_recv_sock(struct sock *sk, struct sk_buff *skb,
sock              380 net/dccp/ipv4.c 	struct sock *newsk;
sock              422 net/dccp/ipv4.c static struct sock *dccp_v4_hnd_req(struct sock *sk, struct sk_buff *skb)
sock              426 net/dccp/ipv4.c 	struct sock *nsk;
sock              511 net/dccp/ipv4.c 	struct sock *ctl_sk = net->dccp.v4_ctl_sk;
sock              672 net/dccp/ipv4.c 		struct sock *nsk = dccp_v4_hnd_req(sk, skb);
sock              775 net/dccp/ipv4.c 	struct sock *sk;
sock               94 net/dccp/ipv6.c 	struct sock *sk;
sock              317 net/dccp/ipv6.c 	struct sock *ctl_sk = net->dccp.v6_ctl_sk;
sock              365 net/dccp/ipv6.c static struct sock *dccp_v6_hnd_req(struct sock *sk,struct sk_buff *skb)
sock              369 net/dccp/ipv6.c 	struct sock *nsk;
sock              480 net/dccp/ipv6.c static struct sock *dccp_v6_request_recv_sock(struct sock *sk,
sock              490 net/dccp/ipv6.c 	struct sock *newsk;
sock              745 net/dccp/ipv6.c 		struct sock *nsk = dccp_v6_hnd_req(sk, skb);
sock              783 net/dccp/ipv6.c 	struct sock *sk;
sock               71 net/dccp/minisocks.c 			tw6 = inet6_twsk((struct sock *)tw);
sock              102 net/dccp/minisocks.c struct sock *dccp_create_openreq_child(struct sock *sk,
sock              112 net/dccp/minisocks.c 	struct sock *newsk = inet_csk_clone(sk, req, GFP_ATOMIC);
sock              200 net/dccp/minisocks.c struct sock *dccp_check_req(struct sock *sk, struct sk_buff *skb,
sock              204 net/dccp/minisocks.c 	struct sock *child = NULL;
sock              351 net/dccp/proto.c 	struct sock *sk = sock->sk;
sock              866 net/dccp/proto.c 	struct sock *sk = sock->sk;
sock              873 net/dccp/proto.c 	if (sock->state != SS_UNCONNECTED || sock->type != SOCK_DCCP)
sock              141 net/dccp/timer.c 	struct sock *sk = (struct sock *)data;
sock              186 net/dccp/timer.c 	struct sock *sk = (struct sock *)data;
sock              208 net/dccp/timer.c 	struct sock *sk = (struct sock *)data;
sock              255 net/dccp/timer.c 	struct sock *sk = (struct sock *)data;
sock              143 net/decnet/af_decnet.c 	struct sock sk;
sock              178 net/decnet/af_decnet.c 	struct sock *sk;
sock              375 net/decnet/af_decnet.c struct sock *dn_sklist_find_listener(struct sockaddr_dn *addr)
sock              379 net/decnet/af_decnet.c 	struct sock *sk;
sock              414 net/decnet/af_decnet.c struct sock *dn_find_by_skb(struct sk_buff *skb)
sock              417 net/decnet/af_decnet.c 	struct sock *sk;
sock              474 net/decnet/af_decnet.c static struct sock *dn_alloc_sock(struct net *net, struct socket *sock, gfp_t gfp)
sock              477 net/decnet/af_decnet.c 	struct sock *sk = sk_alloc(net, PF_DECnet, gfp, &dn_proto);
sock              482 net/decnet/af_decnet.c 	if (sock)
sock              483 net/decnet/af_decnet.c 		sock->ops = &dn_proto_ops;
sock              484 net/decnet/af_decnet.c 	sock_init_data(sock, sk);
sock              680 net/decnet/af_decnet.c 	struct sock *sk;
sock              685 net/decnet/af_decnet.c 	switch(sock->type) {
sock              697 net/decnet/af_decnet.c 	if ((sk = dn_alloc_sock(net, sock, GFP_KERNEL)) == NULL)
sock              709 net/decnet/af_decnet.c 	struct sock *sk = sock->sk;
sock              725 net/decnet/af_decnet.c 	struct sock *sk = sock->sk;
sock              786 net/decnet/af_decnet.c 	struct sock *sk = sock->sk;
sock              907 net/decnet/af_decnet.c 	struct socket *sock = sk->sk_socket;
sock              912 net/decnet/af_decnet.c 	if (sock->state == SS_CONNECTED)
sock              915 net/decnet/af_decnet.c 	if (sock->state == SS_CONNECTING) {
sock              918 net/decnet/af_decnet.c 			sock->state = SS_CONNECTED;
sock              923 net/decnet/af_decnet.c 			sock->state = SS_UNCONNECTED;
sock              958 net/decnet/af_decnet.c 	sock->state = SS_CONNECTING;
sock              974 net/decnet/af_decnet.c 	struct sock *sk = sock->sk;
sock             1071 net/decnet/af_decnet.c 	struct sock *sk = sock->sk, *newsk;
sock             1179 net/decnet/af_decnet.c 	struct sock *sk = sock->sk;
sock             1187 net/decnet/af_decnet.c 		if ((sock->state != SS_CONNECTED &&
sock             1188 net/decnet/af_decnet.c 		     sock->state != SS_CONNECTING) &&
sock             1207 net/decnet/af_decnet.c 	struct sock *sk = sock->sk;
sock             1209 net/decnet/af_decnet.c 	int mask = datagram_poll(file, sock, wait);
sock             1219 net/decnet/af_decnet.c 	struct sock *sk = sock->sk;
sock             1275 net/decnet/af_decnet.c 	struct sock *sk = sock->sk;
sock             1301 net/decnet/af_decnet.c 	struct sock *sk = sock->sk;
sock             1307 net/decnet/af_decnet.c 	if (sock->state == SS_UNCONNECTED)
sock             1311 net/decnet/af_decnet.c 	if (sock->state == SS_DISCONNECTING)
sock             1333 net/decnet/af_decnet.c 	struct sock *sk = sock->sk;
sock             1337 net/decnet/af_decnet.c 	err = __dn_setsockopt(sock, level, optname, optval, optlen, 0);
sock             1345 net/decnet/af_decnet.c 	struct	sock *sk = sock->sk;
sock             1370 net/decnet/af_decnet.c 			if (sock->state == SS_CONNECTED)
sock             1385 net/decnet/af_decnet.c 			if (sock->state != SS_CONNECTED && scp->accept_mode == ACC_IMMED)
sock             1398 net/decnet/af_decnet.c 			if (sock->state == SS_CONNECTED)
sock             1415 net/decnet/af_decnet.c 			if (sock->state == SS_CONNECTED)
sock             1510 net/decnet/af_decnet.c 	struct sock *sk = sock->sk;
sock             1514 net/decnet/af_decnet.c 	err = __dn_getsockopt(sock, level, optname, optval, optlen, 0);
sock             1522 net/decnet/af_decnet.c 	struct	sock *sk = sock->sk;
sock             1561 net/decnet/af_decnet.c 			switch(sock->state) {
sock             1679 net/decnet/af_decnet.c 	struct sock *sk = sock->sk;
sock             1915 net/decnet/af_decnet.c 	struct sock *sk = sock->sk;
sock             1943 net/decnet/af_decnet.c 	if (sock->type == SOCK_STREAM) {
sock             2126 net/decnet/af_decnet.c static struct sock *dn_socket_get_first(struct seq_file *seq)
sock             2129 net/decnet/af_decnet.c 	struct sock *n = NULL;
sock             2142 net/decnet/af_decnet.c static struct sock *dn_socket_get_next(struct seq_file *seq,
sock             2159 net/decnet/af_decnet.c static struct sock *socket_get_idx(struct seq_file *seq, loff_t *pos)
sock             2161 net/decnet/af_decnet.c 	struct sock *sk = dn_socket_get_first(seq);
sock              216 net/decnet/dn_nsp_in.c static struct sock *dn_find_listener(struct sk_buff *skb, unsigned short *reason)
sock              601 net/decnet/dn_nsp_in.c 		struct socket *sock = sk->sk_socket;
sock              603 net/decnet/dn_nsp_in.c 		if (sock && sock->fasync_list &&
sock              604 net/decnet/dn_nsp_in.c 		    !test_bit(SOCK_ASYNC_WAITDATA, &sock->flags))
sock              605 net/decnet/dn_nsp_in.c 			__kill_fasync(sock->fasync_list, sig,
sock              722 net/decnet/dn_nsp_in.c 	struct sock *sk = NULL;
sock               77 net/decnet/dn_nsp_out.c 	struct sock *sk = skb->sk;
sock               53 net/decnet/dn_timer.c 	struct sock *sk = (struct sock *)arg;
sock               29 net/decnet/netfilter/dn_rtmsg.c static struct sock *dnrmg = NULL;
sock              120 net/econet/af_econet.c 	struct sock *sk = sock->sk;
sock              190 net/econet/af_econet.c 	struct sock *sk;
sock              203 net/econet/af_econet.c 	sk = sock->sk;
sock              266 net/econet/af_econet.c 	struct sock *sk = sock->sk;
sock              369 net/econet/af_econet.c 			if (sock->type != SOCK_DGRAM) {
sock              516 net/econet/af_econet.c 	struct sock *sk;
sock              525 net/econet/af_econet.c 	sk = sock->sk;
sock              541 net/econet/af_econet.c 	struct sock *sk=(struct sock *)data;
sock              560 net/econet/af_econet.c 	struct sock *sk;
sock              564 net/econet/af_econet.c 	sk = sock->sk;
sock              611 net/econet/af_econet.c 	struct sock *sk;
sock              619 net/econet/af_econet.c 	if (sock->type != SOCK_DGRAM)
sock              622 net/econet/af_econet.c 	sock->state = SS_UNCONNECTED;
sock              630 net/econet/af_econet.c 	sock->ops = &econet_ops;
sock              631 net/econet/af_econet.c 	sock_init_data(sock, sk);
sock              724 net/econet/af_econet.c 	struct sock *sk = sock->sk;
sock              736 net/econet/af_econet.c 			return ec_dev_ioctl(sock, cmd, argp);
sock              778 net/econet/af_econet.c static struct sock *ec_listening_socket(unsigned char port, unsigned char
sock              781 net/econet/af_econet.c 	struct sock *sk;
sock              854 net/econet/af_econet.c 	struct sock *sk;
sock             1062 net/econet/af_econet.c 	struct sock *sk;
sock              193 net/ipv4/af_inet.c 	struct sock *sk = sock->sk;
sock              200 net/ipv4/af_inet.c 	if (sock->state != SS_UNCONNECTED || sock->type != SOCK_STREAM)
sock              266 net/ipv4/af_inet.c 	struct sock *sk;
sock              275 net/ipv4/af_inet.c 	if (sock->type != SOCK_RAW &&
sock              276 net/ipv4/af_inet.c 	    sock->type != SOCK_DGRAM &&
sock              280 net/ipv4/af_inet.c 	sock->state = SS_UNCONNECTED;
sock              286 net/ipv4/af_inet.c 	list_for_each_entry_rcu(answer, &inetsw[sock->type], list) {
sock              314 net/ipv4/af_inet.c 					       PF_INET, protocol, sock->type);
sock              335 net/ipv4/af_inet.c 	sock->ops = answer->ops;
sock              356 net/ipv4/af_inet.c 	if (SOCK_RAW == sock->type) {
sock              369 net/ipv4/af_inet.c 	sock_init_data(sock, sk);
sock              415 net/ipv4/af_inet.c 	struct sock *sk = sock->sk;
sock              434 net/ipv4/af_inet.c 		sock->sk = NULL;
sock              446 net/ipv4/af_inet.c 	struct sock *sk = sock->sk;
sock              527 net/ipv4/af_inet.c 	struct sock *sk = sock->sk;
sock              567 net/ipv4/af_inet.c 	struct sock *sk = sock->sk;
sock              575 net/ipv4/af_inet.c 		sock->state = err ? SS_DISCONNECTING : SS_UNCONNECTED;
sock              579 net/ipv4/af_inet.c 	switch (sock->state) {
sock              599 net/ipv4/af_inet.c 		sock->state = SS_CONNECTING;
sock              632 net/ipv4/af_inet.c 	sock->state = SS_CONNECTED;
sock              640 net/ipv4/af_inet.c 	sock->state = SS_UNCONNECTED;
sock              642 net/ipv4/af_inet.c 		sock->state = SS_DISCONNECTING;
sock              652 net/ipv4/af_inet.c 	struct sock *sk1 = sock->sk;
sock              654 net/ipv4/af_inet.c 	struct sock *sk2 = sk1->sk_prot->accept(sk1, flags, &err);
sock              680 net/ipv4/af_inet.c 	struct sock *sk		= sock->sk;
sock              707 net/ipv4/af_inet.c 	struct sock *sk = sock->sk;
sock              719 net/ipv4/af_inet.c 	struct sock *sk = sock->sk;
sock              727 net/ipv4/af_inet.c 	return sock_no_sendpage(sock, page, offset, size, flags);
sock              733 net/ipv4/af_inet.c 	struct sock *sk = sock->sk;
sock              746 net/ipv4/af_inet.c 	if (sock->state == SS_CONNECTING) {
sock              749 net/ipv4/af_inet.c 			sock->state = SS_DISCONNECTING;
sock              751 net/ipv4/af_inet.c 			sock->state = SS_CONNECTED;
sock              775 net/ipv4/af_inet.c 		sock->state = err ? SS_DISCONNECTING : SS_UNCONNECTED;
sock              797 net/ipv4/af_inet.c 	struct sock *sk = sock->sk;
sock             1251 net/ipv4/af_inet.c 	struct socket *sock;
sock             1252 net/ipv4/af_inet.c 	int rc = sock_create_kern(family, type, protocol, &sock);
sock             1255 net/ipv4/af_inet.c 		*sk = sock->sk;
sock              881 net/ipv4/fib_frontend.c 	struct sock *sk;
sock              202 net/ipv4/icmp.c static struct sock *icmp_sk(struct net *net)
sock              207 net/ipv4/icmp.c static inline struct sock *icmp_xmit_lock(struct net *net)
sock              209 net/ipv4/icmp.c 	struct sock *sk;
sock              326 net/ipv4/icmp.c 	struct sock *sk;
sock              361 net/ipv4/icmp.c 	struct sock *sk;
sock              423 net/ipv4/icmp.c 	struct sock *sk;
sock             1149 net/ipv4/icmp.c 		kzalloc(nr_cpu_ids * sizeof(struct sock *), GFP_KERNEL);
sock             1154 net/ipv4/icmp.c 		struct sock *sk;
sock               56 net/ipv4/inet_connection_sock.c 	struct sock *sk2;
sock              235 net/ipv4/inet_connection_sock.c struct sock *inet_csk_accept(struct sock *sk, int flags, int *err)
sock              238 net/ipv4/inet_connection_sock.c 	struct sock *newsk;
sock              509 net/ipv4/inet_connection_sock.c struct sock *inet_csk_clone(struct sock *sk, const struct request_sock *req,
sock              512 net/ipv4/inet_connection_sock.c 	struct sock *newsk = sk_clone(sk, priority);
sock              631 net/ipv4/inet_connection_sock.c 		struct sock *child = req->sk;
sock               47 net/ipv4/inet_diag.c static struct sock *idiagnl;
sock              223 net/ipv4/inet_diag.c 						inet6_twsk((struct sock *)tw);
sock              253 net/ipv4/inet_diag.c 	struct sock *sk;
sock              541 net/ipv4/inet_diag.c 						inet6_twsk((struct sock *)tw);
sock              725 net/ipv4/inet_diag.c 			struct sock *sk;
sock              782 net/ipv4/inet_diag.c 		struct sock *sk;
sock              148 net/ipv4/inet_hashtables.c static struct sock *inet_lookup_listener_slow(struct net *net,
sock              154 net/ipv4/inet_hashtables.c 	struct sock *result = NULL, *sk;
sock              188 net/ipv4/inet_hashtables.c struct sock *__inet_lookup_listener(struct net *net,
sock              193 net/ipv4/inet_hashtables.c 	struct sock *sk = NULL;
sock              217 net/ipv4/inet_hashtables.c struct sock * __inet_lookup_established(struct net *net,
sock              225 net/ipv4/inet_hashtables.c 	struct sock *sk;
sock              274 net/ipv4/inet_hashtables.c 	struct sock *sk2;
sock               56 net/ipv4/inet_timewait_sock.c 		twsk_destructor((struct sock *)tw);
sock              418 net/ipv4/inet_timewait_sock.c 	struct sock *sk;
sock              154 net/ipv4/ip_input.c 	struct sock *last = NULL;
sock              159 net/ipv4/ip_input.c 		struct sock *sk = ra->sk;
sock              240 net/ipv4/ip_output.c 	struct sock *sk = skb->sk;
sock              313 net/ipv4/ip_output.c 	struct sock *sk = skb->sk;
sock               70 net/ipv4/ipmr.c static struct sock *mroute_socket;
sock               49 net/ipv4/netfilter/ip_queue.c static struct sock *ipqnl __read_mostly;
sock               84 net/ipv4/netfilter/ipt_ULOG.c static struct sock *nflognl;		/* our socket */
sock              110 net/ipv4/raw.c static struct sock *__raw_v4_lookup(struct net *net, struct sock *sk,
sock              159 net/ipv4/raw.c 	struct sock *sk;
sock              195 net/ipv4/raw.c 	struct sock *raw_sk;
sock              267 net/ipv4/raw.c 	struct sock *raw_sk;
sock              851 net/ipv4/raw.c static struct sock *raw_get_first(struct seq_file *seq)
sock              853 net/ipv4/raw.c 	struct sock *sk;
sock              869 net/ipv4/raw.c static struct sock *raw_get_next(struct seq_file *seq, struct sock *sk)
sock              886 net/ipv4/raw.c static struct sock *raw_get_idx(struct seq_file *seq, loff_t pos)
sock              888 net/ipv4/raw.c 	struct sock *sk = raw_get_first(seq);
sock              907 net/ipv4/raw.c 	struct sock *sk;
sock              208 net/ipv4/syncookies.c static inline struct sock *get_cookie_sock(struct sock *sk, struct sk_buff *skb,
sock              213 net/ipv4/syncookies.c 	struct sock *child;
sock              253 net/ipv4/syncookies.c struct sock *cookie_v4_check(struct sock *sk, struct sk_buff *skb,
sock              261 net/ipv4/syncookies.c 	struct sock *ret = sk;
sock              337 net/ipv4/tcp.c 	struct sock *sk = sock->sk;
sock              553 net/ipv4/tcp.c 	struct sock *sk = sock->sk;
sock              778 net/ipv4/tcp.c 	struct sock *sk = sock->sk;
sock              782 net/ipv4/tcp.c 		return sock_no_sendpage(sock, page, offset, size, flags);
sock              818 net/ipv4/tcp.c 	struct sock *sk = sock->sk;
sock              222 net/ipv4/tcp_input.c 			tcp_enter_quickack_mode((struct sock *)tp);
sock              342 net/ipv4/tcp_ipv4.c 	struct sock *sk;
sock             1330 net/ipv4/tcp_ipv4.c struct sock *tcp_v4_syn_recv_sock(struct sock *sk, struct sk_buff *skb,
sock             1337 net/ipv4/tcp_ipv4.c 	struct sock *newsk;
sock             1409 net/ipv4/tcp_ipv4.c static struct sock *tcp_v4_hnd_req(struct sock *sk, struct sk_buff *skb)
sock             1413 net/ipv4/tcp_ipv4.c 	struct sock *nsk;
sock             1472 net/ipv4/tcp_ipv4.c 	struct sock *rsk;
sock             1498 net/ipv4/tcp_ipv4.c 		struct sock *nsk = tcp_v4_hnd_req(sk, skb);
sock             1543 net/ipv4/tcp_ipv4.c 	struct sock *sk;
sock             1653 net/ipv4/tcp_ipv4.c 		struct sock *sk2 = inet_lookup_listener(dev_net(skb->dev),
sock             1718 net/ipv4/tcp_ipv4.c 		const struct tcp_timewait_sock *tcptw = tcp_twsk((struct sock *)tw);
sock             1879 net/ipv4/tcp_ipv4.c 	struct sock *sk = cur;
sock             1971 net/ipv4/tcp_ipv4.c 		struct sock *sk;
sock             2008 net/ipv4/tcp_ipv4.c 	struct sock *sk = cur;
sock               99 net/ipv4/tcp_minisocks.c 	struct tcp_timewait_sock *tcptw = tcp_twsk((struct sock *)tw);
sock              286 net/ipv4/tcp_minisocks.c 		struct tcp_timewait_sock *tcptw = tcp_twsk((struct sock *)tw);
sock              302 net/ipv4/tcp_minisocks.c 			tw6 = inet6_twsk((struct sock *)tw);
sock              383 net/ipv4/tcp_minisocks.c struct sock *tcp_create_openreq_child(struct sock *sk, struct request_sock *req, struct sk_buff *skb)
sock              385 net/ipv4/tcp_minisocks.c 	struct sock *newsk = inet_csk_clone(sk, req, GFP_ATOMIC);
sock              494 net/ipv4/tcp_minisocks.c struct sock *tcp_check_req(struct sock *sk,struct sk_buff *skb,
sock              502 net/ipv4/tcp_minisocks.c 	struct sock *child;
sock              174 net/ipv4/tcp_timer.c 	struct sock *sk = (struct sock*)data;
sock              399 net/ipv4/tcp_timer.c 	struct sock *sk = (struct sock*)data;
sock              462 net/ipv4/tcp_timer.c 	struct sock *sk = (struct sock *) data;
sock              131 net/ipv4/udp.c 	struct sock *sk2;
sock              214 net/ipv4/udp.c static struct sock *__udp4_lib_lookup(struct net *net, __be32 saddr,
sock              218 net/ipv4/udp.c 	struct sock *sk, *result = NULL;
sock              265 net/ipv4/udp.c static inline struct sock *__udp4_lib_lookup_skb(struct sk_buff *skb,
sock              269 net/ipv4/udp.c 	struct sock *sk;
sock              280 net/ipv4/udp.c struct sock *udp4_lib_lookup(struct net *net, __be32 saddr, __be16 sport,
sock              287 net/ipv4/udp.c static inline struct sock *udp_v4_mcast_next(struct sock *sk,
sock              293 net/ipv4/udp.c 	struct sock *s = sk;
sock              333 net/ipv4/udp.c 	struct sock *sk;
sock             1076 net/ipv4/udp.c 	struct sock *sk;
sock             1084 net/ipv4/udp.c 		struct sock *sknext = NULL;
sock             1154 net/ipv4/udp.c 	struct sock *sk;
sock             1439 net/ipv4/udp.c 	unsigned int mask = datagram_poll(file, sock, wait);
sock             1440 net/ipv4/udp.c 	struct sock *sk = sock->sk;
sock             1501 net/ipv4/udp.c static struct sock *udp_get_first(struct seq_file *seq)
sock             1503 net/ipv4/udp.c 	struct sock *sk;
sock             1521 net/ipv4/udp.c static struct sock *udp_get_next(struct seq_file *seq, struct sock *sk)
sock             1539 net/ipv4/udp.c static struct sock *udp_get_idx(struct seq_file *seq, loff_t pos)
sock             1541 net/ipv4/udp.c 	struct sock *sk = udp_get_first(seq);
sock             1558 net/ipv4/udp.c 	struct sock *sk;
sock               86 net/ipv6/af_inet6.c 	struct sock *sk;
sock               94 net/ipv6/af_inet6.c 	if (sock->type != SOCK_RAW &&
sock               95 net/ipv6/af_inet6.c 	    sock->type != SOCK_DGRAM &&
sock              103 net/ipv6/af_inet6.c 	list_for_each_entry_rcu(answer, &inetsw6[sock->type], list) {
sock              131 net/ipv6/af_inet6.c 						PF_INET6, protocol, sock->type);
sock              148 net/ipv6/af_inet6.c 	sock->ops = answer->ops;
sock              161 net/ipv6/af_inet6.c 	sock_init_data(sock, sk);
sock              171 net/ipv6/af_inet6.c 	if (SOCK_RAW == sock->type) {
sock              242 net/ipv6/af_inet6.c 	struct sock *sk = sock->sk;
sock              258 net/ipv6/af_inet6.c 	if ((addr_type & IPV6_ADDR_MULTICAST) && sock->type == SOCK_STREAM)
sock              354 net/ipv6/af_inet6.c 	struct sock *sk = sock->sk;
sock              365 net/ipv6/af_inet6.c 	return inet_release(sock);
sock              400 net/ipv6/af_inet6.c 	struct sock *sk = sock->sk;
sock              435 net/ipv6/af_inet6.c 	struct sock *sk = sock->sk;
sock               94 net/ipv6/icmp.c static __inline__ struct sock *icmpv6_xmit_lock(struct net *net)
sock               96 net/ipv6/icmp.c 	struct sock *sk;
sock              314 net/ipv6/icmp.c 	struct sock *sk;
sock              514 net/ipv6/icmp.c 	struct sock *sk;
sock              804 net/ipv6/icmp.c 	struct sock *sk;
sock              808 net/ipv6/icmp.c 		kzalloc(nr_cpu_ids * sizeof(struct sock *), GFP_KERNEL);
sock               32 net/ipv6/inet6_connection_sock.c 	const struct sock *sk2;
sock              183 net/ipv6/inet6_connection_sock.c 	struct sock *sk = skb->sk;
sock               57 net/ipv6/inet6_hashtables.c struct sock *__inet6_lookup_established(struct net *net,
sock               65 net/ipv6/inet6_hashtables.c 	struct sock *sk;
sock               97 net/ipv6/inet6_hashtables.c struct sock *inet6_lookup_listener(struct net *net,
sock              101 net/ipv6/inet6_hashtables.c 	struct sock *sk;
sock              103 net/ipv6/inet6_hashtables.c 	struct sock *result = NULL;
sock              142 net/ipv6/inet6_hashtables.c struct sock *inet6_lookup(struct net *net, struct inet_hashinfo *hashinfo,
sock              147 net/ipv6/inet6_hashtables.c 	struct sock *sk;
sock              174 net/ipv6/inet6_hashtables.c 	struct sock *sk2;
sock              333 net/ipv6/ip6_output.c 	struct sock *last = NULL;
sock              337 net/ipv6/ip6_output.c 		struct sock *sk = ra->sk;
sock               52 net/ipv6/ip6mr.c struct sock *mroute6_socket;
sock             1396 net/ipv6/mcast.c 	struct sock *sk = net->ipv6.igmp_sk;
sock             1760 net/ipv6/mcast.c 	struct sock *sk = net->ipv6.igmp_sk;
sock              453 net/ipv6/ndisc.c 	struct sock *sk = net->ipv6.ndisc_sk;
sock             1456 net/ipv6/ndisc.c 	struct sock *sk = net->ipv6.ndisc_sk;
sock             1778 net/ipv6/ndisc.c 	struct sock *sk;
sock               52 net/ipv6/netfilter/ip6_queue.c static struct sock *ipqnl __read_mostly;
sock               67 net/ipv6/raw.c static struct sock *__raw_v6_lookup(struct net *net, struct sock *sk,
sock              125 net/ipv6/raw.c static int (*mh_filter)(struct sock *sock, struct sk_buff *skb);
sock              157 net/ipv6/raw.c 	struct sock *sk;
sock              194 net/ipv6/raw.c 			int (*filter)(struct sock *sock, struct sk_buff *skb);
sock              227 net/ipv6/raw.c 	struct sock *raw_sk;
sock              348 net/ipv6/raw.c 	struct sock *sk;
sock               61 net/ipv6/syncookies.c static inline struct sock *get_cookie_sock(struct sock *sk, struct sk_buff *skb,
sock               66 net/ipv6/syncookies.c 	struct sock *child;
sock              159 net/ipv6/syncookies.c struct sock *cookie_v6_check(struct sock *sk, struct sk_buff *skb)
sock              168 net/ipv6/syncookies.c 	struct sock *ret = sk;
sock              323 net/ipv6/tcp_ipv6.c 	struct sock *sk;
sock              952 net/ipv6/tcp_ipv6.c 	struct sock *ctl_sk = net->ipv6.tcp_sk;
sock             1087 net/ipv6/tcp_ipv6.c static struct sock *tcp_v6_hnd_req(struct sock *sk,struct sk_buff *skb)
sock             1091 net/ipv6/tcp_ipv6.c 	struct sock *nsk;
sock             1222 net/ipv6/tcp_ipv6.c static struct sock * tcp_v6_syn_recv_sock(struct sock *sk, struct sk_buff *skb,
sock             1231 net/ipv6/tcp_ipv6.c 	struct sock *newsk;
sock             1517 net/ipv6/tcp_ipv6.c 		struct sock *nsk = tcp_v6_hnd_req(sk, skb);
sock             1587 net/ipv6/tcp_ipv6.c 	struct sock *sk;
sock             1698 net/ipv6/tcp_ipv6.c 		struct sock *sk2;
sock             1943 net/ipv6/tcp_ipv6.c 	struct inet6_timewait_sock *tw6 = inet6_twsk((struct sock *)tw);
sock               57 net/ipv6/udp.c static struct sock *__udp6_lib_lookup(struct net *net,
sock               62 net/ipv6/udp.c 	struct sock *sk, *result = NULL;
sock              110 net/ipv6/udp.c static struct sock *__udp6_lib_lookup_skb(struct sk_buff *skb,
sock              114 net/ipv6/udp.c 	struct sock *sk;
sock              249 net/ipv6/udp.c 	struct sock *sk;
sock              331 net/ipv6/udp.c static struct sock *udp_v6_mcast_next(struct sock *sk,
sock              337 net/ipv6/udp.c 	struct sock *s = sk;
sock              379 net/ipv6/udp.c 	struct sock *sk, *sk2;
sock              453 net/ipv6/udp.c 	struct sock *sk;
sock              227 net/ipx/af_ipx.c static struct sock *__ipxitf_find_socket(struct ipx_interface *intrfc,
sock              230 net/ipx/af_ipx.c 	struct sock *s;
sock              242 net/ipx/af_ipx.c static struct sock *ipxitf_find_socket(struct ipx_interface *intrfc,
sock              245 net/ipx/af_ipx.c 	struct sock *s;
sock              257 net/ipx/af_ipx.c static struct sock *ipxitf_find_internal_socket(struct ipx_interface *intrfc,
sock              261 net/ipx/af_ipx.c 	struct sock *s;
sock              284 net/ipx/af_ipx.c 	struct sock *s;
sock              370 net/ipx/af_ipx.c 	if (sock_queue_rcv_skb(sock, skb) < 0)
sock              387 net/ipx/af_ipx.c 	struct sock *s;
sock              396 net/ipx/af_ipx.c 		if (ipxs->port == ipx->ipx_dest.sock &&
sock              429 net/ipx/af_ipx.c static struct sock *ncp_connection_hack(struct ipx_interface *intrfc,
sock              439 net/ipx/af_ipx.c 	struct sock *sk = NULL;
sock              470 net/ipx/af_ipx.c 	struct sock *sock1 = NULL, *sock2 = NULL;
sock              474 net/ipx/af_ipx.c 	if (intrfc == ipx_primary_net && ntohs(ipx->ipx_dest.sock) == 0x451)
sock              478 net/ipx/af_ipx.c 		sock1 = ipxitf_find_socket(intrfc, ipx->ipx_dest.sock);
sock              489 net/ipx/af_ipx.c 		const int dsock = ntohs(ipx->ipx_dest.sock);
sock              497 net/ipx/af_ipx.c 							ipx->ipx_dest.sock);
sock             1296 net/ipx/af_ipx.c 	struct sock *sk = sock->sk;
sock             1320 net/ipx/af_ipx.c 	struct sock *sk = sock->sk;
sock             1357 net/ipx/af_ipx.c 	struct sock *sk;
sock             1368 net/ipx/af_ipx.c 	if (sock->type != SOCK_DGRAM)
sock             1377 net/ipx/af_ipx.c 	sock_init_data(sock, sk);
sock             1379 net/ipx/af_ipx.c 	sock->ops = &ipx_dgram_ops;
sock             1387 net/ipx/af_ipx.c 	struct sock *sk = sock->sk;
sock             1396 net/ipx/af_ipx.c 	sock->sk = NULL;
sock             1428 net/ipx/af_ipx.c 	struct sock *sk = sock->sk;
sock             1524 net/ipx/af_ipx.c 	struct sock *sk = sock->sk;
sock             1531 net/ipx/af_ipx.c 	sock->state 	= SS_UNCONNECTED;
sock             1552 net/ipx/af_ipx.c 		rc = ipx_bind(sock, (struct sockaddr *)&uaddr,
sock             1566 net/ipx/af_ipx.c 	ipxs->dest_addr.sock = addr->sipx_port;
sock             1570 net/ipx/af_ipx.c 	if (sock->type == SOCK_DGRAM) {
sock             1571 net/ipx/af_ipx.c 		sock->state 	= SS_CONNECTED;
sock             1588 net/ipx/af_ipx.c 	struct sock *sk = sock->sk;
sock             1601 net/ipx/af_ipx.c 		sipx.sipx_port		= addr->sock;
sock             1695 net/ipx/af_ipx.c 	struct sock *sk = sock->sk;
sock             1725 net/ipx/af_ipx.c 			rc = ipx_bind(sock, (struct sockaddr *)&uaddr,
sock             1743 net/ipx/af_ipx.c 		usipx->sipx_port 	= ipxs->dest_addr.sock;
sock             1760 net/ipx/af_ipx.c 	struct sock *sk = sock->sk;
sock             1781 net/ipx/af_ipx.c 		rc = ipx_bind(sock, (struct sockaddr *)&uaddr,
sock             1814 net/ipx/af_ipx.c 		sipx->sipx_port		= ipx->ipx_source.sock;
sock             1833 net/ipx/af_ipx.c 	struct sock *sk = sock->sk;
sock             1917 net/ipx/af_ipx.c 		return ipx_ioctl(sock, cmd, arg);
sock              168 net/ipx/ipx_proc.c static __inline__ struct sock *ipx_get_socket_idx(loff_t pos)
sock              170 net/ipx/ipx_proc.c 	struct sock *s = NULL;
sock              203 net/ipx/ipx_proc.c 	struct sock* sk, *next;
sock              245 net/ipx/ipx_proc.c 	struct sock *s;
sock              279 net/ipx/ipx_proc.c 			   ntohs(ipxs->dest_addr.sock));
sock              230 net/ipx/ipx_route.c 	ipx->ipx_source.sock		= ipxs->port;
sock              233 net/ipx/ipx_route.c 	ipx->ipx_dest.sock		= usipx->sipx_port;
sock               85 net/irda/af_irda.c 	struct sock *sk;
sock              115 net/irda/af_irda.c 	struct sock *sk;
sock              180 net/irda/af_irda.c 	struct sock *sk;
sock              244 net/irda/af_irda.c 	struct sock *sk;
sock              330 net/irda/af_irda.c 	struct sock *sk;
sock              714 net/irda/af_irda.c 	struct sock *sk = sock->sk;
sock              748 net/irda/af_irda.c 	struct sock *sk = sock->sk;
sock              774 net/irda/af_irda.c 	struct sock *sk = sock->sk;
sock              798 net/irda/af_irda.c 		sock->state = SS_CONNECTED;
sock              832 net/irda/af_irda.c 	struct sock *sk = sock->sk;
sock              834 net/irda/af_irda.c 	struct sock *newsk;
sock              844 net/irda/af_irda.c 	if (sock->state != SS_UNCONNECTED)
sock              847 net/irda/af_irda.c 	if ((sk = sock->sk) == NULL)
sock              952 net/irda/af_irda.c 	struct sock *sk = sock->sk;
sock              963 net/irda/af_irda.c 	if (sk->sk_state == TCP_ESTABLISHED && sock->state == SS_CONNECTING) {
sock              964 net/irda/af_irda.c 		sock->state = SS_CONNECTED;
sock              968 net/irda/af_irda.c 	if (sk->sk_state == TCP_CLOSE && sock->state == SS_CONNECTING) {
sock              969 net/irda/af_irda.c 		sock->state = SS_UNCONNECTED;
sock              977 net/irda/af_irda.c 	sock->state = SS_UNCONNECTED;
sock             1020 net/irda/af_irda.c 	sock->state = SS_CONNECTING;
sock             1041 net/irda/af_irda.c 		sock->state = SS_UNCONNECTED;
sock             1046 net/irda/af_irda.c 	sock->state = SS_CONNECTED;
sock             1068 net/irda/af_irda.c 	struct sock *sk;
sock             1077 net/irda/af_irda.c 	switch (sock->type) {
sock             1096 net/irda/af_irda.c 	switch (sock->type) {
sock             1098 net/irda/af_irda.c 		sock->ops = &irda_stream_ops;
sock             1102 net/irda/af_irda.c 		sock->ops = &irda_seqpacket_ops;
sock             1109 net/irda/af_irda.c 			sock->ops = &irda_ultra_ops;
sock             1117 net/irda/af_irda.c 			sock->ops = &irda_dgram_ops;
sock             1132 net/irda/af_irda.c 	sock_init_data(sock, sk);	/* Note : set sk->sk_refcnt to 1 */
sock             1189 net/irda/af_irda.c 	struct sock *sk = sock->sk;
sock             1205 net/irda/af_irda.c 	sock->sk   = NULL;
sock             1254 net/irda/af_irda.c 	struct sock *sk = sock->sk;
sock             1331 net/irda/af_irda.c 	struct sock *sk = sock->sk;
sock             1383 net/irda/af_irda.c 	struct sock *sk = sock->sk;
sock             1395 net/irda/af_irda.c 	if (sock->flags & __SO_ACCEPTCON)
sock             1506 net/irda/af_irda.c 	struct sock *sk = sock->sk;
sock             1575 net/irda/af_irda.c 	struct sock *sk = sock->sk;
sock             1663 net/irda/af_irda.c 	struct sock *sk = sock->sk;
sock             1697 net/irda/af_irda.c 	struct sock *sk = sock->sk;
sock             1758 net/irda/af_irda.c 	struct sock *sk = sock->sk;
sock             1831 net/irda/af_irda.c 	struct sock *sk = sock->sk;
sock             2141 net/irda/af_irda.c 	struct sock *sk = sock->sk;
sock               81 net/iucv/af_iucv.c 	struct sock *sk = (struct sock *)arg;
sock               97 net/iucv/af_iucv.c static struct sock *__iucv_get_sock_by_name(char *nm)
sock               99 net/iucv/af_iucv.c 	struct sock *sk;
sock              118 net/iucv/af_iucv.c 	struct sock *sk;
sock              208 net/iucv/af_iucv.c static struct sock *iucv_sock_alloc(struct socket *sock, int proto, gfp_t prio)
sock              210 net/iucv/af_iucv.c 	struct sock *sk;
sock              216 net/iucv/af_iucv.c 	sock_init_data(sock, sk);
sock              243 net/iucv/af_iucv.c 	struct sock *sk;
sock              245 net/iucv/af_iucv.c 	if (sock->type != SOCK_STREAM)
sock              248 net/iucv/af_iucv.c 	sock->state = SS_UNCONNECTED;
sock              249 net/iucv/af_iucv.c 	sock->ops = &iucv_sock_ops;
sock              251 net/iucv/af_iucv.c 	sk = iucv_sock_alloc(sock, protocol, GFP_KERNEL);
sock              300 net/iucv/af_iucv.c struct sock *iucv_accept_dequeue(struct sock *parent, struct socket *newsock)
sock              303 net/iucv/af_iucv.c 	struct sock *sk;
sock              306 net/iucv/af_iucv.c 		sk = (struct sock *) isk;
sock              372 net/iucv/af_iucv.c 	struct sock *sk = sock->sk;
sock              449 net/iucv/af_iucv.c 	struct sock *sk = sock->sk;
sock              515 net/iucv/af_iucv.c 	struct sock *sk = sock->sk;
sock              521 net/iucv/af_iucv.c 	if (sk->sk_state != IUCV_BOUND || sock->type != SOCK_STREAM)
sock              539 net/iucv/af_iucv.c 	struct sock *sk = sock->sk, *nsk;
sock              593 net/iucv/af_iucv.c 	struct sock *sk = sock->sk;
sock              615 net/iucv/af_iucv.c 	struct sock *sk = sock->sk;
sock              764 net/iucv/af_iucv.c 	struct sock *sk = sock->sk;
sock              839 net/iucv/af_iucv.c 	struct sock *sk;
sock              842 net/iucv/af_iucv.c 		sk = (struct sock *) isk;
sock              854 net/iucv/af_iucv.c 	struct sock *sk = sock->sk;
sock              891 net/iucv/af_iucv.c 	struct sock *sk = sock->sk;
sock              951 net/iucv/af_iucv.c 	struct sock *sk = sock->sk;
sock              979 net/iucv/af_iucv.c 	struct sock *sk, *nsk;
sock             1064 net/iucv/af_iucv.c 	struct sock *sk = path->private;
sock             1072 net/iucv/af_iucv.c 	struct sock *sk = path->private;
sock             1115 net/iucv/af_iucv.c 	struct sock *sk = path->private;
sock             1152 net/iucv/af_iucv.c 	struct sock *sk = path->private;
sock               48 net/key/af_key.c 	struct sock	sk;
sock              174 net/key/af_key.c 	struct sock *sk;
sock              182 net/key/af_key.c 	if (sock->type != SOCK_RAW)
sock              192 net/key/af_key.c 	sock->ops = &pfkey_ops;
sock              193 net/key/af_key.c 	sock_init_data(sock, sk);
sock              209 net/key/af_key.c 	struct sock *sk = sock->sk;
sock              217 net/key/af_key.c 	sock->sk = NULL;
sock              260 net/key/af_key.c 	struct sock *sk;
sock             3514 net/key/af_key.c 	struct sock *sk = sock->sk;
sock             3557 net/key/af_key.c 	struct sock *sk = sock->sk;
sock             3629 net/key/af_key.c 	struct sock *s;
sock             3631 net/key/af_key.c 	s = (struct sock *)v;
sock             3648 net/key/af_key.c 	struct sock *s;
sock             3668 net/key/af_key.c 			sk_next((struct sock *)v);
sock              131 net/llc/af_llc.c 	sock_graft(sk, sock);
sock              132 net/llc/af_llc.c 	sk->sk_type	= sock->type;
sock              133 net/llc/af_llc.c 	sock->ops	= &llc_ui_ops;
sock              153 net/llc/af_llc.c 	struct sock *sk;
sock              162 net/llc/af_llc.c 	if (likely(sock->type == SOCK_DGRAM || sock->type == SOCK_STREAM)) {
sock              167 net/llc/af_llc.c 			llc_ui_sk_init(sock, sk);
sock              181 net/llc/af_llc.c 	struct sock *sk = sock->sk;
sock              248 net/llc/af_llc.c 	struct sock *sk = sock->sk;
sock              294 net/llc/af_llc.c 	struct sock *sk = sock->sk;
sock              326 net/llc/af_llc.c 		struct sock *ask;
sock              369 net/llc/af_llc.c 	struct sock *sk = sock->sk;
sock              405 net/llc/af_llc.c 	struct sock *sk = sock->sk;
sock              419 net/llc/af_llc.c 	if (unlikely(sock->state == SS_CONNECTING))
sock              424 net/llc/af_llc.c 		rc = llc_ui_autobind(sock, addr);
sock              430 net/llc/af_llc.c 	sock->state = SS_CONNECTING;
sock              437 net/llc/af_llc.c 		sock->state  = SS_UNCONNECTED;
sock              456 net/llc/af_llc.c 	sock->state = SS_CONNECTED;
sock              463 net/llc/af_llc.c 	sock->state = SS_UNCONNECTED;
sock              477 net/llc/af_llc.c 	struct sock *sk = sock->sk;
sock              481 net/llc/af_llc.c 	if (unlikely(sock->state != SS_UNCONNECTED))
sock              603 net/llc/af_llc.c 	struct sock *sk = sock->sk, *newsk;
sock              614 net/llc/af_llc.c 	if (unlikely(sock->state != SS_UNCONNECTED ||
sock              669 net/llc/af_llc.c 	struct sock *sk = sock->sk;
sock              828 net/llc/af_llc.c 	struct sock *sk = sock->sk;
sock              851 net/llc/af_llc.c 		rc = llc_ui_autobind(sock, addr);
sock              914 net/llc/af_llc.c 	struct sock *sk = sock->sk;
sock              978 net/llc/af_llc.c 	struct sock *sk = sock->sk;
sock             1053 net/llc/af_llc.c 	struct sock *sk = sock->sk;
sock             1322 net/llc/llc_c_ac.c 	struct sock *sk = (struct sock *)timeout_data;
sock              487 net/llc/llc_conn.c static struct sock *__llc_lookup_established(struct llc_sap *sap,
sock              491 net/llc/llc_conn.c 	struct sock *rc;
sock              512 net/llc/llc_conn.c struct sock *llc_lookup_established(struct llc_sap *sap,
sock              516 net/llc/llc_conn.c 	struct sock *sk;
sock              534 net/llc/llc_conn.c static struct sock *llc_lookup_listener(struct llc_sap *sap,
sock              537 net/llc/llc_conn.c 	struct sock *rc;
sock              558 net/llc/llc_conn.c static struct sock *__llc_lookup(struct llc_sap *sap,
sock              562 net/llc/llc_conn.c 	struct sock *sk = __llc_lookup_established(sap, daddr, laddr);
sock              698 net/llc/llc_conn.c static struct sock *llc_create_incoming_sock(struct sock *sk,
sock              703 net/llc/llc_conn.c 	struct sock *newsk = llc_sk_alloc(sock_net(sk), sk->sk_family, GFP_ATOMIC,
sock              723 net/llc/llc_conn.c 	struct sock *sk;
sock              744 net/llc/llc_conn.c 		struct sock *newsk = llc_create_incoming_sock(sk, skb->dev,
sock              866 net/llc/llc_conn.c struct sock *llc_sk_alloc(struct net *net, int family, gfp_t priority, struct proto *prot)
sock              868 net/llc/llc_conn.c 	struct sock *sk = sk_alloc(net, family, priority, prot);
sock               84 net/llc/llc_if.c 	struct sock *existing;
sock               34 net/llc/llc_proc.c static struct sock *llc_get_sk_idx(loff_t pos)
sock               39 net/llc/llc_proc.c 	struct sock *sk = NULL;
sock               67 net/llc/llc_proc.c 	struct sock* sk, *next;
sock              104 net/llc/llc_proc.c 		struct sock *sk = v;
sock              115 net/llc/llc_proc.c 	struct sock* sk;
sock              164 net/llc/llc_proc.c 	struct sock* sk;
sock              308 net/llc/llc_sap.c static struct sock *llc_lookup_dgram(struct llc_sap *sap,
sock              311 net/llc/llc_sap.c 	struct sock *rc;
sock              343 net/llc/llc_sap.c 	struct sock *sk;
sock              383 net/llc/llc_sap.c 		struct sock *sk = llc_lookup_dgram(sap, &laddr);
sock               72 net/netfilter/ipvs/ip_vs_sync.c 	struct socket *sock;
sock              591 net/netfilter/ipvs/ip_vs_sync.c 	return sock->ops->bind(sock, (struct sockaddr*)&sin, sizeof(sin));
sock              599 net/netfilter/ipvs/ip_vs_sync.c 	struct socket *sock;
sock              603 net/netfilter/ipvs/ip_vs_sync.c 	result = sock_create_kern(PF_INET, SOCK_DGRAM, IPPROTO_UDP, &sock);
sock              609 net/netfilter/ipvs/ip_vs_sync.c 	result = set_mcast_if(sock->sk, ip_vs_master_mcast_ifn);
sock              615 net/netfilter/ipvs/ip_vs_sync.c 	set_mcast_loop(sock->sk, 0);
sock              616 net/netfilter/ipvs/ip_vs_sync.c 	set_mcast_ttl(sock->sk, 1);
sock              618 net/netfilter/ipvs/ip_vs_sync.c 	result = bind_mcastif_addr(sock, ip_vs_master_mcast_ifn);
sock              624 net/netfilter/ipvs/ip_vs_sync.c 	result = sock->ops->connect(sock, (struct sockaddr *) &mcast_addr,
sock              631 net/netfilter/ipvs/ip_vs_sync.c 	return sock;
sock              634 net/netfilter/ipvs/ip_vs_sync.c 	sock_release(sock);
sock              644 net/netfilter/ipvs/ip_vs_sync.c 	struct socket *sock;
sock              648 net/netfilter/ipvs/ip_vs_sync.c 	result = sock_create_kern(PF_INET, SOCK_DGRAM, IPPROTO_UDP, &sock);
sock              655 net/netfilter/ipvs/ip_vs_sync.c 	sock->sk->sk_reuse = 1;
sock              657 net/netfilter/ipvs/ip_vs_sync.c 	result = sock->ops->bind(sock, (struct sockaddr *) &mcast_addr,
sock              665 net/netfilter/ipvs/ip_vs_sync.c 	result = join_mcast_group(sock->sk,
sock              673 net/netfilter/ipvs/ip_vs_sync.c 	return sock;
sock              676 net/netfilter/ipvs/ip_vs_sync.c 	sock_release(sock);
sock              692 net/netfilter/ipvs/ip_vs_sync.c 	len = kernel_sendmsg(sock, &msg, &iov, 1, (size_t)(length));
sock              708 net/netfilter/ipvs/ip_vs_sync.c 	if (ip_vs_send_async(sock, (char *)msg, msize) != msize)
sock              725 net/netfilter/ipvs/ip_vs_sync.c 	len = kernel_recvmsg(sock, &msg, &iov, 1, buflen, 0);
sock              746 net/netfilter/ipvs/ip_vs_sync.c 			ip_vs_send_sync_msg(tinfo->sock, sb->mesg);
sock              753 net/netfilter/ipvs/ip_vs_sync.c 			ip_vs_send_sync_msg(tinfo->sock, sb->mesg);
sock              771 net/netfilter/ipvs/ip_vs_sync.c 	sock_release(tinfo->sock);
sock              788 net/netfilter/ipvs/ip_vs_sync.c 		wait_event_interruptible(*tinfo->sock->sk->sk_sleep,
sock              789 net/netfilter/ipvs/ip_vs_sync.c 			 !skb_queue_empty(&tinfo->sock->sk->sk_receive_queue)
sock              793 net/netfilter/ipvs/ip_vs_sync.c 		while (!skb_queue_empty(&(tinfo->sock->sk->sk_receive_queue))) {
sock              794 net/netfilter/ipvs/ip_vs_sync.c 			len = ip_vs_receive(tinfo->sock, tinfo->buf,
sock              810 net/netfilter/ipvs/ip_vs_sync.c 	sock_release(tinfo->sock);
sock              822 net/netfilter/ipvs/ip_vs_sync.c 	struct socket *sock;
sock              841 net/netfilter/ipvs/ip_vs_sync.c 		sock = make_send_sock();
sock              852 net/netfilter/ipvs/ip_vs_sync.c 		sock = make_receive_sock();
sock              857 net/netfilter/ipvs/ip_vs_sync.c 	if (IS_ERR(sock)) {
sock              858 net/netfilter/ipvs/ip_vs_sync.c 		result = PTR_ERR(sock);
sock              873 net/netfilter/ipvs/ip_vs_sync.c 	tinfo->sock = sock;
sock              896 net/netfilter/ipvs/ip_vs_sync.c 	sock_release(sock);
sock               21 net/netfilter/nf_tproxy_core.c struct sock *
sock               27 net/netfilter/nf_tproxy_core.c 	struct sock *sk;
sock               60 net/netfilter/nf_tproxy_core.c 	struct sock *sk = skb->sk;
sock               43 net/netfilter/nfnetlink.c static struct sock *nfnl = NULL;
sock               33 net/netfilter/xt_TPROXY.c 	struct sock *sk;
sock               93 net/netfilter/xt_socket.c 	struct sock *sk;
sock               69 net/netlink/af_netlink.c 	struct sock		sk;
sock              220 net/netlink/af_netlink.c static inline struct sock *netlink_lookup(struct net *net, int protocol,
sock              225 net/netlink/af_netlink.c 	struct sock *sk;
sock              289 net/netlink/af_netlink.c 		struct sock *sk;
sock              343 net/netlink/af_netlink.c 	struct sock *osk;
sock              397 net/netlink/af_netlink.c 	struct sock *sk;
sock              400 net/netlink/af_netlink.c 	sock->ops = &netlink_ops;
sock              406 net/netlink/af_netlink.c 	sock_init_data(sock, sk);
sock              429 net/netlink/af_netlink.c 	sock->state = SS_UNCONNECTED;
sock              431 net/netlink/af_netlink.c 	if (sock->type != SOCK_RAW && sock->type != SOCK_DGRAM)
sock              451 net/netlink/af_netlink.c 	err = __netlink_create(net, sock, cb_mutex, protocol);
sock              455 net/netlink/af_netlink.c 	nlk = nlk_sk(sock->sk);
sock              467 net/netlink/af_netlink.c 	struct sock *sk = sock->sk;
sock              482 net/netlink/af_netlink.c 	sock->sk = NULL;
sock              520 net/netlink/af_netlink.c 	struct sock *sk = sock->sk;
sock              524 net/netlink/af_netlink.c 	struct sock *osk;
sock              561 net/netlink/af_netlink.c 	return (nl_table[sock->sk->sk_protocol].nl_nonroot & flag) ||
sock              613 net/netlink/af_netlink.c 	struct sock *sk = sock->sk;
sock              624 net/netlink/af_netlink.c 		if (!netlink_capable(sock, NL_NONROOT_RECV))
sock              637 net/netlink/af_netlink.c 			netlink_autobind(sock);
sock              660 net/netlink/af_netlink.c 	struct sock *sk = sock->sk;
sock              674 net/netlink/af_netlink.c 	if (nladdr->nl_groups && !netlink_capable(sock, NL_NONROOT_SEND))
sock              678 net/netlink/af_netlink.c 		err = netlink_autobind(sock);
sock              692 net/netlink/af_netlink.c 	struct sock *sk = sock->sk;
sock              718 net/netlink/af_netlink.c static struct sock *netlink_getsockbypid(struct sock *ssk, u32 pid)
sock              720 net/netlink/af_netlink.c 	struct sock *sock;
sock              723 net/netlink/af_netlink.c 	sock = netlink_lookup(sock_net(ssk), ssk->sk_protocol, pid);
sock              724 net/netlink/af_netlink.c 	if (!sock)
sock              728 net/netlink/af_netlink.c 	nlk = nlk_sk(sock);
sock              729 net/netlink/af_netlink.c 	if (sock->sk_state == NETLINK_CONNECTED &&
sock              731 net/netlink/af_netlink.c 		sock_put(sock);
sock              734 net/netlink/af_netlink.c 	return sock;
sock              737 net/netlink/af_netlink.c struct sock *netlink_getsockbyfilp(struct file *filp)
sock              740 net/netlink/af_netlink.c 	struct sock *sock;
sock              745 net/netlink/af_netlink.c 	sock = SOCKET_I(inode)->sk;
sock              746 net/netlink/af_netlink.c 	if (sock->sk_family != AF_NETLINK)
sock              749 net/netlink/af_netlink.c 	sock_hold(sock);
sock              750 net/netlink/af_netlink.c 	return sock;
sock              873 net/netlink/af_netlink.c 	struct sock *sk;
sock              941 net/netlink/af_netlink.c 	struct sock *exclude_sk;
sock             1012 net/netlink/af_netlink.c 	struct sock *sk;
sock             1053 net/netlink/af_netlink.c 	struct sock *exclude_sk;
sock             1084 net/netlink/af_netlink.c 	struct sock *sk;
sock             1119 net/netlink/af_netlink.c 	struct sock *sk = sock->sk;
sock             1141 net/netlink/af_netlink.c 		if (!netlink_capable(sock, NL_NONROOT_RECV))
sock             1164 net/netlink/af_netlink.c 	struct sock *sk = sock->sk;
sock             1205 net/netlink/af_netlink.c 	struct sock *sk = sock->sk;
sock             1219 net/netlink/af_netlink.c 	err = scm_send(sock, msg, siocb->scm);
sock             1228 net/netlink/af_netlink.c 		if (dst_group && !netlink_capable(sock, NL_NONROOT_SEND))
sock             1236 net/netlink/af_netlink.c 		err = netlink_autobind(sock);
sock             1290 net/netlink/af_netlink.c 	struct sock *sk = sock->sk;
sock             1341 net/netlink/af_netlink.c 	scm_recv(sock, msg, siocb->scm, flags);
sock             1358 net/netlink/af_netlink.c struct sock *
sock             1363 net/netlink/af_netlink.c 	struct socket *sock;
sock             1364 net/netlink/af_netlink.c 	struct sock *sk;
sock             1373 net/netlink/af_netlink.c 	if (sock_create_lite(PF_NETLINK, SOCK_DGRAM, unit, &sock))
sock             1382 net/netlink/af_netlink.c 	if (__netlink_create(&init_net, sock, cb_mutex, unit) < 0)
sock             1385 net/netlink/af_netlink.c 	sk = sock->sk;
sock             1425 net/netlink/af_netlink.c 	sock_release(sock);
sock             1491 net/netlink/af_netlink.c 	struct sock *sk;
sock             1592 net/netlink/af_netlink.c 	struct sock *sk;
sock             1645 net/netlink/af_netlink.c 		struct sock *sk;
sock             1749 net/netlink/af_netlink.c static struct sock *netlink_seq_socket_idx(struct seq_file *seq, loff_t pos)
sock             1753 net/netlink/af_netlink.c 	struct sock *s;
sock             1785 net/netlink/af_netlink.c 	struct sock *s;
sock             1839 net/netlink/af_netlink.c 		struct sock *s = v;
sock               21 net/netlink/genetlink.c struct sock *genl_sock = NULL;
sock              106 net/netrom/af_netrom.c 	struct sock *s;
sock              149 net/netrom/af_netrom.c static struct sock *nr_find_listener(ax25_address *addr)
sock              151 net/netrom/af_netrom.c 	struct sock *s;
sock              170 net/netrom/af_netrom.c static struct sock *nr_find_socket(unsigned char index, unsigned char id)
sock              172 net/netrom/af_netrom.c 	struct sock *s;
sock              193 net/netrom/af_netrom.c static struct sock *nr_find_peer(unsigned char index, unsigned char id,
sock              196 net/netrom/af_netrom.c 	struct sock *s;
sock              222 net/netrom/af_netrom.c 	struct sock *sk;
sock              250 net/netrom/af_netrom.c 	struct sock *sk=(struct sock *)data;
sock              307 net/netrom/af_netrom.c 	struct sock *sk = sock->sk;
sock              359 net/netrom/af_netrom.c 	struct sock *sk = sock->sk;
sock              408 net/netrom/af_netrom.c 	struct sock *sk = sock->sk;
sock              431 net/netrom/af_netrom.c 	struct sock *sk;
sock              437 net/netrom/af_netrom.c 	if (sock->type != SOCK_SEQPACKET || protocol != 0)
sock              446 net/netrom/af_netrom.c 	sock_init_data(sock, sk);
sock              448 net/netrom/af_netrom.c 	sock->ops    = &nr_proto_ops;
sock              475 net/netrom/af_netrom.c static struct sock *nr_make_new(struct sock *osk)
sock              477 net/netrom/af_netrom.c 	struct sock *sk;
sock              522 net/netrom/af_netrom.c 	struct sock *sk = sock->sk;
sock              559 net/netrom/af_netrom.c 	sock->sk   = NULL;
sock              568 net/netrom/af_netrom.c 	struct sock *sk = sock->sk;
sock              641 net/netrom/af_netrom.c 	struct sock *sk = sock->sk;
sock              650 net/netrom/af_netrom.c 	if (sk->sk_state == TCP_ESTABLISHED && sock->state == SS_CONNECTING) {
sock              651 net/netrom/af_netrom.c 		sock->state = SS_CONNECTED;
sock              655 net/netrom/af_netrom.c 	if (sk->sk_state == TCP_CLOSE && sock->state == SS_CONNECTING) {
sock              656 net/netrom/af_netrom.c 		sock->state = SS_UNCONNECTED;
sock              667 net/netrom/af_netrom.c 	sock->state = SS_UNCONNECTED;
sock              718 net/netrom/af_netrom.c 	sock->state  = SS_CONNECTING;
sock              760 net/netrom/af_netrom.c 		sock->state = SS_UNCONNECTED;
sock              765 net/netrom/af_netrom.c 	sock->state = SS_CONNECTED;
sock              776 net/netrom/af_netrom.c 	struct sock *newsk;
sock              778 net/netrom/af_netrom.c 	struct sock *sk;
sock              781 net/netrom/af_netrom.c 	if ((sk = sock->sk) == NULL)
sock              839 net/netrom/af_netrom.c 	struct sock *sk = sock->sk;
sock              866 net/netrom/af_netrom.c 	struct sock *sk;
sock              867 net/netrom/af_netrom.c 	struct sock *make;
sock             1031 net/netrom/af_netrom.c 	struct sock *sk = sock->sk;
sock             1144 net/netrom/af_netrom.c 	struct sock *sk = sock->sk;
sock             1194 net/netrom/af_netrom.c 	struct sock *sk = sock->sk;
sock             1263 net/netrom/af_netrom.c 	struct sock *s;
sock             1284 net/netrom/af_netrom.c 		: sk_next((struct sock *)v);
sock             1294 net/netrom/af_netrom.c 	struct sock *s = v;
sock              119 net/netrom/nr_timer.c 	struct sock *sk = (struct sock *)param;
sock              158 net/netrom/nr_timer.c 	struct sock *sk = (struct sock *)param;
sock              171 net/netrom/nr_timer.c 	struct sock *sk = (struct sock *)param;
sock              180 net/netrom/nr_timer.c 	struct sock *sk = (struct sock *)param;
sock              208 net/netrom/nr_timer.c 	struct sock *sk = (struct sock *)param;
sock              166 net/packet/af_packet.c 	struct sock		sk;
sock              281 net/packet/af_packet.c 	struct sock *sk;
sock              353 net/packet/af_packet.c 	struct sock *sk = sock->sk;
sock              480 net/packet/af_packet.c 	struct sock *sk;
sock              592 net/packet/af_packet.c 	struct sock *sk;
sock              768 net/packet/af_packet.c 	struct sock *sk = sock->sk;
sock              802 net/packet/af_packet.c 	if (sock->type == SOCK_RAW)
sock              822 net/packet/af_packet.c 	if (sock->type == SOCK_DGRAM &&
sock              863 net/packet/af_packet.c 	struct sock *sk = sock->sk;
sock              906 net/packet/af_packet.c 	sock->sk = NULL;
sock              971 net/packet/af_packet.c 	struct sock *sk=sock->sk;
sock              995 net/packet/af_packet.c 	struct sock *sk=sock->sk;
sock             1035 net/packet/af_packet.c 	struct sock *sk;
sock             1042 net/packet/af_packet.c 	if (sock->type != SOCK_DGRAM && sock->type != SOCK_RAW &&
sock             1043 net/packet/af_packet.c 	    sock->type != SOCK_PACKET)
sock             1046 net/packet/af_packet.c 	sock->state = SS_UNCONNECTED;
sock             1053 net/packet/af_packet.c 	sock->ops = &packet_ops;
sock             1054 net/packet/af_packet.c 	if (sock->type == SOCK_PACKET)
sock             1055 net/packet/af_packet.c 		sock->ops = &packet_ops_spkt;
sock             1057 net/packet/af_packet.c 	sock_init_data(sock, sk);
sock             1073 net/packet/af_packet.c 	if (sock->type == SOCK_PACKET)
sock             1101 net/packet/af_packet.c 	struct sock *sk = sock->sk;
sock             1142 net/packet/af_packet.c 	if (sock->type == SOCK_PACKET)
sock             1200 net/packet/af_packet.c 	struct sock *sk	= sock->sk;
sock             1221 net/packet/af_packet.c 	struct sock *sk = sock->sk;
sock             1383 net/packet/af_packet.c 	struct sock *sk = sock->sk;
sock             1502 net/packet/af_packet.c 	struct sock *sk = sock->sk;
sock             1587 net/packet/af_packet.c 	struct sock *sk;
sock             1640 net/packet/af_packet.c 	struct sock *sk = sock->sk;
sock             1682 net/packet/af_packet.c 			return inet_dgram_ops.ioctl(sock, cmd, arg);
sock             1699 net/packet/af_packet.c 	struct sock *sk = sock->sk;
sock             1701 net/packet/af_packet.c 	unsigned int mask = datagram_poll(file, sock, wait);
sock             1722 net/packet/af_packet.c 	struct socket * sock = file->private_data;
sock             1723 net/packet/af_packet.c 	struct sock *sk = sock->sk;
sock             1732 net/packet/af_packet.c 	struct socket * sock = file->private_data;
sock             1733 net/packet/af_packet.c 	struct sock *sk = sock->sk;
sock             1907 net/packet/af_packet.c 	struct sock *sk = sock->sk;
sock             2001 net/packet/af_packet.c static inline struct sock *packet_seq_idx(struct net *net, loff_t off)
sock             2003 net/packet/af_packet.c 	struct sock *s;
sock             2027 net/packet/af_packet.c 		: sk_next((struct sock*)v) ;
sock             2042 net/packet/af_packet.c 		struct sock *s = v;
sock               44 net/phonet/af_phonet.c 	struct sock *sk;
sock               57 net/phonet/af_phonet.c 		switch (sock->type) {
sock               77 net/phonet/af_phonet.c 	if (sock->type != pnp->sock_type) {
sock               88 net/phonet/af_phonet.c 	sock_init_data(sock, sk);
sock               89 net/phonet/af_phonet.c 	sock->state = SS_UNCONNECTED;
sock               90 net/phonet/af_phonet.c 	sock->ops = pnp->ops;
sock              328 net/phonet/af_phonet.c 	struct sock *sk;
sock               38 net/phonet/pep-gprs.c 	struct sock		*sk;
sock               39 net/phonet/pep-gprs.c 	void			(*old_state_change)(struct sock *);
sock               40 net/phonet/pep-gprs.c 	void			(*old_data_ready)(struct sock *, int);
sock               41 net/phonet/pep-gprs.c 	void			(*old_write_space)(struct sock *);
sock              202 net/phonet/pep-gprs.c 	struct sock *sk = dev->sk;
sock              437 net/phonet/pep.c 	struct sock *newsk;
sock              523 net/phonet/pep.c static struct sock *pep_find_pipe(const struct hlist_head *hlist,
sock              528 net/phonet/pep.c 	struct sock *sknode;
sock              556 net/phonet/pep.c 	struct sock *sknode;
sock              623 net/phonet/pep.c 		struct sock *sknode;
sock              667 net/phonet/pep.c static struct sock *pep_sock_accept(struct sock *sk, int flags, int *errp)
sock              670 net/phonet/pep.c 	struct sock *newsk = NULL;
sock             1015 net/phonet/pep.c 	struct sock *skparent = NULL;
sock               39 net/phonet/socket.c 	struct sock *sk = sock->sk;
sock               42 net/phonet/socket.c 		sock->sk = NULL;
sock               60 net/phonet/socket.c struct sock *pn_find_sock_by_sa(const struct sockaddr_pn *spn)
sock               63 net/phonet/socket.c 	struct sock *sknode;
sock               64 net/phonet/socket.c 	struct sock *rval = NULL;
sock              116 net/phonet/socket.c 	struct sock *sk = sock->sk;
sock              163 net/phonet/socket.c 	err = pn_socket_bind(sock, (struct sockaddr *)&sa,
sock              167 net/phonet/socket.c 	BUG_ON(!pn_port(pn_sk(sock->sk)->sobject));
sock              174 net/phonet/socket.c 	struct sock *sk = sock->sk;
sock              175 net/phonet/socket.c 	struct sock *newsk;
sock              192 net/phonet/socket.c 	struct sock *sk = sock->sk;
sock              208 net/phonet/socket.c 	struct sock *sk = sock->sk;
sock              212 net/phonet/socket.c 	poll_wait(file, &sock->wait, wait);
sock              237 net/phonet/socket.c 	struct sock *sk = sock->sk;
sock              274 net/phonet/socket.c 	struct sock *sk = sock->sk;
sock              277 net/phonet/socket.c 	if (sock->state != SS_UNCONNECTED)
sock              279 net/phonet/socket.c 	if (pn_socket_autobind(sock))
sock              299 net/phonet/socket.c 	struct sock *sk = sock->sk;
sock              301 net/phonet/socket.c 	if (pn_socket_autobind(sock))
sock              366 net/phonet/socket.c 	struct sock *tmpsk;
sock              169 net/rose/af_rose.c 	struct sock *s;
sock              190 net/rose/af_rose.c 	struct sock *s;
sock              248 net/rose/af_rose.c static struct sock *rose_find_listener(rose_address *addr, ax25_address *call)
sock              250 net/rose/af_rose.c 	struct sock *s;
sock              280 net/rose/af_rose.c struct sock *rose_find_socket(unsigned int lci, struct rose_neigh *neigh)
sock              282 net/rose/af_rose.c 	struct sock *s;
sock              328 net/rose/af_rose.c 	rose_destroy_socket((struct sock *)data);
sock              378 net/rose/af_rose.c 	struct sock *sk = sock->sk;
sock              438 net/rose/af_rose.c 	struct sock *sk = sock->sk;
sock              495 net/rose/af_rose.c 	struct sock *sk = sock->sk;
sock              520 net/rose/af_rose.c 	struct sock *sk;
sock              526 net/rose/af_rose.c 	if (sock->type != SOCK_SEQPACKET || protocol != 0)
sock              535 net/rose/af_rose.c 	sock_init_data(sock, sk);
sock              543 net/rose/af_rose.c 	sock->ops    = &rose_proto_ops;
sock              560 net/rose/af_rose.c static struct sock *rose_make_new(struct sock *osk)
sock              562 net/rose/af_rose.c 	struct sock *sk;
sock              608 net/rose/af_rose.c 	struct sock *sk = sock->sk;
sock              654 net/rose/af_rose.c 	sock->sk = NULL;
sock              663 net/rose/af_rose.c 	struct sock *sk = sock->sk;
sock              726 net/rose/af_rose.c 	struct sock *sk = sock->sk;
sock              752 net/rose/af_rose.c 	if (sk->sk_state == TCP_ESTABLISHED && sock->state == SS_CONNECTING) {
sock              754 net/rose/af_rose.c 		sock->state = SS_CONNECTED;
sock              758 net/rose/af_rose.c 	if (sk->sk_state == TCP_CLOSE && sock->state == SS_CONNECTING) {
sock              759 net/rose/af_rose.c 		sock->state = SS_UNCONNECTED;
sock              771 net/rose/af_rose.c 	sock->state = SS_UNCONNECTED;
sock              824 net/rose/af_rose.c 	sock->state   = SS_CONNECTING;
sock              875 net/rose/af_rose.c 		sock->state = SS_UNCONNECTED;
sock              880 net/rose/af_rose.c 	sock->state = SS_CONNECTED;
sock              891 net/rose/af_rose.c 	struct sock *newsk;
sock              893 net/rose/af_rose.c 	struct sock *sk;
sock              896 net/rose/af_rose.c 	if ((sk = sock->sk) == NULL)
sock              956 net/rose/af_rose.c 	struct sock *sk = sock->sk;
sock              984 net/rose/af_rose.c 	struct sock *sk;
sock              985 net/rose/af_rose.c 	struct sock *make;
sock             1066 net/rose/af_rose.c 	struct sock *sk = sock->sk;
sock             1237 net/rose/af_rose.c 	struct sock *sk = sock->sk;
sock             1302 net/rose/af_rose.c 	struct sock *sk = sock->sk;
sock             1404 net/rose/af_rose.c 	struct sock *s;
sock             1425 net/rose/af_rose.c 		: sk_next((struct sock *)v);
sock             1443 net/rose/af_rose.c 		struct sock *s = v;
sock               70 net/rose/rose_loopback.c 	struct sock *sk;
sock              849 net/rose/rose_route.c 	struct sock *sk;
sock              131 net/rose/rose_timer.c 	struct sock *sk = (struct sock *)param;
sock              169 net/rose/rose_timer.c 	struct sock *sk = (struct sock *)param;
sock              198 net/rose/rose_timer.c 	struct sock *sk = (struct sock *)param;
sock              121 net/rxrpc/af_rxrpc.c 	struct sock *sk = sock->sk;
sock              186 net/rxrpc/af_rxrpc.c 	struct sock *sk = sock->sk;
sock              226 net/rxrpc/af_rxrpc.c 	struct rxrpc_sock *rx = rxrpc_sk(sock->sk);
sock              274 net/rxrpc/af_rxrpc.c 	struct rxrpc_sock *rx = rxrpc_sk(sock->sk);
sock              282 net/rxrpc/af_rxrpc.c 		trans = rxrpc_name_to_transport(sock, (struct sockaddr *) srx,
sock              355 net/rxrpc/af_rxrpc.c 	struct rxrpc_sock *rx = rxrpc_sk(sock->sk);
sock              372 net/rxrpc/af_rxrpc.c 	struct sock *sk = sock->sk;
sock              414 net/rxrpc/af_rxrpc.c 	trans = rxrpc_name_to_transport(sock, addr, addr_len, flags,
sock              443 net/rxrpc/af_rxrpc.c 	struct rxrpc_sock *rx = rxrpc_sk(sock->sk);
sock              464 net/rxrpc/af_rxrpc.c 		trans = rxrpc_name_to_transport(sock, m->msg_name,
sock              511 net/rxrpc/af_rxrpc.c 	struct rxrpc_sock *rx = rxrpc_sk(sock->sk);
sock              588 net/rxrpc/af_rxrpc.c 	struct sock *sk = sock->sk;
sock              613 net/rxrpc/af_rxrpc.c 	struct sock *sk;
sock              615 net/rxrpc/af_rxrpc.c 	_enter("%p,%d", sock, protocol);
sock              624 net/rxrpc/af_rxrpc.c 	if (sock->type != SOCK_DGRAM)
sock              627 net/rxrpc/af_rxrpc.c 	sock->ops = &rxrpc_rpc_ops;
sock              628 net/rxrpc/af_rxrpc.c 	sock->state = SS_UNCONNECTED;
sock              634 net/rxrpc/af_rxrpc.c 	sock_init_data(sock, sk);
sock              736 net/rxrpc/af_rxrpc.c 	struct sock *sk = sock->sk;
sock              738 net/rxrpc/af_rxrpc.c 	_enter("%p{%p}", sock, sk);
sock              743 net/rxrpc/af_rxrpc.c 	sock->sk = NULL;
sock              479 net/rxrpc/ar-accept.c 	call = rxrpc_accept_call(rxrpc_sk(sock->sk), user_call_ID);
sock              498 net/rxrpc/ar-accept.c 	ret = rxrpc_reject_call(rxrpc_sk(sock->sk));
sock               48 net/rxrpc/ar-input.c 	struct sock *sk;
sock               54 net/rxrpc/ar-internal.h 	struct sock		sk;
sock               61 net/rxrpc/ar-local.c 	struct sock *sock;
sock              109 net/rxrpc/ar-local.c 	sock = local->socket->sk;
sock              110 net/rxrpc/ar-local.c 	sock->sk_user_data	= local;
sock              111 net/rxrpc/ar-local.c 	sock->sk_data_ready	= rxrpc_data_ready;
sock              112 net/rxrpc/ar-local.c 	sock->sk_error_report	= rxrpc_UDP_error_report;
sock              530 net/rxrpc/ar-output.c 	struct sock *sk = &rx->sk;
sock               50 net/rxrpc/ar-recvmsg.c 	struct rxrpc_sock *rx = rxrpc_sk(sock->sk);
sock               49 net/sched/sch_atm.c 	struct socket		*sock;		/* for closing */
sock              164 net/sched/sch_atm.c 	if (flow->sock) {
sock              166 net/sched/sch_atm.c 			file_count(flow->sock->file));
sock              168 net/sched/sch_atm.c 		sockfd_put(flow->sock);
sock              211 net/sched/sch_atm.c 	struct socket *sock;
sock              259 net/sched/sch_atm.c 	sock = sockfd_lookup(fd, &error);
sock              260 net/sched/sch_atm.c 	if (!sock)
sock              262 net/sched/sch_atm.c 	pr_debug("atm_tc_change: f_count %ld\n", file_count(sock->file));
sock              263 net/sched/sch_atm.c 	if (sock->ops->family != PF_ATMSVC && sock->ops->family != PF_ATMPVC) {
sock              304 net/sched/sch_atm.c 	flow->sock = sock;
sock              305 net/sched/sch_atm.c 	flow->vcc = ATM_SD(sock);	/* speedup */
sock              326 net/sched/sch_atm.c 	sockfd_put(sock);
sock              568 net/sched/sch_atm.c 	p->link.sock = NULL;
sock               82 net/sctp/associola.c 	sp = sctp_sk((struct sock *)sk);
sock               92 net/sctp/associola.c 	asoc->base.sk = (struct sock *)sk;
sock              372 net/sctp/associola.c 	struct sock *sk = asoc->base.sk;
sock             1029 net/sctp/associola.c 	struct sock *sk;
sock             1087 net/sctp/associola.c 	struct sock *oldsk = assoc->base.sk;
sock              216 net/sctp/endpointola.c 	struct sock *sk = ep->base.sk;
sock              403 net/sctp/endpointola.c 	struct sock *sk;
sock              119 net/sctp/input.c 	struct sock *sk;
sock              423 net/sctp/input.c struct sock *sctp_err_lookup(int family, struct sk_buff *skb,
sock              431 net/sctp/input.c 	struct sock *sk = NULL;
sock              530 net/sctp/input.c 	struct sock *sk;
sock              140 net/sctp/ipv6.c 	struct sock *sk;
sock              200 net/sctp/ipv6.c 	struct sock *sk = skb->sk;
sock              635 net/sctp/ipv6.c static struct sock *sctp_v6_create_accept_sk(struct sock *sk,
sock              639 net/sctp/ipv6.c 	struct sock *newsk;
sock              840 net/sctp/ipv6.c 	struct sock *sk = sctp_opt2sk(opt);
sock               67 net/sctp/objcnt.c 	SCTP_DBG_OBJCNT_ENTRY(sock),
sock              371 net/sctp/output.c 	struct sock *sk;
sock              203 net/sctp/proc.c 	struct sock *sk;
sock              307 net/sctp/proc.c 	struct sock *sk;
sock              585 net/sctp/protocol.c static struct sock *sctp_v4_create_accept_sk(struct sock *sk,
sock              590 net/sctp/protocol.c 	struct sock *newsk = sk_alloc(sock_net(sk), PF_INET, GFP_KERNEL,
sock             1263 net/sctp/sm_make_chunk.c 	struct sock *sk;
sock              700 net/sctp/sm_sideeffect.c 	struct sock *sk = asoc->base.sk;
sock              754 net/sctp/sm_sideeffect.c 	struct sock *sk = asoc->base.sk;
sock              859 net/sctp/sm_sideeffect.c 	struct sock *sk = asoc->base.sk;
sock              635 net/sctp/sm_statefuns.c 	struct sock *sk;
sock             5787 net/sctp/sm_statefuns.c 	struct sock *sk = asoc->base.sk;
sock              161 net/sctp/socket.c 	struct sock *sk = asoc->base.sk;
sock             1385 net/sctp/socket.c 	SCTP_DBG_OBJCNT_DEC(sock);
sock             3437 net/sctp/socket.c SCTP_STATIC struct sock *sctp_accept(struct sock *sk, int flags, int *err)
sock             3441 net/sctp/socket.c 	struct sock *newsk = NULL;
sock             3615 net/sctp/socket.c 	SCTP_DBG_OBJCNT_INC(sock);
sock             3874 net/sctp/socket.c 	struct sock *sk = asoc->base.sk;
sock             3875 net/sctp/socket.c 	struct socket *sock;
sock             3887 net/sctp/socket.c 	err = sock_create(sk->sk_family, SOCK_SEQPACKET, IPPROTO_SCTP, &sock);
sock             3894 net/sctp/socket.c 	sctp_sock_migrate(sk, sock->sk, asoc, SCTP_SOCKET_UDP_HIGH_BANDWIDTH);
sock             3901 net/sctp/socket.c 	inetsk = inet_sk(sock->sk);
sock             3904 net/sctp/socket.c 	*sockp = sock;
sock             5618 net/sctp/socket.c 		struct sock *sk2;
sock             5822 net/sctp/socket.c 	struct sock *sk = sock->sk;
sock             5831 net/sctp/socket.c 	if (sock->state != SS_UNCONNECTED)
sock             5848 net/sctp/socket.c 	switch (sock->type) {
sock             5888 net/sctp/socket.c 	struct sock *sk = sock->sk;
sock             6243 net/sctp/socket.c 	struct sock *sk = asoc->base.sk;
sock             6244 net/sctp/socket.c 	struct socket *sock = sk->sk_socket;
sock             6246 net/sctp/socket.c 	if ((sctp_wspace(asoc) > 0) && sock) {
sock             6258 net/sctp/socket.c 			if (sock->fasync_list &&
sock             6260 net/sctp/socket.c 				sock_wake_async(sock,
sock             6274 net/sctp/socket.c 	struct sock *sk;
sock             6305 net/sctp/socket.c 	struct sock *sk = skb->sk;
sock             6321 net/sctp/socket.c 	struct sock *sk = asoc->base.sk;
sock             6415 net/sctp/socket.c 	struct sock *sk = asoc->base.sk;
sock              203 net/sctp/ulpqueue.c 	struct sock *sk = ulpq->asoc->base.sk;
sock             1077 net/sctp/ulpqueue.c 	struct sock *sk;
sock              388 net/socket.c   	d_instantiate(dentry, SOCK_INODE(sock));
sock              390 net/socket.c   	sock->file = file;
sock              393 net/socket.c   	SOCK_INODE(sock)->i_fop = &socket_file_ops;
sock              396 net/socket.c   	file->private_data = sock;
sock              407 net/socket.c   		int err = sock_attach_fd(sock, newfile, flags);
sock              444 net/socket.c   	struct socket *sock;
sock              452 net/socket.c   	sock = sock_from_file(file, err);
sock              453 net/socket.c   	if (!sock)
sock              455 net/socket.c   	return sock;
sock              461 net/socket.c   	struct socket *sock;
sock              466 net/socket.c   		sock = sock_from_file(file, err);
sock              467 net/socket.c   		if (sock)
sock              468 net/socket.c   			return sock;
sock              485 net/socket.c   	struct socket *sock;
sock              491 net/socket.c   	sock = SOCKET_I(inode);
sock              499 net/socket.c   	return sock;
sock              529 net/socket.c   	if (sock->ops) {
sock              530 net/socket.c   		struct module *owner = sock->ops->owner;
sock              532 net/socket.c   		sock->ops->release(sock);
sock              533 net/socket.c   		sock->ops = NULL;
sock              537 net/socket.c   	if (sock->fasync_list)
sock              542 net/socket.c   	if (!sock->file) {
sock              543 net/socket.c   		iput(SOCK_INODE(sock));
sock              546 net/socket.c   	sock->file = NULL;
sock              555 net/socket.c   	si->sock = sock;
sock              560 net/socket.c   	err = security_socket_sendmsg(sock, msg, size);
sock              564 net/socket.c   	return sock->ops->sendmsg(iocb, sock, msg, size);
sock              575 net/socket.c   	ret = __sock_sendmsg(&iocb, sock, msg, size);
sock              594 net/socket.c   	result = sock_sendmsg(sock, msg, size);
sock              636 net/socket.c   	si->sock = sock;
sock              642 net/socket.c   	err = security_socket_recvmsg(sock, msg, size, flags);
sock              646 net/socket.c   	return sock->ops->recvmsg(iocb, sock, msg, size, flags);
sock              658 net/socket.c   	ret = __sock_recvmsg(&iocb, sock, msg, size, flags);
sock              676 net/socket.c   	result = sock_recvmsg(sock, msg, size, flags);
sock              689 net/socket.c   	struct socket *sock;
sock              692 net/socket.c   	sock = file->private_data;
sock              698 net/socket.c   	return sock->ops->sendpage(sock, page, offset, size, flags);
sock              705 net/socket.c   	struct socket *sock = file->private_data;
sock              707 net/socket.c   	if (unlikely(!sock->ops->splice_read))
sock              710 net/socket.c   	return sock->ops->splice_read(sock, ppos, pipe, len, flags);
sock              732 net/socket.c   	struct socket *sock = file->private_data;
sock              747 net/socket.c   	return __sock_recvmsg(iocb, sock, msg, size, msg->msg_flags);
sock              772 net/socket.c   	struct socket *sock = file->private_data;
sock              786 net/socket.c   	if (sock->type == SOCK_SEQPACKET)
sock              789 net/socket.c   	return __sock_sendmsg(iocb, sock, msg, size);
sock              855 net/socket.c   	struct socket *sock;
sock              856 net/socket.c   	struct sock *sk;
sock              861 net/socket.c   	sock = file->private_data;
sock              862 net/socket.c   	sk = sock->sk;
sock              878 net/socket.c   			err = f_setown(sock->file, pid, 1);
sock              882 net/socket.c   			err = put_user(f_getown(sock->file),
sock              921 net/socket.c   			err = sock->ops->ioctl(sock, cmd, arg);
sock              937 net/socket.c   	struct socket *sock = NULL;
sock              943 net/socket.c   	sock = sock_alloc();
sock              944 net/socket.c   	if (!sock) {
sock              949 net/socket.c   	sock->type = type;
sock              950 net/socket.c   	err = security_socket_post_create(sock, family, type, protocol, 1);
sock              955 net/socket.c   	*res = sock;
sock              958 net/socket.c   	sock_release(sock);
sock              959 net/socket.c   	sock = NULL;
sock              966 net/socket.c   	struct socket *sock;
sock              971 net/socket.c   	sock = file->private_data;
sock              972 net/socket.c   	return sock->ops->poll(file, sock, wait);
sock              977 net/socket.c   	struct socket *sock = file->private_data;
sock              979 net/socket.c   	return sock->ops->mmap(file, sock, vma);
sock             1016 net/socket.c   	struct socket *sock;
sock             1017 net/socket.c   	struct sock *sk;
sock             1025 net/socket.c   	sock = filp->private_data;
sock             1027 net/socket.c   	sk = sock->sk;
sock             1035 net/socket.c   	prev = &(sock->fasync_list);
sock             1053 net/socket.c   		fna->fa_next = sock->fasync_list;
sock             1055 net/socket.c   		sock->fasync_list = fna;
sock             1067 net/socket.c   	release_sock(sock->sk);
sock             1075 net/socket.c   	if (!sock || !sock->fasync_list)
sock             1079 net/socket.c   		if (test_bit(SOCK_ASYNC_WAITDATA, &sock->flags))
sock             1083 net/socket.c   		if (!test_and_clear_bit(SOCK_ASYNC_NOSPACE, &sock->flags))
sock             1088 net/socket.c   		__kill_fasync(sock->fasync_list, SIGIO, band);
sock             1091 net/socket.c   		__kill_fasync(sock->fasync_list, SIGURG, band);
sock             1100 net/socket.c   	struct socket *sock;
sock             1135 net/socket.c   	sock = sock_alloc();
sock             1136 net/socket.c   	if (!sock) {
sock             1143 net/socket.c   	sock->type = type;
sock             1172 net/socket.c   	err = pf->create(net, sock, protocol);
sock             1180 net/socket.c   	if (!try_module_get(sock->ops->owner))
sock             1188 net/socket.c   	err = security_socket_post_create(sock, family, type, protocol, kern);
sock             1191 net/socket.c   	*res = sock;
sock             1198 net/socket.c   	sock->ops = NULL;
sock             1201 net/socket.c   	sock_release(sock);
sock             1222 net/socket.c   	struct socket *sock;
sock             1239 net/socket.c   	retval = sock_create(family, type, protocol, &sock);
sock             1243 net/socket.c   	retval = sock_map_fd(sock, flags & (O_CLOEXEC | O_NONBLOCK));
sock             1252 net/socket.c   	sock_release(sock);
sock             1370 net/socket.c   	struct socket *sock;
sock             1374 net/socket.c   	sock = sockfd_lookup_light(fd, &err, &fput_needed);
sock             1375 net/socket.c   	if (sock) {
sock             1378 net/socket.c   			err = security_socket_bind(sock,
sock             1382 net/socket.c   				err = sock->ops->bind(sock,
sock             1386 net/socket.c   		fput_light(sock->file, fput_needed);
sock             1399 net/socket.c   	struct socket *sock;
sock             1403 net/socket.c   	sock = sockfd_lookup_light(fd, &err, &fput_needed);
sock             1404 net/socket.c   	if (sock) {
sock             1405 net/socket.c   		somaxconn = sock_net(sock->sk)->core.sysctl_somaxconn;
sock             1409 net/socket.c   		err = security_socket_listen(sock, backlog);
sock             1411 net/socket.c   			err = sock->ops->listen(sock, backlog);
sock             1413 net/socket.c   		fput_light(sock->file, fput_needed);
sock             1433 net/socket.c   	struct socket *sock, *newsock;
sock             1444 net/socket.c   	sock = sockfd_lookup_light(fd, &err, &fput_needed);
sock             1445 net/socket.c   	if (!sock)
sock             1452 net/socket.c   	newsock->type = sock->type;
sock             1453 net/socket.c   	newsock->ops = sock->ops;
sock             1472 net/socket.c   	err = security_socket_accept(sock, newsock);
sock             1476 net/socket.c   	err = sock->ops->accept(sock, newsock, sock->file->f_flags);
sock             1497 net/socket.c   	security_socket_post_accept(sock, newsock);
sock             1500 net/socket.c   	fput_light(sock->file, fput_needed);
sock             1591 net/socket.c   	struct socket *sock;
sock             1595 net/socket.c   	sock = sockfd_lookup_light(fd, &err, &fput_needed);
sock             1596 net/socket.c   	if (!sock)
sock             1603 net/socket.c   	    security_socket_connect(sock, (struct sockaddr *)&address, addrlen);
sock             1607 net/socket.c   	err = sock->ops->connect(sock, (struct sockaddr *)&address, addrlen,
sock             1608 net/socket.c   				 sock->file->f_flags);
sock             1610 net/socket.c   	fput_light(sock->file, fput_needed);
sock             1623 net/socket.c   	struct socket *sock;
sock             1627 net/socket.c   	sock = sockfd_lookup_light(fd, &err, &fput_needed);
sock             1628 net/socket.c   	if (!sock)
sock             1631 net/socket.c   	err = security_socket_getsockname(sock);
sock             1635 net/socket.c   	err = sock->ops->getname(sock, (struct sockaddr *)&address, &len, 0);
sock             1641 net/socket.c   	fput_light(sock->file, fput_needed);
sock             1654 net/socket.c   	struct socket *sock;
sock             1658 net/socket.c   	sock = sockfd_lookup_light(fd, &err, &fput_needed);
sock             1659 net/socket.c   	if (sock != NULL) {
sock             1660 net/socket.c   		err = security_socket_getpeername(sock);
sock             1662 net/socket.c   			fput_light(sock->file, fput_needed);
sock             1667 net/socket.c   		    sock->ops->getname(sock, (struct sockaddr *)&address, &len,
sock             1672 net/socket.c   		fput_light(sock->file, fput_needed);
sock             1687 net/socket.c   	struct socket *sock;
sock             1694 net/socket.c   	sock = sockfd_lookup_light(fd, &err, &fput_needed);
sock             1695 net/socket.c   	if (!sock)
sock             1713 net/socket.c   	if (sock->file->f_flags & O_NONBLOCK)
sock             1716 net/socket.c   	err = sock_sendmsg(sock, &msg, len);
sock             1719 net/socket.c   	fput_light(sock->file, fput_needed);
sock             1743 net/socket.c   	struct socket *sock;
sock             1750 net/socket.c   	sock = sockfd_lookup_light(fd, &err, &fput_needed);
sock             1751 net/socket.c   	if (!sock)
sock             1762 net/socket.c   	if (sock->file->f_flags & O_NONBLOCK)
sock             1764 net/socket.c   	err = sock_recvmsg(sock, &msg, size, flags);
sock             1773 net/socket.c   	fput_light(sock->file, fput_needed);
sock             1797 net/socket.c   	struct socket *sock;
sock             1802 net/socket.c   	sock = sockfd_lookup_light(fd, &err, &fput_needed);
sock             1803 net/socket.c   	if (sock != NULL) {
sock             1804 net/socket.c   		err = security_socket_setsockopt(sock, level, optname);
sock             1810 net/socket.c   			    sock_setsockopt(sock, level, optname, optval,
sock             1814 net/socket.c   			    sock->ops->setsockopt(sock, level, optname, optval,
sock             1817 net/socket.c   		fput_light(sock->file, fput_needed);
sock             1831 net/socket.c   	struct socket *sock;
sock             1833 net/socket.c   	sock = sockfd_lookup_light(fd, &err, &fput_needed);
sock             1834 net/socket.c   	if (sock != NULL) {
sock             1835 net/socket.c   		err = security_socket_getsockopt(sock, level, optname);
sock             1841 net/socket.c   			    sock_getsockopt(sock, level, optname, optval,
sock             1845 net/socket.c   			    sock->ops->getsockopt(sock, level, optname, optval,
sock             1848 net/socket.c   		fput_light(sock->file, fput_needed);
sock             1860 net/socket.c   	struct socket *sock;
sock             1862 net/socket.c   	sock = sockfd_lookup_light(fd, &err, &fput_needed);
sock             1863 net/socket.c   	if (sock != NULL) {
sock             1864 net/socket.c   		err = security_socket_shutdown(sock, how);
sock             1866 net/socket.c   			err = sock->ops->shutdown(sock, how);
sock             1867 net/socket.c   		fput_light(sock->file, fput_needed);
sock             1887 net/socket.c   	struct socket *sock;
sock             1906 net/socket.c   	sock = sockfd_lookup_light(fd, &err, &fput_needed);
sock             1907 net/socket.c   	if (!sock)
sock             1919 net/socket.c   		iov = sock_kmalloc(sock->sk, iov_size, GFP_KERNEL);
sock             1944 net/socket.c   		    cmsghdr_from_user_compat_to_kern(&msg_sys, sock->sk, ctl,
sock             1952 net/socket.c   			ctl_buf = sock_kmalloc(sock->sk, ctl_len, GFP_KERNEL);
sock             1969 net/socket.c   	if (sock->file->f_flags & O_NONBLOCK)
sock             1971 net/socket.c   	err = sock_sendmsg(sock, &msg_sys, total_len);
sock             1975 net/socket.c   		sock_kfree_s(sock->sk, ctl_buf, ctl_len);
sock             1978 net/socket.c   		sock_kfree_s(sock->sk, iov, iov_size);
sock             1980 net/socket.c   	fput_light(sock->file, fput_needed);
sock             1994 net/socket.c   	struct socket *sock;
sock             2016 net/socket.c   	sock = sockfd_lookup_light(fd, &err, &fput_needed);
sock             2017 net/socket.c   	if (!sock)
sock             2028 net/socket.c   		iov = sock_kmalloc(sock->sk, iov_size, GFP_KERNEL);
sock             2055 net/socket.c   	if (sock->file->f_flags & O_NONBLOCK)
sock             2057 net/socket.c   	err = sock_recvmsg(sock, &msg_sys, total_len, flags);
sock             2085 net/socket.c   		sock_kfree_s(sock->sk, iov, iov_size);
sock             2087 net/socket.c   	fput_light(sock->file, fput_needed);
sock             2324 net/socket.c   	struct socket *sock = file->private_data;
sock             2326 net/socket.c   	struct sock *sk;
sock             2329 net/socket.c   	sk = sock->sk;
sock             2332 net/socket.c   	if (sock->ops->compat_ioctl)
sock             2333 net/socket.c   		ret = sock->ops->compat_ioctl(sock, cmd, arg);
sock             2345 net/socket.c   	return sock->ops->bind(sock, addr, addrlen);
sock             2350 net/socket.c   	return sock->ops->listen(sock, backlog);
sock             2355 net/socket.c   	struct sock *sk = sock->sk;
sock             2363 net/socket.c   	err = sock->ops->accept(sock, *newsock, flags);
sock             2370 net/socket.c   	(*newsock)->ops = sock->ops;
sock             2379 net/socket.c   	return sock->ops->connect(sock, addr, addrlen, flags);
sock             2385 net/socket.c   	return sock->ops->getname(sock, addr, addrlen, 0);
sock             2391 net/socket.c   	return sock->ops->getname(sock, addr, addrlen, 1);
sock             2402 net/socket.c   		err = sock_getsockopt(sock, level, optname, optval, optlen);
sock             2404 net/socket.c   		err = sock->ops->getsockopt(sock, level, optname, optval,
sock             2418 net/socket.c   		err = sock_setsockopt(sock, level, optname, optval, optlen);
sock             2420 net/socket.c   		err = sock->ops->setsockopt(sock, level, optname, optval,
sock             2429 net/socket.c   	if (sock->ops->sendpage)
sock             2430 net/socket.c   		return sock->ops->sendpage(sock, page, offset, size, flags);
sock             2432 net/socket.c   	return sock_no_sendpage(sock, page, offset, size, flags);
sock             2441 net/socket.c   	err = sock->ops->ioctl(sock, cmd, arg);
sock             2449 net/socket.c   	return sock->ops->shutdown(sock, how);
sock               72 net/sunrpc/svcsock.c 	struct sock *sk = sock->sk;
sock              166 net/sunrpc/svcsock.c 	struct socket	*sock = svsk->sk_sock;
sock              195 net/sunrpc/svcsock.c 		if (sock_sendmsg(sock, &msg, 0) < 0)
sock              202 net/sunrpc/svcsock.c 	len = kernel_sendpage(sock, rqstp->rq_respages[0], 0,
sock              215 net/sunrpc/svcsock.c 		result = kernel_sendpage(sock, *ppage, base, size, flags);
sock              228 net/sunrpc/svcsock.c 		result = kernel_sendpage(sock, rqstp->rq_respages[0],
sock              299 net/sunrpc/svcsock.c 	struct socket	*sock = svsk->sk_sock;
sock              302 net/sunrpc/svcsock.c 	err = kernel_sock_ioctl(sock, TIOCINQ, (unsigned long) &avail);
sock              339 net/sunrpc/svcsock.c 	sock_setsockopt(sock, SOL_SOCKET, SO_SNDBUF,
sock              341 net/sunrpc/svcsock.c 	sock_setsockopt(sock, SOL_SOCKET, SO_RCVBUF,
sock              349 net/sunrpc/svcsock.c 	lock_sock(sock->sk);
sock              350 net/sunrpc/svcsock.c 	sock->sk->sk_sndbuf = snd * 2;
sock              351 net/sunrpc/svcsock.c 	sock->sk->sk_rcvbuf = rcv * 2;
sock              352 net/sunrpc/svcsock.c 	sock->sk->sk_userlocks |= SOCK_SNDBUF_LOCK|SOCK_RCVBUF_LOCK;
sock              353 net/sunrpc/svcsock.c 	release_sock(sock->sk);
sock              717 net/sunrpc/svcsock.c 	struct socket	*sock = svsk->sk_sock;
sock              723 net/sunrpc/svcsock.c 	dprintk("svc: tcp_accept %p sock %p\n", svsk, sock);
sock              724 net/sunrpc/svcsock.c 	if (!sock)
sock              728 net/sunrpc/svcsock.c 	err = kernel_accept(sock, &newsock, O_NONBLOCK);
sock             1048 net/sunrpc/svcsock.c 	struct sock	*sk = svsk->sk_sk;
sock             1115 net/sunrpc/svcsock.c 	struct sock	*inet;
sock             1119 net/sunrpc/svcsock.c 	dprintk("svc: svc_setup_socket %p\n", sock);
sock             1125 net/sunrpc/svcsock.c 	inet = sock->sk;
sock             1138 net/sunrpc/svcsock.c 	svsk->sk_sock = sock;
sock             1145 net/sunrpc/svcsock.c 	if (sock->type == SOCK_DGRAM)
sock             1159 net/sunrpc/svcsock.c 		kernel_setsockopt(sock, SOL_IPV6, IPV6_V6ONLY,
sock             1218 net/sunrpc/svcsock.c 	struct socket	*sock;
sock             1237 net/sunrpc/svcsock.c 	error = sock_create_kern(sin->sa_family, type, protocol, &sock);
sock             1241 net/sunrpc/svcsock.c 	svc_reclassify_socket(sock);
sock             1244 net/sunrpc/svcsock.c 		sock->sk->sk_reuse = 1;		/* allow address reuse */
sock             1245 net/sunrpc/svcsock.c 	error = kernel_bind(sock, sin, len);
sock             1250 net/sunrpc/svcsock.c 	error = kernel_getsockname(sock, newsin, &newlen);
sock             1255 net/sunrpc/svcsock.c 		if ((error = kernel_listen(sock, 64)) < 0)
sock             1259 net/sunrpc/svcsock.c 	if ((svsk = svc_setup_socket(serv, sock, &error, flags)) != NULL) {
sock             1266 net/sunrpc/svcsock.c 	sock_release(sock);
sock             1277 net/sunrpc/svcsock.c 	struct sock *sk = svsk->sk_sk;
sock              218 net/sunrpc/xprtsock.c 	struct socket *		sock;
sock              219 net/sunrpc/xprtsock.c 	struct sock *		inet;
sock              249 net/sunrpc/xprtsock.c 	void			(*old_data_ready)(struct sock *, int);
sock              250 net/sunrpc/xprtsock.c 	void			(*old_state_change)(struct sock *);
sock              251 net/sunrpc/xprtsock.c 	void			(*old_write_space)(struct sock *);
sock              422 net/sunrpc/xprtsock.c 		return kernel_sendmsg(sock, &msg, &iov, 1, iov.iov_len);
sock              423 net/sunrpc/xprtsock.c 	return kernel_sendmsg(sock, &msg, NULL, 0, 0);
sock              443 net/sunrpc/xprtsock.c 		err = sock->ops->sendpage(sock, *ppage, base, len, flags);
sock              471 net/sunrpc/xprtsock.c 	if (unlikely(!sock))
sock              474 net/sunrpc/xprtsock.c 	clear_bit(SOCK_ASYNC_NOSPACE, &sock->flags);
sock              483 net/sunrpc/xprtsock.c 		err = xs_send_kvec(sock, addr, addrlen, &xdr->head[0], base, remainder != 0);
sock              494 net/sunrpc/xprtsock.c 		err = xs_send_pagedata(sock, xdr, base, remainder != 0);
sock              504 net/sunrpc/xprtsock.c 	err = xs_send_kvec(sock, NULL, 0, &xdr->tail[0], base, 0);
sock              518 net/sunrpc/xprtsock.c 	clear_bit(SOCK_ASYNC_NOSPACE, &transport->sock->flags);
sock              541 net/sunrpc/xprtsock.c 		if (test_bit(SOCK_ASYNC_NOSPACE, &transport->sock->flags)) {
sock              546 net/sunrpc/xprtsock.c 			set_bit(SOCK_NOSPACE, &transport->sock->flags);
sock              552 net/sunrpc/xprtsock.c 		clear_bit(SOCK_ASYNC_NOSPACE, &transport->sock->flags);
sock              582 net/sunrpc/xprtsock.c 	status = xs_sendpages(transport->sock,
sock              607 net/sunrpc/xprtsock.c 		clear_bit(SOCK_ASYNC_NOSPACE, &transport->sock->flags);
sock              610 net/sunrpc/xprtsock.c 		clear_bit(SOCK_ASYNC_NOSPACE, &transport->sock->flags);
sock              628 net/sunrpc/xprtsock.c 	struct socket *sock = transport->sock;
sock              630 net/sunrpc/xprtsock.c 	if (sock != NULL)
sock              631 net/sunrpc/xprtsock.c 		kernel_sock_shutdown(sock, SHUT_WR);
sock              673 net/sunrpc/xprtsock.c 		status = xs_sendpages(transport->sock,
sock              706 net/sunrpc/xprtsock.c 		clear_bit(SOCK_ASYNC_NOSPACE, &transport->sock->flags);
sock              711 net/sunrpc/xprtsock.c 		clear_bit(SOCK_ASYNC_NOSPACE, &transport->sock->flags);
sock              755 net/sunrpc/xprtsock.c 	struct socket *sock = transport->sock;
sock              756 net/sunrpc/xprtsock.c 	struct sock *sk = transport->inet;
sock              765 net/sunrpc/xprtsock.c 	transport->sock = NULL;
sock              775 net/sunrpc/xprtsock.c 	sock_release(sock);
sock             1198 net/sunrpc/xprtsock.c 		struct socket *sock;
sock             1201 net/sunrpc/xprtsock.c 		if (unlikely(!(sock = sk->sk_socket)))
sock             1203 net/sunrpc/xprtsock.c 		clear_bit(SOCK_NOSPACE, &sock->flags);
sock             1207 net/sunrpc/xprtsock.c 		if (test_and_clear_bit(SOCK_ASYNC_NOSPACE, &sock->flags) == 0)
sock             1233 net/sunrpc/xprtsock.c 		struct socket *sock;
sock             1236 net/sunrpc/xprtsock.c 		if (unlikely(!(sock = sk->sk_socket)))
sock             1238 net/sunrpc/xprtsock.c 		clear_bit(SOCK_NOSPACE, &sock->flags);
sock             1242 net/sunrpc/xprtsock.c 		if (test_and_clear_bit(SOCK_ASYNC_NOSPACE, &sock->flags) == 0)
sock             1255 net/sunrpc/xprtsock.c 	struct sock *sk = transport->inet;
sock             1359 net/sunrpc/xprtsock.c 	unsigned short port = xs_get_srcport(transport, sock);
sock             1366 net/sunrpc/xprtsock.c 		err = kernel_bind(sock, (struct sockaddr *) &myaddr,
sock             1375 net/sunrpc/xprtsock.c 		port = xs_next_srcport(transport, sock, port);
sock             1392 net/sunrpc/xprtsock.c 	unsigned short port = xs_get_srcport(transport, sock);
sock             1399 net/sunrpc/xprtsock.c 		err = kernel_bind(sock, (struct sockaddr *) &myaddr,
sock             1408 net/sunrpc/xprtsock.c 		port = xs_next_srcport(transport, sock, port);
sock             1423 net/sunrpc/xprtsock.c 	struct sock *sk = sock->sk;
sock             1432 net/sunrpc/xprtsock.c 	struct sock *sk = sock->sk;
sock             1453 net/sunrpc/xprtsock.c 		struct sock *sk = sock->sk;
sock             1469 net/sunrpc/xprtsock.c 		transport->sock = sock;
sock             1488 net/sunrpc/xprtsock.c 	struct socket *sock = transport->sock;
sock             1497 net/sunrpc/xprtsock.c 	if ((err = sock_create_kern(PF_INET, SOCK_DGRAM, IPPROTO_UDP, &sock)) < 0) {
sock             1501 net/sunrpc/xprtsock.c 	xs_reclassify_socket4(sock);
sock             1503 net/sunrpc/xprtsock.c 	if (xs_bind4(transport, sock)) {
sock             1504 net/sunrpc/xprtsock.c 		sock_release(sock);
sock             1511 net/sunrpc/xprtsock.c 	xs_udp_finish_connecting(xprt, sock);
sock             1529 net/sunrpc/xprtsock.c 	struct socket *sock = transport->sock;
sock             1538 net/sunrpc/xprtsock.c 	if ((err = sock_create_kern(PF_INET6, SOCK_DGRAM, IPPROTO_UDP, &sock)) < 0) {
sock             1542 net/sunrpc/xprtsock.c 	xs_reclassify_socket6(sock);
sock             1544 net/sunrpc/xprtsock.c 	if (xs_bind6(transport, sock) < 0) {
sock             1545 net/sunrpc/xprtsock.c 		sock_release(sock);
sock             1552 net/sunrpc/xprtsock.c 	xs_udp_finish_connecting(xprt, sock);
sock             1577 net/sunrpc/xprtsock.c 	result = kernel_connect(transport->sock, &any, sizeof(any), 0);
sock             1588 net/sunrpc/xprtsock.c 		struct sock *sk = sock->sk;
sock             1610 net/sunrpc/xprtsock.c 		transport->sock = sock;
sock             1619 net/sunrpc/xprtsock.c 	return kernel_connect(sock, xs_addr(xprt), xprt->addrlen, O_NONBLOCK);
sock             1633 net/sunrpc/xprtsock.c 	struct socket *sock = transport->sock;
sock             1639 net/sunrpc/xprtsock.c 	if (!sock) {
sock             1641 net/sunrpc/xprtsock.c 		if ((err = sock_create_kern(PF_INET, SOCK_STREAM, IPPROTO_TCP, &sock)) < 0) {
sock             1645 net/sunrpc/xprtsock.c 		xs_reclassify_socket4(sock);
sock             1647 net/sunrpc/xprtsock.c 		if (xs_bind4(transport, sock) < 0) {
sock             1648 net/sunrpc/xprtsock.c 			sock_release(sock);
sock             1658 net/sunrpc/xprtsock.c 	status = xs_tcp_finish_connecting(xprt, sock);
sock             1661 net/sunrpc/xprtsock.c 			sock->sk->sk_state);
sock             1693 net/sunrpc/xprtsock.c 	struct socket *sock = transport->sock;
sock             1699 net/sunrpc/xprtsock.c 	if (!sock) {
sock             1701 net/sunrpc/xprtsock.c 		if ((err = sock_create_kern(PF_INET6, SOCK_STREAM, IPPROTO_TCP, &sock)) < 0) {
sock             1705 net/sunrpc/xprtsock.c 		xs_reclassify_socket6(sock);
sock             1707 net/sunrpc/xprtsock.c 		if (xs_bind6(transport, sock) < 0) {
sock             1708 net/sunrpc/xprtsock.c 			sock_release(sock);
sock             1718 net/sunrpc/xprtsock.c 	status = xs_tcp_finish_connecting(xprt, sock);
sock             1720 net/sunrpc/xprtsock.c 			xprt, -status, xprt_connected(xprt), sock->sk->sk_state);
sock             1762 net/sunrpc/xprtsock.c 	if (transport->sock != NULL) {
sock               64 net/tipc/socket.c 	struct sock sk;
sock              191 net/tipc/socket.c 	struct sock *sk;
sock              202 net/tipc/socket.c 	switch (sock->type) {
sock              237 net/tipc/socket.c 	sock->ops = ops;
sock              238 net/tipc/socket.c 	sock->state = state;
sock              240 net/tipc/socket.c 	sock_init_data(sock, sk);
sock              247 net/tipc/socket.c 	if (sock->state == SS_READY) {
sock              249 net/tipc/socket.c 		if (sock->type == SOCK_DGRAM)
sock              276 net/tipc/socket.c 	struct sock *sk = sock->sk;
sock              297 net/tipc/socket.c 	while (sock->state != SS_DISCONNECTING) {
sock              305 net/tipc/socket.c 			if ((sock->state == SS_CONNECTING) ||
sock              306 net/tipc/socket.c 			    (sock->state == SS_CONNECTED)) {
sock              307 net/tipc/socket.c 				sock->state = SS_DISCONNECTING;
sock              327 net/tipc/socket.c 	sock->state = SS_DISCONNECTING;
sock              331 net/tipc/socket.c 	sock->sk = NULL;
sock              356 net/tipc/socket.c 	u32 portref = tipc_sk_port(sock->sk)->ref;
sock              394 net/tipc/socket.c 	struct tipc_sock *tsock = tipc_sk(sock->sk);
sock              397 net/tipc/socket.c 		if ((sock->state != SS_CONNECTED) &&
sock              398 net/tipc/socket.c 			((peer != 2) || (sock->state != SS_DISCONNECTING)))
sock              444 net/tipc/socket.c 	struct sock *sk = sock->sk;
sock              450 net/tipc/socket.c 	    (sock->state == SS_UNCONNECTED) ||
sock              451 net/tipc/socket.c 	    (sock->state == SS_DISCONNECTING))
sock              456 net/tipc/socket.c 	if (sock->state == SS_DISCONNECTING)
sock              512 net/tipc/socket.c 	struct sock *sk = sock->sk;
sock              527 net/tipc/socket.c 	needs_conn = (sock->state != SS_READY);
sock              529 net/tipc/socket.c 		if (sock->state == SS_LISTENING) {
sock              533 net/tipc/socket.c 		if (sock->state != SS_UNCONNECTED) {
sock              538 net/tipc/socket.c 		    ((sock->type == SOCK_STREAM) && (total_len != 0))) {
sock              583 net/tipc/socket.c 				sock->state = SS_CONNECTING;
sock              620 net/tipc/socket.c 	struct sock *sk = sock->sk;
sock              628 net/tipc/socket.c 		return send_msg(iocb, sock, m, total_len);
sock              634 net/tipc/socket.c 		if (unlikely(sock->state != SS_CONNECTED)) {
sock              635 net/tipc/socket.c 			if (sock->state == SS_DISCONNECTING)
sock              679 net/tipc/socket.c 	struct sock *sk = sock->sk;
sock              696 net/tipc/socket.c 	if (unlikely(sock->state != SS_CONNECTED)) {
sock              697 net/tipc/socket.c 		if (sock->state == SS_UNCONNECTED) {
sock              698 net/tipc/socket.c 			res = send_packet(NULL, sock, m, total_len);
sock              700 net/tipc/socket.c 		} else if (sock->state == SS_DISCONNECTING) {
sock              744 net/tipc/socket.c 			if ((res = send_packet(NULL, sock, &my_msg, 0)) < 0) {
sock              772 net/tipc/socket.c 	struct tipc_sock *tsock = tipc_sk(sock->sk);
sock              775 net/tipc/socket.c 		sock->state = SS_DISCONNECTING;
sock              783 net/tipc/socket.c 	sock->state = SS_CONNECTED;
sock              895 net/tipc/socket.c 	struct sock *sk = sock->sk;
sock              913 net/tipc/socket.c 	if (unlikely(sock->state == SS_UNCONNECTED)) {
sock              923 net/tipc/socket.c 		if (sock->state == SS_DISCONNECTING) {
sock              934 net/tipc/socket.c 			 (sock->state == SS_DISCONNECTING)));
sock              949 net/tipc/socket.c 	if (unlikely(sock->state == SS_CONNECTING)) {
sock              950 net/tipc/socket.c 		res = auto_connect(sock, msg);
sock              986 net/tipc/socket.c 		if ((sock->state == SS_READY) ||
sock              996 net/tipc/socket.c 		if ((sock->state != SS_READY) &&
sock             1022 net/tipc/socket.c 	struct sock *sk = sock->sk;
sock             1045 net/tipc/socket.c 	if (unlikely((sock->state == SS_UNCONNECTED) ||
sock             1046 net/tipc/socket.c 		     (sock->state == SS_CONNECTING))) {
sock             1056 net/tipc/socket.c 		if (sock->state == SS_DISCONNECTING) {
sock             1067 net/tipc/socket.c 			 (sock->state == SS_DISCONNECTING)));
sock             1195 net/tipc/socket.c 	struct socket *sock = sk->sk_socket;
sock             1207 net/tipc/socket.c 	if (sock->state == SS_READY) {
sock             1217 net/tipc/socket.c 		if (sock->state == SS_CONNECTED) {
sock             1223 net/tipc/socket.c 		else if (sock->state == SS_CONNECTING) {
sock             1229 net/tipc/socket.c 		else if (sock->state == SS_LISTENING) {
sock             1235 net/tipc/socket.c 		else if (sock->state == SS_DISCONNECTING) {
sock             1269 net/tipc/socket.c 	if (unlikely(msg_errcode(msg) && (sock->state == SS_CONNECTED))) {
sock             1270 net/tipc/socket.c 		sock->state = SS_DISCONNECTING;
sock             1311 net/tipc/socket.c 	struct sock *sk = (struct sock *)tport->usr_handle;
sock             1342 net/tipc/socket.c 	struct sock *sk = (struct sock *)tport->usr_handle;
sock             1361 net/tipc/socket.c 	struct sock *sk = sock->sk;
sock             1372 net/tipc/socket.c 	if (sock->state == SS_READY) {
sock             1386 net/tipc/socket.c 	if (sock->state == SS_LISTENING) {
sock             1390 net/tipc/socket.c 	if (sock->state == SS_CONNECTING) {
sock             1394 net/tipc/socket.c 	if (sock->state != SS_UNCONNECTED) {
sock             1419 net/tipc/socket.c 	res = send_msg(NULL, sock, &m, 0);
sock             1429 net/tipc/socket.c 			(sock->state != SS_CONNECTING)),
sock             1437 net/tipc/socket.c 			res = auto_connect(sock, msg);
sock             1443 net/tipc/socket.c 			if (sock->state == SS_CONNECTED) {
sock             1454 net/tipc/socket.c 		sock->state = SS_DISCONNECTING;
sock             1472 net/tipc/socket.c 	struct sock *sk = sock->sk;
sock             1477 net/tipc/socket.c 	if (sock->state == SS_READY)
sock             1479 net/tipc/socket.c 	else if (sock->state != SS_UNCONNECTED)
sock             1482 net/tipc/socket.c 		sock->state = SS_LISTENING;
sock             1501 net/tipc/socket.c 	struct sock *sk = sock->sk;
sock             1507 net/tipc/socket.c 	if (sock->state == SS_READY) {
sock             1511 net/tipc/socket.c 	if (sock->state != SS_LISTENING) {
sock             1531 net/tipc/socket.c 	res = tipc_create(sock_net(sock->sk), new_sock, 0);
sock             1533 net/tipc/socket.c 		struct sock *new_sk = new_sock->sk;
sock             1595 net/tipc/socket.c 	struct sock *sk = sock->sk;
sock             1605 net/tipc/socket.c 	switch (sock->state) {
sock             1624 net/tipc/socket.c 		sock->state = SS_DISCONNECTING;
sock             1663 net/tipc/socket.c 	struct sock *sk = sock->sk;
sock             1668 net/tipc/socket.c 	if ((lvl == IPPROTO_TCP) && (sock->type == SOCK_STREAM))
sock             1684 net/tipc/socket.c 		if (sock->type != SOCK_STREAM)
sock             1722 net/tipc/socket.c 	struct sock *sk = sock->sk;
sock             1728 net/tipc/socket.c 	if ((lvl == IPPROTO_TCP) && (sock->type == SOCK_STREAM))
sock              175 net/unix/af_unix.c static struct sock *unix_peer_get(struct sock *s)
sock              177 net/unix/af_unix.c 	struct sock *peer;
sock              248 net/unix/af_unix.c static struct sock *__unix_find_socket_byname(struct net *net,
sock              252 net/unix/af_unix.c 	struct sock *s;
sock              270 net/unix/af_unix.c static inline struct sock *unix_find_socket_byname(struct net *net,
sock              275 net/unix/af_unix.c 	struct sock *s;
sock              285 net/unix/af_unix.c static struct sock *unix_find_socket_byinode(struct net *net, struct inode *i)
sock              287 net/unix/af_unix.c 	struct sock *s;
sock              375 net/unix/af_unix.c 	struct sock *skpair;
sock              452 net/unix/af_unix.c 	struct sock *sk = sock->sk;
sock              456 net/unix/af_unix.c 	if (sock->type!=SOCK_STREAM && sock->type!=SOCK_SEQPACKET)
sock              582 net/unix/af_unix.c static struct sock * unix_create1(struct net *net, struct socket *sock)
sock              584 net/unix/af_unix.c 	struct sock *sk = NULL;
sock              595 net/unix/af_unix.c 	sock_init_data(sock,sk);
sock              622 net/unix/af_unix.c 	sock->state = SS_UNCONNECTED;
sock              624 net/unix/af_unix.c 	switch (sock->type) {
sock              626 net/unix/af_unix.c 		sock->ops = &unix_stream_ops;
sock              633 net/unix/af_unix.c 		sock->type=SOCK_DGRAM;
sock              635 net/unix/af_unix.c 		sock->ops = &unix_dgram_ops;
sock              638 net/unix/af_unix.c 		sock->ops = &unix_seqpacket_ops;
sock              644 net/unix/af_unix.c 	return unix_create1(net, sock) ? 0 : -ENOMEM;
sock              649 net/unix/af_unix.c 	struct sock *sk = sock->sk;
sock              654 net/unix/af_unix.c 	sock->sk = NULL;
sock              661 net/unix/af_unix.c 	struct sock *sk = sock->sk;
sock              689 net/unix/af_unix.c 	if (__unix_find_socket_byname(net, addr->name, addr->len, sock->type,
sock              709 net/unix/af_unix.c static struct sock *unix_find_other(struct net *net,
sock              713 net/unix/af_unix.c 	struct sock *u;
sock              765 net/unix/af_unix.c 	struct sock *sk = sock->sk;
sock              781 net/unix/af_unix.c 		err = unix_autobind(sock);
sock              826 net/unix/af_unix.c 		       (SOCK_INODE(sock)->i_mode & ~current->fs->umask);
sock              910 net/unix/af_unix.c 	struct sock *sk = sock->sk;
sock              913 net/unix/af_unix.c 	struct sock *other;
sock              923 net/unix/af_unix.c 		if (test_bit(SOCK_PASSCRED, &sock->flags) &&
sock              924 net/unix/af_unix.c 		    !unix_sk(sk)->addr && (err = unix_autobind(sock)) != 0)
sock              928 net/unix/af_unix.c 		other=unix_find_other(net, sunaddr, alen, sock->type, hash, &err);
sock              961 net/unix/af_unix.c 		struct sock *old_peer = unix_peer(sk);
sock             1006 net/unix/af_unix.c 	struct sock *sk = sock->sk;
sock             1009 net/unix/af_unix.c 	struct sock *newsk = NULL;
sock             1010 net/unix/af_unix.c 	struct sock *other = NULL;
sock             1022 net/unix/af_unix.c 	if (test_bit(SOCK_PASSCRED, &sock->flags)
sock             1023 net/unix/af_unix.c 		&& !u->addr && (err = unix_autobind(sock)) != 0)
sock             1114 net/unix/af_unix.c 	err = security_unix_stream_connect(sock, other->sk_socket, newsk);
sock             1146 net/unix/af_unix.c 	sock->state	= SS_CONNECTED;
sock             1180 net/unix/af_unix.c 	struct sock *ska=socka->sk, *skb = sockb->sk;
sock             1202 net/unix/af_unix.c 	struct sock *sk = sock->sk;
sock             1203 net/unix/af_unix.c 	struct sock *tsk;
sock             1208 net/unix/af_unix.c 	if (sock->type!=SOCK_STREAM && sock->type!=SOCK_SEQPACKET)
sock             1245 net/unix/af_unix.c 	struct sock *sk = sock->sk;
sock             1321 net/unix/af_unix.c 	struct sock *sk = sock->sk;
sock             1325 net/unix/af_unix.c 	struct sock *other = NULL;
sock             1335 net/unix/af_unix.c 	err = scm_send(sock, msg, siocb->scm);
sock             1356 net/unix/af_unix.c 	if (test_bit(SOCK_PASSCRED, &sock->flags)
sock             1357 net/unix/af_unix.c 		&& !u->addr && (err = unix_autobind(sock)) != 0)
sock             1472 net/unix/af_unix.c 	struct sock *sk = sock->sk;
sock             1473 net/unix/af_unix.c 	struct sock *other = NULL;
sock             1482 net/unix/af_unix.c 	err = scm_send(sock, msg, siocb->scm);
sock             1581 net/unix/af_unix.c 	struct sock *sk = sock->sk;
sock             1593 net/unix/af_unix.c 	return unix_dgram_sendmsg(kiocb, sock, msg, len);
sock             1613 net/unix/af_unix.c 	struct sock *sk = sock->sk;
sock             1683 net/unix/af_unix.c 	scm_recv(sock, msg, siocb->scm, flags);
sock             1733 net/unix/af_unix.c 	struct sock *sk = sock->sk;
sock             1870 net/unix/af_unix.c 	scm_recv(sock, msg, siocb->scm, flags);
sock             1877 net/unix/af_unix.c 	struct sock *sk = sock->sk;
sock             1878 net/unix/af_unix.c 	struct sock *other;
sock             1919 net/unix/af_unix.c 	struct sock *sk = sock->sk;
sock             1962 net/unix/af_unix.c 	struct sock *sk = sock->sk;
sock             1998 net/unix/af_unix.c 	struct sock *sk = sock->sk, *other;
sock             2051 net/unix/af_unix.c static struct sock *first_unix_socket(int *i)
sock             2060 net/unix/af_unix.c static struct sock *next_unix_socket(int *i, struct sock *s)
sock             2062 net/unix/af_unix.c 	struct sock *next = sk_next(s);
sock             2078 net/unix/af_unix.c static struct sock *unix_seq_idx(struct seq_file *seq, loff_t pos)
sock             2082 net/unix/af_unix.c 	struct sock *s;
sock             2105 net/unix/af_unix.c 	struct sock *sk = v;
sock             2130 net/unix/af_unix.c 		struct sock *s = v;
sock               98 net/unix/garbage.c static struct sock *unix_get_socket(struct file *filp)
sock              100 net/unix/garbage.c 	struct sock *u_sock = NULL;
sock              107 net/unix/garbage.c 		struct socket * sock = SOCKET_I(inode);
sock              108 net/unix/garbage.c 		struct sock * s = sock->sk;
sock              113 net/unix/garbage.c 		if (s && sock->ops && sock->ops->family == PF_UNIX)
sock              126 net/unix/garbage.c 	struct sock *s = unix_get_socket(fp);
sock              143 net/unix/garbage.c 	struct sock *s = unix_get_socket(fp);
sock              187 net/unix/garbage.c 				struct sock *sk = unix_get_socket(*fp++);
sock              173 net/x25/af_x25.c 	struct sock *s;
sock              241 net/x25/af_x25.c static struct sock *x25_find_listener(struct x25_address *addr,
sock              244 net/x25/af_x25.c 	struct sock *s;
sock              245 net/x25/af_x25.c 	struct sock *next_best;
sock              285 net/x25/af_x25.c static struct sock *__x25_find_socket(unsigned int lci, struct x25_neigh *nb)
sock              287 net/x25/af_x25.c 	struct sock *s;
sock              300 net/x25/af_x25.c struct sock *x25_find_socket(unsigned int lci, struct x25_neigh *nb)
sock              302 net/x25/af_x25.c 	struct sock *s;
sock              316 net/x25/af_x25.c 	struct sock *sk;
sock              342 net/x25/af_x25.c 	x25_destroy_socket((struct sock *)data);
sock              402 net/x25/af_x25.c 	struct sock *sk = sock->sk;
sock              425 net/x25/af_x25.c 	struct sock *sk = sock->sk;
sock              453 net/x25/af_x25.c 	struct sock *sk = sock->sk;
sock              472 net/x25/af_x25.c static struct sock *x25_alloc_socket(struct net *net)
sock              475 net/x25/af_x25.c 	struct sock *sk = sk_alloc(net, AF_X25, GFP_ATOMIC, &x25_proto);
sock              493 net/x25/af_x25.c 	struct sock *sk;
sock              500 net/x25/af_x25.c 	if (sock->type != SOCK_SEQPACKET || protocol)
sock              509 net/x25/af_x25.c 	sock_init_data(sock, sk);
sock              513 net/x25/af_x25.c 	sock->ops    = &x25_proto_ops;
sock              544 net/x25/af_x25.c static struct sock *x25_make_new(struct sock *osk)
sock              546 net/x25/af_x25.c 	struct sock *sk = NULL;
sock              584 net/x25/af_x25.c 	struct sock *sk = sock->sk;
sock              622 net/x25/af_x25.c 	struct sock *sk = sock->sk;
sock              670 net/x25/af_x25.c 	struct sock *sk = sock->sk;
sock              677 net/x25/af_x25.c 	if (sk->sk_state == TCP_ESTABLISHED && sock->state == SS_CONNECTING) {
sock              678 net/x25/af_x25.c 		sock->state = SS_CONNECTED;
sock              683 net/x25/af_x25.c 	if (sk->sk_state == TCP_CLOSE && sock->state == SS_CONNECTING) {
sock              684 net/x25/af_x25.c 		sock->state = SS_UNCONNECTED;
sock              693 net/x25/af_x25.c 	sock->state = SS_UNCONNECTED;
sock              725 net/x25/af_x25.c 	sock->state   = SS_CONNECTING;
sock              744 net/x25/af_x25.c 	sock->state = SS_CONNECTED;
sock              787 net/x25/af_x25.c 	struct sock *sk = sock->sk;
sock              788 net/x25/af_x25.c 	struct sock *newsk;
sock              826 net/x25/af_x25.c 	struct sock *sk = sock->sk;
sock              845 net/x25/af_x25.c 	struct sock *sk;
sock              846 net/x25/af_x25.c 	struct sock *make;
sock              984 net/x25/af_x25.c 	struct sock *sk = sock->sk;
sock             1162 net/x25/af_x25.c 	struct sock *sk = sock->sk;
sock             1250 net/x25/af_x25.c 	struct sock *sk = sock->sk;
sock             1516 net/x25/af_x25.c 	struct sock *sk = sock->sk;
sock             1523 net/x25/af_x25.c 		rc = x25_ioctl(sock, cmd, (unsigned long)argp);
sock             1575 net/x25/af_x25.c 		rc = x25_ioctl(sock, cmd, (unsigned long)argp);
sock             1622 net/x25/af_x25.c 	struct sock *s;
sock               29 net/x25/x25_dev.c 	struct sock *sk;
sock               96 net/x25/x25_proc.c static __inline__ struct sock *x25_get_socket_idx(loff_t pos)
sock               98 net/x25/x25_proc.c 	struct sock *s;
sock              120 net/x25/x25_proc.c 	struct sock *s;
sock              140 net/x25/x25_proc.c 	struct sock *s;
sock               98 net/x25/x25_timer.c 	struct sock *sk = (struct sock *)param;
sock              165 net/x25/x25_timer.c 	struct sock *sk = (struct sock *)param;
sock               27 net/xfrm/xfrm_state.c struct sock *xfrm_nl;
sock             2518 net/xfrm/xfrm_user.c 	struct sock *nlsk;
sock             2535 net/xfrm/xfrm_user.c 	struct sock *nlsk = xfrm_nl;
sock              877 security/security.c 	return security_ops->unix_stream_connect(sock, other, newsk);
sock              883 security/security.c 	return security_ops->unix_may_send(sock, other);
sock              895 security/security.c 	return security_ops->socket_post_create(sock, family, type,
sock              901 security/security.c 	return security_ops->socket_bind(sock, address, addrlen);
sock              906 security/security.c 	return security_ops->socket_connect(sock, address, addrlen);
sock              911 security/security.c 	return security_ops->socket_listen(sock, backlog);
sock              916 security/security.c 	return security_ops->socket_accept(sock, newsock);
sock              921 security/security.c 	security_ops->socket_post_accept(sock, newsock);
sock              926 security/security.c 	return security_ops->socket_sendmsg(sock, msg, size);
sock              932 security/security.c 	return security_ops->socket_recvmsg(sock, msg, size, flags);
sock              937 security/security.c 	return security_ops->socket_getsockname(sock);
sock              942 security/security.c 	return security_ops->socket_getpeername(sock);
sock              947 security/security.c 	return security_ops->socket_getsockopt(sock, level, optname);
sock              952 security/security.c 	return security_ops->socket_setsockopt(sock, level, optname);
sock              957 security/security.c 	return security_ops->socket_shutdown(sock, how);
sock              969 security/security.c 	return security_ops->socket_getpeersec_stream(sock, optval, optlen, len);
sock              974 security/security.c 	return security_ops->socket_getpeersec_dgram(sock, skb, secid);
sock              601 security/selinux/avc.c 				struct sock *sk = a->u.net.sk;
sock             3638 security/selinux/hooks.c 	isec = SOCK_INODE(sock)->i_security;
sock             3644 security/selinux/hooks.c 	ad.u.net.sk = sock->sk;
sock             3680 security/selinux/hooks.c 	isec = SOCK_INODE(sock)->i_security;
sock             3688 security/selinux/hooks.c 	if (sock->sk) {
sock             3689 security/selinux/hooks.c 		sksec = sock->sk->sk_security;
sock             3692 security/selinux/hooks.c 		err = selinux_netlbl_socket_post_create(sock);
sock             3707 security/selinux/hooks.c 	err = socket_has_perm(current, sock, SOCKET__BIND);
sock             3716 security/selinux/hooks.c 	family = sock->sk->sk_family;
sock             3725 security/selinux/hooks.c 		struct sock *sk = sock->sk;
sock             3729 security/selinux/hooks.c 		isec = SOCK_INODE(sock)->i_security;
sock             3804 security/selinux/hooks.c 	struct sock *sk = sock->sk;
sock             3808 security/selinux/hooks.c 	err = socket_has_perm(current, sock, SOCKET__CONNECT);
sock             3815 security/selinux/hooks.c 	isec = SOCK_INODE(sock)->i_security;
sock             3859 security/selinux/hooks.c 	return socket_has_perm(current, sock, SOCKET__LISTEN);
sock             3868 security/selinux/hooks.c 	err = socket_has_perm(current, sock, SOCKET__ACCEPT);
sock             3874 security/selinux/hooks.c 	isec = SOCK_INODE(sock)->i_security;
sock             3887 security/selinux/hooks.c 	rc = socket_has_perm(current, sock, SOCKET__WRITE);
sock             3891 security/selinux/hooks.c 	return selinux_netlbl_inode_permission(SOCK_INODE(sock), MAY_WRITE);
sock             3897 security/selinux/hooks.c 	return socket_has_perm(current, sock, SOCKET__READ);
sock             3902 security/selinux/hooks.c 	return socket_has_perm(current, sock, SOCKET__GETATTR);
sock             3907 security/selinux/hooks.c 	return socket_has_perm(current, sock, SOCKET__GETATTR);
sock             3914 security/selinux/hooks.c 	err = socket_has_perm(current, sock, SOCKET__SETOPT);
sock             3918 security/selinux/hooks.c 	return selinux_netlbl_socket_setsockopt(sock, level, optname);
sock             3924 security/selinux/hooks.c 	return socket_has_perm(current, sock, SOCKET__GETOPT);
sock             3929 security/selinux/hooks.c 	return socket_has_perm(current, sock, SOCKET__SHUTDOWN);
sock             3942 security/selinux/hooks.c 	err = secondary_ops->unix_stream_connect(sock, other, newsk);
sock             3946 security/selinux/hooks.c 	isec = SOCK_INODE(sock)->i_security;
sock             3959 security/selinux/hooks.c 	ssec = sock->sk->sk_security;
sock             3978 security/selinux/hooks.c 	isec = SOCK_INODE(sock)->i_security;
sock             4200 security/selinux/hooks.c 	isec = SOCK_INODE(sock)->i_security;
sock             4204 security/selinux/hooks.c 		ssec = sock->sk->sk_security;
sock             4243 security/selinux/hooks.c 	else if (sock)
sock             4244 security/selinux/hooks.c 		family = sock->sk->sk_family;
sock             4248 security/selinux/hooks.c 	if (sock && family == PF_UNIX)
sock             4249 security/selinux/hooks.c 		selinux_inode_getsecid(SOCK_INODE(sock), &peer_secid);
sock             4377 security/selinux/hooks.c 	struct socket *sock = sk->sk_socket;
sock             4378 security/selinux/hooks.c 	struct inode_security_struct *isec = SOCK_INODE(sock)->i_security;
sock             4403 security/selinux/hooks.c 	err = socket_has_perm(current, sock, perm);
sock             4584 security/selinux/hooks.c 	struct sock *sk = skb->sk;
sock             4622 security/selinux/hooks.c 	struct sock *sk;
sock               36 security/selinux/include/avc.h struct sock;
sock               54 security/selinux/include/avc.h 			struct sock *sk;
sock              256 security/selinux/netlabel.c 	struct sock *sk;
sock              364 security/selinux/netlabel.c 	return selinux_netlbl_sock_setsid(sock->sk);
sock              382 security/selinux/netlabel.c 	struct sock *sk;
sock              383 security/selinux/netlabel.c 	struct socket *sock;
sock              390 security/selinux/netlabel.c 	sock = SOCKET_I(inode);
sock              391 security/selinux/netlabel.c 	sk = sock->sk;
sock              482 security/selinux/netlabel.c 	struct sock *sk = sock->sk;
sock               22 security/selinux/netlink.c static struct sock *selnl;
sock              711 security/smack/smack_lsm.c 	struct socket *sock;
sock              732 security/smack/smack_lsm.c 	sock = SOCKET_I(ip);
sock              733 security/smack/smack_lsm.c 	if (sock == NULL || sock->sk == NULL)
sock              736 security/smack/smack_lsm.c 	ssp = sock->sk->sk_security;
sock             1360 security/smack/smack_lsm.c 	struct socket *sock;
sock             1380 security/smack/smack_lsm.c 	sock = SOCKET_I(inode);
sock             1381 security/smack/smack_lsm.c 	if (sock == NULL || sock->sk == NULL)
sock             1384 security/smack/smack_lsm.c 	ssp = sock->sk->sk_security;
sock             1390 security/smack/smack_lsm.c 		rc = smack_netlabel(sock->sk);
sock             1415 security/smack/smack_lsm.c 	if (family != PF_INET || sock->sk == NULL)
sock             1420 security/smack/smack_lsm.c 	return smack_netlabel(sock->sk);
sock             2074 security/smack/smack_lsm.c 	struct inode *sp = SOCK_INODE(sock);
sock             2090 security/smack/smack_lsm.c 	struct inode *sp = SOCK_INODE(sock);
sock             2205 security/smack/smack_lsm.c 	ssp = sock->sk->sk_security;
sock             2233 security/smack/smack_lsm.c 	struct sock *sk;
sock             2242 security/smack/smack_lsm.c 	if (sock != NULL) {
sock             2243 security/smack/smack_lsm.c 		sk = sock->sk;