Home
last modified time | relevance | path

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

12345678910>>...22

/Linux-v5.4/tools/memory-model/
Dlinux-kernel.cat42 let gp = po ; [Sync-rcu | Sync-srcu] ; po?
47 let barrier = fencerel(Barrier | Rmb | Wmb | Mb | Sync-rcu | Sync-srcu |
106 * In the definition of rcu-fence below, the po term at the left-hand side
108 * out. They have been moved into the definitions of rcu-link and rb.
111 let rcu-gp = [Sync-rcu] (* Compare with gp *)
113 let rcu-rscsi = rcu-rscs^-1
121 let rcu-link = po? ; hb* ; pb* ; prop ; po
125 * critical sections (joined by rcu-link) induces order like a generalized
131 let rec rcu-order = rcu-gp | srcu-gp |
132 (rcu-gp ; rcu-link ; rcu-rscsi) |
[all …]
Dlinux-kernel.bell28 'rcu-lock (*rcu_read_lock*) ||
29 'rcu-unlock (*rcu_read_unlock*) ||
30 'sync-rcu (*synchronize_rcu*) ||
44 let rcu-rscs = let rec
56 flag ~empty Rcu-lock \ domain(rcu-rscs) as unbalanced-rcu-locking
57 flag ~empty Rcu-unlock \ range(rcu-rscs) as unbalanced-rcu-locking
76 flag ~empty rcu-rscs & (po ; [Sync-srcu] ; po) as invalid-sleep
/Linux-v5.4/lib/
Dpercpu-refcount.c118 static void percpu_ref_call_confirm_rcu(struct rcu_head *rcu) in percpu_ref_call_confirm_rcu() argument
120 struct percpu_ref *ref = container_of(rcu, struct percpu_ref, rcu); in percpu_ref_call_confirm_rcu()
133 static void percpu_ref_switch_to_atomic_rcu(struct rcu_head *rcu) in percpu_ref_switch_to_atomic_rcu() argument
135 struct percpu_ref *ref = container_of(rcu, struct percpu_ref, rcu); in percpu_ref_switch_to_atomic_rcu()
165 percpu_ref_call_confirm_rcu(rcu); in percpu_ref_switch_to_atomic_rcu()
191 call_rcu(&ref->rcu, percpu_ref_switch_to_atomic_rcu); in __percpu_ref_switch_to_atomic()
/Linux-v5.4/net/batman-adv/
Dtypes.h212 struct rcu_head rcu; member
284 struct rcu_head rcu; member
354 struct rcu_head rcu; member
507 struct rcu_head rcu; member
582 struct rcu_head rcu; member
641 struct rcu_head rcu; member
676 struct rcu_head rcu; member
745 struct rcu_head rcu; member
1499 struct rcu_head rcu; member
1530 struct rcu_head rcu; member
[all …]
/Linux-v5.4/tools/testing/radix-tree/
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-v5.4/Documentation/filesystems/
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 …]
/Linux-v5.4/net/openvswitch/
Dvport-netdev.c137 static void vport_netdev_free(struct rcu_head *rcu) in vport_netdev_free() argument
139 struct vport *vport = container_of(rcu, struct vport, rcu); in vport_netdev_free()
163 call_rcu(&vport->rcu, vport_netdev_free); in netdev_destroy()
182 call_rcu(&vport->rcu, vport_netdev_free); in ovs_netdev_tunnel_destroy()
Dflow_table.c117 static void rcu_free_flow_callback(struct rcu_head *rcu) in rcu_free_flow_callback() argument
119 struct sw_flow *flow = container_of(rcu, struct sw_flow, rcu); in rcu_free_flow_callback()
130 call_rcu(&flow->rcu, rcu_free_flow_callback); in ovs_flow_free()
193 static void flow_tbl_destroy_rcu_cb(struct rcu_head *rcu) in flow_tbl_destroy_rcu_cb() argument
195 struct table_instance *ti = container_of(rcu, struct table_instance, rcu); in flow_tbl_destroy_rcu_cb()
230 call_rcu(&ti->rcu, flow_tbl_destroy_rcu_cb); in table_instance_destroy()
231 call_rcu(&ufid_ti->rcu, flow_tbl_destroy_rcu_cb); in table_instance_destroy()
559 kfree_rcu(mask, rcu); in flow_mask_remove()
663 call_rcu(&ti->rcu, flow_tbl_destroy_rcu_cb); in flow_key_insert()
685 call_rcu(&ti->rcu, flow_tbl_destroy_rcu_cb); in flow_ufid_insert()
/Linux-v5.4/drivers/gpu/drm/scheduler/
Dsched_fence.c93 static void drm_sched_fence_free(struct rcu_head *rcu) in drm_sched_fence_free() argument
95 struct dma_fence *f = container_of(rcu, struct dma_fence, rcu); in drm_sched_fence_free()
114 call_rcu(&fence->finished.rcu, drm_sched_fence_free); in drm_sched_fence_release_scheduled()
/Linux-v5.4/net/mac802154/
Dllsec.h32 struct rcu_head rcu; member
44 struct rcu_head rcu; member
50 struct rcu_head rcu; member
/Linux-v5.4/tools/testing/selftests/rcutorture/doc/
Drcu-test-image.txt1 This document describes one way to create the rcu-test-image file
10 dd if=/dev/zero of=rcu-test-image bs=400M count=1
11 mkfs.ext3 ./rcu-test-image
12 sudo mount -o loop ./rcu-test-image /mnt
/Linux-v5.4/security/keys/
Drequest_key_auth.c122 static void request_key_auth_rcu_disposal(struct rcu_head *rcu) in request_key_auth_rcu_disposal() argument
125 container_of(rcu, struct request_key_auth, rcu); in request_key_auth_rcu_disposal()
141 call_rcu(&rka->rcu, request_key_auth_rcu_disposal); in request_key_auth_revoke()
154 call_rcu(&rka->rcu, request_key_auth_rcu_disposal); in request_key_auth_destroy()
/Linux-v5.4/include/net/
Dif_inet6.h74 struct rcu_head rcu; member
96 struct rcu_head rcu; member
149 struct rcu_head rcu; member
207 struct rcu_head rcu; member
/Linux-v5.4/kernel/bpf/
Dlocal_storage.c165 kfree_rcu(new, rcu); in cgroup_storage_update_elem()
523 static void free_shared_cgroup_storage_rcu(struct rcu_head *rcu) in free_shared_cgroup_storage_rcu() argument
526 container_of(rcu, struct bpf_cgroup_storage, rcu); in free_shared_cgroup_storage_rcu()
532 static void free_percpu_cgroup_storage_rcu(struct rcu_head *rcu) in free_percpu_cgroup_storage_rcu() argument
535 container_of(rcu, struct bpf_cgroup_storage, rcu); in free_percpu_cgroup_storage_rcu()
557 call_rcu(&storage->rcu, free_shared_cgroup_storage_rcu); in bpf_cgroup_storage_free()
559 call_rcu(&storage->rcu, free_percpu_cgroup_storage_rcu); in bpf_cgroup_storage_free()
Ddevmap.c71 struct rcu_head rcu; member
509 static void __dev_map_entry_free(struct rcu_head *rcu) in __dev_map_entry_free() argument
513 dev = container_of(rcu, struct bpf_dtab_netdev, rcu); in __dev_map_entry_free()
539 call_rcu(&old_dev->rcu, __dev_map_entry_free); in dev_map_delete_elem()
557 call_rcu(&old_dev->rcu, __dev_map_entry_free); in dev_map_hash_delete_elem()
633 call_rcu(&old_dev->rcu, __dev_map_entry_free); in __dev_map_update_elem()
675 call_rcu(&dev->rcu, __dev_map_entry_free); in __dev_map_hash_update_elem()
686 call_rcu(&old_dev->rcu, __dev_map_entry_free); in __dev_map_hash_update_elem()
742 call_rcu(&dev->rcu, __dev_map_entry_free); in dev_map_hash_remove_netdev()
777 call_rcu(&dev->rcu, in dev_map_notification()
/Linux-v5.4/tools/memory-model/Documentation/
Dexplanation.txt30 22. RCU RELATIONS: rcu-link, rcu-gp, rcu-rscsi, rcu-fence, and rb
883 "rcu" axiom is specific to the LKMM.
1428 RCU RELATIONS: rcu-link, rcu-gp, rcu-rscsi, rcu-fence, and rb
1504 rcu-link relation. rcu-link encompasses a very general notion of
1507 E ->rcu-link F includes cases where E is po-before some memory-access
1511 The formal definition of the rcu-link relation is more than a little
1515 about rcu-link is the information in the preceding paragraph.
1517 The LKMM also defines the rcu-gp and rcu-rscsi relations. They bring
1521 E ->rcu-gp F means that E and F are in fact the same event,
1525 E ->rcu-rscsi F means that E and F are the rcu_read_unlock()
[all …]
/Linux-v5.4/fs/btrfs/
Drcu-string.h10 struct rcu_head rcu; member
28 kfree_rcu(str, rcu); in rcu_string_free()
/Linux-v5.4/fs/afs/
Dvl_list.c31 static void afs_vlserver_rcu(struct rcu_head *rcu) in afs_vlserver_rcu() argument
33 struct afs_vlserver *vlserver = container_of(rcu, struct afs_vlserver, rcu); in afs_vlserver_rcu()
36 kfree_rcu(vlserver, rcu); in afs_vlserver_rcu()
46 call_rcu(&vlserver->rcu, afs_vlserver_rcu); in afs_put_vlserver()
75 kfree_rcu(vllist, rcu); in afs_put_vlserverlist()
/Linux-v5.4/Documentation/devicetree/bindings/mips/lantiq/
Drcu.txt17 "lantiq,xrx200-rcu", "simple-mfd", "syscon"
23 rcu0: rcu@203000 {
24 compatible = "lantiq,xrx200-rcu", "simple-mfd", "syscon";
/Linux-v5.4/fs/ecryptfs/
Ddentry.c57 container_of(head, struct ecryptfs_dentry_info, rcu)); in ecryptfs_dentry_free_rcu()
71 call_rcu(&p->rcu, ecryptfs_dentry_free_rcu); in ecryptfs_d_release()
/Linux-v5.4/security/safesetid/
Dsecurityfs.c60 static void __release_ruleset(struct rcu_head *rcu) in __release_ruleset() argument
63 container_of(rcu, struct setuid_ruleset, rcu); in __release_ruleset()
76 call_rcu(&pol->rcu, __release_ruleset); in release_ruleset()
/Linux-v5.4/security/selinux/
Dibpkey.c40 struct rcu_head rcu; member
112 kfree_rcu(tail, rcu); in sel_ib_pkey_insert()
214 kfree_rcu(pkey, rcu); in sel_ib_pkey_flush()
Dnetport.c47 struct rcu_head rcu; member
121 kfree_rcu(tail, rcu); in sel_netport_insert()
217 kfree_rcu(port, rcu); in sel_netport_flush()
/Linux-v5.4/drivers/gpu/drm/i915/gem/
Di915_gem_context_types.h33 struct rcu_head rcu; member
130 struct rcu_head rcu; member
/Linux-v5.4/Documentation/devicetree/bindings/watchdog/
Dlantiq-wdt.txt14 - lantiq,rcu : A phandle to the RCU syscon (required for
23 lantiq,rcu = <&rcu0>;

12345678910>>...22