Home
last modified time | relevance | path

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

/linux/kernel/locking/
A Dlocktorture.c118 if (!(torture_random(trsp) % 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()
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()
487 if (trsp && !(torture_random(trsp) % in torture_rtmutex_boost()
517 if (!(torture_random(trsp) % in torture_rtmutex_delay()
520 if (!(torture_random(trsp) % in torture_rtmutex_delay()
558 if (!(torture_random(trsp) % in torture_rwsem_write_delay()
[all …]
/linux/kernel/rcu/
A Drcutorture.c399 !(torture_random(rrsp) % (nrealreaders * 500))) { in rcu_read_delay()
581 delay = torture_random(rrsp) % in srcu_read_delay()
1183 udelay(torture_random(&rand) & 0x3ff); in rcu_torture_writer()
1209 switch (synctype[torture_random(&rand) % nsynctypes]) { in rcu_torture_writer()
1312 torture_random(&rand) % (nfakewriters * 8) == 0) { in rcu_torture_fakewriter()
1374 rdrchked = torture_random(trsp) % nrealreaders; in rcu_torture_reader_do_mbchk()
1376 rdrchker = torture_random(trsp) % nrealreaders; in rcu_torture_reader_do_mbchk()
1503 unsigned long randmask1 = torture_random(trsp) >> 8; in rcutorture_extend_mask()
1554 i = (torture_random(trsp) >> 3); in rcutorture_loop_extend()
1739 r = torture_random(&rand); in rcu_nocb_toggle()
[all …]
A Drcuscale.c683 (kfree_rcu_test_both && torture_random(&tr) & 0x800)) in kfree_scale_thread()
/linux/kernel/
A Dscftorture.c248 unsigned long w = torture_random(trsp) % (scf_sel_totweight + 1); in scf_sel_rand()
264 unsigned long r = torture_random(this_cpu_ptr(&scf_torture_rand)); in scf_handler()
341 cpu = torture_random(trsp) % nr_cpu_ids; in scftorture_invoke_one()
348 cpu = torture_random(trsp) % nr_cpu_ids; in scftorture_invoke_one()
371 cpu = torture_random(trsp) % nr_cpu_ids; in scftorture_invoke_one()
437 if (!(torture_random(trsp) & 0xfff)) in scftorture_invoke_one()
A 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/include/linux/
A Dtorture.h81 unsigned long torture_random(struct torture_random_state *trsp);

Completed in 21 milliseconds