Home
last modified time | relevance | path

Searched refs:ilb (Results 1 – 4 of 4) sorted by relevance

/net/ipv6/
Dinet6_hashtables.c34 struct inet_listen_hashbucket *ilb; in __inet6_hash() local
36 ilb = &hashinfo->listening_hash[inet_sk_listen_hashfn(sk)]; in __inet6_hash()
37 spin_lock(&ilb->lock); in __inet6_hash()
38 __sk_nulls_add_node_rcu(sk, &ilb->head); in __inet6_hash()
39 spin_unlock(&ilb->lock); in __inet6_hash()
171 struct inet_listen_hashbucket *ilb = &hashinfo->listening_hash[hash]; in inet6_lookup_listener() local
177 sk_nulls_for_each(sk, node, &ilb->head) { in inet6_lookup_listener()
/net/ipv4/
Dinet_hashtables.c186 struct inet_listen_hashbucket *ilb = &hashinfo->listening_hash[hash]; in __inet_lookup_listener() local
194 sk_nulls_for_each_rcu(sk, node, &ilb->head) { in __inet_lookup_listener()
429 struct inet_listen_hashbucket *ilb; in __inet_hash() local
437 ilb = &hashinfo->listening_hash[inet_sk_listen_hashfn(sk)]; in __inet_hash()
439 spin_lock(&ilb->lock); in __inet_hash()
440 __sk_nulls_add_node_rcu(sk, &ilb->head); in __inet_hash()
442 spin_unlock(&ilb->lock); in __inet_hash()
Dinet_diag.c955 struct inet_listen_hashbucket *ilb; in inet_diag_dump_icsk() local
958 ilb = &hashinfo->listening_hash[i]; in inet_diag_dump_icsk()
959 spin_lock_bh(&ilb->lock); in inet_diag_dump_icsk()
960 sk_nulls_for_each(sk, node, &ilb->head) { in inet_diag_dump_icsk()
986 spin_unlock_bh(&ilb->lock); in inet_diag_dump_icsk()
995 spin_unlock_bh(&ilb->lock); in inet_diag_dump_icsk()
1004 spin_unlock_bh(&ilb->lock); in inet_diag_dump_icsk()
Dtcp_ipv4.c2250 struct inet_listen_hashbucket *ilb; in listening_get_next() local
2255 ilb = &tcp_hashinfo.listening_hash[st->bucket]; in listening_get_next()
2256 spin_lock_bh(&ilb->lock); in listening_get_next()
2257 sk = sk_nulls_head(&ilb->head); in listening_get_next()
2261 ilb = &tcp_hashinfo.listening_hash[st->bucket]; in listening_get_next()
2314 spin_unlock_bh(&ilb->lock); in listening_get_next()
2317 ilb = &tcp_hashinfo.listening_hash[st->bucket]; in listening_get_next()
2318 spin_lock_bh(&ilb->lock); in listening_get_next()
2319 sk = sk_nulls_head(&ilb->head); in listening_get_next()