sk_prot 161 include/net/inet_sock.h sk_from->sk_prot->obj_size - ancestor_size); sk_prot 620 include/net/sock.h atomic_inc(&sk->sk_prot->socks); sk_prot 625 include/net/sock.h atomic_dec(&sk->sk_prot->socks); sk_prot 627 include/net/sock.h sk->sk_prot->name, sk, atomic_read(&sk->sk_prot->socks)); sk_prot 634 include/net/sock.h sk->sk_prot->name, sk, atomic_read(&sk->sk_refcnt)); sk_prot 660 include/net/sock.h sk->sk_prot->unhash(sk); sk_prot 661 include/net/sock.h sk->sk_prot->hash(sk); sk_prot 736 include/net/sock.h return !!sk->sk_prot->memory_allocated; sk_prot 1220 include/net/sock.h sk->sk_prot->enter_memory_pressure(sk); sk_prot 27 include/net/timewait_sock.h if (sk->sk_prot->twsk_prot->twsk_unique != NULL) sk_prot 28 include/net/timewait_sock.h return sk->sk_prot->twsk_prot->twsk_unique(sk, sktw, twp); sk_prot 35 include/net/timewait_sock.h BUG_ON(sk->sk_prot == NULL); sk_prot 36 include/net/timewait_sock.h BUG_ON(sk->sk_prot->twsk_prot == NULL); sk_prot 37 include/net/timewait_sock.h if (sk->sk_prot->twsk_prot->twsk_destructor != NULL) sk_prot 38 include/net/timewait_sock.h sk->sk_prot->twsk_prot->twsk_destructor(sk); sk_prot 118 include/net/udp.h sock_prot_inuse_add(sock_net(sk), sk->sk_prot, -1); sk_prot 875 net/ax25/af_ax25.c sk = sk_alloc(sock_net(osk), PF_AX25, GFP_ATOMIC, osk->sk_prot); sk_prot 179 net/can/af_can.c if (sk->sk_prot->init) sk_prot 180 net/can/af_can.c err = sk->sk_prot->init(sk); sk_prot 877 net/core/sock.c memcpy(nsk, osk, osk->sk_prot->obj_size); sk_prot 951 net/core/sock.c sk->sk_prot = sk->sk_prot_creator = prot; sk_prot 1006 net/core/sock.c newsk = sk_prot_alloc(sk->sk_prot, priority, sk->sk_family); sk_prot 1075 net/core/sock.c if (newsk->sk_prot->sockets_allocated) sk_prot 1076 net/core/sock.c atomic_inc(newsk->sk_prot->sockets_allocated); sk_prot 1431 net/core/sock.c struct proto *prot = sk->sk_prot; sk_prot 1502 net/core/sock.c struct proto *prot = sk->sk_prot; sk_prot 1834 net/core/sock.c return sk->sk_prot->getsockopt(sk, level, optname, optval, optlen); sk_prot 1845 net/core/sock.c if (sk->sk_prot->compat_getsockopt != NULL) sk_prot 1846 net/core/sock.c return sk->sk_prot->compat_getsockopt(sk, level, optname, sk_prot 1848 net/core/sock.c return sk->sk_prot->getsockopt(sk, level, optname, optval, optlen); sk_prot 1860 net/core/sock.c err = sk->sk_prot->recvmsg(iocb, sk, msg, size, flags & MSG_DONTWAIT, sk_prot 1877 net/core/sock.c return sk->sk_prot->setsockopt(sk, level, optname, optval, optlen); sk_prot 1888 net/core/sock.c if (sk->sk_prot->compat_setsockopt != NULL) sk_prot 1889 net/core/sock.c return sk->sk_prot->compat_setsockopt(sk, level, optname, sk_prot 1891 net/core/sock.c return sk->sk_prot->setsockopt(sk, level, optname, optval, optlen); sk_prot 1898 net/core/sock.c if (sk->sk_prot->destroy) sk_prot 1899 net/core/sock.c sk->sk_prot->destroy(sk); sk_prot 1909 net/core/sock.c sk->sk_prot->unhash(sk); sk_prot 70 net/dccp/minisocks.c tw->tw_ipv6_offset = inet6_tw_offset(sk->sk_prot); sk_prot 326 net/dccp/output.c struct sk_buff *skb = sock_wmalloc(sk, sk->sk_prot->max_header, 1, sk_prot 332 net/dccp/output.c skb_reserve(skb, sk->sk_prot->max_header); sk_prot 381 net/dccp/output.c skb = alloc_skb(sk->sk_prot->max_header, GFP_ATOMIC); sk_prot 385 net/dccp/output.c skb_reserve(skb, sk->sk_prot->max_header); sk_prot 435 net/dccp/output.c skb = sock_wmalloc(sk, sk->sk_prot->max_header, 1, GFP_ATOMIC); sk_prot 440 net/dccp/output.c skb_reserve(skb, sk->sk_prot->max_header); sk_prot 474 net/dccp/output.c skb = alloc_skb(sk->sk_prot->max_header, sk->sk_allocation); sk_prot 479 net/dccp/output.c skb_reserve(skb, sk->sk_prot->max_header); sk_prot 499 net/dccp/output.c struct sk_buff *skb = alloc_skb(sk->sk_prot->max_header, sk_prot 512 net/dccp/output.c skb_reserve(skb, sk->sk_prot->max_header); sk_prot 561 net/dccp/output.c struct sk_buff *skb = alloc_skb(sk->sk_prot->max_header, GFP_ATOMIC); sk_prot 570 net/dccp/output.c skb_reserve(skb, sk->sk_prot->max_header); sk_prot 590 net/dccp/output.c skb = alloc_skb(sk->sk_prot->max_header, prio); sk_prot 595 net/dccp/output.c skb_reserve(skb, sk->sk_prot->max_header); sk_prot 77 net/dccp/proto.c sk->sk_prot->unhash(sk); sk_prot 734 net/dccp/proto.c size = sk->sk_prot->max_header + len; sk_prot 741 net/dccp/proto.c skb_reserve(skb, sk->sk_prot->max_header); sk_prot 968 net/dccp/proto.c sk->sk_prot->disconnect(sk, 0); sk_prot 979 net/dccp/proto.c atomic_inc(sk->sk_prot->orphan_count); sk_prot 178 net/ipv4/af_inet.c if (sk->sk_prot->get_port(sk, 0)) { sk_prot 374 net/ipv4/af_inet.c sk->sk_backlog_rcv = sk->sk_prot->backlog_rcv; sk_prot 392 net/ipv4/af_inet.c sk->sk_prot->hash(sk); sk_prot 395 net/ipv4/af_inet.c if (sk->sk_prot->init) { sk_prot 396 net/ipv4/af_inet.c err = sk->sk_prot->init(sk); sk_prot 435 net/ipv4/af_inet.c sk->sk_prot->close(sk, timeout); sk_prot 453 net/ipv4/af_inet.c if (sk->sk_prot->bind) { sk_prot 454 net/ipv4/af_inet.c err = sk->sk_prot->bind(sk, uaddr, addr_len); sk_prot 503 net/ipv4/af_inet.c if (sk->sk_prot->get_port(sk, snum)) { sk_prot 530 net/ipv4/af_inet.c return sk->sk_prot->disconnect(sk, flags); sk_prot 534 net/ipv4/af_inet.c return sk->sk_prot->connect(sk, (struct sockaddr *)uaddr, addr_len); sk_prot 574 net/ipv4/af_inet.c err = sk->sk_prot->disconnect(sk, flags); sk_prot 595 net/ipv4/af_inet.c err = sk->sk_prot->connect(sk, uaddr, addr_len); sk_prot 641 net/ipv4/af_inet.c if (sk->sk_prot->disconnect(sk, flags)) sk_prot 654 net/ipv4/af_inet.c struct sock *sk2 = sk1->sk_prot->accept(sk1, flags, &err); sk_prot 713 net/ipv4/af_inet.c return sk->sk_prot->sendmsg(iocb, sk, msg, size); sk_prot 725 net/ipv4/af_inet.c if (sk->sk_prot->sendpage) sk_prot 726 net/ipv4/af_inet.c return sk->sk_prot->sendpage(sk, page, offset, size, flags); sk_prot 761 net/ipv4/af_inet.c if (sk->sk_prot->shutdown) sk_prot 762 net/ipv4/af_inet.c sk->sk_prot->shutdown(sk, how); sk_prot 774 net/ipv4/af_inet.c err = sk->sk_prot->disconnect(sk, O_NONBLOCK); sk_prot 832 net/ipv4/af_inet.c if (sk->sk_prot->ioctl) sk_prot 833 net/ipv4/af_inet.c err = sk->sk_prot->ioctl(sk, cmd, arg); sk_prot 1261 net/ipv4/af_inet.c (*sk)->sk_prot->unhash(*sk); sk_prot 92 net/ipv4/inet_connection_sock.c struct inet_hashinfo *hashinfo = sk->sk_prot->h.hashinfo; sk_prot 556 net/ipv4/inet_connection_sock.c sk->sk_prot->destroy(sk); sk_prot 564 net/ipv4/inet_connection_sock.c atomic_dec(sk->sk_prot->orphan_count); sk_prot 589 net/ipv4/inet_connection_sock.c if (!sk->sk_prot->get_port(sk, inet->num)) { sk_prot 593 net/ipv4/inet_connection_sock.c sk->sk_prot->hash(sk); sk_prot 640 net/ipv4/inet_connection_sock.c sk->sk_prot->disconnect(child, O_NONBLOCK); sk_prot 644 net/ipv4/inet_connection_sock.c atomic_inc(sk->sk_prot->orphan_count); sk_prot 72 net/ipv4/inet_hashtables.c struct inet_hashinfo *hashinfo = sk->sk_prot->h.hashinfo; sk_prot 98 net/ipv4/inet_hashtables.c struct inet_hashinfo *table = sk->sk_prot->h.hashinfo; sk_prot 310 net/ipv4/inet_hashtables.c sock_prot_inuse_add(sock_net(sk), sk->sk_prot, 1); sk_prot 340 net/ipv4/inet_hashtables.c struct inet_hashinfo *hashinfo = sk->sk_prot->h.hashinfo; sk_prot 354 net/ipv4/inet_hashtables.c sock_prot_inuse_add(sock_net(sk), sk->sk_prot, 1); sk_prot 361 net/ipv4/inet_hashtables.c struct inet_hashinfo *hashinfo = sk->sk_prot->h.hashinfo; sk_prot 376 net/ipv4/inet_hashtables.c sock_prot_inuse_add(sock_net(sk), sk->sk_prot, 1); sk_prot 394 net/ipv4/inet_hashtables.c struct inet_hashinfo *hashinfo = sk->sk_prot->h.hashinfo; sk_prot 409 net/ipv4/inet_hashtables.c sock_prot_inuse_add(sock_net(sk), sk->sk_prot, -1); sk_prot 97 net/ipv4/inet_timewait_sock.c sock_prot_inuse_add(sock_net(sk), sk->sk_prot, -1); sk_prot 264 net/ipv4/netfilter/nf_conntrack_l3proto_ipv4.c if (strcmp(sk->sk_prot->name, "TCP")) { sk_prot 87 net/ipv4/raw.c struct raw_hashinfo *h = sk->sk_prot->h.raw_hash; sk_prot 94 net/ipv4/raw.c sock_prot_inuse_add(sock_net(sk), sk->sk_prot, 1); sk_prot 101 net/ipv4/raw.c struct raw_hashinfo *h = sk->sk_prot->h.raw_hash; sk_prot 105 net/ipv4/raw.c sock_prot_inuse_add(sock_net(sk), sk->sk_prot, -1); sk_prot 640 net/ipv4/tcp.c skb = alloc_skb_fclone(size + sk->sk_prot->max_header, gfp); sk_prot 652 net/ipv4/tcp.c sk->sk_prot->enter_memory_pressure(sk); sk_prot 1678 net/ipv4/tcp.c sk->sk_prot->unhash(sk); sk_prot 1801 net/ipv4/tcp.c sk->sk_prot->disconnect(sk, 0); sk_prot 1838 net/ipv4/tcp.c atomic_inc(sk->sk_prot->orphan_count); sk_prot 1891 net/ipv4/tcp.c atomic_read(sk->sk_prot->orphan_count))) { sk_prot 301 net/ipv4/tcp_minisocks.c tw->tw_ipv6_offset = inet6_tw_offset(sk->sk_prot); sk_prot 157 net/ipv4/udp.c struct hlist_head *udptable = sk->sk_prot->h.udp_hash; sk_prot 189 net/ipv4/udp.c sock_prot_inuse_add(sock_net(sk), sk->sk_prot, 1); sk_prot 929 net/ipv4/udp.c sk->sk_prot->unhash(sk); sk_prot 77 net/ipv6/af_inet6.c const int offset = sk->sk_prot->obj_size - sizeof(struct ipv6_pinfo); sk_prot 221 net/ipv6/af_inet6.c sk->sk_prot->hash(sk); sk_prot 223 net/ipv6/af_inet6.c if (sk->sk_prot->init) { sk_prot 224 net/ipv6/af_inet6.c err = sk->sk_prot->init(sk); sk_prot 252 net/ipv6/af_inet6.c if (sk->sk_prot->bind) sk_prot 253 net/ipv6/af_inet6.c return sk->sk_prot->bind(sk, uaddr, addr_len); sk_prot 332 net/ipv6/af_inet6.c if (sk->sk_prot->get_port(sk, snum)) { sk_prot 458 net/ipv6/af_inet6.c if (!sk->sk_prot->ioctl) sk_prot 460 net/ipv6/af_inet6.c return sk->sk_prot->ioctl(sk, cmd, arg); sk_prot 27 net/ipv6/inet6_hashtables.c struct inet_hashinfo *hashinfo = sk->sk_prot->h.hashinfo; sk_prot 46 net/ipv6/inet6_hashtables.c sock_prot_inuse_add(sock_net(sk), sk->sk_prot, 1); sk_prot 208 net/ipv6/inet6_hashtables.c sock_prot_inuse_add(sock_net(sk), sk->sk_prot, 1); sk_prot 196 net/ipv6/ipv6_sockglue.c sock_prot_inuse_add(net, sk->sk_prot, -1); sk_prot 199 net/ipv6/ipv6_sockglue.c sk->sk_prot = &tcp_prot; sk_prot 210 net/ipv6/ipv6_sockglue.c sock_prot_inuse_add(net, sk->sk_prot, -1); sk_prot 213 net/ipv6/ipv6_sockglue.c sk->sk_prot = prot; sk_prot 704 net/llc/llc_conn.c sk->sk_prot); sk_prot 483 net/netrom/af_netrom.c sk = sk_alloc(sock_net(osk), PF_NETROM, GFP_ATOMIC, osk->sk_prot); sk_prot 91 net/phonet/af_phonet.c sk->sk_backlog_rcv = sk->sk_prot->backlog_rcv; sk_prot 96 net/phonet/af_phonet.c sk->sk_prot->init(sk); sk_prot 490 net/phonet/pep.c newsk = sk_alloc(sock_net(sk), PF_PHONET, GFP_ATOMIC, sk->sk_prot); sk_prot 43 net/phonet/socket.c sk->sk_prot->close(sk, 0); sk_prot 123 net/phonet/socket.c if (sk->sk_prot->bind) sk_prot 124 net/phonet/socket.c return sk->sk_prot->bind(sk, addr, len); sk_prot 141 net/phonet/socket.c err = sk->sk_prot->get_port(sk, pn_port(handle)); sk_prot 150 net/phonet/socket.c sk->sk_prot->hash(sk); sk_prot 178 net/phonet/socket.c newsk = sk->sk_prot->accept(sk, flags, &err); sk_prot 269 net/phonet/socket.c return sk->sk_prot->ioctl(sk, cmd, arg); sk_prot 304 net/phonet/socket.c return sk->sk_prot->sendmsg(iocb, sk, m, total_len); sk_prot 644 net/sctp/ipv6.c newsk = sk_alloc(sock_net(sk), PF_INET6, GFP_KERNEL, sk->sk_prot); sk_prot 652 net/sctp/ipv6.c newsk->sk_prot = sk->sk_prot; sk_prot 659 net/sctp/ipv6.c newsk->sk_backlog_rcv = sk->sk_prot->backlog_rcv; sk_prot 698 net/sctp/ipv6.c if (newsk->sk_prot->init(newsk)) { sk_prot 591 net/sctp/protocol.c sk->sk_prot); sk_prot 607 net/sctp/protocol.c newsk->sk_backlog_rcv = sk->sk_prot->backlog_rcv; sk_prot 631 net/sctp/protocol.c if (newsk->sk_prot->init(newsk)) {