Home
last modified time | relevance | path

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

12345678

/linux/drivers/net/wireguard/
A 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/kernel/bpf/
A 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()
A 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()
A 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/include/net/netfilter/
A 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/drivers/gpu/drm/i915/display/
A 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/net/rxrpc/
A 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/net/wireless/
A Dscan.c394 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()
1638 f = rcu_access_pointer(new->pub.beacon_ies); in cfg80211_update_known_bss()
1648 if (old == rcu_access_pointer(known->pub.ies)) in cfg80211_update_known_bss()
2477 ies1 = rcu_access_pointer(res->ies); in cfg80211_inform_bss_frame_data()
[all …]
/linux/net/ipv6/ila/
A 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/kernel/
A 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()
A 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/drivers/gpu/drm/i915/
A 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()
A 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/Documentation/RCU/
A 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/net/l2tp/
A 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/mm/
A 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/include/linux/
A Drcuwait.h34 return !!rcu_access_pointer(w->task); in rcuwait_active()
A Dnetfilter_netdev.h15 return rcu_access_pointer(skb->dev->nf_hooks_ingress); in nf_hook_ingress_active()
/linux/drivers/net/wwan/iosm/
A 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/net/ipv6/
A 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/net/mac80211/
A 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/drivers/net/ethernet/broadcom/bnxt/
A Dbnxt_ulp.h94 if (edev && rcu_access_pointer(edev->ulp_tbl[ulp_id].ulp_ops)) in bnxt_ulp_registered()
/linux/fs/afs/
A 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/security/apparmor/
A Dpolicy.c217 aa_put_profile(rcu_access_pointer(profile->parent)); in aa_free_profile()
810 if (!rcu_access_pointer(new->parent)) { in __replace_profile()
1023 if (rcu_access_pointer(ent->new->parent)) { in aa_replace_profiles()
1069 if (rcu_access_pointer(ent->new->parent)) { in aa_replace_profiles()
/linux/net/phonet/
A Dpn_dev.c262 if (rcu_access_pointer(pnn->routes.table[i]) == dev) { in phonet_route_autodel()
380 if (rcu_access_pointer(routes->table[daddr]) == dev) in phonet_route_del()

Completed in 65 milliseconds

12345678