Home
last modified time | relevance | path

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

12345678

/linux/Documentation/RCU/
H A 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 …]
H A Dchecklist.rst203 5. If any of call_rcu(), call_srcu(), call_rcu_tasks(), or
209 function does this for you in the case of call_rcu().
234 primitives such as call_rcu().
238 If the updater uses call_rcu() or synchronize_rcu(), then
277 disables BH when updaters use call_rcu() or synchronize_rcu().
279 8. Although synchronize_rcu() is slower than is call_rcu(),
283 synchronize_rcu() should be used in preference to call_rcu().
294 code using call_rcu() should explicitly limit update rate in
298 Ways of gaining this self-limiting property when using call_rcu(),
390 CPU that executed the corresponding call_rcu(), call_srcu(),
[all …]
H A Drcuref.rst73 call_rcu(&el->head, el_free); remove_element
77 call_rcu(&el->head, el_free);
111 ... call_rcu(&el->head, el_free);
H A DwhatisRCU.rst152 c. synchronize_rcu() / call_rcu()
158 express synchronize_rcu() in terms of the call_rcu() callback API.
235 The call_rcu() API is an asynchronous callback form of
243 However, the call_rcu() API should not be used lightly, as use
248 of denial-of-service attacks. Code using call_rcu() should limit
387 synchronize_rcu() & call_rcu()
391 rcu_read_unlock(), synchronize_rcu(), and call_rcu() invocations in
393 to their callers and (2) call_rcu() callbacks may be invoked. Efficient
402 synchronize_rcu() and call_rcu() primitives used are the same for all three
536 In such cases, one uses call_rcu() rather than synchronize_rcu().
[all …]
/linux/tools/testing/shared/linux/
H A 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/net/openvswitch/
H A Dflow_table.c140 call_rcu(&flow->rcu, rcu_free_flow_callback); in ovs_flow_free()
260 call_rcu(&old->rcu, mask_array_rcu_cb); in tbl_mask_array_realloc()
404 call_rcu(&mc->rcu, mask_cache_rcu_cb); in ovs_flow_tbl_masks_cache_resize()
504 call_rcu(&ti->rcu, flow_tbl_destroy_rcu_cb); in table_instance_destroy()
505 call_rcu(&ufid_ti->rcu, flow_tbl_destroy_rcu_cb); in table_instance_destroy()
518 call_rcu(&mc->rcu, mask_cache_rcu_cb); in ovs_flow_tbl_destroy()
519 call_rcu(&ma->rcu, mask_array_rcu_cb); in ovs_flow_tbl_destroy()
1051 call_rcu(&ti->rcu, flow_tbl_destroy_rcu_cb); in flow_key_insert()
1073 call_rcu(&ti->rcu, flow_tbl_destroy_rcu_cb); in flow_ufid_insert()
1179 call_rcu( in ovs_flow_masks_rebalance()
[all...]
H A Dvport-netdev.c196 call_rcu(&vport->rcu, vport_netdev_free); in netdev_destroy()
216 call_rcu(&vport->rcu, vport_netdev_free); in ovs_netdev_tunnel_destroy()
/linux/fs/dlm/
H A Dmemory.c110 call_rcu(&r->rcu, __free_rsb_rcu); in dlm_free_rsb()
136 call_rcu(&lkb->rcu, __free_lkb_rcu); in dlm_free_lkb()
/linux/security/keys/
H A 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()
H A 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/net/mctp/
H A Dneigh.c81 call_rcu(&neigh->rcu, __mctp_neigh_free); in mctp_neigh_remove_dev()
101 call_rcu(&neigh->rcu, __mctp_neigh_free); in mctp_neigh_remove()
319 call_rcu(&neigh->rcu, __mctp_neigh_free); in mctp_neigh_net_exit()
/linux/kernel/bpf/
H A Ddevmap.c854 call_rcu(&old_dev->rcu, __dev_map_entry_free); in dev_map_delete_elem()
874 call_rcu(&old_dev->rcu, __dev_map_entry_free); in dev_map_hash_delete_elem()
965 call_rcu(&old_dev->rcu, __dev_map_entry_free); in __dev_map_update_elem()
1012 call_rcu(&dev->rcu, __dev_map_entry_free); in __dev_map_hash_update_elem()
1023 call_rcu(&old_dev->rcu, __dev_map_entry_free); in __dev_map_hash_update_elem()
1118 call_rcu(&dev->rcu, __dev_map_entry_free); in dev_map_hash_remove_netdev()
1170 call_rcu(&dev->rcu, in dev_map_notification()
/linux/kernel/trace/
H A Drethook.c68 call_rcu(&rh->rcu, rethook_free_rcu); in rethook_free()
150 call_rcu(&node->rcu, free_rethook_node_rcu); in rethook_recycle()
/linux/net/ipv4/
H A Dtcp_fastopen.c132 call_rcu(&ctx->rcu, tcp_fastopen_ctx_free); in tcp_fastopen_destroy_cipher()
142 call_rcu(&ctxt->rcu, tcp_fastopen_ctx_free); in tcp_fastopen_ctx_destroy()
177 call_rcu(&octx->rcu, tcp_fastopen_ctx_free); in tcp_fastopen_reset_cipher()
/linux/net/core/
H A Dsock_reuseport.c363 call_rcu(&old_reuse->rcu, reuseport_free_rcu); in reuseport_add_sock()
422 call_rcu(&old_reuse->rcu, reuseport_free_rcu); in reuseport_resurrect()
455 call_rcu(&reuse->rcu, reuseport_free_rcu); in reuseport_detach_sock()
H A Dgro_cells.c138 call_rcu(&defer->rcu, percpu_free_defer_callback); in gro_cells_destroy()
/linux/arch/x86/mm/
H A Dkmmio.c520 call_rcu(&dr->rcu, rcu_free_kmmio_fault_pages); in remove_kmmio_fault_pages()
586 call_rcu(&drelease->rcu, remove_kmmio_fault_pages); in unregister_kmmio_probe()
/linux/tools/testing/radix-tree/
H A Dregression1.c76 call_rcu(&p->rcu, page_rcu_free); in page_free()
/linux/io_uring/
H A Deventfd.c39 call_rcu(&ev_fd->rcu, io_eventfd_free); in io_eventfd_put()
/linux/net/rxrpc/
H A Dlocal_object.c314 call_rcu(&local->rcu, rxrpc_local_rcu); in rxrpc_lookup_local()
372 call_rcu(&local->rcu, rxrpc_local_rcu); in rxrpc_put_local()
/linux/net/hsr/
H A Dhsr_framereg.c499 call_rcu(&node_curr->rcu_head, hsr_free_node_rcu); in hsr_handle_sup_frame()
744 call_rcu(&node->rcu_head, hsr_free_node_rcu); in hsr_prune_nodes()
778 call_rcu(&node->rcu_head, hsr_free_node_rcu); in hsr_prune_proxy_nodes()
/linux/scripts/coccinelle/api/
H A Datomic_as_refcounter.cocci21 identifier fname6 =~ ".*call_rcu.*";
/linux/drivers/net/wireguard/
H A Dpeer.c220 call_rcu(&peer->rcu, rcu_release); in kref_release()
H A Dratelimiter.c51 call_rcu(&entry->rcu, entry_free); in entry_uninit()
/linux/Documentation/translations/zh_CN/core-api/
H A Dassoc_array.rst94 传递给 ``call_rcu()`` ,以释放它和它所指向的任何死的东西。

12345678