Home
last modified time | relevance | path

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

12

/linux/include/linux/
H A Dsrcutree.h18 struct srcu_struct;
49 struct srcu_struct *ssp;
96 struct srcu_struct *srcu_ssp;
102 struct srcu_struct { struct
196 is_static struct srcu_struct name = __SRCU_STRUCT_INIT_MODULE(name, name##_srcu_usage); \
197 extern struct srcu_struct * const __srcu_struct_##name; \
198 struct srcu_struct * const __srcu_struct_##name \
204 is_static struct srcu_struct name = \
210 int __srcu_read_lock(struct srcu_struct *ssp) __acquires(ssp);
211 void synchronize_srcu_expedited(struct srcu_struct *ssp);
[all …]
H A Dsrcutiny.h16 struct srcu_struct { struct
47 struct srcu_struct name = __SRCU_STRUCT_INIT(name, name, name) argument
49 static struct srcu_struct name = __SRCU_STRUCT_INIT(name, name, name)
55 void synchronize_srcu(struct srcu_struct *ssp);
63 static inline int __srcu_read_lock(struct srcu_struct *ssp) in __srcu_read_lock()
76 static inline bool __srcu_ptr_to_ctr(struct srcu_struct *ssp, struct srcu_ctr __percpu *scpp) in __srcu_ptr_to_ctr()
81 static inline struct srcu_ctr __percpu *__srcu_ctr_to_ptr(struct srcu_struct *ssp, int idx) in __srcu_ctr_to_ptr()
86 static inline struct srcu_ctr __percpu *__srcu_read_lock_fast(struct srcu_struct *ssp) in __srcu_read_lock_fast()
91 static inline void __srcu_read_unlock_fast(struct srcu_struct *ssp, struct srcu_ctr __percpu *scp) in __srcu_read_unlock_fast()
96 static inline void synchronize_srcu_expedited(struct srcu_struct *ssp) in synchronize_srcu_expedited()
[all …]
H A Dhid_bpf.h198 struct srcu_struct srcu; /* protects prog_list read-only access */
H A Dmodule.h496 struct srcu_struct **srcu_struct_ptrs;
/linux/kernel/rcu/
H A Dsrcutree.c76 static void srcu_reschedule(struct srcu_struct *ssp, unsigned long delay);
123 static void init_srcu_struct_data(struct srcu_struct *ssp) in init_srcu_struct_data()
164 static bool init_srcu_struct_nodes(struct srcu_struct *ssp, gfp_t gfp_flags) in init_srcu_struct_nodes()
237 static int init_srcu_struct_fields(struct srcu_struct *ssp, bool is_static) in init_srcu_struct_fields()
289 int __init_srcu_struct(struct srcu_struct *ssp, const char *name, in __init_srcu_struct()
309 int init_srcu_struct(struct srcu_struct *ssp) in init_srcu_struct()
320 static void __srcu_transition_to_big(struct srcu_struct *ssp) in __srcu_transition_to_big()
329 static void srcu_transition_to_big(struct srcu_struct *ssp) in srcu_transition_to_big()
349 static void spin_lock_irqsave_check_contention(struct srcu_struct *ssp) in spin_lock_irqsave_check_contention()
373 struct srcu_struct *ssp = sdp->ssp; in spin_lock_irqsave_sdp_contention()
[all …]
H A Drcu.h614 static inline void srcutorture_get_gp_data(struct srcu_struct *sp, int *flags, in srcutorture_get_gp_data()
623 void srcutorture_get_gp_data(struct srcu_struct *sp, int *flags,
655 static inline unsigned long srcu_batches_completed(struct srcu_struct *sp) { return 0; } in srcu_batches_completed()
657 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/fs/bcachefs/
H A Drcu_pending.h14 struct srcu_struct *srcu;
24 struct srcu_struct *srcu,
H A Drcu_pending.c44 static inline rcu_gp_poll_state_t __get_state_synchronize_rcu(struct srcu_struct *ssp) in __get_state_synchronize_rcu()
51 static inline rcu_gp_poll_state_t __start_poll_synchronize_rcu(struct srcu_struct *ssp) in __start_poll_synchronize_rcu()
58 static inline bool __poll_state_synchronize_rcu(struct srcu_struct *ssp, rcu_gp_poll_state_t cookie) in __poll_state_synchronize_rcu()
65 static inline void __rcu_barrier(struct srcu_struct *ssp) in __rcu_barrier()
72 static inline void __call_rcu(struct srcu_struct *ssp, struct rcu_head *rhp, in __call_rcu()
645 struct srcu_struct *srcu, in rcu_pending_init()
/linux/drivers/gpu/drm/i915/gt/
H A Dintel_reset_types.h57 struct srcu_struct backoff_srcu;
/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/fs/notify/
H A Dfsnotify.h74 extern struct srcu_struct fsnotify_mark_srcu;
/linux/arch/x86/kernel/cpu/sgx/
H A Dencl.h70 struct srcu_struct srcu;
/linux/drivers/platform/surface/aggregator/
H A Dcontroller.h55 struct srcu_struct srcu;
/linux/drivers/accel/amdxdna/
H A Damdxdna_pci_drv.h123 struct srcu_struct hwctx_srcu;
H A Damdxdna_ctx.c90 struct srcu_struct *ss) in amdxdna_hwctx_destroy_rcu()
/linux/drivers/md/
H A Ddm-core.h139 struct srcu_struct io_barrier;
/linux/drivers/infiniband/core/
H A Duverbs.h111 struct srcu_struct disassociate_srcu;
/linux/drivers/net/wireless/microchip/wilc1000/
H A Dnetdev.h231 struct srcu_struct srcu;
/linux/drivers/accel/qaic/
H A Dqaic_drv.c108 struct srcu_struct *lock = res; in qaicm_srcu_release()
113 static int qaicm_srcu_init(struct drm_device *dev, struct srcu_struct *lock) in qaicm_srcu_init()
/linux/Documentation/RCU/
H A Dchecklist.rst241 srcu_struct. The rules for the expedited RCU grace-period-wait
416 "struct srcu_struct" that defines the scope of a given
417 SRCU domain. Once initialized, the srcu_struct is passed
422 calls that have been passed the same srcu_struct. This property
431 srcu_read_unlock() calls must be passed the same srcu_struct.
433 over those updates sharing a given srcu_struct, rather than
H A Drcubarrier.rst69 If your module uses multiple srcu_struct structures, then it must also
180 and on the same srcu_struct structure. If your module uses call_rcu()
/linux/drivers/hv/
H A Dmshv_root.h107 struct srcu_struct pt_irq_srcu;

12