Home
last modified time | relevance | path

Searched refs:rcu_access_pointer (Results 1 – 25 of 194) sorted by relevance

12345678

/linux-6.6.21/drivers/net/wireguard/
Dallowedips.c44 if (rcu_access_pointer(p)) { in push_rcu()
77 if (rcu_access_pointer(node->peer)) in root_remove_peer_lists()
117 if (rcu_access_pointer(node->peer)) in find_node()
189 if (!rcu_access_pointer(*trie)) { in add()
265 if (rcu_access_pointer(old4)) { in wg_allowedips_free()
272 if (rcu_access_pointer(old6)) { in wg_allowedips_free()
317 child = rcu_dereference_protected(node->bit[!rcu_access_pointer(node->bit[0])], in wg_allowedips_remove_by_peer()
325 free_parent = !rcu_access_pointer(node->bit[0]) && in wg_allowedips_remove_by_peer()
326 !rcu_access_pointer(node->bit[1]) && in wg_allowedips_remove_by_peer()
328 !rcu_access_pointer(parent->peer); in wg_allowedips_remove_by_peer()
/linux-6.6.21/kernel/bpf/
Dlpm_trie.c488 if (rcu_access_pointer(node->child[0]) && in trie_delete_elem()
489 rcu_access_pointer(node->child[1])) { in trie_delete_elem()
503 if (node == rcu_access_pointer(parent->child[0])) in trie_delete_elem()
505 *trim2, rcu_access_pointer(parent->child[1])); in trie_delete_elem()
508 *trim2, rcu_access_pointer(parent->child[0])); in trie_delete_elem()
519 rcu_assign_pointer(*trim, rcu_access_pointer(node->child[0])); in trie_delete_elem()
521 rcu_assign_pointer(*trim, rcu_access_pointer(node->child[1])); in trie_delete_elem()
595 if (rcu_access_pointer(node->child[0])) { in trie_free()
600 if (rcu_access_pointer(node->child[1])) { in trie_free()
Dreuseport_array.c72 if (!rcu_access_pointer(array->ptrs[index])) in reuseport_array_delete_elem()
271 rcu_access_pointer(array->ptrs[index]), in bpf_fd_reuseport_array_update_elem()
272 rcu_access_pointer(nsk->sk_reuseport_cb), in bpf_fd_reuseport_array_update_elem()
Dbpf_local_storage.c295 if (rcu_access_pointer(local_storage->cache[smap->cache_idx]) == in bpf_selem_unlink_storage_nolock()
301 if (rcu_access_pointer(local_storage->smap) == smap) in bpf_selem_unlink_storage_nolock()
429 if (sdata && rcu_access_pointer(sdata->smap) == smap) in bpf_local_storage_lookup()
435 if (rcu_access_pointer(SDATA(selem)->smap) == smap) in bpf_local_storage_lookup()
/linux-6.6.21/net/ipv6/ila/
Dila_xlat.c137 ila = rcu_access_pointer(ila->next); in ila_lookup_wildcards()
155 ila = rcu_access_pointer(ila->next); in ila_lookup_by_params()
172 next = rcu_access_pointer(ila->next); in ila_free_node()
554 ila = rcu_access_pointer(ila->next); in ila_xlat_nl_dump()
588 ila = rcu_access_pointer(ila->next); in ila_xlat_nl_dump()
/linux-6.6.21/drivers/gpu/drm/i915/gem/
Di915_gem_object.h818 if (unlikely(rcu_access_pointer(obj->frontbuffer))) in i915_gem_object_flush_frontbuffer()
826 if (unlikely(rcu_access_pointer(obj->frontbuffer))) in i915_gem_object_invalidate_frontbuffer()
904 if (likely(!rcu_access_pointer(obj->frontbuffer))) in i915_gem_object_get_frontbuffer()
916 if (likely(front == rcu_access_pointer(obj->frontbuffer))) in i915_gem_object_get_frontbuffer()
946 } else if (rcu_access_pointer(obj->frontbuffer)) { in i915_gem_object_set_frontbuffer()
/linux-6.6.21/kernel/
Dnotifier.c249 return !rcu_access_pointer(nh->head); in atomic_notifier_call_chain_is_empty()
351 if (rcu_access_pointer(nh->head)) { in blocking_notifier_call_chain_robust()
386 if (rcu_access_pointer(nh->head)) { in blocking_notifier_call_chain()
Dwatch_queue.c398 wfilter = rcu_access_pointer(wqueue->filter); in __put_watch_queue()
418 put_watch_queue(rcu_access_pointer(watch->queue)); in free_watch()
460 struct watch_queue *wq = rcu_access_pointer(w->queue); in add_one_watch()
500 wqueue = rcu_access_pointer(watch->queue); in add_watch_to_object()
537 (watch->id == id && rcu_access_pointer(watch->queue) == wq)) in remove_watch_from_object()
/linux-6.6.21/Documentation/RCU/
Dlockdep-splat.rst110 by rcu_access_pointer() as follows::
112 if (rcu_access_pointer(ioc->ioc_data) == cic) {
114 Because it is legal to invoke rcu_access_pointer() without protection,
/linux-6.6.21/drivers/net/vmxnet3/
Dvmxnet3_xdp.h44 return !!rcu_access_pointer(adapter->xdp_bpf_prog); in vmxnet3_xdp_enabled()
/linux-6.6.21/net/wireless/
Dscan.c125 ies = (void *)rcu_access_pointer(bss->pub.beacon_ies); in bss_free()
128 ies = (void *)rcu_access_pointer(bss->pub.proberesp_ies); in bss_free()
429 ies = rcu_access_pointer(a->ies); in is_bss()
834 ies = rcu_access_pointer(res->ies); in cfg80211_scan_6ghz()
1366 a_ies = rcu_access_pointer(a->ies); in cmp_bss()
1369 b_ies = rcu_access_pointer(b->ies); in cmp_bss()
1613 ies = rcu_access_pointer(new->pub.beacon_ies); in cfg80211_combine_bsses()
1647 if (rcu_access_pointer(bss->pub.beacon_ies)) in cfg80211_combine_bsses()
1649 ies = rcu_access_pointer(bss->pub.ies); in cfg80211_combine_bsses()
1686 ies = rcu_access_pointer(bss->pub.beacon_ies); in cfg80211_update_hidden_bsses()
[all …]
/linux-6.6.21/arch/x86/kernel/
Dreboot.c538 if (WARN_ON_ONCE(rcu_access_pointer(cpu_emergency_virt_callback))) in cpu_emergency_register_virt_callback()
547 if (WARN_ON_ONCE(rcu_access_pointer(cpu_emergency_virt_callback) != callback)) in cpu_emergency_unregister_virt_callback()
592 if (rcu_access_pointer(cpu_emergency_virt_callback)) { in emergency_reboot_disable_virtualization()
/linux-6.6.21/net/l2tp/
Dl2tp_core.h313 return sk && (rcu_access_pointer(sk->sk_policy[0]) || in l2tp_tunnel_uses_xfrm()
314 rcu_access_pointer(sk->sk_policy[1])); in l2tp_tunnel_uses_xfrm()
/linux-6.6.21/net/core/
Dsock_reuseport.c28 if (!rcu_access_pointer(sk->sk_reuseport_cb)) in reuseport_has_conns_set()
69 if (unlikely(!rcu_access_pointer(sk->sk_reuseport_cb))) { in reuseport_update_incoming_cpu()
325 if (!rcu_access_pointer(sk2->sk_reuseport_cb)) { in reuseport_add_sock()
698 } else if (!rcu_access_pointer(sk->sk_reuseport_cb)) { in reuseport_attach_prog()
/linux-6.6.21/drivers/net/wwan/iosm/
Diosm_ipc_wwan.c180 if (rcu_access_pointer(ipc_wwan->sub_netlist[if_id])) in ipc_wwan_newlink()
204 if (WARN_ON(rcu_access_pointer(ipc_wwan->sub_netlist[if_id]) != priv)) in ipc_wwan_dellink()
/linux-6.6.21/include/linux/
Drcuwait.h34 return !!rcu_access_pointer(w->task); in rcuwait_active()
Dnetfilter_netdev.h15 return rcu_access_pointer(skb->dev->nf_hooks_ingress); in nf_hook_ingress_active()
/linux-6.6.21/net/mac80211/
Dlink.c224 if (rcu_access_pointer(sdata->link[link_id]) != &sdata->deflink) { in ieee80211_vif_update_links()
229 to_free[link_id] = container_of(rcu_access_pointer(sdata->link[link_id]), in ieee80211_vif_update_links()
241 rcu_access_pointer(sdata->link[link_id]) == &sdata->deflink); in ieee80211_vif_update_links()
Dmesh_pathtbl.c510 key = rcu_access_pointer(sta->ptk[sta->ptk_idx]); in mesh_fast_tx_cache()
512 key = rcu_access_pointer(sdata->default_unicast_key); in mesh_fast_tx_cache()
638 if (rcu_access_pointer(entry->mpath->next_hop) == sta) in mesh_fast_tx_flush_sta()
765 if (rcu_access_pointer(mpath->next_hop) == sta && in mesh_plink_broken()
828 if (rcu_access_pointer(mpath->next_hop) == sta) in mesh_path_flush_by_nexthop()
Dchan.c278 rcu_access_pointer(link->conf->chanctx_conf) != &ctx->conf) in ieee80211_get_chanctx_vif_max_required_bw()
343 rcu_access_pointer(sdata->vif.bss_conf.chanctx_conf) == &ctx->conf) in ieee80211_get_chanctx_max_required_bw()
425 if (rcu_access_pointer(link_conf->chanctx_conf) != &ctx->conf) in ieee80211_chan_bw_change()
621 if (rcu_access_pointer(link->conf->chanctx_conf) != conf) in ieee80211_chanctx_radar_required()
792 if (rcu_access_pointer(link_conf->chanctx_conf) != conf) in ieee80211_recalc_chanctx_chantype()
958 if (rcu_access_pointer(link->conf->chanctx_conf) != &chanctx->conf) in ieee80211_recalc_smps_chanctx()
988 rcu_access_pointer(sdata->vif.bss_conf.chanctx_conf) == &chanctx->conf) in ieee80211_recalc_smps_chanctx()
2020 if (rcu_access_pointer(link->conf->chanctx_conf)) { in ieee80211_link_release_channel()
Ddriver-ops.c133 if (rcu_access_pointer(sta->sta.rates)) in drv_sta_state()
499 link = rcu_access_pointer(sdata->link[link_id]); in drv_change_vif_links()
516 link = rcu_access_pointer(sdata->link[link_id]); in drv_change_vif_links()
/linux-6.6.21/drivers/net/vxlan/
Dvxlan_private.h64 if (rcu_access_pointer(fdb->nh)) in first_remote_rcu()
71 if (rcu_access_pointer(fdb->nh)) in first_remote_rtnl()
/linux-6.6.21/net/netfilter/
Dnf_conntrack_timeout.c35 t = rcu_access_pointer(timeout_ext->timeout); in untimeout()
/linux-6.6.21/net/ipv6/
Dip6_fib.c793 rcu_access_pointer(fn->leaf) == in fib6_add_1()
979 if (pcpu_rt && rcu_access_pointer(pcpu_rt->from) == match) { in __fib6_drop_pcpu_from()
1290 if (rcu_access_pointer(fn->rr_ptr) == iter) in fib6_add_rt2node()
1306 if (rcu_access_pointer(fn->rr_ptr) == iter) in fib6_add_rt2node()
1408 if (!rcu_access_pointer(fn->subtree)) { in fib6_add()
1463 if (!rcu_access_pointer(fn->leaf)) { in fib6_add()
1529 !rcu_access_pointer(fn->leaf)))) in fib6_add()
1917 if (rcu_access_pointer(rt->fib6_next)) in fib6_del_route()
1931 if (rcu_access_pointer(fn->rr_ptr) == rt) in fib6_del_route()
1971 if (!rcu_access_pointer(fn->leaf)) { in fib6_del_route()
[all …]
/linux-6.6.21/fs/afs/
Dvl_list.c36 afs_put_addrlist(rcu_access_pointer(vlserver->addresses)); in afs_vlserver_rcu()
268 if (!rcu_access_pointer(server->addresses)) { in afs_extract_vlserver_list()

12345678