/openbmc/linux/drivers/net/wireguard/ |
H A D | allowedips.c | 44 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()
|
/openbmc/linux/kernel/bpf/ |
H A D | lpm_trie.c | 504 if (rcu_access_pointer(node->child[0]) && in trie_delete_elem() 505 rcu_access_pointer(node->child[1])) { in trie_delete_elem() 519 if (node == rcu_access_pointer(parent->child[0])) in trie_delete_elem() 521 *trim2, rcu_access_pointer(parent->child[1])); in trie_delete_elem() 524 *trim2, rcu_access_pointer(parent->child[0])); in trie_delete_elem() 535 rcu_assign_pointer(*trim, rcu_access_pointer(node->child[0])); in trie_delete_elem() 537 rcu_assign_pointer(*trim, rcu_access_pointer(node->child[1])); in trie_delete_elem() 613 if (rcu_access_pointer(node->child[0])) { in trie_free() 618 if (rcu_access_pointer(node->child[1])) { in trie_free()
|
H A D | reuseport_array.c | 72 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()
|
H A D | bpf_local_storage.c | 295 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()
|
/openbmc/linux/net/core/ |
H A D | sock_diag.c | 241 if (!rcu_access_pointer(sock_diag_handlers[req->sdiag_family])) in __sock_diag_cmd() 269 if (!rcu_access_pointer(inet_rcv_compat)) in sock_diag_rcv_msg() 307 if (!rcu_access_pointer(sock_diag_handlers[AF_INET])) in sock_diag_bind() 312 if (!rcu_access_pointer(sock_diag_handlers[AF_INET6])) in sock_diag_bind()
|
H A D | sock_reuseport.c | 28 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()
|
/openbmc/linux/drivers/gpu/drm/i915/gem/ |
H A D | i915_gem_object.h | 820 if (unlikely(rcu_access_pointer(obj->frontbuffer))) in i915_gem_object_flush_frontbuffer() 828 if (unlikely(rcu_access_pointer(obj->frontbuffer))) in i915_gem_object_invalidate_frontbuffer() 906 if (likely(!rcu_access_pointer(obj->frontbuffer))) in i915_gem_object_get_frontbuffer() 918 if (likely(front == rcu_access_pointer(obj->frontbuffer))) in i915_gem_object_get_frontbuffer() 948 } else if (rcu_access_pointer(obj->frontbuffer)) { in i915_gem_object_set_frontbuffer()
|
/openbmc/linux/net/ipv6/ila/ |
H A D | ila_xlat.c | 137 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() 560 ila = rcu_access_pointer(ila->next); in ila_xlat_nl_dump() 594 ila = rcu_access_pointer(ila->next); in ila_xlat_nl_dump()
|
/openbmc/linux/kernel/ |
H A D | watch_queue.c | 398 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()
|
H A D | notifier.c | 249 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()
|
/openbmc/linux/Documentation/RCU/ |
H A D | lockdep-splat.rst | 110 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,
|
/openbmc/linux/net/wireless/ |
H A D | scan.c | 125 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() 839 ies = rcu_access_pointer(res->ies); in cfg80211_scan_6ghz() 1416 a_ies = rcu_access_pointer(a->ies); in cmp_bss() 1419 b_ies = rcu_access_pointer(b->ies); in cmp_bss() 1692 ies = rcu_access_pointer(new->pub.beacon_ies); in cfg80211_combine_bsses() 1726 if (rcu_access_pointer(bss->pub.beacon_ies)) in cfg80211_update_hidden_bsses() 1728 ies = rcu_access_pointer(bss->pub.ies); in cfg80211_update_hidden_bsses() 1765 ies = rcu_access_pointer(bs in cfg80211_update_known_bss() [all...] |
/openbmc/linux/drivers/net/vmxnet3/ |
H A D | vmxnet3_xdp.h | 44 return !!rcu_access_pointer(adapter->xdp_bpf_prog); in vmxnet3_xdp_enabled()
|
/openbmc/linux/arch/x86/kernel/ |
H A D | reboot.c | 538 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()
|
/openbmc/linux/net/l2tp/ |
H A D | l2tp_core.h | 313 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()
|
/openbmc/linux/drivers/net/wwan/iosm/ |
H A D | iosm_ipc_wwan.c | 180 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()
|
/openbmc/linux/include/linux/ |
H A D | rcuwait.h | 34 return !!rcu_access_pointer(w->task); in rcuwait_active()
|
H A D | netfilter_netdev.h | 15 return rcu_access_pointer(skb->dev->nf_hooks_ingress); in nf_hook_ingress_active()
|
H A D | netpoll.h | 74 if (dev && rcu_access_pointer(dev->npinfo)) { in netpoll_poll_lock()
|
/openbmc/linux/net/mac80211/ |
H A D | link.c | 224 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()
|
H A D | chan.c | 278 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()
|
H A D | driver-ops.c | 133 if (rcu_access_pointer(sta->sta.rates)) in drv_sta_state() 496 link = rcu_access_pointer(sdata->link[link_id]); in drv_change_vif_links() 513 link = rcu_access_pointer(sdata->link[link_id]); in drv_change_vif_links()
|
/openbmc/linux/drivers/net/vxlan/ |
H A D | vxlan_private.h | 64 if (rcu_access_pointer(fdb->nh)) in first_remote_rcu() 71 if (rcu_access_pointer(fdb->nh)) in first_remote_rtnl()
|
/openbmc/linux/net/ipv6/ |
H A D | ip6_fib.c | 793 rcu_access_pointer(fn->leaf) == in fib6_add_1() 982 if (pcpu_rt && rcu_access_pointer(pcpu_rt->from) == match) { in __fib6_drop_pcpu_from() 1294 if (rcu_access_pointer(fn->rr_ptr) == iter) in fib6_add_rt2node() 1310 if (rcu_access_pointer(fn->rr_ptr) == iter) in fib6_add_rt2node() 1415 if (!rcu_access_pointer(fn->subtree)) { in fib6_add() 1470 if (!rcu_access_pointer(fn->leaf)) { in fib6_add() 1536 !rcu_access_pointer(fn->leaf)))) in fib6_add() 1924 if (rcu_access_pointer(rt->fib6_next)) in fib6_del_route() 1938 if (rcu_access_pointer(fn->rr_ptr) == rt) in fib6_del_route() 1978 if (!rcu_access_pointer(fn->leaf)) { in fib6_del_route() [all …]
|
/openbmc/linux/net/netfilter/ |
H A D | nf_conntrack_timeout.c | 35 t = rcu_access_pointer(timeout_ext->timeout); in untimeout()
|