| /linux/fs/nfs_common/ |
| H A D | nfslocalio.c | 53 if (rcu_access_pointer(nfs_uuid->net)) { in nfs_uuid_begin() 78 if (!rcu_access_pointer(nfs_uuid->net)) { in nfs_uuid_end() 80 if (!rcu_access_pointer(nfs_uuid->net)) { in nfs_uuid_end() 157 if (unlikely(!rcu_access_pointer(nfs_uuid->net))) { in nfs_uuid_put() 176 if (rcu_access_pointer(nfl->nfs_uuid) == NULL) { in nfs_uuid_put() 251 if (rcu_access_pointer(nfs_uuid->net) == NULL) { in nfs_uuid_add_file() 317 if (!rcu_access_pointer(nfl->nfs_uuid)) { in nfs_close_local_fh() 330 rcu_access_pointer(nfl->nfs_uuid) == NULL); in nfs_close_local_fh()
|
| /linux/drivers/gpu/drm/i915/gem/ |
| H A D | i915_gem_object_frontbuffer.h | 32 if (unlikely(rcu_access_pointer(obj->frontbuffer))) in i915_gem_object_flush_frontbuffer() 40 if (unlikely(rcu_access_pointer(obj->frontbuffer))) in i915_gem_object_invalidate_frontbuffer() 62 if (likely(!rcu_access_pointer(obj->frontbuffer))) in i915_gem_object_frontbuffer_lookup() 74 if (likely(front == rcu_access_pointer(obj->frontbuffer))) in i915_gem_object_frontbuffer_lookup()
|
| /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() 261 child = rcu_dereference_protected(node->bit[!rcu_access_pointer(node->bit[0])], in remove_node() 269 free_parent = !rcu_access_pointer(node->bit[0]) && !rcu_access_pointer(node->bit[1]) && in remove_node() 270 (node->parent_bit_packed & 3) <= 1 && !rcu_access_pointer(parent->peer); in remove_node() 290 if (!rcu_access_pointer(*trie) || !node_placement(*trie, key, cidr, bits, &node, lock) || in remove() 291 peer != rcu_access_pointer(node->peer)) in remove() 311 if (rcu_access_pointer(old4)) { in wg_allowedips_free() [all …]
|
| /linux/kernel/bpf/ |
| H A D | lpm_trie.c | 510 if (rcu_access_pointer(node->child[0]) && in trie_delete_elem() 511 rcu_access_pointer(node->child[1])) { in trie_delete_elem() 525 if (node == rcu_access_pointer(parent->child[0])) in trie_delete_elem() 527 *trim2, rcu_access_pointer(parent->child[1])); in trie_delete_elem() 530 *trim2, rcu_access_pointer(parent->child[0])); in trie_delete_elem() 541 rcu_assign_pointer(*trim, rcu_access_pointer(node->child[0])); in trie_delete_elem() 543 rcu_assign_pointer(*trim, rcu_access_pointer(node->child[1])); in trie_delete_elem() 632 if (rcu_access_pointer(node->child[0])) { in trie_free() 637 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()
|
| /linux/drivers/net/ovpn/ |
| H A D | crypto.c | 44 ks = rcu_access_pointer(cs->slots[0]); in ovpn_crypto_state_release() 50 ks = rcu_access_pointer(cs->slots[1]); in ovpn_crypto_state_release() 63 if (rcu_access_pointer(cs->slots[0])->key_id == key_id) { in ovpn_crypto_kill_key() 66 } else if (rcu_access_pointer(cs->slots[1])->key_id == key_id) { in ovpn_crypto_kill_key()
|
| /linux/net/core/ |
| H A D | sock_diag.c | 241 if (!rcu_access_pointer(sock_diag_handlers[req->sdiag_family])) in __sock_diag_cmd() 267 if (!rcu_access_pointer(inet_rcv_compat)) in sock_diag_rcv_msg() 301 if (!rcu_access_pointer(sock_diag_handlers[AF_INET])) in sock_diag_bind() 306 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() 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/net/mac80211/tests/ |
| H A D | chan-mode.c | 237 KUNIT_ASSERT_NOT_NULL(test, rcu_access_pointer(cbss.ies)); in KUNIT_ARRAY_PARAM_DESC() 238 ((struct cfg80211_bss_ies *)rcu_access_pointer(cbss.ies))->len = sizeof(bss_ies); in KUNIT_ARRAY_PARAM_DESC() 240 memcpy((void *)rcu_access_pointer(cbss.ies)->data, bss_ies, in KUNIT_ARRAY_PARAM_DESC()
|
| /linux/include/linux/ |
| H A D | bpf_local_storage.h | 158 if (sdata && rcu_access_pointer(sdata->smap) == smap) in bpf_local_storage_lookup() 164 if (rcu_access_pointer(SDATA(selem)->smap) == smap) in bpf_local_storage_lookup()
|
| H A D | rcuwait.h | 23 return !!rcu_access_pointer(w->task); in rcuwait_active()
|
| /linux/kernel/ |
| H A D | watch_queue.c | 406 wfilter = rcu_access_pointer(wqueue->filter); in __put_watch_queue() 426 put_watch_queue(rcu_access_pointer(watch->queue)); in free_watch() 468 struct watch_queue *wq = rcu_access_pointer(w->queue); in add_one_watch() 508 wqueue = rcu_access_pointer(watch->queue); in add_watch_to_object() 545 (watch->id == id && rcu_access_pointer(watch->queue) == wq)) in remove_watch_from_object()
|
| H A D | notifier.c | 241 return !rcu_access_pointer(nh->head); in atomic_notifier_call_chain_is_empty() 343 if (rcu_access_pointer(nh->head)) { in blocking_notifier_call_chain_robust() 378 if (rcu_access_pointer(nh->head)) { in blocking_notifier_call_chain()
|
| /linux/net/ipv6/ila/ |
| H A D | ila_xlat.c | 132 ila = rcu_access_pointer(ila->next); in ila_lookup_wildcards() 150 ila = rcu_access_pointer(ila->next); in ila_lookup_by_params() 167 next = rcu_access_pointer(ila->next); in ila_free_node() 555 ila = rcu_access_pointer(ila->next); in ila_xlat_nl_dump() 589 ila = rcu_access_pointer(ila->next); in ila_xlat_nl_dump()
|
| /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,
|
| /linux/net/wireless/ |
| H A D | scan.c | 87 ies = (void *)rcu_access_pointer(bss->pub.beacon_ies); in bss_free() 90 ies = (void *)rcu_access_pointer(bss->pub.proberesp_ies); in bss_free() 418 ies = rcu_access_pointer(a->ies); in is_bss() 878 ies = rcu_access_pointer(res->ies); in cfg80211_scan_6ghz() 1464 a_ies = rcu_access_pointer(a->ies); in cmp_bss() 1467 b_ies = rcu_access_pointer(b->ies); in cmp_bss() 1743 ies = rcu_access_pointer(new->pub.beacon_ies); in cfg80211_combine_bsses() 1775 if (rcu_access_pointer(bss->pub.beacon_ies)) in cfg80211_combine_bsses() 1777 ies = rcu_access_pointer(bss->pub.ies); in cfg80211_combine_bsses() 1814 ies = rcu_access_pointer(bss->pub.beacon_ies); in cfg80211_update_hidden_bsses() [all …]
|
| /linux/fs/afs/ |
| H A D | dynroot.c | 214 if (!rcu_access_pointer(net->ws_cell)) in afs_atcell_get_link() 339 if (rcu_access_pointer(net->ws_cell) && in afs_dynroot_readdir() 345 if (rcu_access_pointer(net->ws_cell) && in afs_dynroot_readdir()
|
| H A D | server.c | 245 kfree(rcu_access_pointer(server->endpoint_state)); in afs_lookup_server() 398 afs_put_endpoint_state(rcu_access_pointer(server->endpoint_state), in afs_server_rcu() 413 struct afs_endpoint_state *estate = rcu_access_pointer(server->endpoint_state); in afs_give_up_callbacks() 487 estate = rcu_access_pointer(server->endpoint_state); in afs_server_destroyer()
|
| /linux/arch/x86/kernel/ |
| H A D | reboot.c | 540 if (WARN_ON_ONCE(rcu_access_pointer(cpu_emergency_virt_callback))) in cpu_emergency_register_virt_callback() 549 if (WARN_ON_ONCE(rcu_access_pointer(cpu_emergency_virt_callback) != callback)) in cpu_emergency_unregister_virt_callback() 594 if (rcu_access_pointer(cpu_emergency_virt_callback)) { in emergency_reboot_disable_virtualization()
|
| /linux/security/apparmor/ |
| H A D | lsm.c | 520 aa_put_label(rcu_access_pointer(ctx->label)); in apparmor_file_free_security() 1106 if (rcu_access_pointer(ctx->label) != rcu_access_pointer(new->label)) { in apparmor_sk_clone_security() 1111 if (rcu_access_pointer(ctx->peer) != rcu_access_pointer(new->peer)) { in apparmor_sk_clone_security() 1116 if (rcu_access_pointer(ctx->peer_lastupdate) != rcu_access_pointer(new->peer_lastupdate)) { in apparmor_sk_clone_security() 1324 if (rcu_access_pointer(a_ctx->label) != label) { in apparmor_socket_socketpair() 1329 if (rcu_access_pointer(b_ctx->label) != label) { in apparmor_socket_socketpair() 1515 if (!rcu_access_pointer(ctx->label)) in apparmor_socket_sock_rcv_skb() 1533 if (rcu_access_pointer(ctx->peer)) in sk_peer_get_label() 1626 if (!rcu_access_pointer(ctx->label)) in apparmor_sock_graft()
|
| /linux/net/mac80211/ |
| H A D | driver-ops.c | 124 if (sdata != rcu_access_pointer(local->monitor_sdata)) in drv_remove_interface() 158 if (rcu_access_pointer(sta->sta.rates)) in drv_sta_state() 555 link = rcu_access_pointer(sdata->link[link_id]); in drv_change_vif_links() 572 link = rcu_access_pointer(sdata->link[link_id]); in drv_change_vif_links()
|
| /linux/net/l2tp/ |
| H A D | l2tp_core.h | 307 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/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()
|
| /linux/drivers/net/vmxnet3/ |
| H A D | vmxnet3_xdp.h | 44 return !!rcu_access_pointer(adapter->xdp_bpf_prog); in vmxnet3_xdp_enabled()
|
| /linux/drivers/net/vxlan/ |
| H A D | vxlan_private.h | 67 if (rcu_access_pointer(fdb->nh)) in first_remote_rcu() 74 if (rcu_access_pointer(fdb->nh)) in first_remote_rtnl()
|