Home
last modified time | relevance | path

Searched refs:rcu_dereference (Results 1 – 25 of 596) sorted by relevance

12345678910>>...24

/linux/include/net/tc_act/
A Dtc_mpls.h44 tcfm_action = rcu_dereference(to_mpls(a)->mpls_p)->tcfm_action; in tcf_mpls_action()
55 tcfm_proto = rcu_dereference(to_mpls(a)->mpls_p)->tcfm_proto; in tcf_mpls_proto()
66 tcfm_label = rcu_dereference(to_mpls(a)->mpls_p)->tcfm_label; in tcf_mpls_label()
77 tcfm_tc = rcu_dereference(to_mpls(a)->mpls_p)->tcfm_tc; in tcf_mpls_tc()
88 tcfm_bos = rcu_dereference(to_mpls(a)->mpls_p)->tcfm_bos; in tcf_mpls_bos()
99 tcfm_ttl = rcu_dereference(to_mpls(a)->mpls_p)->tcfm_ttl; in tcf_mpls_ttl()
A Dtc_vlan.h43 tcfv_action = rcu_dereference(to_vlan(a)->vlan_p)->tcfv_action; in tcf_vlan_action()
54 tcfv_push_vid = rcu_dereference(to_vlan(a)->vlan_p)->tcfv_push_vid; in tcf_vlan_push_vid()
65 tcfv_push_proto = rcu_dereference(to_vlan(a)->vlan_p)->tcfv_push_proto; in tcf_vlan_push_proto()
76 tcfv_push_prio = rcu_dereference(to_vlan(a)->vlan_p)->tcfv_push_prio; in tcf_vlan_push_prio()
A Dtc_skbedit.h38 flags = rcu_dereference(to_skbedit(a)->params)->flags; in is_tcf_skbedit_with_flag()
57 mark = rcu_dereference(to_skbedit(a)->params)->mark; in tcf_skbedit_mark()
74 ptype = rcu_dereference(to_skbedit(a)->params)->ptype; in tcf_skbedit_ptype()
91 priority = rcu_dereference(to_skbedit(a)->params)->priority; in tcf_skbedit_priority()
/linux/Documentation/RCU/
A Drcu_dereference.rst3 PROPER CARE AND FEEDING OF RETURN VALUES FROM rcu_dereference()
18 Without one of the rcu_dereference() primitives, compilers
82 p = rcu_dereference(gp)
97 obtained from rcu_dereference(). For example::
99 p = rcu_dereference(gp);
107 p = rcu_dereference(gp);
121 it is safe to compare pointers from rcu_dereference()
134 of rcu_dereference().
237 p = rcu_dereference(gp2);
294 p = rcu_dereference(gp2);
[all …]
A Dlockdep-splat.rst9 misuses of the RCU API, most notably using one of the rcu_dereference()
70 if (rcu_dereference(ioc->ioc_data) == cic) {
91 return value from rcu_dereference(), or at least until there is some
96 if (rcu_dereference(ioc->ioc_data) == cic) {
103 With this change, the rcu_dereference() is always within an RCU
108 returned from rcu_dereference(). Instead, that pointer is just compared
109 to the cic pointer, which means that the rcu_dereference() can be replaced
/linux/net/core/
A Dlwtunnel.c126 ops = rcu_dereference(lwtun_encaps[encap_type]); in lwtunnel_build_state()
159 ops = rcu_dereference(lwtun_encaps[encap_type]); in lwtunnel_valid_encap_type()
171 ops = rcu_dereference(lwtun_encaps[encap_type]); in lwtunnel_valid_encap_type()
252 ops = rcu_dereference(lwtun_encaps[lwtstate->type]); in lwtunnel_fill_encap()
286 ops = rcu_dereference(lwtun_encaps[lwtstate->type]); in lwtunnel_get_encap_size()
314 ops = rcu_dereference(lwtun_encaps[a->type]); in lwtunnel_cmp_encap()
340 ops = rcu_dereference(lwtun_encaps[lwtstate->type]); in lwtunnel_output()
375 ops = rcu_dereference(lwtun_encaps[lwtstate->type]); in lwtunnel_xmit()
409 ops = rcu_dereference(lwtun_encaps[lwtstate->type]); in lwtunnel_input()
A Dbpf_sk_storage.c25 sk_storage = rcu_dereference(sk->sk_bpf_storage); in bpf_sk_storage_lookup()
55 sk_storage = rcu_dereference(sk->sk_bpf_storage); in bpf_sk_storage_free()
197 sk_storage = rcu_dereference(sk->sk_bpf_storage); in bpf_sk_storage_clone()
207 smap = rcu_dereference(SDATA(selem)->smap); in bpf_sk_storage_clone()
241 rcu_dereference(copy_selem->local_storage); in bpf_sk_storage_clone()
577 smap = rcu_dereference(sdata->smap); in diag_get()
616 sk_storage = rcu_dereference(sk->sk_bpf_storage); in bpf_sk_storage_diag_put_all()
629 smap = rcu_dereference(SDATA(selem)->smap); in bpf_sk_storage_diag_put_all()
677 sk_storage = rcu_dereference(sk->sk_bpf_storage); in bpf_sk_storage_diag_put()
759 sk_storage = rcu_dereference(selem->local_storage); in bpf_sk_storage_map_seq_find_next()
[all …]
/linux/drivers/net/
A Dnet_failover.c125 primary_dev = rcu_dereference(nfo_info->primary_dev); in net_failover_select_queue()
195 slave_dev = rcu_dereference(nfo_info->primary_dev); in net_failover_get_stats()
202 slave_dev = rcu_dereference(nfo_info->standby_dev); in net_failover_get_stats()
250 slave_dev = rcu_dereference(nfo_info->primary_dev); in net_failover_set_rx_mode()
256 slave_dev = rcu_dereference(nfo_info->standby_dev); in net_failover_set_rx_mode()
272 primary_dev = rcu_dereference(nfo_info->primary_dev); in net_failover_vlan_rx_add_vid()
279 standby_dev = rcu_dereference(nfo_info->standby_dev); in net_failover_vlan_rx_add_vid()
296 slave_dev = rcu_dereference(nfo_info->primary_dev); in net_failover_vlan_rx_kill_vid()
300 slave_dev = rcu_dereference(nfo_info->standby_dev); in net_failover_vlan_rx_kill_vid()
369 primary_dev = rcu_dereference(nfo_info->primary_dev); in net_failover_handle_frame()
[all …]
/linux/tools/testing/radix-tree/linux/
A Drcupdate.h7 #define rcu_dereference_raw(p) rcu_dereference(p)
8 #define rcu_dereference_protected(p, cond) rcu_dereference(p)
9 #define rcu_dereference_check(p, cond) rcu_dereference(p)
/linux/drivers/target/
A Dtarget_core_stat.c428 dev = rcu_dereference(lun->lun_se_dev); in target_stat_port_inst_show()
442 dev = rcu_dereference(lun->lun_se_dev); in target_stat_port_dev_show()
456 dev = rcu_dereference(lun->lun_se_dev); in target_stat_port_indx_show()
470 dev = rcu_dereference(lun->lun_se_dev); in target_stat_port_role_show()
485 dev = rcu_dereference(lun->lun_se_dev); in target_stat_port_busy_count_show()
532 dev = rcu_dereference(lun->lun_se_dev); in target_stat_tgt_port_inst_show()
547 dev = rcu_dereference(lun->lun_se_dev); in target_stat_tgt_port_dev_show()
562 dev = rcu_dereference(lun->lun_se_dev); in target_stat_tgt_port_indx_show()
578 dev = rcu_dereference(lun->lun_se_dev); in target_stat_tgt_port_name_show()
889 lun = rcu_dereference(deve->se_lun); in target_stat_auth_dev_show()
[all …]
/linux/lib/math/
A Dprime_numbers.c193 p = rcu_dereference(primes); in next_prime_number()
201 p = rcu_dereference(primes); in next_prime_number()
227 p = rcu_dereference(primes); in is_prime_number()
235 p = rcu_dereference(primes); in is_prime_number()
252 p = rcu_dereference(primes); in dump_primes()
/linux/net/netfilter/
A Dnfnetlink_hook.c196 hook_head = rcu_dereference(net->nf.hooks_ipv4[hook]); in nfnl_hook_entries_head()
201 hook_head = rcu_dereference(net->nf.hooks_ipv6[hook]); in nfnl_hook_entries_head()
207 hook_head = rcu_dereference(net->nf.hooks_arp[hook]); in nfnl_hook_entries_head()
214 hook_head = rcu_dereference(net->nf.hooks_bridge[hook]); in nfnl_hook_entries_head()
221 hook_head = rcu_dereference(net->nf.hooks_decnet[hook]); in nfnl_hook_entries_head()
238 return rcu_dereference(netdev->nf_hooks_ingress); in nfnl_hook_entries_head()
242 return rcu_dereference(netdev->nf_hooks_egress); in nfnl_hook_entries_head()
A Dnf_queue.c111 qh = rcu_dereference(nf_queue_handler); in nf_queue_nf_hook_drop()
156 qh = rcu_dereference(nf_queue_handler); in __nf_queue()
258 return rcu_dereference(net->nf.hooks_bridge[hooknum]); in nf_hook_entries_head()
261 return rcu_dereference(net->nf.hooks_ipv4[hooknum]); in nf_hook_entries_head()
263 return rcu_dereference(net->nf.hooks_ipv6[hooknum]); in nf_hook_entries_head()
A Dnf_conntrack_timeout.c53 timeout_put = rcu_dereference(nf_ct_timeout_put_hook); in __nf_ct_timeout_put()
68 timeout_find_get = rcu_dereference(nf_ct_timeout_find_get_hook); in nf_ct_set_timeout()
125 timeout_put = rcu_dereference(nf_ct_timeout_put_hook); in nf_ct_destroy_timeout()
/linux/include/linux/
A Dnetfilter.h229 hook_head = rcu_dereference(net->nf.hooks_ipv4[hook]); in nf_hook()
232 hook_head = rcu_dereference(net->nf.hooks_ipv6[hook]); in nf_hook()
238 hook_head = rcu_dereference(net->nf.hooks_arp[hook]); in nf_hook()
243 hook_head = rcu_dereference(net->nf.hooks_bridge[hook]); in nf_hook()
248 hook_head = rcu_dereference(net->nf.hooks_decnet[hook]); in nf_hook()
328 hook_head = rcu_dereference(net->nf.hooks_ipv4[hook]); in NF_HOOK_LIST()
331 hook_head = rcu_dereference(net->nf.hooks_ipv6[hook]); in NF_HOOK_LIST()
393 nat_hook = rcu_dereference(nf_nat_hook); in nf_nat_decode_session()
A Dif_tunnel.h15 for (pos = rcu_dereference(start); pos; pos = rcu_dereference(pos->next))
/linux/include/net/
A Dnexthop.h360 nhi = rcu_dereference(nh->nh_info); in nexthop_path_fib_result()
398 struct nh_group *nhg = rcu_dereference(nh->nh_grp); in nexthop_get_nhc_lookup()
404 nhi = rcu_dereference(nhe->nh_info); in nexthop_get_nhc_lookup()
411 nhi = rcu_dereference(nh->nh_info); in nexthop_get_nhc_lookup()
427 struct nh_group *nhg = rcu_dereference(nh->nh_grp); in nexthop_uses_dev()
433 nhi = rcu_dereference(nhe->nh_info); in nexthop_uses_dev()
438 nhi = rcu_dereference(nh->nh_info); in nexthop_uses_dev()
576 nhi = rcu_dereference(nhp->nh_info); in nexthop_path_fdb_result()
A Ddn_dev.h181 dn_db = rcu_dereference(dev->dn_ptr); in dn_dev_islocal()
187 for (ifa = rcu_dereference(dn_db->ifa_list); in dn_dev_islocal()
189 ifa = rcu_dereference(ifa->ifa_next)) in dn_dev_islocal()
/linux/arch/x86/kvm/mmu/
A Dtdp_mmu.c317 struct kvm_mmu_page *sp = sptep_to_sp(rcu_dereference(pt)); in handle_removed_tdp_mmu_page()
327 u64 *sptep = rcu_dereference(pt) + i; in handle_removed_tdp_mmu_page()
520 if (cmpxchg64(rcu_dereference(iter->sptep), iter->old_spte, in tdp_mmu_set_spte_atomic()
554 WRITE_ONCE(*rcu_dereference(iter->sptep), 0); in tdp_mmu_zap_spte_atomic()
593 WRITE_ONCE(*rcu_dereference(iter->sptep), new_spte); in __tdp_mmu_set_spte()
758 iter.old_spte = READ_ONCE(*rcu_dereference(iter.sptep)); in zap_gfn_range()
936 rcu_dereference(iter->sptep)); in tdp_mmu_map_handle_target_level()
990 iter.old_spte = READ_ONCE(*rcu_dereference(iter.sptep)); in kvm_tdp_mmu_map()
1201 iter.old_spte = READ_ONCE(*rcu_dereference(iter.sptep)); in wrprot_gfn_range()
1269 iter.old_spte = READ_ONCE(*rcu_dereference(iter.sptep)); in clear_dirty_gfn_range()
[all …]
A Dtdp_iter.c15 iter->old_spte = READ_ONCE(*rcu_dereference(iter->sptep)); in tdp_iter_refresh_sptep()
90 iter->old_spte = READ_ONCE(*rcu_dereference(iter->sptep)); in try_step_down()
124 iter->old_spte = READ_ONCE(*rcu_dereference(iter->sptep)); in try_step_side()
/linux/security/yama/
A Dyama_lsm.c237 myself = rcu_dereference(myself->group_leader); in yama_task_prctl()
283 parent = rcu_dereference(parent->group_leader); in task_is_descendant()
286 walker = rcu_dereference(walker->group_leader); in task_is_descendant()
291 walker = rcu_dereference(walker->real_parent); in task_is_descendant()
327 tracee = rcu_dereference(tracee->group_leader); in ptracer_exception_found()
/linux/drivers/pci/
A Dp2pdma.c55 p2pdma = rcu_dereference(pdev->p2pdma); in size_show()
72 p2pdma = rcu_dereference(pdev->p2pdma); in available_show()
89 p2pdma = rcu_dereference(pdev->p2pdma); in published_show()
536 p2pdma = rcu_dereference(provider->p2pdma); in calc_map_type_and_dist()
613 p2pdma = rcu_dereference(pdev->p2pdma); in pci_has_p2pmem()
705 p2pdma = rcu_dereference(pdev->p2pdma); in pci_alloc_p2pmem()
837 p2pdma = rcu_dereference(pdev->p2pdma); in pci_p2pmem_publish()
861 p2pdma = rcu_dereference(provider->p2pdma); in pci_p2pdma_map_type()
/linux/kernel/bpf/
A Dlpm_trie.c636 search_root = rcu_dereference(trie->root); in trie_get_next_key()
659 node = rcu_dereference(node->child[next_bit]); in trie_get_next_key()
671 if (rcu_dereference(parent->child[0]) == node) { in trie_get_next_key()
672 search_root = rcu_dereference(parent->child[1]); in trie_get_next_key()
695 node = rcu_dereference(node->child[0]); in trie_get_next_key()
698 node = rcu_dereference(node->child[0]); in trie_get_next_key()
700 node = rcu_dereference(next_node->child[1]); in trie_get_next_key()
/linux/kernel/sched/
A Dmembarrier.c285 p = rcu_dereference(cpu_rq(cpu)->curr); in membarrier_global_expedited()
357 p = rcu_dereference(cpu_rq(cpu_id)->curr); in membarrier_private_expedited()
370 p = rcu_dereference(cpu_rq(cpu)->curr); in membarrier_private_expedited()
468 p = rcu_dereference(rq->curr); in sync_runqueues_membarrier_state()
/linux/fs/nfs/
A Ddelegation.c100 delegation = rcu_dereference(NFS_I(inode)->delegation); in nfs4_get_valid_delegation()
114 delegation = rcu_dereference(NFS_I(inode)->delegation); in nfs4_do_check_delegation()
239 delegation = rcu_dereference(NFS_I(inode)->delegation); in nfs_inode_reclaim_delegation()
382 delegation = rcu_dereference(nfsi->delegation); in nfs_inode_detach_delegation()
930 delegation = rcu_dereference(NFS_I(inode)->delegation); in nfs_revoke_delegation()
973 delegation = rcu_dereference(NFS_I(inode)->delegation); in nfs_delegation_mark_returned()
1232 delegation = rcu_dereference(NFS_I(inode)->delegation); in nfs_inode_mark_test_expired_delegation()
1357 delegation = rcu_dereference(NFS_I(inode)->delegation); in nfs_inode_find_delegation_state_and_recover()
1407 delegation = rcu_dereference(NFS_I(inode)->delegation); in nfs4_refresh_delegation_stateid()
1439 delegation = rcu_dereference(nfsi->delegation); in nfs4_copy_delegation_stateid()
[all …]

Completed in 59 milliseconds

12345678910>>...24