Home
last modified time | relevance | path

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

/linux-6.1.9/kernel/locking/
Dlocktorture.c118 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()
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()
234 if (!(torture_random(trsp) % in torture_rwlock_write_delay()
262 if (!(torture_random(trsp) % in torture_rwlock_read_delay()
343 if (!(torture_random(trsp) % in torture_mutex_delay()
348 if (!(torture_random(trsp) % (cxt.nrealwriters_stress * 20000))) in torture_mutex_delay()
487 if (trsp && !(torture_random(trsp) % in torture_rtmutex_boost()
[all …]
/linux-6.1.9/kernel/rcu/
Drcutorture.c418 !(torture_random(rrsp) % (nrealreaders * 2000 * longdelay_ms))) { in rcu_read_delay()
429 if (!(torture_random(rrsp) % (nrealreaders * 2 * shortdelay_us))) { in rcu_read_delay()
434 !(torture_random(rrsp) % (nrealreaders * 500))) { in rcu_read_delay()
633 delay = torture_random(rrsp) % in srcu_read_delay()
1305 unsigned long r = torture_random(trsp); in do_rtws_sync()
1376 udelay(torture_random(&rand) & 0x3ff); in rcu_torture_writer()
1422 switch (synctype[torture_random(&rand) % nsynctypes]) { in rcu_torture_writer()
1435 torture_hrtimeout_jiffies(torture_random(&rand) % 16, &rand); in rcu_torture_writer()
1443 torture_hrtimeout_jiffies(torture_random(&rand) % 16, &rand); in rcu_torture_writer()
1451 torture_hrtimeout_jiffies(torture_random(&rand) % 16, &rand); in rcu_torture_writer()
[all …]
Drcuscale.c704 (kfree_rcu_test_both && torture_random(&tr) & 0x800)) in kfree_scale_thread()
/linux-6.1.9/kernel/
Dscftorture.c244 unsigned long w = torture_random(trsp) % (scf_sel_totweight + 1); in scf_sel_rand()
260 unsigned long r = torture_random(this_cpu_ptr(&scf_torture_rand)); in scf_handler()
338 cpu = torture_random(trsp) % nr_cpu_ids; in scftorture_invoke_one()
345 cpu = torture_random(trsp) % nr_cpu_ids; in scftorture_invoke_one()
368 cpu = torture_random(trsp) % nr_cpu_ids; in scftorture_invoke_one()
434 if (!(torture_random(trsp) & 0xfff)) in scftorture_invoke_one()
Dtorture.c91 hto += (torture_random(trsp) >> 3) % fuzzt_ns; in torture_hrtimeout_ns()
361 cpu = (torture_random(&rand) >> 4) % (maxcpu + 1); in torture_onoff()
450 torture_random(struct torture_random_state *trsp) in torture_random() function
460 EXPORT_SYMBOL_GPL(torture_random);
/linux-6.1.9/include/linux/
Dtorture.h76 unsigned long torture_random(struct torture_random_state *trsp);