Home
last modified time | relevance | path

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

/net/netfilter/
Dnf_conntrack_ecache.c40 static enum retry_state ecache_work_evict_list(struct ct_pcpu *pcpu) in ecache_work_evict_list() argument
48 spin_lock(&pcpu->lock); in ecache_work_evict_list()
50 hlist_nulls_for_each_entry(h, n, &pcpu->dying, hnnode) { in ecache_work_evict_list()
75 spin_unlock(&pcpu->lock); in ecache_work_evict_list()
89 struct ct_pcpu *pcpu; in ecache_work() local
96 pcpu = per_cpu_ptr(ctnet->pcpu_lists, cpu); in ecache_work()
98 ret = ecache_work_evict_list(pcpu); in ecache_work()
Dnf_conntrack_core.c493 struct ct_pcpu *pcpu; in nf_ct_add_to_dying_list() local
497 pcpu = per_cpu_ptr(nf_ct_net(ct)->ct.pcpu_lists, ct->cpu); in nf_ct_add_to_dying_list()
499 spin_lock(&pcpu->lock); in nf_ct_add_to_dying_list()
501 &pcpu->dying); in nf_ct_add_to_dying_list()
502 spin_unlock(&pcpu->lock); in nf_ct_add_to_dying_list()
508 struct ct_pcpu *pcpu; in nf_ct_add_to_unconfirmed_list() local
512 pcpu = per_cpu_ptr(nf_ct_net(ct)->ct.pcpu_lists, ct->cpu); in nf_ct_add_to_unconfirmed_list()
514 spin_lock(&pcpu->lock); in nf_ct_add_to_unconfirmed_list()
516 &pcpu->unconfirmed); in nf_ct_add_to_unconfirmed_list()
517 spin_unlock(&pcpu->lock); in nf_ct_add_to_unconfirmed_list()
[all …]
Dnf_conntrack_netlink.c1401 struct ct_pcpu *pcpu; in ctnetlink_dump_list() local
1406 pcpu = per_cpu_ptr(net->ct.pcpu_lists, cpu); in ctnetlink_dump_list()
1407 spin_lock_bh(&pcpu->lock); in ctnetlink_dump_list()
1408 list = dying ? &pcpu->dying : &pcpu->unconfirmed; in ctnetlink_dump_list()
1430 spin_unlock_bh(&pcpu->lock); in ctnetlink_dump_list()
1438 spin_unlock_bh(&pcpu->lock); in ctnetlink_dump_list()
/net/ipv4/
Dfib_trie.c2418 const struct trie_use_stats *pcpu = per_cpu_ptr(stats, cpu); in trie_show_usage() local
2420 s.gets += pcpu->gets; in trie_show_usage()
2421 s.backtrack += pcpu->backtrack; in trie_show_usage()
2422 s.semantic_match_passed += pcpu->semantic_match_passed; in trie_show_usage()
2423 s.semantic_match_miss += pcpu->semantic_match_miss; in trie_show_usage()
2424 s.null_node_hit += pcpu->null_node_hit; in trie_show_usage()
2425 s.resize_node_skipped += pcpu->resize_node_skipped; in trie_show_usage()