Home
last modified time | relevance | path

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

12

/linux/include/linux/
H A Dsrcu.h24 context_lock_struct(srcu_struct, __reentrant_ctx_lock);
28 int init_srcu_struct_lockdep(struct srcu_struct *ssp, const char *name,
30 static inline int __init_srcu_struct(struct srcu_struct *ssp, const char *name, in __init_srcu_struct()
36 int __init_srcu_struct_fast(struct srcu_struct *ssp, const char *name, struct lock_class_key *key);
37 int __init_srcu_struct_fast_updown(struct srcu_struct *ssp, const char *name,
58 int init_srcu_struct_generic(struct srcu_struct *ssp);
59 static inline int __init_srcu_struct(struct srcu_struct *ssp, const char *name, in __init_srcu_struct()
65 int init_srcu_struct_fast(struct srcu_struct *ssp);
66 int init_srcu_struct_fast_updown(struct srcu_struct *ssp);
91 void __srcu_read_unlock(struct srcu_struct *ssp, int idx) __releases_shared(ssp);
[all …]
H A Dsrcutiny.h17 struct srcu_struct { struct
51 struct srcu_struct name = __SRCU_STRUCT_INIT(name, name, name, name) argument
53 static struct srcu_struct name = __SRCU_STRUCT_INIT(name, name, name, name)
56 static struct srcu_struct name = __SRCU_STRUCT_INIT(name, name, name, name)
59 static struct srcu_struct name = __SRCU_STRUCT_INIT(name, name, name, name)
71 void synchronize_srcu(struct srcu_struct *ssp);
79 static inline int __srcu_read_lock(struct srcu_struct *ssp) in __srcu_read_lock()
94 static inline bool __srcu_ptr_to_ctr(struct srcu_struct *ssp, struct srcu_ctr __percpu *scpp) in __srcu_ptr_to_ctr()
99 static inline struct srcu_ctr __percpu *__srcu_ctr_to_ptr(struct srcu_struct *ssp, int idx) in __srcu_ctr_to_ptr()
104 static inline struct srcu_ctr __percpu *__srcu_read_lock_fast(struct srcu_struct *ssp) in __srcu_read_lock_fast()
[all …]
H A Dsrcutree.h18 struct srcu_struct;
51 struct srcu_struct *ssp;
99 struct srcu_struct *srcu_ssp;
105 struct srcu_struct { struct
216 is_static struct srcu_struct name = __SRCU_STRUCT_INIT_MODULE(name, name##_srcu_usage, \
218 extern struct srcu_struct * const __srcu_struct_##name; \
219 struct srcu_struct * const __srcu_struct_##name \
225 is_static struct srcu_struct name = \
237 int __srcu_read_lock(struct srcu_struct *ssp) __acquires_shared(ssp);
238 void synchronize_srcu_expedited(struct srcu_struct *ssp);
[all …]
H A Drcupdate_trace.h16 extern struct srcu_struct rcu_tasks_trace_srcu_struct;
H A Dhid_bpf.h198 struct srcu_struct srcu; /* protects prog_list read-only access */
H A Dnotifier.h77 struct srcu_struct srcu;
H A Dtracepoint.h116 extern struct srcu_struct tracepoint_srcu;
/linux/kernel/rcu/
H A Dsrcutiny.c32 static int init_srcu_struct_fields(struct srcu_struct *ssp) in init_srcu_struct_fields()
51 int init_srcu_struct_lockdep(struct srcu_struct *ssp, const char *name, in init_srcu_struct_lockdep()
71 int init_srcu_struct_generic(struct srcu_struct *ssp) in init_srcu_struct_generic()
86 void cleanup_srcu_struct(struct srcu_struct *ssp) in cleanup_srcu_struct()
104 void __srcu_read_unlock(struct srcu_struct *ssp, int idx) in __srcu_read_unlock()
127 struct srcu_struct *ssp; in srcu_drive_gp()
129 ssp = container_of(wp, struct srcu_struct, srcu_work); in srcu_drive_gp()
190 struct srcu_struct *ssp; in srcu_tiny_irq_work()
192 ssp = container_of(irq_work, struct srcu_struct, srcu_irq_work); in srcu_tiny_irq_work()
197 static void srcu_gp_start_if_needed(struct srcu_struct *ssp) in srcu_gp_start_if_needed()
[all …]
H A Dsrcutree.c77 static void srcu_reschedule(struct srcu_struct *ssp, unsigned long delay);
89 static void init_srcu_struct_data(struct srcu_struct *ssp) in init_srcu_struct_data()
130 static bool init_srcu_struct_nodes(struct srcu_struct *ssp, gfp_t gfp_flags) in init_srcu_struct_nodes()
204 static int init_srcu_struct_fields(struct srcu_struct *ssp, bool is_static) in init_srcu_struct_fields()
261 __init_srcu_struct_common(struct srcu_struct *ssp, const char *name, struct lock_class_key *key) in __init_srcu_struct_common()
269 int init_srcu_struct_lockdep(struct srcu_struct *ssp, const char *name, in init_srcu_struct_lockdep()
277 int __init_srcu_struct_fast(struct srcu_struct *ssp, const char *name, struct lock_class_key *key) in __init_srcu_struct_fast()
284 int __init_srcu_struct_fast_updown(struct srcu_struct *ssp, const char *name, in __init_srcu_struct_fast_updown()
305 int init_srcu_struct_generic(struct srcu_struct *ssp) in init_srcu_struct_generic()
322 int init_srcu_struct_fast(struct srcu_struct *ssp) in init_srcu_struct_fast()
[all …]
H A Drcu.h628 static inline void srcutorture_get_gp_data(struct srcu_struct *sp, int *flags, in srcutorture_get_gp_data()
637 void srcutorture_get_gp_data(struct srcu_struct *sp, int *flags,
669 static inline unsigned long srcu_batches_completed(struct srcu_struct *sp) { return 0; } in srcu_batches_completed()
671 unsigned long srcu_batches_completed(struct srcu_struct *sp);
H A Drcuscale.c208 static struct srcu_struct *srcu_ctlp = &srcu_ctl_scale;
266 static struct srcu_struct srcud;
/linux/rust/helpers/
H A Dsrcu.c5 __rust_helper int rust_helper_init_srcu_struct_with_key(struct srcu_struct *ssp, in rust_helper_init_srcu_struct_with_key()
12 __rust_helper bool rust_helper_srcu_readers_active(struct srcu_struct *ssp) in rust_helper_srcu_readers_active()
17 __rust_helper int rust_helper_srcu_read_lock(struct srcu_struct *ssp) in rust_helper_srcu_read_lock()
22 __rust_helper void rust_helper_srcu_read_unlock(struct srcu_struct *ssp, int idx) in rust_helper_srcu_read_unlock()
27 __rust_helper void rust_helper_srcu_barrier(struct srcu_struct *ssp) in rust_helper_srcu_barrier()
32 __rust_helper void rust_helper_synchronize_srcu_expedited(struct srcu_struct *ssp) in rust_helper_synchronize_srcu_expedited()
/linux/rust/kernel/sync/
H A Dsrcu.rs45 inner: Opaque<bindings::srcu_struct>,
55 inner <- Opaque::try_ffi_init(|ptr: *mut bindings::srcu_struct| { in new()
/linux/include/net/
H A Drtnetlink.h142 struct srcu_struct srcu;
222 struct srcu_struct srcu;
/linux/arch/x86/include/asm/
H A Dkvm_page_track.h16 struct srcu_struct track_srcu;
/linux/drivers/platform/surface/aggregator/
H A Dcontroller.h55 struct srcu_struct srcu;
/linux/drivers/accel/amdxdna/
H A Damdxdna_pci_drv.h153 struct srcu_struct hwctx_srcu;
H A Damdxdna_ctx.c82 struct srcu_struct *ss) in amdxdna_hwctx_destroy_rcu()
/linux/drivers/net/wireless/microchip/wilc1000/
H A Dnetdev.h231 struct srcu_struct srcu;
/linux/Documentation/RCU/
H A Dchecklist.rst247 srcu_struct. The rules for the expedited RCU grace-period-wait
426 `struct srcu_struct` that defines the scope of a given
427 SRCU domain. Once initialized, the srcu_struct is passed
432 calls that have been passed the same srcu_struct. This property
441 srcu_read_unlock() calls must be passed the same srcu_struct.
443 over those updates sharing a given srcu_struct, rather than
/linux/drivers/hv/
H A Dmshv_root.h119 struct srcu_struct pt_irq_srcu;
/linux/drivers/nvme/host/
H A Dnvme.h359 struct srcu_struct srcu;
543 struct srcu_struct srcu;
/linux/tools/memory-model/
H A Dlinux-kernel.cat152 * struct srcu_struct location.
/linux/security/tomoyo/
H A Dcommon.h947 extern struct srcu_struct tomoyo_ss;
/linux/drivers/reset/
H A Dcore.c58 struct srcu_struct srcu;

12