Home
last modified time | relevance | path

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

12345678

/linux-6.1.9/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.1.9/kernel/bpf/
Dlpm_trie.c485 if (rcu_access_pointer(node->child[0]) && in trie_delete_elem()
486 rcu_access_pointer(node->child[1])) { in trie_delete_elem()
500 if (node == rcu_access_pointer(parent->child[0])) in trie_delete_elem()
502 *trim2, rcu_access_pointer(parent->child[1])); in trie_delete_elem()
505 *trim2, rcu_access_pointer(parent->child[0])); in trie_delete_elem()
516 rcu_assign_pointer(*trim, rcu_access_pointer(node->child[0])); in trie_delete_elem()
518 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()
274 rcu_access_pointer(array->ptrs[index]), in bpf_fd_reuseport_array_update_elem()
275 rcu_access_pointer(nsk->sk_reuseport_cb), in bpf_fd_reuseport_array_update_elem()
Dbpf_local_storage.c149 if (rcu_access_pointer(local_storage->cache[smap->cache_idx]) == in bpf_selem_unlink_storage_nolock()
247 if (sdata && rcu_access_pointer(sdata->smap) == smap) in bpf_local_storage_lookup()
253 if (rcu_access_pointer(SDATA(selem)->smap) == smap) in bpf_local_storage_lookup()
/linux-6.1.9/drivers/gpu/drm/i915/display/
Dintel_frontbuffer.h83 if (likely(!rcu_access_pointer(obj->frontbuffer))) in __intel_frontbuffer_get()
95 if (likely(front == rcu_access_pointer(obj->frontbuffer))) in __intel_frontbuffer_get()
/linux-6.1.9/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-6.1.9/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()
391 ies = rcu_access_pointer(a->ies); in is_bss()
763 ies = rcu_access_pointer(res->ies); in cfg80211_scan_6ghz()
1295 a_ies = rcu_access_pointer(a->ies); in cmp_bss()
1298 b_ies = rcu_access_pointer(b->ies); in cmp_bss()
1542 ies = rcu_access_pointer(new->pub.beacon_ies); in cfg80211_combine_bsses()
1576 if (rcu_access_pointer(bss->pub.beacon_ies)) in cfg80211_combine_bsses()
1578 ies = rcu_access_pointer(bss->pub.ies); in cfg80211_combine_bsses()
1621 ies = rcu_access_pointer(bss->pub.beacon_ies); in cfg80211_update_hidden_bsses()
[all …]
/linux-6.1.9/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-6.1.9/kernel/
Dnotifier.c243 return !rcu_access_pointer(nh->head); in atomic_notifier_call_chain_is_empty()
345 if (rcu_access_pointer(nh->head)) { in blocking_notifier_call_chain_robust()
380 if (rcu_access_pointer(nh->head)) { in blocking_notifier_call_chain()
Dwatch_queue.c401 wfilter = rcu_access_pointer(wqueue->filter); in __put_watch_queue()
421 put_watch_queue(rcu_access_pointer(watch->queue)); in free_watch()
463 struct watch_queue *wq = rcu_access_pointer(w->queue); in add_one_watch()
503 wqueue = rcu_access_pointer(watch->queue); in add_watch_to_object()
540 (watch->id == id && rcu_access_pointer(watch->queue) == wq)) in remove_watch_from_object()
/linux-6.1.9/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.1.9/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.1.9/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.1.9/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.1.9/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-6.1.9/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.1.9/drivers/net/wwan/iosm/
Diosm_ipc_wwan.c182 if (rcu_access_pointer(ipc_wwan->sub_netlist[if_id])) in ipc_wwan_newlink()
206 if (WARN_ON(rcu_access_pointer(ipc_wwan->sub_netlist[if_id]) != priv)) in ipc_wwan_dellink()
/linux-6.1.9/net/mac80211/
Dlink.c207 if (rcu_access_pointer(sdata->link[link_id]) != &sdata->deflink) { in ieee80211_vif_update_links()
212 to_free[link_id] = container_of(rcu_access_pointer(sdata->link[link_id]), in ieee80211_vif_update_links()
224 rcu_access_pointer(sdata->link[link_id]) == &sdata->deflink); in ieee80211_vif_update_links()
Dchan.c276 if (rcu_access_pointer(link_conf->chanctx_conf) != conf) in ieee80211_get_chanctx_vif_max_required_bw()
339 rcu_access_pointer(sdata->vif.bss_conf.chanctx_conf) == conf) in ieee80211_get_chanctx_max_required_bw()
419 if (rcu_access_pointer(link_conf->chanctx_conf) != &ctx->conf) in ieee80211_chan_bw_change()
605 if (rcu_access_pointer(link->conf->chanctx_conf) != conf) in ieee80211_chanctx_radar_required()
776 if (rcu_access_pointer(link_conf->chanctx_conf) != conf) in ieee80211_recalc_chanctx_chantype()
934 if (rcu_access_pointer(link->conf->chanctx_conf) != &chanctx->conf) in ieee80211_recalc_smps_chanctx()
964 rcu_access_pointer(sdata->vif.bss_conf.chanctx_conf) == &chanctx->conf) in ieee80211_recalc_smps_chanctx()
1996 if (rcu_access_pointer(link->conf->chanctx_conf)) { in ieee80211_link_release_channel()
/linux-6.1.9/drivers/net/ethernet/broadcom/bnxt/
Dbnxt_ulp.h94 if (edev && rcu_access_pointer(edev->ulp_tbl[ulp_id].ulp_ops)) in bnxt_ulp_registered()
/linux-6.1.9/drivers/gpu/drm/i915/
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()
701 rcu_access_pointer(ref->excl.fence)) { in await_active()
909 GEM_BUG_ON(rcu_access_pointer(node->base.fence) != ERR_PTR(-EAGAIN)); in i915_active_acquire_preallocate_barrier()
1032 if (fence == rcu_access_pointer(active->fence)) in __i915_active_fence_set()
/linux-6.1.9/net/netfilter/
Dnf_conntrack_timeout.c35 t = rcu_access_pointer(timeout_ext->timeout); in untimeout()
/linux-6.1.9/net/ipv6/
Dip6_fib.c794 rcu_access_pointer(fn->leaf) == in fib6_add_1()
980 if (pcpu_rt && rcu_access_pointer(pcpu_rt->from) == match) { in __fib6_drop_pcpu_from()
1291 if (rcu_access_pointer(fn->rr_ptr) == iter) in fib6_add_rt2node()
1307 if (rcu_access_pointer(fn->rr_ptr) == iter) in fib6_add_rt2node()
1409 if (!rcu_access_pointer(fn->subtree)) { in fib6_add()
1464 if (!rcu_access_pointer(fn->leaf)) { in fib6_add()
1534 !rcu_access_pointer(fn->leaf)))) in fib6_add()
1922 if (rcu_access_pointer(rt->fib6_next)) in fib6_del_route()
1936 if (rcu_access_pointer(fn->rr_ptr) == rt) in fib6_del_route()
1976 if (!rcu_access_pointer(fn->leaf)) { in fib6_del_route()
[all …]
/linux-6.1.9/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