/Linux-v5.10/include/linux/ |
D | srcu.h | 24 struct srcu_struct; 28 int __init_srcu_struct(struct srcu_struct *ssp, const char *name, 41 int init_srcu_struct(struct srcu_struct *ssp); 54 struct srcu_struct { }; struct 57 void call_srcu(struct srcu_struct *ssp, struct rcu_head *head, 59 void cleanup_srcu_struct(struct srcu_struct *ssp); 60 int __srcu_read_lock(struct srcu_struct *ssp) __acquires(ssp); 61 void __srcu_read_unlock(struct srcu_struct *ssp, int idx) __releases(ssp); 62 void synchronize_srcu(struct srcu_struct *ssp); 82 static inline int srcu_read_lock_held(const struct srcu_struct *ssp) in srcu_read_lock_held() [all …]
|
D | srcutree.h | 18 struct srcu_struct; 42 struct srcu_struct *ssp; 64 struct srcu_struct { struct 125 is_static struct srcu_struct name; \ 126 struct srcu_struct * const __srcu_struct_##name \ 131 is_static struct srcu_struct name = \ 137 void synchronize_srcu_expedited(struct srcu_struct *ssp); 138 void srcu_barrier(struct srcu_struct *ssp); 139 void srcu_torture_stats_print(struct srcu_struct *ssp, char *tt, char *tf);
|
D | srcutiny.h | 16 struct srcu_struct { struct 46 struct srcu_struct name = __SRCU_STRUCT_INIT(name, name) argument 48 static struct srcu_struct name = __SRCU_STRUCT_INIT(name, name) 50 void synchronize_srcu(struct srcu_struct *ssp); 58 static inline int __srcu_read_lock(struct srcu_struct *ssp) in __srcu_read_lock() 67 static inline void synchronize_srcu_expedited(struct srcu_struct *ssp) in synchronize_srcu_expedited() 72 static inline void srcu_barrier(struct srcu_struct *ssp) in srcu_barrier() 78 static inline void srcu_torture_stats_print(struct srcu_struct *ssp, in srcu_torture_stats_print()
|
D | notifier.h | 76 struct srcu_struct srcu;
|
D | blk-mq.h | 182 struct srcu_struct srcu[];
|
D | tracepoint.h | 36 extern struct srcu_struct tracepoint_srcu;
|
D | module.h | 472 struct srcu_struct **srcu_struct_ptrs;
|
D | kvm_host.h | 504 struct srcu_struct srcu; 505 struct srcu_struct irq_srcu;
|
/Linux-v5.10/kernel/rcu/ |
D | srcutiny.c | 27 static int init_srcu_struct_fields(struct srcu_struct *ssp) in init_srcu_struct_fields() 44 int __init_srcu_struct(struct srcu_struct *ssp, const char *name, in __init_srcu_struct() 64 int init_srcu_struct(struct srcu_struct *ssp) in init_srcu_struct() 79 void cleanup_srcu_struct(struct srcu_struct *ssp) in cleanup_srcu_struct() 94 void __srcu_read_unlock(struct srcu_struct *ssp, int idx) in __srcu_read_unlock() 114 struct srcu_struct *ssp; in srcu_drive_gp() 116 ssp = container_of(wp, struct srcu_struct, srcu_work); in srcu_drive_gp() 158 void call_srcu(struct srcu_struct *ssp, struct rcu_head *rhp, in call_srcu() 181 void synchronize_srcu(struct srcu_struct *ssp) in synchronize_srcu() 206 struct srcu_struct *ssp; in srcu_init() [all …]
|
D | srcutree.c | 46 static void srcu_reschedule(struct srcu_struct *ssp, unsigned long delay); 83 static void init_srcu_struct_nodes(struct srcu_struct *ssp, bool is_static) in init_srcu_struct_nodes() 168 static int init_srcu_struct_fields(struct srcu_struct *ssp, bool is_static) in init_srcu_struct_fields() 189 int __init_srcu_struct(struct srcu_struct *ssp, const char *name, in __init_srcu_struct() 210 int init_srcu_struct(struct srcu_struct *ssp) in init_srcu_struct() 227 static void check_init_srcu_struct(struct srcu_struct *ssp) in check_init_srcu_struct() 247 static unsigned long srcu_readers_lock_idx(struct srcu_struct *ssp, int idx) in srcu_readers_lock_idx() 264 static unsigned long srcu_readers_unlock_idx(struct srcu_struct *ssp, int idx) in srcu_readers_unlock_idx() 281 static bool srcu_readers_active_idx_check(struct srcu_struct *ssp, int idx) in srcu_readers_active_idx_check() 333 static bool srcu_readers_active(struct srcu_struct *ssp) in srcu_readers_active() [all …]
|
D | rcu.h | 488 struct srcu_struct *sp, int *flags, in srcutorture_get_gp_data() 500 struct srcu_struct *sp, int *flags, 510 srcu_batches_completed(struct srcu_struct *sp) { return 0; } in srcu_batches_completed() 519 unsigned long srcu_batches_completed(struct srcu_struct *sp);
|
D | rcuscale.c | 189 static struct srcu_struct *srcu_ctlp = &srcu_ctl_scale; 241 static struct srcu_struct srcud;
|
D | refscale.c | 163 static struct srcu_struct *srcu_ctlp = &srcu_refctl_scale;
|
/Linux-v5.10/tools/testing/selftests/rcutorture/formal/srcu-cbmc/src/ |
D | simple_sync_srcu.c | 25 bool try_check_zero(struct srcu_struct *sp, int idx, int trycount); 26 void srcu_flip(struct srcu_struct *sp); 29 void synchronize_srcu(struct srcu_struct *sp) in synchronize_srcu()
|
/Linux-v5.10/drivers/gpu/drm/i915/gt/ |
D | intel_reset_types.h | 58 struct srcu_struct backoff_srcu;
|
/Linux-v5.10/fs/notify/ |
D | fsnotify.h | 34 extern struct srcu_struct fsnotify_mark_srcu;
|
D | mark.c | 81 struct srcu_struct fsnotify_mark_srcu;
|
/Linux-v5.10/arch/x86/include/asm/ |
D | kvm_page_track.h | 18 struct srcu_struct track_srcu;
|
/Linux-v5.10/drivers/md/ |
D | dm-core.h | 118 struct srcu_struct io_barrier;
|
/Linux-v5.10/Documentation/RCU/ |
D | checklist.rst | 225 srcu_read_unlock(), and with the same srcu_struct. The rules for 360 "struct srcu_struct" that defines the scope of a given 361 SRCU domain. Once initialized, the srcu_struct is passed 366 calls that have been passed the same srcu_struct. This property 375 srcu_read_unlock() calls must be passed the same srcu_struct. 377 over those updates sharing a given srcu_struct, rather than
|
/Linux-v5.10/drivers/infiniband/core/ |
D | uverbs.h | 111 struct srcu_struct disassociate_srcu;
|
/Linux-v5.10/drivers/net/wireless/microchip/wilc1000/ |
D | netdev.h | 214 struct srcu_struct srcu;
|
/Linux-v5.10/tools/memory-model/ |
D | linux-kernel.cat | 129 * struct srcu_struct location.
|
/Linux-v5.10/drivers/nvme/host/ |
D | nvme.h | 391 struct srcu_struct srcu;
|
/Linux-v5.10/drivers/gpu/drm/amd/amdkfd/ |
D | kfd_priv.h | 818 extern struct srcu_struct kfd_processes_srcu;
|