Home
last modified time | relevance | path

Searched refs:rcu_dereference_protected (Results 1 – 25 of 249) sorted by relevance

12345678910

/kernel/linux/linux-5.10/net/core/
Dsock_reuseport.c29 reuse = rcu_dereference_protected(sk->sk_reuseport_cb, in reuseport_has_conns_set()
65 reuse = rcu_dereference_protected(sk->sk_reuseport_cb, in reuseport_alloc()
143 sk_reuseport_prog_free(rcu_dereference_protected(reuse->prog, 1)); in reuseport_free_rcu()
168 reuse = rcu_dereference_protected(sk2->sk_reuseport_cb, in reuseport_add_sock()
170 old_reuse = rcu_dereference_protected(sk->sk_reuseport_cb, in reuseport_add_sock()
205 reuse = rcu_dereference_protected(sk->sk_reuseport_cb, in reuseport_detach_sock()
343 reuse = rcu_dereference_protected(sk->sk_reuseport_cb, in reuseport_attach_prog()
345 old_prog = rcu_dereference_protected(reuse->prog, in reuseport_attach_prog()
365 reuse = rcu_dereference_protected(sk->sk_reuseport_cb, in reuseport_detach_prog()
/kernel/linux/linux-5.10/net/ipv6/
Dip6_fib.c110 fn = rcu_dereference_protected(f6i->fib6_node, in fib6_update_sernum()
760 struct fib6_info *leaf = rcu_dereference_protected(fn->leaf, in fib6_add_1()
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()
901 fib6_info_hold(rcu_dereference_protected(in->leaf, in fib6_add_1()
1045 struct fib6_info *leaf = rcu_dereference_protected(fn->leaf, in fib6_purge_rt()
1055 fn = rcu_dereference_protected(fn->parent, in fib6_purge_rt()
1069 struct fib6_info *leaf = rcu_dereference_protected(fn->leaf, in fib6_add_rt2node()
1090 iter = rcu_dereference_protected(iter->fib6_next, in fib6_add_rt2node()
[all …]
Dxfrm6_protocol.c247 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()
/kernel/linux/linux-5.10/drivers/infiniband/core/
Duverbs_uapi.c369 rcu_dereference_protected(*slot, true); in uapi_finalize_ioctl_method()
430 rcu_dereference_protected(*slot, true); in uapi_finalize()
465 rcu_dereference_protected(*slot, true); in uapi_finalize()
469 rcu_dereference_protected(*slot, true); in uapi_finalize()
483 kfree(rcu_dereference_protected(*slot, true)); in uapi_remove_range()
542 rcu_dereference_protected(*slot, true); in uapi_finalize_disable()
556 rcu_dereference_protected(*slot, true); in uapi_finalize_disable()
569 rcu_dereference_protected(*slot, true); in uapi_finalize_disable()
580 rcu_dereference_protected(*slot, true); in uapi_finalize_disable()
698 rcu_dereference_protected(*slot, true); in uverbs_disassociate_api_pre()
[all …]
/kernel/linux/linux-5.10/include/net/tc_act/
Dtc_tunnel_key.h33 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()
Dtc_police.h57 params = rcu_dereference_protected(police->params, in tcf_police_rate_bytes_ps()
68 params = rcu_dereference_protected(police->params, in tcf_police_burst()
105 params = rcu_dereference_protected(police->params, in tcf_police_tcfp_mtu()
/kernel/linux/linux-5.10/drivers/net/wireguard/
Dallowedips.c153 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()
Dnoise.c161 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 …]
/kernel/linux/linux-5.10/drivers/dma-buf/
Ddma-resv.c90 dma_fence_put(rcu_dereference_protected(list->shared[i], true)); in dma_resv_list_free()
165 excl = rcu_dereference_protected(obj->fence_excl, 1); in dma_resv_fini()
169 fobj = rcu_dereference_protected(obj->fence, 1); in dma_resv_fini()
219 fence = rcu_dereference_protected(old->shared[i], in dma_resv_reserve_shared()
245 fence = rcu_dereference_protected(new->shared[i], in dma_resv_reserve_shared()
280 old = rcu_dereference_protected(fobj->shared[i], in dma_resv_add_shared_fence()
332 dma_fence_put(rcu_dereference_protected(old->shared[i], in dma_resv_add_excl_fence()
/kernel/linux/linux-5.10/net/ipv4/
Dxfrm4_protocol.c234 if (!rcu_dereference_protected(*proto_handlers(protocol), in xfrm4_protocol_register()
239 (t = rcu_dereference_protected(*pprev, in xfrm4_protocol_register()
280 (t = rcu_dereference_protected(*pprev, in xfrm4_protocol_deregister()
290 if (!rcu_dereference_protected(*proto_handlers(protocol), in xfrm4_protocol_deregister()
/kernel/linux/linux-5.10/drivers/net/wireless/intel/iwlwifi/mvm/
Dtdls.c81 sta = rcu_dereference_protected(mvm->fw_id_to_mac_id[i], in iwl_mvm_teardown_tdls_peers()
104 sta = rcu_dereference_protected(mvm->fw_id_to_mac_id[i], in iwl_mvm_tdls_sta_count()
148 sta = rcu_dereference_protected(mvm->fw_id_to_mac_id[i], in iwl_mvm_tdls_config()
279 sta = rcu_dereference_protected(mvm->fw_id_to_mac_id[sta_id], in iwl_mvm_rx_tdls_notif()
310 struct ieee80211_sta *sta = rcu_dereference_protected( in iwl_mvm_tdls_check_action()
527 sta = rcu_dereference_protected( in iwl_mvm_tdls_ch_switch_work()
638 cur_sta = rcu_dereference_protected( in iwl_mvm_tdls_cancel_channel_switch()
701 cur_sta = rcu_dereference_protected( in iwl_mvm_tdls_recv_channel_switch()
/kernel/linux/linux-5.10/net/netfilter/
Dnf_conntrack_ecache.c280 notify = rcu_dereference_protected(net->ct.nf_conntrack_event_cb, in nf_conntrack_register_notifier()
301 notify = rcu_dereference_protected(net->ct.nf_conntrack_event_cb, in nf_conntrack_unregister_notifier()
317 notify = rcu_dereference_protected(net->ct.nf_expect_event_cb, in nf_ct_expect_register_notifier()
338 notify = rcu_dereference_protected(net->ct.nf_expect_event_cb, in nf_ct_expect_unregister_notifier()
/kernel/linux/linux-5.10/lib/
Dcrc-t10dif.c41 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()
/kernel/linux/linux-5.10/net/mac80211/
Dscan.c357 req = rcu_dereference_protected(local->scan_req, in ieee80211_prep_hw_scan()
437 scan_sdata = rcu_dereference_protected(local->scan_sdata, in __ieee80211_scan_completed()
446 rcu_dereference_protected(local->scan_sdata, in __ieee80211_scan_completed()
463 scan_req = rcu_dereference_protected(local->scan_req, in __ieee80211_scan_completed()
612 rcu_dereference_protected( in ieee80211_run_deferred_scan()
658 scan_req = rcu_dereference_protected(local->scan_req, in ieee80211_scan_state_send_probe()
669 sdata = rcu_dereference_protected(local->scan_sdata, in ieee80211_scan_state_send_probe()
898 scan_req = rcu_dereference_protected(local->scan_req, in ieee80211_scan_state_decision()
939 scan_req = rcu_dereference_protected(local->scan_req, in ieee80211_scan_state_set_channel()
1073 sdata = rcu_dereference_protected(local->scan_sdata, in ieee80211_scan_work()
[all …]
/kernel/linux/linux-5.10/include/linux/
Ddma-resv.h91 return rcu_dereference_protected(obj->fence, in dma_resv_get_list()
244 return rcu_dereference_protected(obj->fence_excl, in dma_resv_get_excl()
Dgenetlink.h37 rcu_dereference_protected(p, lockdep_genl_is_held())
/kernel/linux/linux-5.10/Documentation/RCU/
Dlockdep.rst56 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
/kernel/linux/linux-5.10/kernel/bpf/
Dreuseport_array.c79 sk = rcu_dereference_protected(array->ptrs[index], in reuseport_array_delete_elem()
302 osk = rcu_dereference_protected(array->ptrs[index], in bpf_fd_reuseport_array_update_elem()
304 reuse = rcu_dereference_protected(nsk->sk_reuseport_cb, in bpf_fd_reuseport_array_update_elem()
Dnet_namespace.c133 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()
/kernel/linux/linux-5.10/drivers/gpu/drm/i915/
Di915_request.h588 return rcu_dereference_protected(rq->timeline, in i915_request_timeline()
596 return rcu_dereference_protected(rq->context->gem_context, true); in i915_request_gem_context()
607 return rcu_dereference_protected(rq->timeline, in i915_request_active_timeline()
/kernel/linux/linux-5.10/tools/testing/radix-tree/linux/
Drcupdate.h8 #define rcu_dereference_protected(p, cond) rcu_dereference(p) macro
/kernel/linux/linux-5.10/net/netfilter/ipvs/
Dip_vs_dh.c110 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()
/kernel/linux/linux-5.10/net/sched/
Dact_skbmod.c179 p_old = rcu_dereference_protected(d->skbmod_p, 1); in tcf_skbmod_init()
211 p = rcu_dereference_protected(d->skbmod_p, 1); in tcf_skbmod_cleanup()
231 p = rcu_dereference_protected(d->skbmod_p, in tcf_skbmod_dump()
/kernel/linux/linux-5.10/drivers/infiniband/ulp/ipoib/
Dipoib_main.c1311 htbl = rcu_dereference_protected(ntbl->htbl, in __ipoib_reap_neigh()
1325 while ((neigh = rcu_dereference_protected(*np, in __ipoib_reap_neigh()
1333 rcu_dereference_protected(neigh->hnext, in __ipoib_reap_neigh()
1391 htbl = rcu_dereference_protected(ntbl->htbl, in ipoib_neigh_alloc()
1402 for (neigh = rcu_dereference_protected(htbl->buckets[hash_val], in ipoib_neigh_alloc()
1405 neigh = rcu_dereference_protected(neigh->hnext, in ipoib_neigh_alloc()
1428 rcu_dereference_protected(htbl->buckets[hash_val], in ipoib_neigh_alloc()
1481 htbl = rcu_dereference_protected(ntbl->htbl, in ipoib_neigh_free()
1488 for (n = rcu_dereference_protected(*np, in ipoib_neigh_free()
1491 n = rcu_dereference_protected(*np, in ipoib_neigh_free()
[all …]
/kernel/linux/linux-5.10/drivers/gpu/drm/i915/gem/
Di915_gem_context.h152 return rcu_dereference_protected(ctx->vm, lockdep_is_held(&ctx->mutex)); in i915_gem_context_vm()
173 return rcu_dereference_protected(ctx->engines, in i915_gem_context_engines()

12345678910