Home
last modified time | relevance | path

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

12

/OK3568_Linux_fs/kernel/include/linux/
H A 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);
63 unsigned long get_state_synchronize_srcu(struct srcu_struct *ssp);
[all …]
H A 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);
H A Dsrcutiny.h16 struct srcu_struct { struct
47 struct srcu_struct name = __SRCU_STRUCT_INIT(name, name) argument
49 static struct srcu_struct name = __SRCU_STRUCT_INIT(name, name)
51 void synchronize_srcu(struct srcu_struct *ssp);
59 static inline int __srcu_read_lock(struct srcu_struct *ssp) in __srcu_read_lock()
68 static inline void synchronize_srcu_expedited(struct srcu_struct *ssp) in synchronize_srcu_expedited()
73 static inline void srcu_barrier(struct srcu_struct *ssp) in srcu_barrier()
79 static inline void srcu_torture_stats_print(struct srcu_struct *ssp, in srcu_torture_stats_print()
H A Dnotifier.h76 struct srcu_struct srcu;
H A Dblk-mq.h178 struct srcu_struct srcu[];
H A Dtracepoint.h36 extern struct srcu_struct tracepoint_srcu;
H A Dmodule.h485 struct srcu_struct **srcu_struct_ptrs;
H A Dkvm_host.h505 struct srcu_struct srcu;
506 struct srcu_struct irq_srcu;
/OK3568_Linux_fs/kernel/kernel/rcu/
H A Dsrcutiny.c27 static int init_srcu_struct_fields(struct srcu_struct *ssp) in init_srcu_struct_fields()
45 int __init_srcu_struct(struct srcu_struct *ssp, const char *name, in __init_srcu_struct()
65 int init_srcu_struct(struct srcu_struct *ssp) in init_srcu_struct()
80 void cleanup_srcu_struct(struct srcu_struct *ssp) in cleanup_srcu_struct()
97 void __srcu_read_unlock(struct srcu_struct *ssp, int idx) in __srcu_read_unlock()
117 struct srcu_struct *ssp; in srcu_drive_gp()
119 ssp = container_of(wp, struct srcu_struct, srcu_work); in srcu_drive_gp()
158 static void srcu_gp_start_if_needed(struct srcu_struct *ssp) in srcu_gp_start_if_needed()
178 void call_srcu(struct srcu_struct *ssp, struct rcu_head *rhp, in call_srcu()
196 void synchronize_srcu(struct srcu_struct *ssp) in synchronize_srcu()
[all …]
H A 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()
171 static int init_srcu_struct_fields(struct srcu_struct *ssp, bool is_static) in init_srcu_struct_fields()
192 int __init_srcu_struct(struct srcu_struct *ssp, const char *name, in __init_srcu_struct()
213 int init_srcu_struct(struct srcu_struct *ssp) in init_srcu_struct()
230 static void check_init_srcu_struct(struct srcu_struct *ssp) in check_init_srcu_struct()
250 static unsigned long srcu_readers_lock_idx(struct srcu_struct *ssp, int idx) in srcu_readers_lock_idx()
267 static unsigned long srcu_readers_unlock_idx(struct srcu_struct *ssp, int idx) in srcu_readers_unlock_idx()
284 static bool srcu_readers_active_idx_check(struct srcu_struct *ssp, int idx) in srcu_readers_active_idx_check()
336 static bool srcu_readers_active(struct srcu_struct *ssp) in srcu_readers_active()
[all …]
H A Drcu.h490 struct srcu_struct *sp, int *flags, in srcutorture_get_gp_data()
502 struct srcu_struct *sp, int *flags,
512 srcu_batches_completed(struct srcu_struct *sp) { return 0; } in srcu_batches_completed()
521 unsigned long srcu_batches_completed(struct srcu_struct *sp);
H A Drcuscale.c189 static struct srcu_struct *srcu_ctlp = &srcu_ctl_scale;
241 static struct srcu_struct srcud;
H A Drefscale.c163 static struct srcu_struct *srcu_ctlp = &srcu_refctl_scale;
/OK3568_Linux_fs/kernel/tools/testing/selftests/rcutorture/formal/srcu-cbmc/src/
H A 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()
/OK3568_Linux_fs/kernel/drivers/gpu/drm/i915/gt/
H A Dintel_reset_types.h58 struct srcu_struct backoff_srcu;
/OK3568_Linux_fs/kernel/fs/notify/
H A Dfsnotify.h34 extern struct srcu_struct fsnotify_mark_srcu;
H A Dmark.c81 struct srcu_struct fsnotify_mark_srcu;
/OK3568_Linux_fs/kernel/arch/x86/include/asm/
H A Dkvm_page_track.h18 struct srcu_struct track_srcu;
/OK3568_Linux_fs/kernel/drivers/md/
H A Ddm-core.h118 struct srcu_struct io_barrier;
/OK3568_Linux_fs/kernel/Documentation/RCU/
H A 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
/OK3568_Linux_fs/kernel/drivers/net/wireless/microchip/wilc1000/
H A Dnetdev.h214 struct srcu_struct srcu;
/OK3568_Linux_fs/kernel/drivers/infiniband/core/
H A Duverbs.h111 struct srcu_struct disassociate_srcu;
/OK3568_Linux_fs/kernel/tools/memory-model/
H A Dlinux-kernel.cat129 * struct srcu_struct location.
/OK3568_Linux_fs/kernel/drivers/nvme/host/
H A Dnvme.h411 struct srcu_struct srcu;
/OK3568_Linux_fs/kernel/drivers/gpu/drm/amd/amdkfd/
H A Dkfd_priv.h818 extern struct srcu_struct kfd_processes_srcu;

12