Home
last modified time | relevance | path

Searched refs:sock_prot_inuse_add (Results 1 – 15 of 15) sorted by relevance

/linux/net/ipv4/
H A Dinet_hashtables.c643 sock_prot_inuse_add(sock_net(sk), sk->sk_prot, 1); in __inet_check_established()
752 sock_prot_inuse_add(sock_net(sk), sk->sk_prot, 1); in inet_ehash_nolisten()
822 sock_prot_inuse_add(sock_net(sk), sk->sk_prot, 1); in inet_hash()
849 sock_prot_inuse_add(sock_net(sk), sk->sk_prot, -1); in inet_unhash()
856 sock_prot_inuse_add(sock_net(sk), sk->sk_prot, -1); in inet_unhash()
1229 sock_prot_inuse_add(net, sk->sk_prot, -1); in __inet_hash_connect()
H A Draw.c102 sock_prot_inuse_add(sock_net(sk), sk->sk_prot, 1); in raw_hash_sk()
114 sock_prot_inuse_add(sock_net(sk), sk->sk_prot, -1); in raw_unhash_sk()
H A Dudp.c327 sock_prot_inuse_add(sock_net(sk), sk->sk_prot, 1); in udp_lib_get_port()
2205 sock_prot_inuse_add(net, sk->sk_prot, -1); in udp_lib_unhash()
/linux/net/ipv6/
H A Dinet6_hashtables.c364 sock_prot_inuse_add(sock_net(sk), sk->sk_prot, 1); in __inet6_check_established()
/linux/net/can/
H A Daf_can.c176 sock_prot_inuse_add(net, sk->sk_prot, 1); in can_create()
H A Dbcm.c1664 sock_prot_inuse_add(net, sk->sk_prot, -1); in bcm_release()
H A Disotp.c1256 sock_prot_inuse_add(net, sk->sk_prot, -1); in isotp_release()
/linux/net/xdp/
H A Dxsk.c1352 sock_prot_inuse_add(net, sk->sk_prot, -1); in xsk_release()
2011 sock_prot_inuse_add(net, &xsk_proto, 1); in xsk_create()
/linux/include/net/
H A Dsock.h1483 static inline void sock_prot_inuse_add(const struct net *net, in sock_prot_inuse_add() function
1497 static inline void sock_prot_inuse_add(const struct net *net, in sock_prot_inuse_add() function
/linux/net/netlink/
H A Daf_netlink.c688 sock_prot_inuse_add(net, &netlink_proto, 1); in netlink_create()
794 sock_prot_inuse_add(sock_net(sk), &netlink_proto, -1); in netlink_release()
/linux/net/unix/
H A Daf_unix.c653 sock_prot_inuse_add(sock_net(sk), sk->sk_prot, -1); in unix_sock_destructor()
1128 sock_prot_inuse_add(net, sk->sk_prot, 1); in unix_create1()
/linux/net/smc/
H A Daf_smc.c209 sock_prot_inuse_add(sock_net(sk), sk->sk_prot, 1); in smc_hash_sk()
220 sock_prot_inuse_add(sock_net(sk), sk->sk_prot, -1); in smc_unhash_sk()
/linux/net/mptcp/
H A Dprotocol.c3291 sock_prot_inuse_add(sock_net(sk), sk->sk_prot, -1); in mptcp_check_listen_stop()
4148 sock_prot_inuse_add(sock_net(sk), sk->sk_prot, 1); in mptcp_listen()
/linux/net/packet/
H A Daf_packet.c3140 sock_prot_inuse_add(net, sk->sk_prot, -1); in packet_release()
3402 sock_prot_inuse_add(net, &packet_proto, 1); in packet_create()
/linux/net/sctp/
H A Dsocket.c4908 sock_prot_inuse_add(sock_net(sk), newsk->sk_prot, 1); in sctp_clone_sock()
5152 sock_prot_inuse_add(net, sk->sk_prot, 1); in sctp_init_sock()
5182 sock_prot_inuse_add(sock_net(sk), sk->sk_prot, -1); in sctp_destroy_sock()