Home
last modified time | relevance | path

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

12

/linux/include/linux/
H A Dsrcu.h24 context_lock_struct(srcu_struct, __reentrant_ctx_lock);
28 int __init_srcu_struct(struct srcu_struct *ssp, const char *name, struct lock_class_key *key);
30 int __init_srcu_struct_fast(struct srcu_struct *ssp, const char *name, struct lock_class_key *key);
31 int __init_srcu_struct_fast_updown(struct srcu_struct *ssp, const char *name,
59 int init_srcu_struct(struct srcu_struct *ssp);
61 int init_srcu_struct_fast(struct srcu_struct *ssp);
62 int init_srcu_struct_fast_updown(struct srcu_struct *ssp);
80 void __srcu_read_unlock(struct srcu_struct *ssp, int idx) __releases_shared(ssp);
90 void call_srcu(struct srcu_struct *ssp, struct rcu_head *head,
92 void cleanup_srcu_struct(struct srcu_struct *ss
[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 Dhid_bpf.h198 struct srcu_struct srcu; /* protects prog_list read-only access */
H A Dnotifier.h77 struct srcu_struct srcu;
H A Dkvm_host.h860 struct srcu_struct srcu;
861 struct srcu_struct irq_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(struct srcu_struct *ssp, const char *name, in __init_srcu_struct()
71 int init_srcu_struct(struct srcu_struct *ssp) in init_srcu_struct()
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(struct srcu_struct *ssp, const char *name, struct lock_class_key *key) in __init_srcu_struct()
276 int __init_srcu_struct_fast(struct srcu_struct *ssp, const char *name, struct lock_class_key *key) in __init_srcu_struct_fast()
283 int __init_srcu_struct_fast_updown(struct srcu_struct *ssp, const char *name, in __init_srcu_struct_fast_updown()
304 int init_srcu_struct(struct srcu_struct *ssp) in init_srcu_struct()
321 int init_srcu_struct_fast(struct srcu_struct *ssp) in init_srcu_struct_fast()
[all …]
H A Drcu.h619 static inline void srcutorture_get_gp_data(struct srcu_struct *sp, int *flags, in srcutorture_get_gp_data()
628 void srcutorture_get_gp_data(struct srcu_struct *sp, int *flags,
660 static inline unsigned long srcu_batches_completed(struct srcu_struct *sp) { return 0; } in srcu_batches_completed()
662 unsigned long srcu_batches_completed(struct srcu_struct *sp);
H A Drcuscale.c212 static struct srcu_struct *srcu_ctlp = &srcu_ctl_scale;
270 static struct srcu_struct srcud;
/linux/drivers/accel/qaic/
H A Dqaic.h78 struct srcu_struct qddev_lock;
122 struct srcu_struct ch_lock;
160 struct srcu_struct dev_lock;
H A Dqaic_drv.c109 struct srcu_struct *lock = res; in qaicm_srcu_release()
114 static int qaicm_srcu_init(struct drm_device *dev, struct srcu_struct *lock) in qaicm_srcu_init()
/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/gpio/
H A Dgpiolib.h70 struct srcu_struct desc_srcu;
81 struct srcu_struct srcu;
/linux/drivers/platform/surface/aggregator/
H A Dcontroller.h55 struct srcu_struct srcu;
/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/resctrl/
H A Dmpam_internal.h373 extern struct srcu_struct mpam_srcu;
/linux/drivers/nvme/host/
H A Dnvme.h352 struct srcu_struct srcu;
526 struct srcu_struct srcu;
/linux/drivers/hv/
H A Dmshv_root.h118 struct srcu_struct pt_irq_srcu;
/linux/tools/memory-model/
H A Dlinux-kernel.cat152 * struct srcu_struct location.
/linux/drivers/accel/amdxdna/
H A Damdxdna_ctx.c65 struct srcu_struct *ss) in amdxdna_hwctx_destroy_rcu()
/linux/security/tomoyo/
H A Dcommon.h947 extern struct srcu_struct tomoyo_ss;
/linux/fs/notify/
H A Dmark.c81 struct srcu_struct fsnotify_mark_srcu;

12