/linux/include/linux/ |
H A D | srcutree.h | 18 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 D | srcutiny.h | 16 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 D | hid_bpf.h | 198 struct srcu_struct srcu; /* protects prog_list read-only access */
|
H A D | module.h | 496 struct srcu_struct **srcu_struct_ptrs;
|
/linux/kernel/rcu/ |
H A D | srcutree.c | 76 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 D | rcu.h | 614 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 D | rcuscale.c | 212 static struct srcu_struct *srcu_ctlp = &srcu_ctl_scale; 270 static struct srcu_struct srcud;
|
/linux/fs/bcachefs/ |
H A D | rcu_pending.h | 14 struct srcu_struct *srcu; 24 struct srcu_struct *srcu,
|
H A D | rcu_pending.c | 44 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 D | intel_reset_types.h | 57 struct srcu_struct backoff_srcu;
|
/linux/include/net/ |
H A D | rtnetlink.h | 142 struct srcu_struct srcu; 222 struct srcu_struct srcu;
|
/linux/arch/x86/include/asm/ |
H A D | kvm_page_track.h | 16 struct srcu_struct track_srcu;
|
/linux/drivers/gpio/ |
H A D | gpiolib.h | 70 struct srcu_struct desc_srcu; 81 struct srcu_struct srcu;
|
/linux/fs/notify/ |
H A D | fsnotify.h | 74 extern struct srcu_struct fsnotify_mark_srcu;
|
/linux/arch/x86/kernel/cpu/sgx/ |
H A D | encl.h | 70 struct srcu_struct srcu;
|
/linux/drivers/platform/surface/aggregator/ |
H A D | controller.h | 55 struct srcu_struct srcu;
|
/linux/drivers/accel/amdxdna/ |
H A D | amdxdna_pci_drv.h | 123 struct srcu_struct hwctx_srcu;
|
H A D | amdxdna_ctx.c | 90 struct srcu_struct *ss) in amdxdna_hwctx_destroy_rcu()
|
/linux/drivers/md/ |
H A D | dm-core.h | 139 struct srcu_struct io_barrier;
|
/linux/drivers/infiniband/core/ |
H A D | uverbs.h | 111 struct srcu_struct disassociate_srcu;
|
/linux/drivers/net/wireless/microchip/wilc1000/ |
H A D | netdev.h | 231 struct srcu_struct srcu;
|
/linux/drivers/accel/qaic/ |
H A D | qaic_drv.c | 108 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 D | checklist.rst | 241 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 D | rcubarrier.rst | 69 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 D | mshv_root.h | 107 struct srcu_struct pt_irq_srcu;
|