Searched refs:torture_random_state (Results 1 – 3 of 3) sorted by relevance
/linux/include/linux/ |
H A D | torture.h | 70 struct torture_random_state { struct 74 #define DEFINE_TORTURE_RANDOM(name) struct torture_random_state name = { 0, 0 } argument 76 DEFINE_PER_CPU(struct torture_random_state, name) 77 unsigned long torture_random(struct torture_random_state *trsp); 78 static inline void torture_random_init(struct torture_random_state *trsp) in torture_random_init() 86 struct torture_random_state *trsp); 87 int torture_hrtimeout_us(u32 baset_us, u32 fuzzt_ns, struct torture_random_state *trsp); 88 int torture_hrtimeout_ms(u32 baset_ms, u32 fuzzt_us, struct torture_random_state *trsp); 89 int torture_hrtimeout_jiffies(u32 baset_j, struct torture_random_state *trsp); 90 int torture_hrtimeout_s(u32 baset_s, u32 fuzzt_ms, struct torture_random_state *trs [all...] |
/linux/kernel/locking/ |
H A D | locktorture.c | 141 void (*write_delay)(struct torture_random_state *trsp); 142 void (*task_boost)(struct torture_random_state *trsp); 146 void (*read_delay)(struct torture_random_state *trsp); 175 static void torture_lock_busted_write_delay(struct torture_random_state *trsp) in torture_lock_busted_write_delay() 189 static void __torture_rt_boost(struct torture_random_state *trsp) in __torture_rt_boost() 221 static void torture_rt_boost(struct torture_random_state *trsp) in torture_rt_boost() 249 static void torture_spin_lock_write_delay(struct torture_random_state *trsp) in torture_spin_lock_write_delay() 374 static void torture_rwlock_write_delay(struct torture_random_state *trsp) in torture_rwlock_write_delay() 400 static void torture_rwlock_read_delay(struct torture_random_state *trsp) in torture_rwlock_read_delay() 504 static void torture_mutex_delay(struct torture_random_state *trs [all...] |
/linux/kernel/ |
H A D | torture.c | 92 struct torture_random_state *trsp) in torture_hrtimeout_ns() 107 int torture_hrtimeout_us(u32 baset_us, u32 fuzzt_ns, struct torture_random_state *trsp) in torture_hrtimeout_us() 119 int torture_hrtimeout_ms(u32 baset_ms, u32 fuzzt_us, struct torture_random_state *trsp) in torture_hrtimeout_ms() 137 int torture_hrtimeout_jiffies(u32 baset_j, struct torture_random_state *trsp) in torture_hrtimeout_jiffies() 149 int torture_hrtimeout_s(u32 baset_s, u32 fuzzt_ms, struct torture_random_state *trsp) in torture_hrtimeout_s() 456 torture_random(struct torture_random_state *trsp) in torture_random() 525 static void torture_shuffle_tasks(struct torture_random_state *trp) in torture_shuffle_tasks()
|