• Home
  • Raw
  • Download

Lines Matching refs:trsp

80 	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() argument
118 if (!(torture_random(trsp) % in torture_lock_busted_write_delay()
121 if (!(torture_random(trsp) % (cxt.nrealwriters_stress * 20000))) in torture_lock_busted_write_delay()
130 static void torture_boost_dummy(struct torture_random_state *trsp) in torture_boost_dummy() argument
155 static void torture_spin_lock_write_delay(struct torture_random_state *trsp) in torture_spin_lock_write_delay() argument
163 if (!(torture_random(trsp) % in torture_spin_lock_write_delay()
166 if (!(torture_random(trsp) % in torture_spin_lock_write_delay()
169 if (!(torture_random(trsp) % (cxt.nrealwriters_stress * 20000))) in torture_spin_lock_write_delay()
226 static void torture_rwlock_write_delay(struct torture_random_state *trsp) in torture_rwlock_write_delay() argument
234 if (!(torture_random(trsp) % in torture_rwlock_write_delay()
254 static void torture_rwlock_read_delay(struct torture_random_state *trsp) in torture_rwlock_read_delay() argument
262 if (!(torture_random(trsp) % in torture_rwlock_read_delay()
338 static void torture_mutex_delay(struct torture_random_state *trsp) in torture_mutex_delay() argument
343 if (!(torture_random(trsp) % in torture_mutex_delay()
348 if (!(torture_random(trsp) % (cxt.nrealwriters_stress * 20000))) in torture_mutex_delay()
477 static void torture_rtmutex_boost(struct torture_random_state *trsp) in torture_rtmutex_boost() argument
487 if (trsp && !(torture_random(trsp) % in torture_rtmutex_boost()
500 if (!trsp || !(torture_random(trsp) % in torture_rtmutex_boost()
508 static void torture_rtmutex_delay(struct torture_random_state *trsp) in torture_rtmutex_delay() argument
517 if (!(torture_random(trsp) % in torture_rtmutex_delay()
520 if (!(torture_random(trsp) % in torture_rtmutex_delay()
523 if (!(torture_random(trsp) % (cxt.nrealwriters_stress * 20000))) in torture_rtmutex_delay()
553 static void torture_rwsem_write_delay(struct torture_random_state *trsp) in torture_rwsem_write_delay() argument
558 if (!(torture_random(trsp) % in torture_rwsem_write_delay()
563 if (!(torture_random(trsp) % (cxt.nrealwriters_stress * 20000))) in torture_rwsem_write_delay()
580 static void torture_rwsem_read_delay(struct torture_random_state *trsp) in torture_rwsem_read_delay() argument
585 if (!(torture_random(trsp) % in torture_rwsem_read_delay()
590 if (!(torture_random(trsp) % (cxt.nrealreaders_stress * 20000))) in torture_rwsem_read_delay()