Home
last modified time | relevance | path

Searched refs:call_rcu (Results 1 – 25 of 246) sorted by relevance

12345678910

/Linux-v5.10/Documentation/RCU/
DUP.rst6 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 …]
Drcubarrier.rst33 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 …]
Dchecklist.rst189 5. If call_rcu() or call_srcu() is used, the callback function will
218 If the updater uses call_rcu() or synchronize_rcu(),
238 8. Although synchronize_rcu() is slower than is call_rcu(), it
242 should be used in preference to call_rcu(). Furthermore,
252 code using call_rcu() should explicitly limit update rate in
256 Ways of gaining this self-limiting property when using call_rcu()
339 CPU that executed the corresponding call_rcu() or call_srcu().
393 14. The whole point of call_rcu(), synchronize_rcu(), and friends
398 destructive operation, and -only- -then- invoke call_rcu(),
427 same object to call_rcu() (or friends) before an RCU
[all …]
DwhatisRCU.rst140 c. synchronize_rcu() / call_rcu()
146 express synchronize_rcu() in terms of the call_rcu() callback API.
210 The call_rcu() API is a callback form of synchronize_rcu(),
218 However, the call_rcu() API should not be used lightly, as use
223 of denial-of-service attacks. Code using call_rcu() should limit
351 synchronize_rcu() & call_rcu()
355 rcu_read_unlock(), synchronize_rcu(), and call_rcu() invocations in
357 to their callers and (2) call_rcu() callbacks may be invoked. Efficient
363 synchronize_rcu() and call_rcu() primitives used are the same for all three
497 In such cases, one uses call_rcu() rather than synchronize_rcu().
[all …]
Drcuref.rst73 call_rcu(&el->head, el_free); remove_element
77 call_rcu(&el->head, el_free);
111 ... call_rcu(&el->head, el_free);
/Linux-v5.10/tools/testing/radix-tree/linux/
Dradix-tree.h16 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-v5.10/kernel/rcu/
Dtiny.c45 wait_rcu_gp(call_rcu); in rcu_barrier()
160 void call_rcu(struct rcu_head *head, rcu_callback_t func) in call_rcu() function
178 EXPORT_SYMBOL_GPL(call_rcu);
Dupdate.c378 (crcu_array[i] == call_rcu)) { in __wait_rcu_gp()
395 (crcu_array[i] == call_rcu)) in __wait_rcu_gp()
536 call_rcu(&head, test_callback); in early_boot_test_call_rcu()
Dsync.c47 call_rcu(&rsp->cb_head, rcu_sync_func); in rcu_sync_call()
/Linux-v5.10/net/openvswitch/
Dflow_table.c140 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()
Dvport-netdev.c163 call_rcu(&vport->rcu, vport_netdev_free); in netdev_destroy()
182 call_rcu(&vport->rcu, vport_netdev_free); in ovs_netdev_tunnel_destroy()
/Linux-v5.10/kernel/bpf/
Ddevmap.c571 call_rcu(&old_dev->rcu, __dev_map_entry_free); in dev_map_delete_elem()
589 call_rcu(&old_dev->rcu, __dev_map_entry_free); in dev_map_hash_delete_elem()
679 call_rcu(&old_dev->rcu, __dev_map_entry_free); in __dev_map_update_elem()
724 call_rcu(&dev->rcu, __dev_map_entry_free); in __dev_map_hash_update_elem()
735 call_rcu(&old_dev->rcu, __dev_map_entry_free); in __dev_map_hash_update_elem()
799 call_rcu(&dev->rcu, __dev_map_entry_free); in dev_map_hash_remove_netdev()
848 call_rcu(&dev->rcu, in dev_map_notification()
/Linux-v5.10/security/keys/
Duser_defined.c119 call_rcu(&zap->rcu, user_free_payload_rcu); in user_update()
137 call_rcu(&upayload->rcu, user_free_payload_rcu); in user_revoke()
Drequest_key_auth.c140 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-v5.10/include/linux/
Drcupdate.h38 void call_rcu(struct rcu_head *head, rcu_callback_t func);
152 # define call_rcu_tasks call_rcu
186 #define call_rcu_tasks call_rcu
Drcutiny.h48 call_rcu(head, func); in kvfree_call_rcu()
/Linux-v5.10/fs/ecryptfs/
Ddentry.c71 call_rcu(&p->rcu, ecryptfs_dentry_free_rcu); in ecryptfs_d_release()
/Linux-v5.10/net/ipv4/
Dinetpeer.c177 call_rcu(&p->rcu, inetpeer_free_rcu); in inet_peer_gc()
251 call_rcu(&p->rcu, inetpeer_free_rcu); in inet_putpeer()
Dtcp_fastopen.c51 call_rcu(&ctx->rcu, tcp_fastopen_ctx_free); in tcp_fastopen_destroy_cipher()
66 call_rcu(&ctxt->rcu, tcp_fastopen_ctx_free); in tcp_fastopen_ctx_destroy()
106 call_rcu(&octx->rcu, tcp_fastopen_ctx_free); in tcp_fastopen_reset_cipher()
/Linux-v5.10/lib/
Dtest_kasan_module.c91 call_rcu(&global_rcu_ptr->rcu, kasan_rcu_reclaim); in kasan_rcu_uaf()
/Linux-v5.10/include/linux/netfilter/
Dnfnetlink.h15 int (*call_rcu)(struct net *net, struct sock *nl, struct sk_buff *skb, member
/Linux-v5.10/drivers/gpu/drm/i915/
Di915_globals.c54 call_rcu(&park.rcu, __i915_globals_grace); in __i915_globals_queue_rcu()
/Linux-v5.10/net/core/
Dsock_reuseport.c178 call_rcu(&old_reuse->rcu, reuseport_free_rcu); in reuseport_add_sock()
209 call_rcu(&reuse->rcu, reuseport_free_rcu); in reuseport_detach_sock()
/Linux-v5.10/drivers/gpu/drm/scheduler/
Dsched_fence.c114 call_rcu(&fence->finished.rcu, drm_sched_fence_free); in drm_sched_fence_release_scheduled()
/Linux-v5.10/tools/testing/radix-tree/
Dregression1.c76 call_rcu(&p->rcu, page_rcu_free); in page_free()

12345678910