Home
last modified time | relevance | path

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

12

/Linux-v5.4/include/linux/
Dsrcu.h24 struct srcu_struct;
28 int __init_srcu_struct(struct srcu_struct *ssp, const char *name,
41 int init_srcu_struct(struct srcu_struct *ssp);
54 struct srcu_struct { }; struct
57 void call_srcu(struct srcu_struct *ssp, struct rcu_head *head,
59 void cleanup_srcu_struct(struct srcu_struct *ssp);
60 int __srcu_read_lock(struct srcu_struct *ssp) __acquires(ssp);
61 void __srcu_read_unlock(struct srcu_struct *ssp, int idx) __releases(ssp);
62 void synchronize_srcu(struct srcu_struct *ssp);
82 static inline int srcu_read_lock_held(const struct srcu_struct *ssp) in srcu_read_lock_held()
[all …]
Dsrcutree.h18 struct srcu_struct;
42 struct srcu_struct *ssp;
64 struct srcu_struct { struct
125 is_static struct srcu_struct name; \
126 struct srcu_struct * const __srcu_struct_##name \
131 is_static struct srcu_struct name = \
137 void synchronize_srcu_expedited(struct srcu_struct *ssp);
138 void srcu_barrier(struct srcu_struct *ssp);
139 void srcu_torture_stats_print(struct srcu_struct *ssp, char *tt, char *tf);
Dsrcutiny.h16 struct srcu_struct { struct
46 struct srcu_struct name = __SRCU_STRUCT_INIT(name, name) argument
48 static struct srcu_struct name = __SRCU_STRUCT_INIT(name, name)
50 void synchronize_srcu(struct srcu_struct *ssp);
58 static inline int __srcu_read_lock(struct srcu_struct *ssp) in __srcu_read_lock()
67 static inline void synchronize_srcu_expedited(struct srcu_struct *ssp) in synchronize_srcu_expedited()
72 static inline void srcu_barrier(struct srcu_struct *ssp) in srcu_barrier()
78 static inline void srcu_torture_stats_print(struct srcu_struct *ssp, in srcu_torture_stats_print()
Dnotifier.h76 struct srcu_struct srcu;
Dblk-mq.h76 struct srcu_struct srcu[0];
Dtracepoint.h35 extern struct srcu_struct tracepoint_srcu;
Dmodule.h455 struct srcu_struct **srcu_struct_ptrs;
Dkvm_host.h501 struct srcu_struct srcu;
502 struct srcu_struct irq_srcu;
/Linux-v5.4/kernel/rcu/
Dsrcutiny.c27 static int init_srcu_struct_fields(struct srcu_struct *ssp) in init_srcu_struct_fields()
44 int __init_srcu_struct(struct srcu_struct *ssp, const char *name, in __init_srcu_struct()
64 int init_srcu_struct(struct srcu_struct *ssp) in init_srcu_struct()
79 void cleanup_srcu_struct(struct srcu_struct *ssp) in cleanup_srcu_struct()
94 void __srcu_read_unlock(struct srcu_struct *ssp, int idx) in __srcu_read_unlock()
114 struct srcu_struct *ssp; in srcu_drive_gp()
116 ssp = container_of(wp, struct srcu_struct, srcu_work); in srcu_drive_gp()
158 void call_srcu(struct srcu_struct *ssp, struct rcu_head *rhp, in call_srcu()
181 void synchronize_srcu(struct srcu_struct *ssp) in synchronize_srcu()
206 struct srcu_struct *ssp; in srcu_init()
[all …]
Dsrcutree.c46 static void srcu_reschedule(struct srcu_struct *ssp, unsigned long delay);
83 static void init_srcu_struct_nodes(struct srcu_struct *ssp, bool is_static) in init_srcu_struct_nodes()
168 static int init_srcu_struct_fields(struct srcu_struct *ssp, bool is_static) in init_srcu_struct_fields()
189 int __init_srcu_struct(struct srcu_struct *ssp, const char *name, in __init_srcu_struct()
210 int init_srcu_struct(struct srcu_struct *ssp) in init_srcu_struct()
227 static void check_init_srcu_struct(struct srcu_struct *ssp) in check_init_srcu_struct()
247 static unsigned long srcu_readers_lock_idx(struct srcu_struct *ssp, int idx) in srcu_readers_lock_idx()
264 static unsigned long srcu_readers_unlock_idx(struct srcu_struct *ssp, int idx) in srcu_readers_unlock_idx()
281 static bool srcu_readers_active_idx_check(struct srcu_struct *ssp, int idx) in srcu_readers_active_idx_check()
333 static bool srcu_readers_active(struct srcu_struct *ssp) in srcu_readers_active()
[all …]
Drcu.h491 struct srcu_struct *sp, int *flags, in srcutorture_get_gp_data()
503 struct srcu_struct *sp, int *flags,
512 srcu_batches_completed(struct srcu_struct *sp) { return 0; } in srcu_batches_completed()
520 unsigned long srcu_batches_completed(struct srcu_struct *sp);
Drcuperf.c190 static struct srcu_struct *srcu_ctlp = &srcu_ctl_perf;
242 static struct srcu_struct srcud;
/Linux-v5.4/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-v5.4/drivers/gpu/drm/i915/gt/
Dintel_reset_types.h47 struct srcu_struct backoff_srcu;
/Linux-v5.4/fs/notify/
Dfsnotify.h34 extern struct srcu_struct fsnotify_mark_srcu;
Dmark.c81 struct srcu_struct fsnotify_mark_srcu;
/Linux-v5.4/arch/x86/include/asm/
Dkvm_page_track.h18 struct srcu_struct track_srcu;
/Linux-v5.4/drivers/md/
Ddm-core.h115 struct srcu_struct io_barrier;
/Linux-v5.4/Documentation/RCU/
Dchecklist.txt221 srcu_read_unlock(), and with the same srcu_struct. The rules for
356 "struct srcu_struct" that defines the scope of a given
357 SRCU domain. Once initialized, the srcu_struct is passed
362 calls that have been passed the same srcu_struct. This property
371 srcu_read_unlock() calls must be passed the same srcu_struct.
373 over those updates sharing a given srcu_struct, rather than
Dtorture.txt120 using a dynamically allocated srcu_struct (hence "srcud-" rather than
/Linux-v5.4/drivers/infiniband/core/
Duverbs.h111 struct srcu_struct disassociate_srcu;
/Linux-v5.4/drivers/nvme/host/
Dnvme.h335 struct srcu_struct srcu;
/Linux-v5.4/tools/memory-model/
Dlinux-kernel.cat129 * struct srcu_struct location.
/Linux-v5.4/drivers/gpu/drm/amd/amdkfd/
Dkfd_priv.h739 extern struct srcu_struct kfd_processes_srcu;
/Linux-v5.4/security/tomoyo/
Dcommon.h1095 extern struct srcu_struct tomoyo_ss;

12