Home
last modified time | relevance | path

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

/kernel/linux/common_modules/newip/third_party/linux-5.10/net/newip/
Dninet_hashtables.c193 struct inet_listen_hashbucket *ilb; in __ninet_hash() local
203 ilb = &hashinfo->listening_hash[inet_sk_listen_hashfn(sk)]; in __ninet_hash()
205 spin_lock(&ilb->lock); in __ninet_hash()
207 __sk_nulls_add_node_rcu(sk, &ilb->nulls_head); in __ninet_hash()
210 ilb->count++; in __ninet_hash()
214 spin_unlock(&ilb->lock); in __ninet_hash()
249 static void __ninet_unhash(struct sock *sk, struct inet_listen_hashbucket *ilb) in __ninet_unhash() argument
254 if (ilb) { in __ninet_unhash()
258 if (ilb->count) in __ninet_unhash()
259 ilb->count--; in __ninet_unhash()
[all …]
/kernel/linux/linux-5.10/net/ipv4/
Dinet_hashtables.c628 struct inet_listen_hashbucket *ilb) in inet_reuseport_add_sock() argument
635 sk_nulls_for_each_rcu(sk2, node, &ilb->nulls_head) { in inet_reuseport_add_sock()
653 struct inet_listen_hashbucket *ilb; in __inet_hash() local
663 ilb = &hashinfo->listening_hash[inet_sk_listen_hashfn(sk)]; in __inet_hash()
665 spin_lock(&ilb->lock); in __inet_hash()
667 err = inet_reuseport_add_sock(sk, ilb); in __inet_hash()
673 __sk_nulls_add_node_tail_rcu(sk, &ilb->nulls_head); in __inet_hash()
675 __sk_nulls_add_node_rcu(sk, &ilb->nulls_head); in __inet_hash()
677 ilb->count++; in __inet_hash()
681 spin_unlock(&ilb->lock); in __inet_hash()
[all …]
Dinet_diag.c1027 struct inet_listen_hashbucket *ilb; in inet_diag_dump_icsk() local
1031 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()
Dtcp_ipv4.c2286 struct inet_listen_hashbucket *ilb; in listening_get_next() local
2297 ilb = &tcp_hashinfo.listening_hash[st->bucket]; in listening_get_next()
2298 spin_lock(&ilb->lock); in listening_get_next()
2299 sk = sk_nulls_head(&ilb->nulls_head); in listening_get_next()
2303 ilb = &tcp_hashinfo.listening_hash[st->bucket]; in listening_get_next()
2316 spin_unlock(&ilb->lock); in listening_get_next()
/kernel/linux/linux-5.10/kernel/sched/
Dfair.c10760 int ilb; in find_new_ilb() local
10762 for_each_cpu_and(ilb, nohz.idle_cpus_mask, in find_new_ilb()
10764 if (cpu_isolated(ilb)) in find_new_ilb()
10767 if (idle_cpu(ilb)) in find_new_ilb()
10768 return ilb; in find_new_ilb()