Home
last modified time | relevance | path

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

/linux/kernel/locking/
A Dlocktorture.c180 if (!(torture_random(trsp) % (cxt.nrealwriters_stress * 20000))) in torture_lock_busted_write_delay()
199 if (trsp && !(torture_random(trsp) % in __torture_rt_boost()
213 if (!trsp || !(torture_random(trsp) % in __torture_rt_boost()
264 if (!(torture_random(trsp) % (cxt.nrealwriters_stress * 20000))) in torture_spin_lock_write_delay()
509 if (!(torture_random(trsp) % (cxt.nrealwriters_stress * 20000))) in torture_mutex_delay()
683 if (!(torture_random(trsp) % in torture_rtmutex_delay()
686 if (!(torture_random(trsp) % (cxt.nrealwriters_stress * 20000))) in torture_rtmutex_delay()
858 if ((torture_random(&rand) & 0xfffff) == 0) in lock_torture_writer()
861 lockset_mask = torture_random(&rand); in lock_torture_writer()
871 !(torture_random(&rand) % 100)); in lock_torture_writer()
[all …]
/linux/kernel/rcu/
A Drcutorture.c446 !(torture_random(rrsp) % (nrealreaders * 500))) { in rcu_read_delay()
659 delay = torture_random(rrsp) % in srcu_read_delay()
1334 unsigned long r = torture_random(trsp); in do_rtws_sync()
1427 udelay(torture_random(&rand) & 0x3ff); in rcu_torture_writer()
1766 rdrchked = torture_random(trsp) % nrealreaders; in rcu_torture_reader_do_mbchk()
1768 rdrchker = torture_random(trsp) % nrealreaders; in rcu_torture_reader_do_mbchk()
1913 unsigned long randmask1 = torture_random(trsp); in rcutorture_extend_mask()
1972 i = torture_random(trsp); in rcutorture_loop_extend()
1988 bool checkpolling = !(torture_random(trsp) & 0xfff); in rcu_torture_one_read()
2173 r = torture_random(&rand); in rcu_nocb_toggle()
[all …]
A Drcuscale.c583 schedule_timeout_idle(torture_random(&tr) % writer_holdoff_jiffies + 1); in rcu_scale_writer()
779 (kfree_rcu_test_both && torture_random(&tr) & 0x800)) in kfree_scale_thread()
A Drefscale.c644 idx = torture_random(this_cpu_ptr(&refscale_rand)) % rtsarray_size; in typesafe_delay_section()
705 rtsp->a = torture_random(this_cpu_ptr(&refscale_rand)); in refscale_typesafe_ctor()
/linux/kernel/
A Dscftorture.c246 unsigned long w = torture_random(trsp) % (scf_sel_totweight + 1); in scf_sel_rand()
262 unsigned long r = torture_random(this_cpu_ptr(&scf_torture_rand)); in scf_handler()
343 cpu = torture_random(trsp) % nr_cpu_ids; in scftorture_invoke_one()
350 cpu = torture_random(trsp) % nr_cpu_ids; in scftorture_invoke_one()
373 cpu = torture_random(trsp) % nr_cpu_ids; in scftorture_invoke_one()
441 else if (!(torture_random(trsp) & 0xfff)) in scftorture_invoke_one()
A Dtorture.c97 hto += torture_random(trsp) % fuzzt_ns; in torture_hrtimeout_ns()
367 cpu = torture_random(&rand) % (maxcpu + 1); in torture_onoff()
456 torture_random(struct torture_random_state *trsp) in torture_random() function
466 EXPORT_SYMBOL_GPL(torture_random);
547 if (!random_shuffle || torture_random(trp) & 0x1) in torture_shuffle_tasks()
/linux/include/linux/
A Dtorture.h77 unsigned long torture_random(struct torture_random_state *trsp);

Completed in 30 milliseconds