Searched refs:torture_random_state (Results 1 – 5 of 5) sorted by relevance
/Linux-v5.10/include/linux/ |
D | torture.h | 50 struct torture_random_state { struct 54 #define DEFINE_TORTURE_RANDOM(name) struct torture_random_state name = { 0, 0 } argument 56 DEFINE_PER_CPU(struct torture_random_state, name) 57 unsigned long torture_random(struct torture_random_state *trsp); 58 static inline void torture_random_init(struct torture_random_state *trsp) in torture_random_init()
|
/Linux-v5.10/kernel/locking/ |
D | locktorture.c | 78 void (*write_delay)(struct torture_random_state *trsp); 79 void (*task_boost)(struct torture_random_state *trsp); 82 void (*read_delay)(struct torture_random_state *trsp); 110 static void torture_lock_busted_write_delay(struct torture_random_state *trsp) in torture_lock_busted_write_delay() 127 static void torture_boost_dummy(struct torture_random_state *trsp) in torture_boost_dummy() 151 static void torture_spin_lock_write_delay(struct torture_random_state *trsp) in torture_spin_lock_write_delay() 220 static void torture_rwlock_write_delay(struct torture_random_state *trsp) in torture_rwlock_write_delay() 246 static void torture_rwlock_read_delay(struct torture_random_state *trsp) in torture_rwlock_read_delay() 326 static void torture_mutex_delay(struct torture_random_state *trsp) in torture_mutex_delay() 437 static void torture_rtmutex_boost(struct torture_random_state *trsp) in torture_rtmutex_boost() [all …]
|
/Linux-v5.10/kernel/rcu/ |
D | rcutorture.c | 306 void (*read_delay)(struct torture_random_state *rrsp, 341 rcu_read_delay(struct torture_random_state *rrsp, struct rt_read_seg *rtrsp) in rcu_read_delay() 533 srcu_read_delay(struct torture_random_state *rrsp, struct rt_read_seg *rtrsp) in srcu_read_delay() 1225 struct torture_random_state *trsp, in rcutorture_one_extend() 1300 rcutorture_extend_mask(int oldmask, struct torture_random_state *trsp) in rcutorture_extend_mask() 1325 rcutorture_loop_extend(int *readstate, struct torture_random_state *trsp, in rcutorture_loop_extend() 1350 static bool rcu_torture_one_read(struct torture_random_state *trsp) in rcu_torture_one_read() 2369 struct torture_random_state *trsp = trsp_in; in rcu_torture_read_exit_child()
|
/Linux-v5.10/kernel/ |
D | scftorture.c | 227 static struct scf_selector *scf_sel_rand(struct torture_random_state *trsp) in scf_sel_rand() 295 static void scftorture_invoke_one(struct scf_statistics *scfp, struct torture_random_state *trsp) in scftorture_invoke_one()
|
D | torture.c | 331 torture_random(struct torture_random_state *trsp) in torture_random()
|