Home
last modified time | relevance | path

Searched refs:torture_random_state (Results 1 – 5 of 5) sorted by relevance

/Linux-v5.15/include/linux/
Dtorture.h66 struct torture_random_state { struct
70 #define DEFINE_TORTURE_RANDOM(name) struct torture_random_state name = { 0, 0 } argument
72 DEFINE_PER_CPU(struct torture_random_state, name)
73 unsigned long torture_random(struct torture_random_state *trsp);
74 static inline void torture_random_init(struct torture_random_state *trsp) in torture_random_init()
81 int torture_hrtimeout_ns(ktime_t baset_ns, u32 fuzzt_ns, struct torture_random_state *trsp);
82 int torture_hrtimeout_us(u32 baset_us, u32 fuzzt_ns, struct torture_random_state *trsp);
83 int torture_hrtimeout_ms(u32 baset_ms, u32 fuzzt_us, struct torture_random_state *trsp);
84 int torture_hrtimeout_jiffies(u32 baset_j, struct torture_random_state *trsp);
85 int torture_hrtimeout_s(u32 baset_s, u32 fuzzt_ms, struct torture_random_state *trsp);
/Linux-v5.15/kernel/locking/
Dlocktorture.c80 void (*write_delay)(struct torture_random_state *trsp);
81 void (*task_boost)(struct torture_random_state *trsp);
84 void (*read_delay)(struct torture_random_state *trsp);
113 static void torture_lock_busted_write_delay(struct torture_random_state *trsp) in torture_lock_busted_write_delay()
130 static void torture_boost_dummy(struct torture_random_state *trsp) in torture_boost_dummy()
155 static void torture_spin_lock_write_delay(struct torture_random_state *trsp) in torture_spin_lock_write_delay()
226 static void torture_rwlock_write_delay(struct torture_random_state *trsp) in torture_rwlock_write_delay()
254 static void torture_rwlock_read_delay(struct torture_random_state *trsp) in torture_rwlock_read_delay()
338 static void torture_mutex_delay(struct torture_random_state *trsp) in torture_mutex_delay()
477 static void torture_rtmutex_boost(struct torture_random_state *trsp) in torture_rtmutex_boost()
[all …]
/Linux-v5.15/kernel/
Dtorture.c86 int torture_hrtimeout_ns(ktime_t baset_ns, u32 fuzzt_ns, struct torture_random_state *trsp) in torture_hrtimeout_ns()
101 int torture_hrtimeout_us(u32 baset_us, u32 fuzzt_ns, struct torture_random_state *trsp) in torture_hrtimeout_us()
113 int torture_hrtimeout_ms(u32 baset_ms, u32 fuzzt_us, struct torture_random_state *trsp) in torture_hrtimeout_ms()
131 int torture_hrtimeout_jiffies(u32 baset_j, struct torture_random_state *trsp) in torture_hrtimeout_jiffies()
143 int torture_hrtimeout_s(u32 baset_s, u32 fuzzt_ms, struct torture_random_state *trsp) in torture_hrtimeout_s()
450 torture_random(struct torture_random_state *trsp) in torture_random()
Dscftorture.c245 static struct scf_selector *scf_sel_rand(struct torture_random_state *trsp) in scf_sel_rand()
316 static void scftorture_invoke_one(struct scf_statistics *scfp, struct torture_random_state *trsp) in scftorture_invoke_one()
/Linux-v5.15/kernel/rcu/
Drcutorture.c325 void (*read_delay)(struct torture_random_state *rrsp,
370 rcu_read_delay(struct torture_random_state *rrsp, struct rt_read_seg *rtrsp) in rcu_read_delay()
573 srcu_read_delay(struct torture_random_state *rrsp, struct rt_read_seg *rtrsp) in srcu_read_delay()
1355 struct torture_random_state *trsp) in rcu_torture_reader_do_mbchk()
1419 struct torture_random_state *trsp, in rcutorture_one_extend()
1494 rcutorture_extend_mask(int oldmask, struct torture_random_state *trsp) in rcutorture_extend_mask()
1519 rcutorture_loop_extend(int *readstate, struct torture_random_state *trsp, in rcutorture_loop_extend()
1544 static bool rcu_torture_one_read(struct torture_random_state *trsp, long myid) in rcu_torture_one_read()
2676 struct torture_random_state *trsp = trsp_in; in rcu_torture_read_exit_child()