Searched refs:ilb (Results 1 – 3 of 3) sorted by relevance
606 struct inet_listen_hashbucket *ilb) in inet_reuseport_add_sock() argument613 sk_nulls_for_each_rcu(sk2, node, &ilb->nulls_head) { in inet_reuseport_add_sock()631 struct inet_listen_hashbucket *ilb; in __inet_hash() local641 ilb = &hashinfo->listening_hash[inet_sk_listen_hashfn(sk)]; in __inet_hash()643 spin_lock(&ilb->lock); in __inet_hash()645 err = inet_reuseport_add_sock(sk, ilb); in __inet_hash()651 __sk_nulls_add_node_tail_rcu(sk, &ilb->nulls_head); in __inet_hash()653 __sk_nulls_add_node_rcu(sk, &ilb->nulls_head); in __inet_hash()655 ilb->count++; in __inet_hash()659 spin_unlock(&ilb->lock); in __inet_hash()[all …]
1027 struct inet_listen_hashbucket *ilb; in inet_diag_dump_icsk() local1031 ilb = &hashinfo->listening_hash[i]; in inet_diag_dump_icsk()1032 spin_lock(&ilb->lock); in inet_diag_dump_icsk()1033 sk_nulls_for_each(sk, node, &ilb->nulls_head) { in inet_diag_dump_icsk()1058 spin_unlock(&ilb->lock); in inet_diag_dump_icsk()1065 spin_unlock(&ilb->lock); in inet_diag_dump_icsk()
2278 struct inet_listen_hashbucket *ilb; in listening_get_next() local2289 ilb = &tcp_hashinfo.listening_hash[st->bucket]; in listening_get_next()2290 spin_lock(&ilb->lock); in listening_get_next()2291 sk = sk_nulls_head(&ilb->nulls_head); in listening_get_next()2295 ilb = &tcp_hashinfo.listening_hash[st->bucket]; in listening_get_next()2308 spin_unlock(&ilb->lock); in listening_get_next()