Home
last modified time | relevance | path

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

123456789

/linux/drivers/gpu/drm/i915/gem/
A Di915_gem_object_frontbuffer.h24 if (unlikely(rcu_access_pointer(obj->frontbuffer))) in i915_gem_object_flush_frontbuffer()
32 if (unlikely(rcu_access_pointer(obj->frontbuffer))) in i915_gem_object_invalidate_frontbuffer()
50 if (likely(!rcu_access_pointer(obj->frontbuffer))) in i915_gem_object_get_frontbuffer()
62 if (likely(front == rcu_access_pointer(obj->frontbuffer))) in i915_gem_object_get_frontbuffer()
93 } else if (rcu_access_pointer(obj->frontbuffer)) { in i915_gem_object_set_frontbuffer()
/linux/drivers/net/wireguard/
A 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/kernel/bpf/
A Dlpm_trie.c499 if (rcu_access_pointer(node->child[0]) && in trie_delete_elem()
500 rcu_access_pointer(node->child[1])) { in trie_delete_elem()
514 if (node == rcu_access_pointer(parent->child[0])) in trie_delete_elem()
516 *trim2, rcu_access_pointer(parent->child[1])); in trie_delete_elem()
519 *trim2, rcu_access_pointer(parent->child[0])); in trie_delete_elem()
530 rcu_assign_pointer(*trim, rcu_access_pointer(node->child[0])); in trie_delete_elem()
532 rcu_assign_pointer(*trim, rcu_access_pointer(node->child[1])); in trie_delete_elem()
608 if (rcu_access_pointer(node->child[0])) { in trie_free()
613 if (rcu_access_pointer(node->child[1])) { in trie_free()
A 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()
/linux/net/core/
A Dsock_diag.c241 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()
303 if (!rcu_access_pointer(sock_diag_handlers[AF_INET])) in sock_diag_bind()
308 if (!rcu_access_pointer(sock_diag_handlers[AF_INET6])) in sock_diag_bind()
A 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()
324 if (!rcu_access_pointer(sk2->sk_reuseport_cb)) { in reuseport_add_sock()
697 } else if (!rcu_access_pointer(sk->sk_reuseport_cb)) { in reuseport_attach_prog()
/linux/include/linux/
A Dbpf_local_storage.h147 if (sdata && rcu_access_pointer(sdata->smap) == smap) in bpf_local_storage_lookup()
153 if (rcu_access_pointer(SDATA(selem)->smap) == smap) in bpf_local_storage_lookup()
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/net/ipv6/ila/
A 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/kernel/
A 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()
A 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/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/wireless/
A Dscan.c393 ies = rcu_access_pointer(a->ies); in is_bss()
841 ies = rcu_access_pointer(res->ies); in cfg80211_scan_6ghz()
1420 a_ies = rcu_access_pointer(a->ies); in cmp_bss()
1423 b_ies = rcu_access_pointer(b->ies); in cmp_bss()
1699 ies = rcu_access_pointer(new->pub.beacon_ies); in cfg80211_combine_bsses()
1731 if (rcu_access_pointer(bss->pub.beacon_ies)) in cfg80211_combine_bsses()
1733 ies = rcu_access_pointer(bss->pub.ies); in cfg80211_combine_bsses()
1770 ies = rcu_access_pointer(bss->pub.beacon_ies); in cfg80211_update_hidden_bsses()
1857 if (rcu_access_pointer(new->pub.beacon_ies)) { in cfg80211_update_known_bss()
1873 f = rcu_access_pointer(new->pub.beacon_ies); in cfg80211_update_known_bss()
[all …]
/linux/drivers/net/vmxnet3/
A Dvmxnet3_xdp.h44 return !!rcu_access_pointer(adapter->xdp_bpf_prog); in vmxnet3_xdp_enabled()
/linux/arch/x86/kernel/
A Dreboot.c539 if (WARN_ON_ONCE(rcu_access_pointer(cpu_emergency_virt_callback))) in cpu_emergency_register_virt_callback()
548 if (WARN_ON_ONCE(rcu_access_pointer(cpu_emergency_virt_callback) != callback)) in cpu_emergency_unregister_virt_callback()
593 if (rcu_access_pointer(cpu_emergency_virt_callback)) { in emergency_reboot_disable_virtualization()
/linux/net/mac80211/
A Dchan.c322 rcu_access_pointer(link->conf->chanctx_conf) != &ctx->conf) in ieee80211_get_chanctx_max_required_bw()
362 rcu_access_pointer(sdata->vif.bss_conf.chanctx_conf) == &ctx->conf) in ieee80211_get_chanctx_max_required_bw()
445 if (rcu_access_pointer(link_conf->chanctx_conf) != &ctx->conf) in ieee80211_chan_bw_change()
653 if (rcu_access_pointer(link->conf->chanctx_conf) != conf) in ieee80211_chanctx_radar_required()
790 if (rcu_access_pointer(link_conf->chanctx_conf) != conf) in ieee80211_recalc_chanctx_chantype()
822 if (rcu_access_pointer(link->conf->chanctx_conf) != conf) in ieee80211_recalc_chanctx_chantype()
919 if (rcu_access_pointer(tmp->conf->chanctx_conf)) { in ieee80211_assign_link_chanctx()
968 if (rcu_access_pointer(link->conf->chanctx_conf) != &chanctx->conf) in ieee80211_recalc_smps_chanctx()
997 rcu_access_pointer(sdata->vif.bss_conf.chanctx_conf) == &chanctx->conf) in ieee80211_recalc_smps_chanctx()
2009 if (rcu_access_pointer(link->conf->chanctx_conf) == &ctx->conf) { in ieee80211_chanctx_recheck()
[all …]
A Dlink.c239 if (rcu_access_pointer(sdata->link[link_id]) != &sdata->deflink) { in ieee80211_vif_update_links()
244 to_free[link_id] = container_of(rcu_access_pointer(sdata->link[link_id]), in ieee80211_vif_update_links()
259 rcu_access_pointer(sdata->link[link_id]) == &sdata->deflink); in ieee80211_vif_update_links()
/linux/drivers/net/wwan/iosm/
A 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/net/l2tp/
A Dl2tp_core.h307 return sk && (rcu_access_pointer(sk->sk_policy[0]) || in l2tp_tunnel_uses_xfrm()
308 rcu_access_pointer(sk->sk_policy[1])); in l2tp_tunnel_uses_xfrm()
/linux/drivers/net/vxlan/
A 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/drivers/net/ethernet/broadcom/bnxt/
A Dbnxt_ulp.h100 if (edev && rcu_access_pointer(edev->ulp_tbl->ulp_ops)) in bnxt_ulp_registered()
/linux/net/netfilter/
A Dnf_conntrack_timeout.c35 t = rcu_access_pointer(timeout_ext->timeout); in untimeout()
/linux/drivers/gpio/
A Dgpiolib-cdev.c213 if (!rcu_access_pointer(lh->gdev->chip)) in linehandle_ioctl()
1577 if (!rcu_access_pointer(lr->gdev->chip)) in linereq_ioctl()
1608 if (!rcu_access_pointer(lr->gdev->chip)) in linereq_poll()
1630 if (!rcu_access_pointer(lr->gdev->chip)) in linereq_read()
1931 if (!rcu_access_pointer(le->gdev->chip)) in lineevent_poll()
1969 if (!rcu_access_pointer(le->gdev->chip)) in lineevent_read()
2051 if (!rcu_access_pointer(le->gdev->chip)) in lineevent_ioctl()
2574 if (!rcu_access_pointer(gdev->chip)) in gpio_ioctl()
2659 if (!rcu_access_pointer(cdev->gdev->chip)) in lineinfo_watch_poll()
2682 if (!rcu_access_pointer(cdev->gdev->chip)) in lineinfo_watch_read()
[all …]
/linux/net/ipv6/
A Dip6_fib.c798 rcu_access_pointer(fn->leaf) == in fib6_add_1()
987 if (pcpu_rt && rcu_access_pointer(pcpu_rt->from) == match) { in __fib6_drop_pcpu_from()
1305 if (rcu_access_pointer(fn->rr_ptr) == iter) in fib6_add_rt2node()
1321 if (rcu_access_pointer(fn->rr_ptr) == iter) in fib6_add_rt2node()
1426 if (!rcu_access_pointer(fn->subtree)) { in fib6_add()
1481 if (!rcu_access_pointer(fn->leaf)) { in fib6_add()
1551 !rcu_access_pointer(fn->leaf)))) in fib6_add()
1940 if (rcu_access_pointer(rt->fib6_next)) in fib6_del_route()
1954 if (rcu_access_pointer(fn->rr_ptr) == rt) in fib6_del_route()
1994 if (!rcu_access_pointer(fn->leaf)) { in fib6_del_route()
[all …]

Completed in 57 milliseconds

123456789