/linux/include/net/tc_act/ |
A 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()
|
A 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/net/ipv6/ |
A D | ip6_fib.c | 111 fn = rcu_dereference_protected(f6i->fib6_node, in fib6_update_sernum() 808 rcu_dereference_protected(fn->right, in fib6_add_1() 810 rcu_dereference_protected(fn->left, in fib6_add_1() 861 pn = rcu_dereference_protected(fn->parent, in fib6_add_1() 1157 iter = rcu_dereference_protected(*ins, in fib6_add_rt2node() 1296 iter = rcu_dereference_protected(*ins, in fib6_add_rt2node() 1313 iter = rcu_dereference_protected(*ins, in fib6_add_rt2node() 1348 fn = rcu_dereference_protected(fn->parent, in __fib6_update_sernum_upto_root() 1493 rcu_dereference_protected(pn->leaf, in fib6_add() 1917 leaf = rcu_dereference_protected(fn->leaf, in fib6_del_route() [all …]
|
A 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/drivers/infiniband/core/ |
A 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() 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() 718 rcu_dereference_protected(*slot, true); in uverbs_disassociate_api() [all …]
|
/linux/net/core/ |
A D | sock_reuseport.c | 118 reuse = rcu_dereference_protected(sk->sk_reuseport_cb, in reuseport_alloc() 222 sk_reuseport_prog_free(rcu_dereference_protected(reuse->prog, 1)); in reuseport_free_rcu() 247 reuse = rcu_dereference_protected(sk2->sk_reuseport_cb, in reuseport_add_sock() 249 old_reuse = rcu_dereference_protected(sk->sk_reuseport_cb, in reuseport_add_sock() 347 reuse = rcu_dereference_protected(sk->sk_reuseport_cb, in reuseport_detach_sock() 385 reuse = rcu_dereference_protected(sk->sk_reuseport_cb, in reuseport_stop_listen_sock() 387 prog = rcu_dereference_protected(reuse->prog, in reuseport_stop_listen_sock() 604 reuse = rcu_dereference_protected(sk->sk_reuseport_cb, in reuseport_attach_prog() 606 old_prog = rcu_dereference_protected(reuse->prog, in reuseport_attach_prog() 623 reuse = rcu_dereference_protected(sk->sk_reuseport_cb, in reuseport_detach_prog()
|
A D | neighbour.c | 217 neigh = rcu_dereference_protected(n->next, in neigh_del() 237 nht = rcu_dereference_protected(tbl->nht, in neigh_remove_one() 243 while ((n = rcu_dereference_protected(*np, in neigh_remove_one() 326 nht = rcu_dereference_protected(tbl->nht, in neigh_flush_dev() 333 while ((n = rcu_dereference_protected(*np, in neigh_flush_dev() 344 rcu_dereference_protected(n->next, in neigh_flush_dev() 545 rcu_dereference_protected( in neigh_hash_grow() 653 nht = rcu_dereference_protected(tbl->nht, in ___neigh_create() 927 nht = rcu_dereference_protected(tbl->nht, in neigh_periodic_work() 985 nht = rcu_dereference_protected(tbl->nht, in neigh_periodic_work() [all …]
|
/linux/drivers/dma-buf/ |
A D | dma-resv.c | 93 dma_fence_put(rcu_dereference_protected(list->shared[i], true)); in dma_resv_list_free() 125 excl = rcu_dereference_protected(obj->fence_excl, 1); in dma_resv_fini() 129 fobj = rcu_dereference_protected(obj->fence, 1); in dma_resv_fini() 180 fence = rcu_dereference_protected(old->shared[i], in dma_resv_reserve_shared() 206 fence = rcu_dereference_protected(new->shared[i], in dma_resv_reserve_shared() 265 old = rcu_dereference_protected(fobj->shared[i], in dma_resv_add_shared_fence() 319 dma_fence_put(rcu_dereference_protected(old->shared[i], in dma_resv_add_excl_fence() 476 return rcu_dereference_protected(cursor->fences->shared[idx], in dma_resv_iter_next()
|
/linux/drivers/net/wireguard/ |
A D | allowedips.c | 150 struct allowedips_node *node = rcu_dereference_protected(trie, lockdep_is_held(lock)); in node_placement() 160 node = rcu_dereference_protected(parent->bit[choose(parent, key)], lockdep_is_held(lock)); in node_placement() 210 down = rcu_dereference_protected(*trie, lockdep_is_held(lock)); in add() 213 down = rcu_dereference_protected(node->bit[bit], lockdep_is_held(lock)); in add() 263 struct allowedips_node *node = rcu_dereference_protected(old4, in wg_allowedips_free() 270 struct allowedips_node *node = rcu_dereference_protected(old6, in wg_allowedips_free() 314 child = rcu_dereference_protected(node->bit[!rcu_access_pointer(node->bit[0])], in wg_allowedips_remove_by_peer() 327 child = rcu_dereference_protected( in wg_allowedips_remove_by_peer()
|
A 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/drivers/net/wireless/intel/iwlwifi/mvm/ |
A 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()
|
/linux/net/ipv4/ |
A 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/net/mac80211/ |
A D | scan.c | 349 req = rcu_dereference_protected(local->scan_req, in ieee80211_prep_hw_scan() 438 rcu_dereference_protected(local->scan_sdata, in __ieee80211_scan_completed() 455 scan_req = rcu_dereference_protected(local->scan_req, in __ieee80211_scan_completed() 601 rcu_dereference_protected( in ieee80211_run_deferred_scan() 647 scan_req = rcu_dereference_protected(local->scan_req, in ieee80211_scan_state_send_probe() 658 sdata = rcu_dereference_protected(local->scan_sdata, in ieee80211_scan_state_send_probe() 885 scan_req = rcu_dereference_protected(local->scan_req, in ieee80211_scan_state_decision() 926 scan_req = rcu_dereference_protected(local->scan_req, in ieee80211_scan_state_set_channel() 1058 sdata = rcu_dereference_protected(local->scan_sdata, in ieee80211_scan_work() 1060 scan_req = rcu_dereference_protected(local->scan_req, in ieee80211_scan_work() [all …]
|
/linux/lib/ |
A 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()
|
/linux/Documentation/RCU/ |
A D | lockdep.rst | 56 rcu_dereference_protected(p, c): 91 file = rcu_dereference_protected(fdt->fd[fd], 97 of these two cases held. Because rcu_dereference_protected() omits all 100 to use rcu_dereference_protected() if either the RCU-protected pointer
|
A 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/kernel/bpf/ |
A D | reuseport_array.c | 79 sk = rcu_dereference_protected(array->ptrs[index], in reuseport_array_delete_elem() 294 osk = rcu_dereference_protected(array->ptrs[index], in bpf_fd_reuseport_array_update_elem() 296 reuse = rcu_dereference_protected(nsk->sk_reuseport_cb, in bpf_fd_reuseport_array_update_elem()
|
A D | net_namespace.c | 133 old_array = rcu_dereference_protected(net->bpf.run_array[type], in bpf_netns_link_release() 188 run_array = rcu_dereference_protected(net->bpf.run_array[type], in bpf_netns_link_update_prog() 254 run_array = rcu_dereference_protected(net->bpf.run_array[type], in __netns_bpf_prog_query() 338 run_array = rcu_dereference_protected(net->bpf.run_array[type], in netns_bpf_prog_attach()
|
/linux/drivers/infiniband/ulp/ipoib/ |
A 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() 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() 1505 rcu_dereference_protected(neigh->hnext, in ipoib_neigh_free() 1573 htbl = rcu_dereference_protected(ntbl->htbl, in ipoib_del_neighs_by_gid() 1615 htbl = rcu_dereference_protected(ntbl->htbl, in ipoib_flush_neighs() [all …]
|
/linux/drivers/gpu/drm/i915/ |
A D | i915_request.h | 644 return rcu_dereference_protected(rq->timeline, in i915_request_timeline() 652 return rcu_dereference_protected(rq->context->gem_context, true); in i915_request_gem_context() 663 return rcu_dereference_protected(rq->timeline, in i915_request_active_timeline()
|
/linux/net/netfilter/ipvs/ |
A 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/net/sched/ |
A D | act_skbmod.c | 200 p_old = rcu_dereference_protected(d->skbmod_p, 1); in tcf_skbmod_init() 232 p = rcu_dereference_protected(d->skbmod_p, 1); in tcf_skbmod_cleanup() 252 p = rcu_dereference_protected(d->skbmod_p, in tcf_skbmod_dump()
|
/linux/tools/testing/radix-tree/linux/ |
A D | rcupdate.h | 8 #define rcu_dereference_protected(p, cond) rcu_dereference(p) macro
|
/linux/drivers/gpu/drm/i915/gem/ |
A D | i915_gem_context.h | 160 return rcu_dereference_protected(ctx->vm, lockdep_is_held(&ctx->mutex)); in i915_gem_context_vm() 186 return rcu_dereference_protected(ctx->engines, in i915_gem_context_engines()
|
/linux/lib/math/ |
A D | prime_numbers.c | 134 p = rcu_dereference_protected(primes, lockdep_is_held(&lock)); in expand_to_next_prime() 166 p = rcu_dereference_protected(primes, lockdep_is_held(&lock)); in free_primes()
|