Home
last modified time | relevance | path

Searched refs:rcu (Results 1 – 25 of 738) sorted by relevance

12345678910>>...30

/linux/tools/memory-model/
H A Dlinux-kernel.cat64 let gp = po ; [Sync-rcu | Sync-srcu] ; po?
69 let barrier = fencerel(Barrier | Rmb | Wmb | Mb | Sync-rcu | Sync-srcu |
129 * In the definition of rcu-fence below, the po term at the left-hand side
131 * out. They have been moved into the definitions of rcu-link and rb.
134 let rcu-gp = [Sync-rcu] (* Compare with gp *)
136 let rcu-rscsi = rcu-rscs^-1
144 let rcu-link = po? ; hb* ; pb* ; prop ; po
148 * critical sections (joined by rcu
[all...]
H A Dlinux-kernel.bell29 'rcu-lock (*rcu_read_lock*) ||
30 'rcu-unlock (*rcu_read_unlock*) ||
31 'sync-rcu (*synchronize_rcu*) ||
57 let rcu-rscs = let rec
69 flag ~empty Rcu-lock \ domain(rcu-rscs) as unmatched-rcu-lock
70 flag ~empty Rcu-unlock \ range(rcu-rscs) as unmatched-rcu-unlock
82 flag ~empty rcu-rscs & (po ; [Sync-srcu] ; po) as invalid-sleep
/linux/io_uring/
H A Deventfd.c21 struct rcu_head rcu; member
28 static void io_eventfd_free(struct rcu_head *rcu) in io_eventfd_free() argument
30 struct io_ev_fd *ev_fd = container_of(rcu, struct io_ev_fd, rcu); in io_eventfd_free()
39 call_rcu(&ev_fd->rcu, io_eventfd_free); in io_eventfd_put()
42 static void io_eventfd_do_signal(struct rcu_head *rcu) in io_eventfd_do_signal() argument
44 struct io_ev_fd *ev_fd = container_of(rcu, struct io_ev_fd, rcu); in io_eventfd_do_signal()
61 call_rcu_hurry(&ev_fd->rcu, io_eventfd_do_signal); in __io_eventfd_signal()
82 guard(rcu)(); in io_eventfd_signal() local
H A Dnapi.c18 struct rcu_head rcu; member
53 scoped_guard(rcu) { in __io_napi_add_id()
107 kfree_rcu(e, rcu); in __io_napi_del_id()
120 kfree_rcu(e, rcu); in __io_napi_remove_stale()
223 scoped_guard(rcu) { in io_napi_blocking_busy_loop()
263 kfree_rcu(e, rcu);
396 scoped_guard(rcu) { in io_napi_sqpoll_busy_poll()
/linux/lib/
H A Dbug.c73 guard(rcu)(); in module_find_bug() local
271 bool rcu; in report_bug_entry() local
273 rcu = warn_rcu_enter(); in report_bug_entry()
275 warn_rcu_exit(rcu); in report_bug_entry()
283 bool rcu; in report_bug() local
285 rcu = warn_rcu_enter(); in report_bug()
287 warn_rcu_exit(rcu); in report_bug()
305 scoped_guard(rcu) { in generic_bug_clear_once()
H A Dtest_objpool.c38 struct completion rcu; member
131 struct rcu_head rcu; member
141 init_completion(&data->rcu); in ot_init_data()
419 static void ot_fini_async_rcu(struct rcu_head *rcu) in ot_fini_async_rcu() argument
421 struct ot_context *sop = container_of(rcu, struct ot_context, rcu); in ot_fini_async_rcu()
428 complete(&test->data.rcu); in ot_fini_async_rcu()
434 call_rcu(&sop->rcu, ot_fini_async_rcu); in ot_fini_async()
591 wait_for_completion(&test->data.rcu); in ot_start_async()
/linux/net/batman-adv/
H A Dtypes.h209 /** @rcu: struct used for freeing in an RCU-safe manner */
210 struct rcu_head rcu; member
249 /** @rcu: struct used for freeing in an RCU-safe manner */
250 struct rcu_head rcu; member
321 /** @rcu: struct used for freeing in an RCU-safe manner */
322 struct rcu_head rcu; member
391 /** @rcu: struct used for freeing in a RCU-safe manner */
392 struct rcu_head rcu; member
544 /** @rcu: struct used for freeing in an RCU-safe manner */
545 struct rcu_head rcu; member
603 struct rcu_head rcu; global() member
659 struct rcu_head rcu; global() member
701 struct rcu_head rcu; global() member
770 struct rcu_head rcu; global() member
1364 struct rcu_head rcu; global() member
1509 struct rcu_head rcu; global() member
1805 struct rcu_head rcu; global() member
1831 struct rcu_head rcu; global() member
1864 struct rcu_head rcu; global() member
1924 struct rcu_head rcu; global() member
2196 struct rcu_head rcu; global() member
2285 struct rcu_head rcu; global() member
[all...]
/linux/include/net/
H A Dif_inet6.h80 struct rcu_head rcu; member
87 struct rcu_head rcu; member
97 struct rcu_head rcu; member
107 struct rcu_head rcu; member
131 struct rcu_head rcu; member
151 struct rcu_head rcu; member
217 struct rcu_head rcu; member
/linux/include/linux/
H A Dwatch_queue.h30 struct rcu_head rcu; member
39 struct rcu_head rcu; member
55 struct rcu_head rcu;
71 struct rcu_head rcu;
113 kfree_rcu(wlist, rcu); in remove_watch_list()
56 struct rcu_head rcu; global() member
73 struct rcu_head rcu; global() member
H A Drcupdate.h372 * ("rcu: Reject RCU_LOCKDEP_WARN() false positives") for more detail.
500 #define unrcu_pointer(p) __unrcu_pointer(p, __UNIQUE_ID(rcu))
528 #define rcu_dereference_raw(p) __rcu_dereference_raw(p, __UNIQUE_ID(rcu))
625 #define rcu_access_pointer(p) __rcu_access_pointer((p), __UNIQUE_ID(rcu), __rcu)
661 __rcu_dereference_check((p), __UNIQUE_ID(rcu), \
677 __rcu_dereference_check((p), __UNIQUE_ID(rcu), \
693 __rcu_dereference_check((p), __UNIQUE_ID(rcu), \
711 __rcu_dereference_check((p), __UNIQUE_ID(rcu), \
723 __rcu_dereference_check((p), __UNIQUE_ID(rcu), 1, __rcu)
742 __rcu_dereference_protected((p), __UNIQUE_ID(rcu), (
[all...]
H A Dcontext_tracking.h157 static __always_inline void warn_rcu_exit(bool rcu) in warn_rcu_exit() argument
159 if (rcu) in warn_rcu_exit()
169 static __always_inline void warn_rcu_exit(bool rcu) { } in warn_rcu_exit() argument
H A Digmp.h42 struct rcu_head rcu;
57 struct rcu_head rcu;
67 struct rcu_head rcu;
94 struct rcu_head rcu;
41 struct rcu_head rcu; global() member
56 struct rcu_head rcu; global() member
66 struct rcu_head rcu; global() member
93 struct rcu_head rcu; global() member
/linux/rust/kernel/
H A Drevocable.rs17 rcu, //
53 /// Sample example as above, but explicitly using the rcu read side lock.
57 /// use kernel::sync::rcu;
65 /// let guard = rcu::read_lock();
109 let guard = rcu::read_lock();
124 /// remain accessible while the rcu read side guard is alive. In such cases, callers are not in try_access_with_guard()
127 pub fn try_access_with_guard<'a>(&'a self, _guard: &'a rcu::Guard) -> Option<&'a T> {
173 rcu::synchronize_rcu(); in revoke_internal()
249 _rcu_guard: rcu::Guard, in new()
254 fn new(data_ref: *const T, rcu_guard: rcu
[all...]
/linux/tools/testing/radix-tree/
H A Dregression1.c50 struct rcu_head rcu; member
66 static void page_rcu_free(struct rcu_head *rcu) in page_rcu_free() argument
68 struct page *p = container_of(rcu, struct page, rcu); in page_rcu_free()
76 call_rcu(&p->rcu, page_rcu_free); in page_free()
/linux/net/openvswitch/
H A Dflow_table.c125 static void rcu_free_flow_callback(struct rcu_head *rcu) in flow_free()
127 struct sw_flow *flow = container_of(rcu, struct sw_flow, rcu); in rcu_free_flow_callback() argument
138 call_rcu(&flow->rcu, rcu_free_flow_callback); in ovs_flow_free()
179 static void mask_array_rcu_cb(struct rcu_head *rcu) in __mask_array_destroy()
181 struct mask_array *ma = container_of(rcu, struct mask_array, rcu); in mask_array_rcu_cb() argument
263 call_rcu(&old->rcu, mask_array_rcu_cb); in tbl_mask_array_realloc()
317 kfree_rcu(mask, rcu); in tbl_mask_array_del_mask()
350 static void mask_cache_rcu_cb(struct rcu_head *rcu) in __mask_cache_destroy()
352 mask_cache_rcu_cb(struct rcu_head * rcu) mask_cache_rcu_cb() argument
451 flow_tbl_destroy_rcu_cb(struct rcu_head * rcu) flow_tbl_destroy_rcu_cb() argument
[all...]
H A Dvport-netdev.c159 static void vport_netdev_free(struct rcu_head *rcu)
161 struct vport *vport = container_of(rcu, struct vport, rcu); in vport_netdev_free()
200 call_rcu(&vport->rcu, vport_netdev_free); in netdev_destroy()
160 vport_netdev_free(struct rcu_head * rcu) vport_netdev_free() argument
H A Dflow_table.h31 struct rcu_head rcu; member
47 struct rcu_head rcu; member
57 struct rcu_head rcu; member
/linux/include/rv/
H A Dda_monitor.h412 struct rcu_head rcu; member
512 guard(rcu)(); in da_create_or_get() local
538 guard(rcu)(); in da_get_target_by_id() local
560 guard(rcu)(); in da_destroy_storage() local
567 kfree_rcu(mon_storage, rcu); in da_destroy_storage()
575 guard(rcu)(); in __da_monitor_reset_all() local
858 guard(rcu)(); in da_handle_event() local
879 guard(rcu)(); in da_handle_start_event() local
898 guard(rcu)(); in da_handle_start_run_event() local
910 guard(rcu)(); in da_reset() local
/linux/drivers/net/wireguard/
H A Dratelimiter.c31 struct rcu_head rcu; member
41 static void entry_free(struct rcu_head *rcu) in entry_free() argument
44 container_of(rcu, struct ratelimiter_entry, rcu)); in entry_free()
51 call_rcu(&entry->rcu, entry_free); in entry_uninit()
H A Dpeer.c186 static void rcu_release(struct rcu_head *rcu) in rcu_release() argument
188 struct wg_peer *peer = container_of(rcu, struct wg_peer, rcu); in rcu_release()
220 call_rcu(&peer->rcu, rcu_release); in kref_release()
/linux/fs/fuse/
H A Dacl.c13 struct inode *inode, int type, bool rcu) in __fuse_get_acl() argument
20 if (rcu) in __fuse_get_acl()
77 struct posix_acl *fuse_get_inode_acl(struct inode *inode, int type, bool rcu) in fuse_get_inode_acl() argument
90 return __fuse_get_acl(fc, inode, type, rcu); in fuse_get_inode_acl()
/linux/net/mac802154/
H A Dllsec.h32 struct rcu_head rcu; member
44 struct rcu_head rcu; member
50 struct rcu_head rcu; member
/linux/Documentation/translations/zh_CN/core-api/
H A Dkernel-api.rst360 kernel/rcu/tree.c
362 kernel/rcu/tree_exp.h
364 kernel/rcu/update.c
368 kernel/rcu/srcutree.c
378 kernel/rcu/sync.c
/linux/kernel/sched/ext/
H A Didle.c1071 guard(rcu)();
1102 guard(rcu)(); in scx_bpf_select_cpu_dfl()
1156 guard(rcu)();
1174 guard(rcu)(); in scx_bpf_select_cpu_and()
1217 guard(rcu)(); in scx_bpf_get_idle_cpumask_node()
1242 guard(rcu)(); in scx_bpf_get_idle_cpumask()
1275 guard(rcu)(); in scx_bpf_get_idle_smtmask_node()
1304 guard(rcu)(); in scx_bpf_get_idle_smtmask()
1354 guard(rcu)(); in scx_bpf_test_and_clear_cpu_idle()
1395 guard(rcu)(); in scx_bpf_pick_idle_cpu_node()
1061 guard(rcu)(); scx_bpf_cpu_node() local
1092 guard(rcu)(); scx_bpf_select_cpu_dfl() local
1146 guard(rcu)(); __scx_bpf_select_cpu_and() local
1164 guard(rcu)(); scx_bpf_select_cpu_and() local
1207 guard(rcu)(); scx_bpf_get_idle_cpumask_node() local
1232 guard(rcu)(); scx_bpf_get_idle_cpumask() local
1265 guard(rcu)(); scx_bpf_get_idle_smtmask_node() local
1294 guard(rcu)(); scx_bpf_get_idle_smtmask() local
1344 guard(rcu)(); scx_bpf_test_and_clear_cpu_idle() local
1385 guard(rcu)(); scx_bpf_pick_idle_cpu_node() local
1426 guard(rcu)(); scx_bpf_pick_idle_cpu() local
1472 guard(rcu)(); scx_bpf_pick_any_cpu_node() local
1520 guard(rcu)(); scx_bpf_pick_any_cpu() local
[all...]
/linux/kernel/bpf/
H A Dlocal_storage.c177 kfree_rcu(new, rcu); in cgroup_storage_update_elem()
549 static void free_shared_cgroup_storage_rcu(struct rcu_head *rcu) in free_shared_cgroup_storage_rcu()
552 container_of(rcu, struct bpf_cgroup_storage, rcu); in free_shared_cgroup_storage_rcu()
558 static void free_percpu_cgroup_storage_rcu(struct rcu_head *rcu) in free_percpu_cgroup_storage_rcu()
561 container_of(rcu, struct bpf_cgroup_storage, rcu); in free_percpu_cgroup_storage_rcu()
578 call_rcu(&storage->rcu, free_shared_cgroup_storage_rcu);
580 call_rcu(&storage->rcu, free_percpu_cgroup_storage_rcu); in bpf_cgroup_storage_link()
545 free_shared_cgroup_storage_rcu(struct rcu_head * rcu) free_shared_cgroup_storage_rcu() argument
554 free_percpu_cgroup_storage_rcu(struct rcu_head * rcu) free_percpu_cgroup_storage_rcu() argument

12345678910>>...30