Home
last modified time | relevance | path

Searched refs:torture_random (Results 1 – 3 of 3) sorted by relevance

/kernel/locking/
Dlocktorture.c133 if (!(torture_random(trsp) % in torture_lock_busted_write_delay()
137 if (!(torture_random(trsp) % (cxt.nrealwriters_stress * 20000))) in torture_lock_busted_write_delay()
179 if (!(torture_random(trsp) % in torture_spin_lock_write_delay()
182 if (!(torture_random(trsp) % in torture_spin_lock_write_delay()
186 if (!(torture_random(trsp) % (cxt.nrealwriters_stress * 20000))) in torture_spin_lock_write_delay()
250 if (!(torture_random(trsp) % in torture_rwlock_write_delay()
276 if (!(torture_random(trsp) % in torture_rwlock_read_delay()
353 if (!(torture_random(trsp) % in torture_mutex_delay()
359 if (!(torture_random(trsp) % (cxt.nrealwriters_stress * 20000))) in torture_mutex_delay()
401 if (!(torture_random(trsp) % in torture_rtmutex_boost()
[all …]
/kernel/rcu/
Drcutorture.c285 if (!(torture_random(rrsp) % (nrealreaders * 2000 * longdelay_ms))) in rcu_read_delay()
287 if (!(torture_random(rrsp) % (nrealreaders * 2 * shortdelay_us))) in rcu_read_delay()
291 !(torture_random(rrsp) % (nrealreaders * 20000))) in rcu_read_delay()
497 delay = torture_random(rrsp) % in srcu_read_delay()
959 udelay(torture_random(&rand) & 0x3ff); in rcu_torture_writer()
972 switch (synctype[torture_random(&rand) % nsynctypes]) { in rcu_torture_writer()
985 i = torture_random(&rand) % 16; in rcu_torture_writer()
988 udelay(torture_random(&rand) % 1000); in rcu_torture_writer()
1006 !(torture_random(&rand) & 0xff & (!!expediting - 1))) { in rcu_torture_writer()
1042 schedule_timeout_uninterruptible(1 + torture_random(&rand)%10); in rcu_torture_fakewriter()
[all …]
/kernel/
Dtorture.c108 cpu = (torture_random(&rand) >> 4) % (maxcpu + 1); in torture_onoff()
250 torture_random(struct torture_random_state *trsp) in torture_random() function
260 EXPORT_SYMBOL_GPL(torture_random);