Lines Matching refs:trsp

83 	void (*write_delay)(struct torture_random_state *trsp);
84 void (*task_boost)(struct torture_random_state *trsp);
87 void (*read_delay)(struct torture_random_state *trsp);
116 static void torture_lock_busted_write_delay(struct torture_random_state *trsp) in torture_lock_busted_write_delay() argument
121 if (!(torture_random(trsp) % in torture_lock_busted_write_delay()
124 if (!(torture_random(trsp) % (cxt.nrealwriters_stress * 20000))) in torture_lock_busted_write_delay()
133 static void __torture_rt_boost(struct torture_random_state *trsp) in __torture_rt_boost() argument
143 if (trsp && !(torture_random(trsp) % in __torture_rt_boost()
157 if (!trsp || !(torture_random(trsp) % in __torture_rt_boost()
165 static void torture_rt_boost(struct torture_random_state *trsp) in torture_rt_boost() argument
170 __torture_rt_boost(trsp); in torture_rt_boost()
193 static void torture_spin_lock_write_delay(struct torture_random_state *trsp) in torture_spin_lock_write_delay() argument
201 if (!(torture_random(trsp) % in torture_spin_lock_write_delay()
204 if (!(torture_random(trsp) % in torture_spin_lock_write_delay()
207 if (!(torture_random(trsp) % (cxt.nrealwriters_stress * 20000))) in torture_spin_lock_write_delay()
264 static void torture_rwlock_write_delay(struct torture_random_state *trsp) in torture_rwlock_write_delay() argument
272 if (!(torture_random(trsp) % in torture_rwlock_write_delay()
292 static void torture_rwlock_read_delay(struct torture_random_state *trsp) in torture_rwlock_read_delay() argument
300 if (!(torture_random(trsp) % in torture_rwlock_read_delay()
376 static void torture_mutex_delay(struct torture_random_state *trsp) in torture_mutex_delay() argument
381 if (!(torture_random(trsp) % in torture_mutex_delay()
386 if (!(torture_random(trsp) % (cxt.nrealwriters_stress * 20000))) in torture_mutex_delay()
515 static void torture_rtmutex_delay(struct torture_random_state *trsp) in torture_rtmutex_delay() argument
524 if (!(torture_random(trsp) % in torture_rtmutex_delay()
527 if (!(torture_random(trsp) % in torture_rtmutex_delay()
530 if (!(torture_random(trsp) % (cxt.nrealwriters_stress * 20000))) in torture_rtmutex_delay()
540 static void torture_rt_boost_rtmutex(struct torture_random_state *trsp) in torture_rt_boost_rtmutex() argument
545 __torture_rt_boost(trsp); in torture_rt_boost_rtmutex()
568 static void torture_rwsem_write_delay(struct torture_random_state *trsp) in torture_rwsem_write_delay() argument
573 if (!(torture_random(trsp) % in torture_rwsem_write_delay()
578 if (!(torture_random(trsp) % (cxt.nrealwriters_stress * 20000))) in torture_rwsem_write_delay()
595 static void torture_rwsem_read_delay(struct torture_random_state *trsp) in torture_rwsem_read_delay() argument
600 if (!(torture_random(trsp) % in torture_rwsem_read_delay()
605 if (!(torture_random(trsp) % (cxt.nrealreaders_stress * 20000))) in torture_rwsem_read_delay()