Home
last modified time | relevance | path

Searched refs:srcu_struct (Results 1 – 25 of 32) sorted by relevance

12

/Linux-v4.19/include/linux/
Dsrcu.h37 struct srcu_struct;
41 int __init_srcu_struct(struct srcu_struct *sp, const char *name,
54 int init_srcu_struct(struct srcu_struct *sp);
67 struct srcu_struct { }; struct
70 void call_srcu(struct srcu_struct *sp, struct rcu_head *head,
72 void _cleanup_srcu_struct(struct srcu_struct *sp, bool quiesced);
73 int __srcu_read_lock(struct srcu_struct *sp) __acquires(sp);
74 void __srcu_read_unlock(struct srcu_struct *sp, int idx) __releases(sp);
75 void synchronize_srcu(struct srcu_struct *sp);
84 static inline void cleanup_srcu_struct(struct srcu_struct *sp) in cleanup_srcu_struct()
[all …]
Dsrcutiny.h29 struct srcu_struct { struct
59 struct srcu_struct name = __SRCU_STRUCT_INIT(name, name) argument
61 static struct srcu_struct name = __SRCU_STRUCT_INIT(name, name)
63 void synchronize_srcu(struct srcu_struct *sp);
71 static inline int __srcu_read_lock(struct srcu_struct *sp) in __srcu_read_lock()
80 static inline void synchronize_srcu_expedited(struct srcu_struct *sp) in synchronize_srcu_expedited()
85 static inline void srcu_barrier(struct srcu_struct *sp) in srcu_barrier()
91 static inline void srcu_torture_stats_print(struct srcu_struct *sp, in srcu_torture_stats_print()
Dsrcutree.h31 struct srcu_struct;
54 struct srcu_struct *sp;
76 struct srcu_struct { struct
136 is_static struct srcu_struct name = __SRCU_STRUCT_INIT(name, name##_srcu_data)
140 void synchronize_srcu_expedited(struct srcu_struct *sp);
141 void srcu_barrier(struct srcu_struct *sp);
142 void srcu_torture_stats_print(struct srcu_struct *sp, char *tt, char *tf);
Dnotifier.h76 struct srcu_struct srcu;
Dblk-mq.h74 struct srcu_struct srcu[0];
Dtracepoint.h37 extern struct srcu_struct tracepoint_srcu;
Dkvm_host.h454 struct srcu_struct srcu;
455 struct srcu_struct irq_srcu;
/Linux-v4.19/kernel/rcu/
Dsrcutree.c55 static void srcu_reschedule(struct srcu_struct *sp, unsigned long delay);
91 static void init_srcu_struct_nodes(struct srcu_struct *sp, bool is_static) in init_srcu_struct_nodes()
175 static int init_srcu_struct_fields(struct srcu_struct *sp, bool is_static) in init_srcu_struct_fields()
196 int __init_srcu_struct(struct srcu_struct *sp, const char *name, in __init_srcu_struct()
217 int init_srcu_struct(struct srcu_struct *sp) in init_srcu_struct()
234 static void check_init_srcu_struct(struct srcu_struct *sp) in check_init_srcu_struct()
255 static unsigned long srcu_readers_lock_idx(struct srcu_struct *sp, int idx) in srcu_readers_lock_idx()
272 static unsigned long srcu_readers_unlock_idx(struct srcu_struct *sp, int idx) in srcu_readers_unlock_idx()
289 static bool srcu_readers_active_idx_check(struct srcu_struct *sp, int idx) in srcu_readers_active_idx_check()
341 static bool srcu_readers_active(struct srcu_struct *sp) in srcu_readers_active()
[all …]
Dsrcutiny.c38 static int init_srcu_struct_fields(struct srcu_struct *sp) in init_srcu_struct_fields()
54 int __init_srcu_struct(struct srcu_struct *sp, const char *name, in __init_srcu_struct()
74 int init_srcu_struct(struct srcu_struct *sp) in init_srcu_struct()
89 void _cleanup_srcu_struct(struct srcu_struct *sp, bool quiesced) in _cleanup_srcu_struct()
107 void __srcu_read_unlock(struct srcu_struct *sp, int idx) in __srcu_read_unlock()
127 struct srcu_struct *sp; in srcu_drive_gp()
129 sp = container_of(wp, struct srcu_struct, srcu_work); in srcu_drive_gp()
171 void call_srcu(struct srcu_struct *sp, struct rcu_head *rhp, in call_srcu()
190 void synchronize_srcu(struct srcu_struct *sp) in synchronize_srcu()
Drcu.h499 struct srcu_struct *sp, int *flags, in srcutorture_get_gp_data()
511 struct srcu_struct *sp, int *flags,
523 srcu_batches_completed(struct srcu_struct *sp) { return 0; } in srcu_batches_completed()
535 unsigned long srcu_batches_completed(struct srcu_struct *sp);
Drcuperf.c227 static struct srcu_struct *srcu_ctlp = &srcu_ctl_perf;
279 static struct srcu_struct srcud;
Drcutorture.c526 static struct srcu_struct srcu_ctld;
527 static struct srcu_struct *srcu_ctlp = &srcu_ctl;
/Linux-v4.19/tools/testing/selftests/rcutorture/formal/srcu-cbmc/src/
Dsimple_sync_srcu.c25 bool try_check_zero(struct srcu_struct *sp, int idx, int trycount);
26 void srcu_flip(struct srcu_struct *sp);
29 void synchronize_srcu(struct srcu_struct *sp) in synchronize_srcu()
/Linux-v4.19/fs/notify/
Dfsnotify.h28 extern struct srcu_struct fsnotify_mark_srcu;
Dmark.c93 struct srcu_struct fsnotify_mark_srcu;
/Linux-v4.19/arch/x86/include/asm/
Dkvm_page_track.h18 struct srcu_struct track_srcu;
/Linux-v4.19/drivers/md/
Ddm-core.h129 struct srcu_struct io_barrier;
/Linux-v4.19/Documentation/RCU/
Dchecklist.txt225 srcu_read_unlock(), and with the same srcu_struct. The rules for
384 "struct srcu_struct" that defines the scope of a given
385 SRCU domain. Once initialized, the srcu_struct is passed
390 calls that have been passed the same srcu_struct. This property
399 srcu_read_unlock() calls must be passed the same srcu_struct.
401 over those updates sharing a given srcu_struct, rather than
/Linux-v4.19/drivers/infiniband/core/
Duverbs.h110 struct srcu_struct disassociate_srcu;
/Linux-v4.19/drivers/nvme/host/
Dnvme.h289 struct srcu_struct srcu;
/Linux-v4.19/drivers/gpu/drm/amd/amdkfd/
Dkfd_priv.h705 extern struct srcu_struct kfd_processes_srcu;
/Linux-v4.19/security/tomoyo/
Dcommon.h1083 extern struct srcu_struct tomoyo_ss;
/Linux-v4.19/drivers/pci/controller/
Dvmd.c80 struct srcu_struct srcu;
/Linux-v4.19/include/linux/mlx5/
Ddriver.h714 struct srcu_struct pfault_srcu;
/Linux-v4.19/drivers/hwtracing/stm/
Dcore.c34 static struct srcu_struct stm_source_srcu;

12