Home
last modified time | relevance | path

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

12

/linux-6.14.4/include/linux/
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);
60 void call_srcu(struct srcu_struct *ssp, struct rcu_head *head,
62 void cleanup_srcu_struct(struct srcu_struct *ssp);
63 int __srcu_read_lock(struct srcu_struct *ssp) __acquires(ssp);
64 void __srcu_read_unlock(struct srcu_struct *ssp, int idx) __releases(ssp);
69 int __srcu_read_lock_lite(struct srcu_struct *ssp) __acquires(ssp);
70 void __srcu_read_unlock_lite(struct srcu_struct *ssp, int idx) __releases(ssp);
72 void synchronize_srcu(struct srcu_struct *ssp);
[all …]
Dsrcutree.h18 struct srcu_struct;
44 struct srcu_struct *ssp;
91 struct srcu_struct *srcu_ssp;
97 struct srcu_struct { struct
190 is_static struct srcu_struct name = __SRCU_STRUCT_INIT_MODULE(name, name##_srcu_usage); \
191 extern struct srcu_struct * const __srcu_struct_##name; \
192 struct srcu_struct * const __srcu_struct_##name \
198 is_static struct srcu_struct name = \
204 void synchronize_srcu_expedited(struct srcu_struct *ssp);
205 void srcu_barrier(struct srcu_struct *ssp);
[all …]
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()
74 static inline void synchronize_srcu_expedited(struct srcu_struct *ssp) in synchronize_srcu_expedited()
79 static inline void srcu_barrier(struct srcu_struct *ssp) in srcu_barrier()
88 static inline void srcu_torture_stats_print(struct srcu_struct *ssp, in srcu_torture_stats_print()
Dhid_bpf.h198 struct srcu_struct srcu; /* protects prog_list read-only access */
Dnotifier.h77 struct srcu_struct srcu;
/linux-6.14.4/kernel/rcu/
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()
120 struct srcu_struct *ssp; in srcu_drive_gp()
122 ssp = container_of(wp, struct srcu_struct, srcu_work); in srcu_drive_gp()
171 static void srcu_gp_start_if_needed(struct srcu_struct *ssp) in srcu_gp_start_if_needed()
195 void call_srcu(struct srcu_struct *ssp, struct rcu_head *rhp, in call_srcu()
215 void synchronize_srcu(struct srcu_struct *ssp) in synchronize_srcu()
[all …]
Dsrcutree.c76 static void srcu_reschedule(struct srcu_struct *ssp, unsigned long delay);
122 static void init_srcu_struct_data(struct srcu_struct *ssp) in init_srcu_struct_data()
165 static bool init_srcu_struct_nodes(struct srcu_struct *ssp, gfp_t gfp_flags) in init_srcu_struct_nodes()
238 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 …]
Drcu.h596 static inline void srcutorture_get_gp_data(struct srcu_struct *sp, int *flags, in srcutorture_get_gp_data()
605 void srcutorture_get_gp_data(struct srcu_struct *sp, int *flags,
615 srcu_batches_completed(struct srcu_struct *sp) { return 0; } in srcu_batches_completed()
627 unsigned long srcu_batches_completed(struct srcu_struct *sp);
Drcuscale.c212 static struct srcu_struct *srcu_ctlp = &srcu_ctl_scale;
270 static struct srcu_struct srcud;
/linux-6.14.4/fs/bcachefs/
Drcu_pending.h14 struct srcu_struct *srcu;
24 struct srcu_struct *srcu,
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-6.14.4/drivers/accel/qaic/
Dqaic.h55 struct srcu_struct qddev_lock;
97 struct srcu_struct ch_lock;
133 struct srcu_struct dev_lock;
Dqaic_drv.c74 struct srcu_struct *lock = res; in qaicm_srcu_release()
79 static int qaicm_srcu_init(struct drm_device *dev, struct srcu_struct *lock) in qaicm_srcu_init()
/linux-6.14.4/drivers/gpu/drm/i915/gt/
Dintel_reset_types.h58 struct srcu_struct backoff_srcu;
/linux-6.14.4/include/net/
Drtnetlink.h108 struct srcu_struct srcu;
190 struct srcu_struct srcu;
/linux-6.14.4/arch/x86/include/asm/
Dkvm_page_track.h16 struct srcu_struct track_srcu;
/linux-6.14.4/drivers/gpio/
Dgpiolib.h70 struct srcu_struct desc_srcu;
81 struct srcu_struct srcu;
/linux-6.14.4/fs/notify/
Dfsnotify.h68 extern struct srcu_struct fsnotify_mark_srcu;
/linux-6.14.4/arch/x86/kernel/cpu/sgx/
Dencl.h70 struct srcu_struct srcu;
/linux-6.14.4/drivers/platform/surface/aggregator/
Dcontroller.h55 struct srcu_struct srcu;
/linux-6.14.4/drivers/accel/amdxdna/
Damdxdna_pci_drv.h121 struct srcu_struct hwctx_srcu;
/linux-6.14.4/drivers/md/
Ddm-core.h139 struct srcu_struct io_barrier;
/linux-6.14.4/drivers/infiniband/core/
Duverbs.h111 struct srcu_struct disassociate_srcu;
/linux-6.14.4/drivers/net/wireless/microchip/wilc1000/
Dnetdev.h231 struct srcu_struct srcu;
/linux-6.14.4/Documentation/RCU/
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

12