Searched refs:ilb (Results 1 – 3 of 3) sorted by relevance
571 struct inet_listen_hashbucket *ilb) in inet_reuseport_add_sock() argument578 sk_nulls_for_each_rcu(sk2, node, &ilb->nulls_head) { in inet_reuseport_add_sock()596 struct inet_listen_hashbucket *ilb; in __inet_hash() local604 ilb = &hashinfo->listening_hash[inet_sk_listen_hashfn(sk)]; in __inet_hash()606 spin_lock(&ilb->lock); in __inet_hash()608 err = inet_reuseport_add_sock(sk, ilb); in __inet_hash()614 __sk_nulls_add_node_tail_rcu(sk, &ilb->nulls_head); in __inet_hash()616 __sk_nulls_add_node_rcu(sk, &ilb->nulls_head); in __inet_hash()618 ilb->count++; in __inet_hash()622 spin_unlock(&ilb->lock); in __inet_hash()[all …]
909 struct inet_listen_hashbucket *ilb; in inet_diag_dump_icsk() local913 ilb = &hashinfo->listening_hash[i]; in inet_diag_dump_icsk()914 spin_lock(&ilb->lock); in inet_diag_dump_icsk()915 sk_nulls_for_each(sk, node, &ilb->nulls_head) { in inet_diag_dump_icsk()936 spin_unlock(&ilb->lock); in inet_diag_dump_icsk()943 spin_unlock(&ilb->lock); in inet_diag_dump_icsk()
2177 struct inet_listen_hashbucket *ilb; in listening_get_next() local2183 ilb = &tcp_hashinfo.listening_hash[st->bucket]; in listening_get_next()2184 spin_lock(&ilb->lock); in listening_get_next()2185 sk = sk_nulls_head(&ilb->nulls_head); in listening_get_next()2189 ilb = &tcp_hashinfo.listening_hash[st->bucket]; in listening_get_next()2201 spin_unlock(&ilb->lock); in listening_get_next()