/linux-6.6.21/include/net/tc_act/ |
D | tc_police.h | 61 params = rcu_dereference_protected(police->params, in tcf_police_rate_bytes_ps() 72 params = rcu_dereference_protected(police->params, in tcf_police_burst() 109 params = rcu_dereference_protected(police->params, in tcf_police_rate_pkt_ps() 120 params = rcu_dereference_protected(police->params, in tcf_police_burst_pkt() 157 params = rcu_dereference_protected(police->params, in tcf_police_tcfp_mtu() 167 params = rcu_dereference_protected(police->params, in tcf_police_peakrate_bytes_ps() 177 params = rcu_dereference_protected(police->params, in tcf_police_tcfp_ewma_rate() 187 params = rcu_dereference_protected(police->params, in tcf_police_rate_overhead()
|
D | tc_tunnel_key.h | 33 params = rcu_dereference_protected(t->params, in is_tcf_tunnel_set() 47 params = rcu_dereference_protected(t->params, in is_tcf_tunnel_release() 61 params = rcu_dereference_protected(t->params, in tcf_tunnel_info()
|
/linux-6.6.21/net/core/ |
D | sock_reuseport.c | 32 reuse = rcu_dereference_protected(sk->sk_reuseport_cb, in reuseport_has_conns_set() 88 reuse = rcu_dereference_protected(sk->sk_reuseport_cb, in reuseport_update_incoming_cpu() 202 reuse = rcu_dereference_protected(sk->sk_reuseport_cb, in reuseport_alloc() 308 sk_reuseport_prog_free(rcu_dereference_protected(reuse->prog, 1)); in reuseport_free_rcu() 333 reuse = rcu_dereference_protected(sk2->sk_reuseport_cb, in reuseport_add_sock() 335 old_reuse = rcu_dereference_protected(sk->sk_reuseport_cb, in reuseport_add_sock() 433 reuse = rcu_dereference_protected(sk->sk_reuseport_cb, in reuseport_detach_sock() 471 reuse = rcu_dereference_protected(sk->sk_reuseport_cb, in reuseport_stop_listen_sock() 473 prog = rcu_dereference_protected(reuse->prog, in reuseport_stop_listen_sock() 704 reuse = rcu_dereference_protected(sk->sk_reuseport_cb, in reuseport_attach_prog() [all …]
|
/linux-6.6.21/net/ipv6/ |
D | ip6_fib.c | 111 fn = rcu_dereference_protected(f6i->fib6_node, in fib6_update_sernum() 761 struct fib6_info *leaf = rcu_dereference_protected(fn->leaf, in fib6_add_1() 809 rcu_dereference_protected(fn->right, in fib6_add_1() 811 rcu_dereference_protected(fn->left, in fib6_add_1() 862 pn = rcu_dereference_protected(fn->parent, in fib6_add_1() 902 fib6_info_hold(rcu_dereference_protected(in->leaf, in fib6_add_1() 1046 struct fib6_info *leaf = rcu_dereference_protected(fn->leaf, in fib6_purge_rt() 1056 fn = rcu_dereference_protected(fn->parent, in fib6_purge_rt() 1070 struct fib6_info *leaf = rcu_dereference_protected(fn->leaf, in fib6_add_rt2node() 1091 iter = rcu_dereference_protected(iter->fib6_next, in fib6_add_rt2node() [all …]
|
D | xfrm6_protocol.c | 247 if (!rcu_dereference_protected(*proto_handlers(protocol), in xfrm6_protocol_register() 252 (t = rcu_dereference_protected(*pprev, in xfrm6_protocol_register() 293 (t = rcu_dereference_protected(*pprev, in xfrm6_protocol_deregister() 303 if (!rcu_dereference_protected(*proto_handlers(protocol), in xfrm6_protocol_deregister()
|
/linux-6.6.21/drivers/infiniband/core/ |
D | uverbs_uapi.c | 366 rcu_dereference_protected(*slot, true); in uapi_finalize_ioctl_method() 427 rcu_dereference_protected(*slot, true); in uapi_finalize() 462 rcu_dereference_protected(*slot, true); in uapi_finalize() 466 rcu_dereference_protected(*slot, true); in uapi_finalize() 480 kfree(rcu_dereference_protected(*slot, true)); in uapi_remove_range() 539 rcu_dereference_protected(*slot, true); in uapi_finalize_disable() 553 rcu_dereference_protected(*slot, true); in uapi_finalize_disable() 566 rcu_dereference_protected(*slot, true); in uapi_finalize_disable() 577 rcu_dereference_protected(*slot, true); in uapi_finalize_disable() 695 rcu_dereference_protected(*slot, true); in uverbs_disassociate_api_pre() [all …]
|
/linux-6.6.21/drivers/net/wireguard/ |
D | allowedips.c | 153 struct allowedips_node *node = rcu_dereference_protected(trie, lockdep_is_held(lock)); in node_placement() 163 node = rcu_dereference_protected(parent->bit[choose(parent, key)], lockdep_is_held(lock)); in node_placement() 213 down = rcu_dereference_protected(*trie, lockdep_is_held(lock)); in add() 216 down = rcu_dereference_protected(node->bit[bit], lockdep_is_held(lock)); in add() 266 struct allowedips_node *node = rcu_dereference_protected(old4, in wg_allowedips_free() 273 struct allowedips_node *node = rcu_dereference_protected(old6, in wg_allowedips_free() 317 child = rcu_dereference_protected(node->bit[!rcu_access_pointer(node->bit[0])], in wg_allowedips_remove_by_peer() 330 child = rcu_dereference_protected( in wg_allowedips_remove_by_peer()
|
D | noise.c | 161 old = rcu_dereference_protected(keypairs->next_keypair, in wg_noise_keypairs_clear() 166 old = rcu_dereference_protected(keypairs->previous_keypair, in wg_noise_keypairs_clear() 171 old = rcu_dereference_protected(keypairs->current_keypair, in wg_noise_keypairs_clear() 187 keypair = rcu_dereference_protected(peer->keypairs.next_keypair, in wg_noise_expire_current_peer_keypairs() 191 keypair = rcu_dereference_protected(peer->keypairs.current_keypair, in wg_noise_expire_current_peer_keypairs() 204 previous_keypair = rcu_dereference_protected(keypairs->previous_keypair, in add_new_keypair() 206 next_keypair = rcu_dereference_protected(keypairs->next_keypair, in add_new_keypair() 208 current_keypair = rcu_dereference_protected(keypairs->current_keypair, in add_new_keypair() 270 rcu_dereference_protected(keypairs->next_keypair, in wg_noise_received_with_keypair() 280 old_keypair = rcu_dereference_protected(keypairs->previous_keypair, in wg_noise_received_with_keypair() [all …]
|
/linux-6.6.21/net/ipv4/ |
D | xfrm4_protocol.c | 231 if (!rcu_dereference_protected(*proto_handlers(protocol), in xfrm4_protocol_register() 236 (t = rcu_dereference_protected(*pprev, in xfrm4_protocol_register() 277 (t = rcu_dereference_protected(*pprev, in xfrm4_protocol_deregister() 287 if (!rcu_dereference_protected(*proto_handlers(protocol), in xfrm4_protocol_deregister()
|
/linux-6.6.21/drivers/net/wireless/intel/iwlwifi/mvm/ |
D | tdls.c | 25 sta = rcu_dereference_protected(mvm->fw_id_to_mac_id[i], in iwl_mvm_teardown_tdls_peers() 48 sta = rcu_dereference_protected(mvm->fw_id_to_mac_id[i], in iwl_mvm_tdls_sta_count() 92 sta = rcu_dereference_protected(mvm->fw_id_to_mac_id[i], in iwl_mvm_tdls_config() 223 sta = rcu_dereference_protected(mvm->fw_id_to_mac_id[sta_id], in iwl_mvm_rx_tdls_notif() 254 struct ieee80211_sta *sta = rcu_dereference_protected( in iwl_mvm_tdls_check_action() 471 sta = rcu_dereference_protected( in iwl_mvm_tdls_ch_switch_work() 582 cur_sta = rcu_dereference_protected( in iwl_mvm_tdls_cancel_channel_switch() 645 cur_sta = rcu_dereference_protected( in iwl_mvm_tdls_recv_channel_switch()
|
D | mld-sta.c | 537 rcu_dereference_protected(mvm_sta->link[link_id], in iwl_mvm_mld_sta_rm_all_sta_links() 643 rcu_dereference_protected(mvm_sta->link[link_id], in iwl_mvm_alloc_sta_after_restart() 705 rcu_dereference_protected(mvm_sta->link[link_id], in iwl_mvm_mld_add_sta() 732 rcu_dereference_protected(mvm_sta->link[link_id], in iwl_mvm_mld_add_sta() 757 rcu_dereference_protected(mvm_sta->link[link_id], in iwl_mvm_mld_update_sta() 815 rcu_dereference_protected(mvm_sta->link[link_id], in iwl_mvm_mld_rm_sta() 835 rcu_dereference_protected(mvm_sta->link[link_id], in iwl_mvm_mld_rm_sta() 988 data = rcu_dereference_protected(mvm->baid_map[baid], in iwl_mvm_mld_update_sta_baids() 1056 rcu_dereference_protected(mvm_sta->link[link_id], in iwl_mvm_mld_update_sta_links() 1082 rcu_dereference_protected(mvm_sta->link[link_id], in iwl_mvm_mld_update_sta_links() [all …]
|
/linux-6.6.21/net/mac80211/ |
D | scan.c | 352 req = rcu_dereference_protected(local->scan_req, in ieee80211_prep_hw_scan() 432 scan_sdata = rcu_dereference_protected(local->scan_sdata, in __ieee80211_scan_completed() 441 rcu_dereference_protected(local->scan_sdata, in __ieee80211_scan_completed() 458 scan_req = rcu_dereference_protected(local->scan_req, in __ieee80211_scan_completed() 606 rcu_dereference_protected( in ieee80211_run_deferred_scan() 652 scan_req = rcu_dereference_protected(local->scan_req, in ieee80211_scan_state_send_probe() 663 sdata = rcu_dereference_protected(local->scan_sdata, in ieee80211_scan_state_send_probe() 892 scan_req = rcu_dereference_protected(local->scan_req, in ieee80211_scan_state_decision() 933 scan_req = rcu_dereference_protected(local->scan_req, in ieee80211_scan_state_set_channel() 1067 sdata = rcu_dereference_protected(local->scan_sdata, in ieee80211_scan_work() [all …]
|
/linux-6.6.21/lib/ |
D | crc-t10dif.c | 41 old = rcu_dereference_protected(crct10dif_tfm, in crc_t10dif_rehash() 104 crypto_free_shash(rcu_dereference_protected(crct10dif_tfm, 1)); in crc_t10dif_mod_fini()
|
D | crc64-rocksoft.c | 35 old = rcu_dereference_protected(crc64_rocksoft_tfm, in crc64_rocksoft_rehash() 98 crypto_free_shash(rcu_dereference_protected(crc64_rocksoft_tfm, 1)); in crc64_rocksoft_mod_fini()
|
/linux-6.6.21/drivers/net/ethernet/mellanox/mlx5/core/en/ |
D | selq.c | 81 selq_active = rcu_dereference_protected(selq->active, in mlx5e_selq_prepare_params() 94 rcu_dereference_protected(selq->active, lockdep_is_held(selq->state_lock)); in mlx5e_selq_is_htb_enabled() 108 selq_active = rcu_dereference_protected(selq->active, in mlx5e_selq_prepare_htb()
|
/linux-6.6.21/kernel/bpf/ |
D | reuseport_array.c | 77 sk = rcu_dereference_protected(array->ptrs[index], in reuseport_array_delete_elem() 285 osk = rcu_dereference_protected(array->ptrs[index], in bpf_fd_reuseport_array_update_elem() 287 reuse = rcu_dereference_protected(nsk->sk_reuseport_cb, in bpf_fd_reuseport_array_update_elem()
|
D | net_namespace.c | 134 old_array = rcu_dereference_protected(net->bpf.run_array[type], in bpf_netns_link_release() 189 run_array = rcu_dereference_protected(net->bpf.run_array[type], in bpf_netns_link_update_prog() 255 run_array = rcu_dereference_protected(net->bpf.run_array[type], in __netns_bpf_prog_query() 339 run_array = rcu_dereference_protected(net->bpf.run_array[type], in netns_bpf_prog_attach()
|
/linux-6.6.21/Documentation/RCU/ |
D | lockdep.rst | 60 rcu_dereference_protected(p, c): 94 file = rcu_dereference_protected(fdt->fd[fd], 100 one of these two cases held. Because rcu_dereference_protected() omits 103 to use rcu_dereference_protected() if either the RCU-protected pointer
|
D | lockdep-splat.rst | 26 block/cfq-iosched.c:2776 suspicious rcu_dereference_protected() usage! 78 which would permit us to invoke rcu_dereference_protected as follows:: 80 if (rcu_dereference_protected(ioc->ioc_data,
|
/linux-6.6.21/tools/testing/radix-tree/linux/ |
D | rcupdate.h | 8 #define rcu_dereference_protected(p, cond) rcu_dereference(p) macro
|
/linux-6.6.21/net/netfilter/ipvs/ |
D | ip_vs_dh.c | 110 dest = rcu_dereference_protected(b->dest, 1); in ip_vs_dh_reassign() 142 dest = rcu_dereference_protected(b->dest, 1); in ip_vs_dh_flush()
|
/linux-6.6.21/drivers/net/ethernet/mellanox/mlx5/core/lib/ |
D | devcom.c | 270 data = rcu_dereference_protected(pos->data, lockdep_is_held(&comp->sem)); in mlx5_devcom_send_event() 287 data = rcu_dereference_protected(pos->data, lockdep_is_held(&comp->sem)); in mlx5_devcom_send_event() 345 data = rcu_dereference_protected(tmp->data, lockdep_is_held(&comp->sem)); in mlx5_devcom_get_next_peer_data()
|
/linux-6.6.21/net/sched/ |
D | act_skbmod.c | 201 p_old = rcu_dereference_protected(d->skbmod_p, 1); in tcf_skbmod_init() 233 p = rcu_dereference_protected(d->skbmod_p, 1); in tcf_skbmod_cleanup() 253 p = rcu_dereference_protected(d->skbmod_p, in tcf_skbmod_dump()
|
/linux-6.6.21/drivers/gpu/drm/i915/ |
D | i915_request.h | 668 return rcu_dereference_protected(rq->timeline, in i915_request_timeline() 677 return rcu_dereference_protected(rq->context->gem_context, true); in i915_request_gem_context() 688 return rcu_dereference_protected(rq->timeline, in i915_request_active_timeline()
|
/linux-6.6.21/drivers/infiniband/ulp/ipoib/ |
D | ipoib_main.c | 1320 htbl = rcu_dereference_protected(ntbl->htbl, in __ipoib_reap_neigh() 1334 while ((neigh = rcu_dereference_protected(*np, in __ipoib_reap_neigh() 1342 rcu_dereference_protected(neigh->hnext, in __ipoib_reap_neigh() 1400 htbl = rcu_dereference_protected(ntbl->htbl, in ipoib_neigh_alloc() 1411 for (neigh = rcu_dereference_protected(htbl->buckets[hash_val], in ipoib_neigh_alloc() 1414 neigh = rcu_dereference_protected(neigh->hnext, in ipoib_neigh_alloc() 1437 rcu_dereference_protected(htbl->buckets[hash_val], in ipoib_neigh_alloc() 1490 htbl = rcu_dereference_protected(ntbl->htbl, in ipoib_neigh_free() 1497 for (n = rcu_dereference_protected(*np, in ipoib_neigh_free() 1500 n = rcu_dereference_protected(*np, in ipoib_neigh_free() [all …]
|