Home
last modified time | relevance | path

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

12

/Linux-v5.10/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.h182 struct srcu_struct srcu[];
Dtracepoint.h36 extern struct srcu_struct tracepoint_srcu;
Dmodule.h472 struct srcu_struct **srcu_struct_ptrs;
Dkvm_host.h504 struct srcu_struct srcu;
505 struct srcu_struct irq_srcu;
/Linux-v5.10/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.h488 struct srcu_struct *sp, int *flags, in srcutorture_get_gp_data()
500 struct srcu_struct *sp, int *flags,
510 srcu_batches_completed(struct srcu_struct *sp) { return 0; } in srcu_batches_completed()
519 unsigned long srcu_batches_completed(struct srcu_struct *sp);
Drcuscale.c189 static struct srcu_struct *srcu_ctlp = &srcu_ctl_scale;
241 static struct srcu_struct srcud;
Drefscale.c163 static struct srcu_struct *srcu_ctlp = &srcu_refctl_scale;
/Linux-v5.10/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.10/drivers/gpu/drm/i915/gt/
Dintel_reset_types.h58 struct srcu_struct backoff_srcu;
/Linux-v5.10/fs/notify/
Dfsnotify.h34 extern struct srcu_struct fsnotify_mark_srcu;
Dmark.c81 struct srcu_struct fsnotify_mark_srcu;
/Linux-v5.10/arch/x86/include/asm/
Dkvm_page_track.h18 struct srcu_struct track_srcu;
/Linux-v5.10/drivers/md/
Ddm-core.h118 struct srcu_struct io_barrier;
/Linux-v5.10/Documentation/RCU/
Dchecklist.rst225 srcu_read_unlock(), and with the same srcu_struct. The rules for
360 "struct srcu_struct" that defines the scope of a given
361 SRCU domain. Once initialized, the srcu_struct is passed
366 calls that have been passed the same srcu_struct. This property
375 srcu_read_unlock() calls must be passed the same srcu_struct.
377 over those updates sharing a given srcu_struct, rather than
/Linux-v5.10/drivers/infiniband/core/
Duverbs.h111 struct srcu_struct disassociate_srcu;
/Linux-v5.10/drivers/net/wireless/microchip/wilc1000/
Dnetdev.h214 struct srcu_struct srcu;
/Linux-v5.10/tools/memory-model/
Dlinux-kernel.cat129 * struct srcu_struct location.
/Linux-v5.10/drivers/nvme/host/
Dnvme.h391 struct srcu_struct srcu;
/Linux-v5.10/drivers/gpu/drm/amd/amdkfd/
Dkfd_priv.h818 extern struct srcu_struct kfd_processes_srcu;

12