Home
last modified time | relevance | path

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

12345678910>>...30

/openbmc/linux/tools/memory-model/
H A Dlinux-kernel.cat54 let gp = po ; [Sync-rcu | Sync-srcu] ; po?
59 let barrier = fencerel(Barrier | Rmb | Wmb | Mb | Sync-rcu | Sync-srcu |
119 * In the definition of rcu-fence below, the po term at the left-hand side
121 * out. They have been moved into the definitions of rcu-link and rb.
124 let rcu-gp = [Sync-rcu] (* Compare with gp *)
126 let rcu-rscsi = rcu-rscs^-1
134 let rcu-link = po? ; hb* ; pb* ; prop ; po
138 * critical sections (joined by rcu-link) induces order like a generalized
144 let rec rcu-order = rcu-gp | srcu-gp |
145 (rcu-gp ; rcu-link ; rcu-rscsi) |
[all …]
H A Dlinux-kernel.bell28 'rcu-lock (*rcu_read_lock*) ||
29 'rcu-unlock (*rcu_read_unlock*) ||
30 'sync-rcu (*synchronize_rcu*) ||
45 let rcu-rscs = let rec
57 flag ~empty Rcu-lock \ domain(rcu-rscs) as unmatched-rcu-lock
58 flag ~empty Rcu-unlock \ range(rcu-rscs) as unmatched-rcu-unlock
70 flag ~empty rcu-rscs & (po ; [Sync-srcu] ; po) as invalid-sleep
/openbmc/linux/kernel/bpf/
H A Dbpf_local_storage.c115 static void __bpf_local_storage_free_trace_rcu(struct rcu_head *rcu) in __bpf_local_storage_free_trace_rcu() argument
122 local_storage = container_of(rcu, struct bpf_local_storage, rcu); in __bpf_local_storage_free_trace_rcu()
126 kfree_rcu(local_storage, rcu); in __bpf_local_storage_free_trace_rcu()
129 static void bpf_local_storage_free_rcu(struct rcu_head *rcu) in bpf_local_storage_free_rcu() argument
133 local_storage = container_of(rcu, struct bpf_local_storage, rcu); in bpf_local_storage_free_rcu()
137 static void bpf_local_storage_free_trace_rcu(struct rcu_head *rcu) in bpf_local_storage_free_trace_rcu() argument
140 bpf_local_storage_free_rcu(rcu); in bpf_local_storage_free_trace_rcu()
142 call_rcu(rcu, bpf_local_storage_free_rcu); in bpf_local_storage_free_trace_rcu()
150 kfree_rcu(local_storage, rcu); in __bpf_local_storage_free()
152 call_rcu_tasks_trace(&local_storage->rcu, in __bpf_local_storage_free()
[all …]
H A Dlocal_storage.c177 kfree_rcu(new, rcu); in cgroup_storage_update_elem()
540 static void free_shared_cgroup_storage_rcu(struct rcu_head *rcu) in free_shared_cgroup_storage_rcu() argument
543 container_of(rcu, struct bpf_cgroup_storage, rcu); in free_shared_cgroup_storage_rcu()
549 static void free_percpu_cgroup_storage_rcu(struct rcu_head *rcu) in free_percpu_cgroup_storage_rcu() argument
552 container_of(rcu, struct bpf_cgroup_storage, rcu); in free_percpu_cgroup_storage_rcu()
569 call_rcu(&storage->rcu, free_shared_cgroup_storage_rcu); in bpf_cgroup_storage_free()
571 call_rcu(&storage->rcu, free_percpu_cgroup_storage_rcu); in bpf_cgroup_storage_free()
/openbmc/linux/net/batman-adv/
H A Dtypes.h205 struct rcu_head rcu; member
277 struct rcu_head rcu; member
347 struct rcu_head rcu; member
500 struct rcu_head rcu; member
575 struct rcu_head rcu; member
634 struct rcu_head rcu; member
669 struct rcu_head rcu; member
738 struct rcu_head rcu; member
1485 struct rcu_head rcu; member
1513 struct rcu_head rcu; member
[all …]
/openbmc/linux/include/net/
H A Dif_inet6.h80 struct rcu_head rcu; member
87 struct rcu_head rcu; member
99 struct rcu_head rcu; member
109 struct rcu_head rcu; member
133 struct rcu_head rcu; member
153 struct rcu_head rcu; member
219 struct rcu_head rcu; member
/openbmc/linux/include/linux/
H A Dwatch_queue.h30 struct rcu_head rcu; member
39 struct rcu_head rcu; member
56 struct rcu_head rcu; member
73 struct rcu_head rcu; member
115 kfree_rcu(wlist, rcu); in remove_watch_list()
H A Drcupdate.h464 #define unrcu_pointer(p) __unrcu_pointer(p, __UNIQUE_ID(rcu))
492 #define rcu_dereference_raw(p) __rcu_dereference_raw(p, __UNIQUE_ID(rcu))
587 #define rcu_access_pointer(p) __rcu_access_pointer((p), __UNIQUE_ID(rcu), __rcu)
623 __rcu_dereference_check((p), __UNIQUE_ID(rcu), \
639 __rcu_dereference_check((p), __UNIQUE_ID(rcu), \
655 __rcu_dereference_check((p), __UNIQUE_ID(rcu), \
667 __rcu_dereference_check((p), __UNIQUE_ID(rcu), 1, __rcu)
686 __rcu_dereference_protected((p), __UNIQUE_ID(rcu), (c), __rcu)
1098 DEFINE_LOCK_GUARD_0(rcu, rcu_read_lock(), rcu_read_unlock())
H A Dcontext_tracking.h151 static __always_inline void warn_rcu_exit(bool rcu) in warn_rcu_exit() argument
153 if (rcu) in warn_rcu_exit()
163 static __always_inline void warn_rcu_exit(bool rcu) { } in warn_rcu_exit() argument
/openbmc/linux/lib/
H A Dpercpu-refcount.c150 static void percpu_ref_call_confirm_rcu(struct rcu_head *rcu) in percpu_ref_call_confirm_rcu() argument
152 struct percpu_ref_data *data = container_of(rcu, in percpu_ref_call_confirm_rcu()
153 struct percpu_ref_data, rcu); in percpu_ref_call_confirm_rcu()
167 static void percpu_ref_switch_to_atomic_rcu(struct rcu_head *rcu) in percpu_ref_switch_to_atomic_rcu() argument
169 struct percpu_ref_data *data = container_of(rcu, in percpu_ref_switch_to_atomic_rcu()
170 struct percpu_ref_data, rcu); in percpu_ref_switch_to_atomic_rcu()
206 percpu_ref_call_confirm_rcu(rcu); in percpu_ref_switch_to_atomic_rcu()
233 call_rcu_hurry(&ref->data->rcu, in __percpu_ref_switch_to_atomic()
/openbmc/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()
/openbmc/linux/net/openvswitch/
H A Dflow_table.c128 static void rcu_free_flow_callback(struct rcu_head *rcu) in rcu_free_flow_callback() argument
130 struct sw_flow *flow = container_of(rcu, struct sw_flow, rcu); in rcu_free_flow_callback()
141 call_rcu(&flow->rcu, rcu_free_flow_callback); in ovs_flow_free()
183 static void mask_array_rcu_cb(struct rcu_head *rcu) in mask_array_rcu_cb() argument
185 struct mask_array *ma = container_of(rcu, struct mask_array, rcu); in mask_array_rcu_cb()
265 call_rcu(&old->rcu, mask_array_rcu_cb); in tbl_mask_array_realloc()
322 kfree_rcu(mask, rcu); in tbl_mask_array_del_mask()
355 static void mask_cache_rcu_cb(struct rcu_head *rcu) in mask_cache_rcu_cb() argument
357 struct mask_cache *mc = container_of(rcu, struct mask_cache, rcu); in mask_cache_rcu_cb()
409 call_rcu(&mc->rcu, mask_cache_rcu_cb); in ovs_flow_tbl_masks_cache_resize()
[all …]
H A Dvport-netdev.c136 static void vport_netdev_free(struct rcu_head *rcu) in vport_netdev_free() argument
138 struct vport *vport = container_of(rcu, struct vport, rcu); in vport_netdev_free()
161 call_rcu(&vport->rcu, vport_netdev_free); in netdev_destroy()
180 call_rcu(&vport->rcu, vport_netdev_free); in ovs_netdev_tunnel_destroy()
H A Dflow_table.h31 struct rcu_head rcu; member
47 struct rcu_head rcu; member
57 struct rcu_head rcu; member
/openbmc/linux/Documentation/filesystems/
H A Dpath-lookup.txt36 even stores into cachelines of common dentries). This is known as "rcu-walk"
203 Inodes are also rcu freed, so the seqcount lookup dentry's inode may also be
212 Path walking code now has two distinct modes, ref-walk and rcu-walk. ref-walk
216 walking is operating on each dentry. rcu-walk uses seqcount based dentry
218 shared data in the dentry or inode. rcu-walk can not be applied to all cases,
219 eg. if the filesystem must sleep or perform non trivial operations, rcu-walk
226 path string, rcu-walk uses a d_seq protected snapshot. When looking up a
246 +---------------------+ rcu-walk begins here, we note d_seq, check the
273 Taking a refcount on a dentry from rcu-walk mode, by taking its d_lock,
275 "dropping rcu" or dropping from rcu-walk into ref-walk mode.
[all …]
/openbmc/linux/drivers/net/wireguard/
H A Dallowedips.c51 static void node_free_rcu(struct rcu_head *rcu) in node_free_rcu() argument
53 kmem_cache_free(node_cache, container_of(rcu, struct allowedips_node, rcu)); in node_free_rcu()
56 static void root_free_rcu(struct rcu_head *rcu) in root_free_rcu() argument
59 container_of(rcu, struct allowedips_node, rcu) }; in root_free_rcu()
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()
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()
/openbmc/linux/fs/fuse/
H A Dacl.c16 struct inode *inode, int type, bool rcu) in __fuse_get_acl() argument
23 if (rcu) in __fuse_get_acl()
80 struct posix_acl *fuse_get_inode_acl(struct inode *inode, int type, bool rcu) in fuse_get_inode_acl() argument
94 return __fuse_get_acl(fc, &nop_mnt_idmap, inode, type, rcu); in fuse_get_inode_acl()
/openbmc/linux/net/mac802154/
H A Dllsec.h32 struct rcu_head rcu; member
44 struct rcu_head rcu; member
50 struct rcu_head rcu; member
/openbmc/linux/security/keys/
H A Drequest_key_auth.c121 static void request_key_auth_rcu_disposal(struct rcu_head *rcu) in request_key_auth_rcu_disposal() argument
124 container_of(rcu, struct request_key_auth, rcu); in request_key_auth_rcu_disposal()
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()
/openbmc/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
/openbmc/linux/drivers/gpu/drm/scheduler/
H A Dsched_fence.c98 static void drm_sched_fence_free_rcu(struct rcu_head *rcu) in drm_sched_fence_free_rcu() argument
100 struct dma_fence *f = container_of(rcu, struct dma_fence, rcu); in drm_sched_fence_free_rcu()
135 call_rcu(&fence->finished.rcu, drm_sched_fence_free_rcu); in drm_sched_fence_release_scheduled()
/openbmc/linux/net/rxrpc/
H A Dtxbuf.c74 static void rxrpc_free_txbuf(struct rcu_head *rcu) in rxrpc_free_txbuf() argument
76 struct rxrpc_txbuf *txb = container_of(rcu, struct rxrpc_txbuf, rcu); in rxrpc_free_txbuf()
98 call_rcu(&txb->rcu, rxrpc_free_txbuf); in rxrpc_put_txbuf()
/openbmc/linux/kernel/
H A Dtracepoint.c39 unsigned long rcu; member
52 snapshot->rcu = get_state_synchronize_rcu(); in tp_rcu_get_state()
63 cond_synchronize_rcu(snapshot->rcu); in tp_rcu_cond_sync()
97 struct rcu_head rcu; member
116 kfree(container_of(head, struct tp_probes, rcu)); in srcu_free_old_probes()
153 tp_probes->rcu.next = early_probes; in release_probes()
154 early_probes = &tp_probes->rcu; in release_probes()
164 call_rcu(&tp_probes->rcu, rcu_free_old_probes); in release_probes()

12345678910>>...30