Home
last modified time | relevance | path

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

12345678

/Linux-v5.15/drivers/net/wireguard/
Dallowedips.c42 if (rcu_access_pointer(p)) { in push_rcu()
74 if (rcu_access_pointer(node->peer)) in root_remove_peer_lists()
114 if (rcu_access_pointer(node->peer)) in find_node()
186 if (!rcu_access_pointer(*trie)) { in add()
262 if (rcu_access_pointer(old4)) { in wg_allowedips_free()
269 if (rcu_access_pointer(old6)) { in wg_allowedips_free()
314 child = rcu_dereference_protected(node->bit[!rcu_access_pointer(node->bit[0])], in wg_allowedips_remove_by_peer()
322 free_parent = !rcu_access_pointer(node->bit[0]) && in wg_allowedips_remove_by_peer()
323 !rcu_access_pointer(node->bit[1]) && in wg_allowedips_remove_by_peer()
325 !rcu_access_pointer(parent->peer); in wg_allowedips_remove_by_peer()
/Linux-v5.15/kernel/bpf/
Dlpm_trie.c484 if (rcu_access_pointer(node->child[0]) && in trie_delete_elem()
485 rcu_access_pointer(node->child[1])) { in trie_delete_elem()
499 if (node == rcu_access_pointer(parent->child[0])) in trie_delete_elem()
501 *trim2, rcu_access_pointer(parent->child[1])); in trie_delete_elem()
504 *trim2, rcu_access_pointer(parent->child[0])); in trie_delete_elem()
515 rcu_assign_pointer(*trim, rcu_access_pointer(node->child[0])); in trie_delete_elem()
517 rcu_assign_pointer(*trim, rcu_access_pointer(node->child[1])); in trie_delete_elem()
594 if (rcu_access_pointer(node->child[0])) { in trie_free()
599 if (rcu_access_pointer(node->child[1])) { in trie_free()
Dreuseport_array.c74 if (!rcu_access_pointer(array->ptrs[index])) in reuseport_array_delete_elem()
280 rcu_access_pointer(array->ptrs[index]), in bpf_fd_reuseport_array_update_elem()
281 rcu_access_pointer(nsk->sk_reuseport_cb), in bpf_fd_reuseport_array_update_elem()
Dbpf_local_storage.c130 if (rcu_access_pointer(local_storage->cache[smap->cache_idx]) == in bpf_selem_unlink_storage_nolock()
217 if (sdata && rcu_access_pointer(sdata->smap) == smap) in bpf_local_storage_lookup()
222 if (rcu_access_pointer(SDATA(selem)->smap) == smap) in bpf_local_storage_lookup()
/Linux-v5.15/include/net/netfilter/
Dnf_conntrack_ecache.h117 if (!rcu_access_pointer(net->ct.nf_conntrack_event_cb)) in nf_conntrack_event_cache()
135 if (!rcu_access_pointer(net->ct.nf_conntrack_event_cb)) in nf_conntrack_event_report()
150 if (!rcu_access_pointer(net->ct.nf_conntrack_event_cb)) in nf_conntrack_event()
/Linux-v5.15/drivers/gpu/drm/i915/display/
Dintel_frontbuffer.h65 if (likely(!rcu_access_pointer(obj->frontbuffer))) in __intel_frontbuffer_get()
77 if (likely(front == rcu_access_pointer(obj->frontbuffer))) in __intel_frontbuffer_get()
/Linux-v5.15/net/rxrpc/
Dconn_object.c171 if (rcu_access_pointer(chan->call) == call) { in __rxrpc_disconnect_call()
236 ASSERT(!rcu_access_pointer(conn->channels[0].call) && in rxrpc_kill_connection()
237 !rcu_access_pointer(conn->channels[1].call) && in rxrpc_kill_connection()
238 !rcu_access_pointer(conn->channels[2].call) && in rxrpc_kill_connection()
239 !rcu_access_pointer(conn->channels[3].call)); in rxrpc_kill_connection()
/Linux-v5.15/drivers/gpu/drm/i915/
Di915_active.h123 return rcu_access_pointer(active->fence); in i915_active_fence_isset()
184 return rcu_access_pointer(ref->excl.fence); in i915_active_has_exclusive()
Di915_active.c45 return IS_ERR(rcu_access_pointer(active->fence)); in is_barrier()
139 GEM_BUG_ON(rcu_access_pointer(ref->excl.fence)); in __active_retire()
723 rcu_access_pointer(ref->excl.fence)) { in await_active()
931 GEM_BUG_ON(rcu_access_pointer(node->base.fence) != ERR_PTR(-EAGAIN)); in i915_active_acquire_preallocate_barrier()
1054 if (fence == rcu_access_pointer(active->fence)) in __i915_active_fence_set()
/Linux-v5.15/net/ipv6/ila/
Dila_xlat.c138 ila = rcu_access_pointer(ila->next); in ila_lookup_wildcards()
156 ila = rcu_access_pointer(ila->next); in ila_lookup_by_params()
173 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-v5.15/kernel/
Dwatch_queue.c375 wfilter = rcu_access_pointer(wqueue->filter); in __put_watch_queue()
395 put_watch_queue(rcu_access_pointer(watch->queue)); in free_watch()
444 struct watch_queue *wqueue = rcu_access_pointer(watch->queue); in add_watch_to_object()
448 struct watch_queue *wq = rcu_access_pointer(w->queue); in add_watch_to_object()
498 (watch->id == id && rcu_access_pointer(watch->queue) == wq)) in remove_watch_from_object()
Dnotifier.c281 if (rcu_access_pointer(nh->head)) { in blocking_notifier_call_chain_robust()
316 if (rcu_access_pointer(nh->head)) { in blocking_notifier_call_chain()
/Linux-v5.15/net/wireless/
Dscan.c123 ies = (void *)rcu_access_pointer(bss->pub.beacon_ies); in bss_free()
126 ies = (void *)rcu_access_pointer(bss->pub.proberesp_ies); in bss_free()
394 ies = rcu_access_pointer(a->ies); in is_bss()
755 ies = rcu_access_pointer(res->ies); in cfg80211_scan_6ghz()
1284 a_ies = rcu_access_pointer(a->ies); in cmp_bss()
1287 b_ies = rcu_access_pointer(b->ies); in cmp_bss()
1531 ies = rcu_access_pointer(new->pub.beacon_ies); in cfg80211_combine_bsses()
1565 if (rcu_access_pointer(bss->pub.beacon_ies)) in cfg80211_combine_bsses()
1567 ies = rcu_access_pointer(bss->pub.ies); in cfg80211_combine_bsses()
1609 if (rcu_access_pointer(new->pub.proberesp_ies)) { in cfg80211_update_known_bss()
[all …]
/Linux-v5.15/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-v5.15/include/linux/
Drcuwait.h34 return !!rcu_access_pointer(w->task); in rcuwait_active()
Dnetfilter_ingress.h15 return rcu_access_pointer(skb->dev->nf_hooks_ingress); in nf_hook_ingress_active()
Ddma-resv.h247 if (!rcu_access_pointer(obj->fence_excl)) in dma_resv_get_excl_unlocked()
/Linux-v5.15/mm/
Dpage_reporting.c327 if (rcu_access_pointer(pr_dev_info)) { in page_reporting_register()
364 if (rcu_access_pointer(pr_dev_info) == prdev) { in page_reporting_unregister()
/Linux-v5.15/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-v5.15/drivers/net/wwan/iosm/
Diosm_ipc_wwan.c192 if (rcu_access_pointer(ipc_wwan->sub_netlist[if_id])) { in ipc_wwan_newlink()
226 if (WARN_ON(rcu_access_pointer(ipc_wwan->sub_netlist[if_id]) != priv)) in ipc_wwan_dellink()
/Linux-v5.15/drivers/net/ethernet/broadcom/bnxt/
Dbnxt_ulp.h95 if (edev && rcu_access_pointer(edev->ulp_tbl[ulp_id].ulp_ops)) in bnxt_ulp_registered()
/Linux-v5.15/net/ipv6/
Dip6_fib.c792 rcu_access_pointer(fn->leaf) == in fib6_add_1()
978 if (pcpu_rt && rcu_access_pointer(pcpu_rt->from) == match) { in __fib6_drop_pcpu_from()
1289 if (rcu_access_pointer(fn->rr_ptr) == iter) in fib6_add_rt2node()
1305 if (rcu_access_pointer(fn->rr_ptr) == iter) in fib6_add_rt2node()
1407 if (!rcu_access_pointer(fn->subtree)) { in fib6_add()
1462 if (!rcu_access_pointer(fn->leaf)) { in fib6_add()
1532 !rcu_access_pointer(fn->leaf)))) in fib6_add()
1920 if (rcu_access_pointer(rt->fib6_next)) in fib6_del_route()
1934 if (rcu_access_pointer(fn->rr_ptr) == rt) in fib6_del_route()
1974 if (!rcu_access_pointer(fn->leaf)) { in fib6_del_route()
[all …]
/Linux-v5.15/net/mac80211/
Dchan.c261 if (rcu_access_pointer(sdata->vif.chanctx_conf) != conf) in ieee80211_get_chanctx_max_required_bw()
299 if (sdata && rcu_access_pointer(sdata->vif.chanctx_conf) == conf) in ieee80211_get_chanctx_max_required_bw()
369 if (rcu_access_pointer(sta->sdata->vif.chanctx_conf) != in ieee80211_chan_bw_change()
533 if (rcu_access_pointer(sdata->vif.chanctx_conf) != conf) in ieee80211_chanctx_radar_required()
689 if (rcu_access_pointer(sdata->vif.chanctx_conf) != conf) in ieee80211_recalc_chanctx_chantype()
825 if (rcu_access_pointer(sdata->vif.chanctx_conf) != in ieee80211_recalc_smps_chanctx()
874 rcu_access_pointer(sdata->vif.chanctx_conf) == &chanctx->conf) in ieee80211_recalc_smps_chanctx()
/Linux-v5.15/fs/afs/
Dvl_list.c36 afs_put_addrlist(rcu_access_pointer(vlserver->addresses)); in afs_vlserver_rcu()
275 if (!rcu_access_pointer(server->addresses)) { in afs_extract_vlserver_list()
/Linux-v5.15/drivers/gpu/drm/i915/gem/
Di915_gem_context.c741 GEM_BUG_ON(!rcu_access_pointer(ctx->vm)); in context_get_vm_rcu()
769 if (vm == rcu_access_pointer(ctx->vm)) in context_get_vm_rcu()
782 GEM_BUG_ON(rcu_access_pointer(ce->gem_context)); in intel_context_set_gem()
787 if (rcu_access_pointer(ctx->vm)) { in intel_context_set_gem()
1062 if (likely(rcu_access_pointer(rq->timeline) == ce->timeline)) in active_engine()
1301 if (likely(engines == rcu_access_pointer(ctx->engines))) in __context_engines_await()
1587 if (!rcu_access_pointer(ctx->vm)) in get_ppgtt()
2140 if (rcu_access_pointer(ctx->vm)) in i915_gem_context_getparam_ioctl()

12345678