Home
last modified time | relevance | path

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

/openbmc/linux/include/linux/
H A Dtorture.h69 struct torture_random_state { struct
73 #define DEFINE_TORTURE_RANDOM(name) struct torture_random_state name = { 0, 0 } argument
75 DEFINE_PER_CPU(struct torture_random_state, name)
76 unsigned long torture_random(struct torture_random_state *trsp);
77 static inline void torture_random_init(struct torture_random_state *trsp) in torture_random_init()
85 struct torture_random_state *trsp);
86 int torture_hrtimeout_us(u32 baset_us, u32 fuzzt_ns, struct torture_random_state *trsp);
87 int torture_hrtimeout_ms(u32 baset_ms, u32 fuzzt_us, struct torture_random_state *trsp);
88 int torture_hrtimeout_jiffies(u32 baset_j, struct torture_random_state *trsp);
89 int torture_hrtimeout_s(u32 baset_s, u32 fuzzt_ms, struct torture_random_state *trsp);
/openbmc/linux/kernel/locking/
H A Dlocktorture.c83 void (*write_delay)(struct torture_random_state *trsp);
84 void (*task_boost)(struct torture_random_state *trsp);
88 void (*read_delay)(struct torture_random_state *trsp);
134 static void __torture_rt_boost(struct torture_random_state *trsp) in __torture_rt_boost()
166 static void torture_rt_boost(struct torture_random_state *trsp) in torture_rt_boost()
320 static void torture_rwlock_write_delay(struct torture_random_state *trsp) in torture_rwlock_write_delay()
348 static void torture_rwlock_read_delay(struct torture_random_state *trsp) in torture_rwlock_read_delay()
454 static void torture_mutex_delay(struct torture_random_state *trsp) in torture_mutex_delay()
626 static void torture_rtmutex_delay(struct torture_random_state *trsp) in torture_rtmutex_delay()
651 static void torture_rt_boost_rtmutex(struct torture_random_state *trsp) in torture_rt_boost_rtmutex()
[all …]
/openbmc/linux/kernel/
H A Dtorture.c91 struct torture_random_state *trsp) in torture_hrtimeout_ns()
106 int torture_hrtimeout_us(u32 baset_us, u32 fuzzt_ns, struct torture_random_state *trsp) in torture_hrtimeout_us()
118 int torture_hrtimeout_ms(u32 baset_ms, u32 fuzzt_us, struct torture_random_state *trsp) in torture_hrtimeout_ms()
136 int torture_hrtimeout_jiffies(u32 baset_j, struct torture_random_state *trsp) in torture_hrtimeout_jiffies()
148 int torture_hrtimeout_s(u32 baset_s, u32 fuzzt_ms, struct torture_random_state *trsp) in torture_hrtimeout_s()
455 torture_random(struct torture_random_state *trsp) in torture_random()
H A Dscftorture.c242 static struct scf_selector *scf_sel_rand(struct torture_random_state *trsp) in scf_sel_rand()
314 static void scftorture_invoke_one(struct scf_statistics *scfp, struct torture_random_state *trsp) in scftorture_invoke_one()
/openbmc/linux/kernel/rcu/
H A Drcutorture.c346 void (*read_delay)(struct torture_random_state *rrsp,
410 rcu_read_delay(struct torture_random_state *rrsp, struct rt_read_seg *rtrsp) in rcu_read_delay()
638 srcu_read_delay(struct torture_random_state *rrsp, struct rt_read_seg *rtrsp) in srcu_read_delay()
1317 static void do_rtws_sync(struct torture_random_state *trsp, void (*sync)(void)) in do_rtws_sync()
1714 struct torture_random_state *trsp) in rcu_torture_reader_do_mbchk()
1778 struct torture_random_state *trsp, in rcutorture_one_extend()
1877 rcutorture_extend_mask(int oldmask, struct torture_random_state *trsp) in rcutorture_extend_mask()
1928 rcutorture_loop_extend(int *readstate, struct torture_random_state *trsp, in rcutorture_loop_extend()
1953 static bool rcu_torture_one_read(struct torture_random_state *trsp, long myid) in rcu_torture_one_read()
3198 struct torture_random_state *trsp = trsp_in; in rcu_torture_read_exit_child()