| /Linux-v6.1/Documentation/RCU/ |
| D | UP.rst | 6 A common misconception is that, on UP systems, the call_rcu() primitive 22 which deletes element B, and then invokes call_rcu() to free element B 25 Now, if call_rcu() were to directly invoke its arguments, then upon return 30 This same problem can occur if call_rcu() is invoked from a hardware 37 by having call_rcu() directly invoke its arguments only if it was called 43 deletes element B from the list, then passes it to call_rcu() for deferred 45 RCU usage, since call_rcu() must wait for a grace period to elapse. 46 Therefore, in this case, allowing call_rcu() to immediately invoke 48 underlying RCU, namely that call_rcu() defers invoking its arguments until 59 Suppose that call_rcu() is invoked while holding a lock, and that the [all …]
|
| D | rcubarrier.rst | 33 But the above code cannot be used in IRQ context -- the call_rcu() 41 call_rcu(&p->rcu, p_callback); 43 Since call_rcu() never blocks, this code can safely be used from within 54 Unloading Modules That Use call_rcu() 92 must match the flavor of rcu_barrier() with that of call_rcu(). If your 93 module uses multiple flavors of call_rcu(), then it must also use multiple 95 it uses call_rcu(), call_srcu() on srcu_struct_1, and call_srcu() on 172 RCU callbacks rarely include calls to call_rcu(). However, the rcutorture 193 module invokes call_rcu() from timers, you will need to first cancel all 197 Of course, if you module uses call_rcu(), you will need to invoke [all …]
|
| D | checklist.rst | 191 5. If call_rcu() or call_srcu() is used, the callback function will 195 function does this for you in the case of call_rcu(). 223 If the updater uses call_rcu() or synchronize_rcu(), then 254 disables BH when updaters use call_rcu() or synchronize_rcu(). 256 8. Although synchronize_rcu() is slower than is call_rcu(), it 260 should be used in preference to call_rcu(). Furthermore, 270 code using call_rcu() should explicitly limit update rate in 274 Ways of gaining this self-limiting property when using call_rcu() 365 CPU that executed the corresponding call_rcu() or call_srcu(). 419 14. The whole point of call_rcu(), synchronize_rcu(), and friends [all …]
|
| D | whatisRCU.rst | 144 c. synchronize_rcu() / call_rcu() 150 express synchronize_rcu() in terms of the call_rcu() callback API. 214 The call_rcu() API is a callback form of synchronize_rcu(), 222 However, the call_rcu() API should not be used lightly, as use 227 of denial-of-service attacks. Code using call_rcu() should limit 355 synchronize_rcu() & call_rcu() 359 rcu_read_unlock(), synchronize_rcu(), and call_rcu() invocations in 361 to their callers and (2) call_rcu() callbacks may be invoked. Efficient 367 synchronize_rcu() and call_rcu() primitives used are the same for all three 499 In such cases, one uses call_rcu() rather than synchronize_rcu(). [all …]
|
| D | rcuref.rst | 73 call_rcu(&el->head, el_free); remove_element 77 call_rcu(&el->head, el_free); 111 ... call_rcu(&el->head, el_free);
|
| /Linux-v6.1/tools/testing/radix-tree/linux/ |
| D | radix-tree.h | 16 call_rcu(head, func); in trace_call_rcu() 23 #undef call_rcu 24 #define call_rcu(x, y) trace_call_rcu(x, y) macro
|
| /Linux-v6.1/kernel/rcu/ |
| D | tiny.c | 47 wait_rcu_gp(call_rcu); in rcu_barrier() 170 void call_rcu(struct rcu_head *head, rcu_callback_t func) in call_rcu() function 199 EXPORT_SYMBOL_GPL(call_rcu);
|
| D | update.c | 380 (crcu_array[i] == call_rcu)) { in __wait_rcu_gp() 397 (crcu_array[i] == call_rcu)) in __wait_rcu_gp() 561 call_rcu(&head, test_callback); in early_boot_test_call_rcu()
|
| D | sync.c | 47 call_rcu(&rsp->cb_head, rcu_sync_func); in rcu_sync_call()
|
| /Linux-v6.1/net/openvswitch/ |
| D | flow_table.c | 140 call_rcu(&flow->rcu, rcu_free_flow_callback); in ovs_flow_free() 264 call_rcu(&old->rcu, mask_array_rcu_cb); in tbl_mask_array_realloc() 408 call_rcu(&mc->rcu, mask_cache_rcu_cb); in ovs_flow_tbl_masks_cache_resize() 508 call_rcu(&ti->rcu, flow_tbl_destroy_rcu_cb); in table_instance_destroy() 509 call_rcu(&ufid_ti->rcu, flow_tbl_destroy_rcu_cb); in table_instance_destroy() 522 call_rcu(&mc->rcu, mask_cache_rcu_cb); in ovs_flow_tbl_destroy() 523 call_rcu(&ma->rcu, mask_array_rcu_cb); in ovs_flow_tbl_destroy() 1055 call_rcu(&ti->rcu, flow_tbl_destroy_rcu_cb); in flow_key_insert() 1077 call_rcu(&ti->rcu, flow_tbl_destroy_rcu_cb); in flow_ufid_insert() 1185 call_rcu(&ma->rcu, mask_array_rcu_cb); in ovs_flow_masks_rebalance()
|
| D | vport-netdev.c | 161 call_rcu(&vport->rcu, vport_netdev_free); in netdev_destroy() 180 call_rcu(&vport->rcu, vport_netdev_free); in ovs_netdev_tunnel_destroy()
|
| /Linux-v6.1/security/keys/ |
| D | user_defined.c | 119 call_rcu(&zap->rcu, user_free_payload_rcu); in user_update() 137 call_rcu(&upayload->rcu, user_free_payload_rcu); in user_revoke()
|
| D | request_key_auth.c | 140 call_rcu(&rka->rcu, request_key_auth_rcu_disposal); in request_key_auth_revoke() 153 call_rcu(&rka->rcu, request_key_auth_rcu_disposal); in request_key_auth_destroy()
|
| /Linux-v6.1/net/mctp/ |
| D | neigh.c | 81 call_rcu(&neigh->rcu, __mctp_neigh_free); in mctp_neigh_remove_dev() 101 call_rcu(&neigh->rcu, __mctp_neigh_free); in mctp_neigh_remove() 315 call_rcu(&neigh->rcu, __mctp_neigh_free); in mctp_neigh_net_exit()
|
| /Linux-v6.1/drivers/net/wireguard/ |
| D | allowedips.c | 270 call_rcu(&node->rcu, root_free_rcu); in wg_allowedips_free() 277 call_rcu(&node->rcu, root_free_rcu); in wg_allowedips_free() 333 call_rcu(&node->rcu, node_free_rcu); in wg_allowedips_remove_by_peer() 339 call_rcu(&parent->rcu, node_free_rcu); in wg_allowedips_remove_by_peer()
|
| /Linux-v6.1/kernel/bpf/ |
| D | devmap.c | 813 call_rcu(&old_dev->rcu, __dev_map_entry_free); in dev_map_delete_elem() 831 call_rcu(&old_dev->rcu, __dev_map_entry_free); in dev_map_hash_delete_elem() 923 call_rcu(&old_dev->rcu, __dev_map_entry_free); in __dev_map_update_elem() 968 call_rcu(&dev->rcu, __dev_map_entry_free); in __dev_map_hash_update_elem() 979 call_rcu(&old_dev->rcu, __dev_map_entry_free); in __dev_map_hash_update_elem() 1056 call_rcu(&dev->rcu, __dev_map_entry_free); in dev_map_hash_remove_netdev() 1103 call_rcu(&dev->rcu, in dev_map_notification()
|
| /Linux-v6.1/kernel/trace/ |
| D | rethook.c | 70 call_rcu(&rh->rcu, rethook_free_rcu); in rethook_free() 137 call_rcu(&node->rcu, free_rethook_node_rcu); in rethook_recycle()
|
| /Linux-v6.1/fs/ecryptfs/ |
| D | dentry.c | 71 call_rcu(&p->rcu, ecryptfs_dentry_free_rcu); in ecryptfs_d_release()
|
| /Linux-v6.1/include/linux/ |
| D | rcupdate.h | 41 void call_rcu(struct rcu_head *head, rcu_callback_t func); 191 # define call_rcu_tasks call_rcu 237 #define call_rcu_tasks call_rcu
|
| D | rcutiny.h | 104 call_rcu(head, func); in __kvfree_call_rcu()
|
| /Linux-v6.1/net/ipv4/ |
| D | inetpeer.c | 174 call_rcu(&p->rcu, inetpeer_free_rcu); in inet_peer_gc() 248 call_rcu(&p->rcu, inetpeer_free_rcu); in inet_putpeer()
|
| D | tcp_fastopen.c | 45 call_rcu(&ctx->rcu, tcp_fastopen_ctx_free); in tcp_fastopen_destroy_cipher() 55 call_rcu(&ctxt->rcu, tcp_fastopen_ctx_free); in tcp_fastopen_ctx_destroy() 89 call_rcu(&octx->rcu, tcp_fastopen_ctx_free); in tcp_fastopen_reset_cipher()
|
| /Linux-v6.1/net/core/ |
| D | sock_reuseport.c | 294 call_rcu(&old_reuse->rcu, reuseport_free_rcu); in reuseport_add_sock() 353 call_rcu(&old_reuse->rcu, reuseport_free_rcu); in reuseport_resurrect() 386 call_rcu(&reuse->rcu, reuseport_free_rcu); in reuseport_detach_sock()
|
| /Linux-v6.1/mm/kasan/ |
| D | kasan_test_module.c | 91 call_rcu(&global_rcu_ptr->rcu, kasan_rcu_reclaim); in kasan_rcu_uaf()
|
| /Linux-v6.1/drivers/gpu/drm/scheduler/ |
| D | sched_fence.c | 109 call_rcu(&fence->finished.rcu, drm_sched_fence_free_rcu); in drm_sched_fence_release_scheduled()
|