Searched refs:torture_random (Results 1 – 7 of 7) sorted by relevance
180 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()563 if (!(torture_random(trsp) % (cxt.nrealwriters_stress * 20000))) in torture_mutex_delay()737 if (!(torture_random(trsp) % in torture_rtmutex_delay()740 if (!(torture_random(trsp) % (cxt.nrealwriters_stress * 20000))) in torture_rtmutex_delay()912 if ((torture_random(&rand) & 0xfffff) == 0) in lock_torture_writer()915 lockset_mask = torture_random(&rand); in lock_torture_writer()925 !(torture_random(&rand) % 100)); in lock_torture_writer()[all …]
474 !(torture_random(rrsp) % (nrealreaders * 500))) in rcu_read_delay()729 delay = torture_random(rrsp) % in srcu_read_delay()1429 unsigned long r = torture_random(trsp); in do_rtws_sync()1522 udelay(torture_random(&rand) & 0x3ff); in rcu_torture_writer()1873 rdrchked = torture_random(trsp) % nrealreaders; in rcu_torture_reader_do_mbchk()1875 rdrchker = torture_random(trsp) % nrealreaders; in rcu_torture_reader_do_mbchk()2099 unsigned long randmask1 = torture_random(trsp); in rcutorture_extend_mask()2158 i = torture_random(trsp); in rcutorture_loop_extend()2174 bool checkpolling = !(torture_random(trsp) & 0xfff); in rcu_torture_one_read()2363 r = torture_random(&rand); in rcu_nocb_toggle()[all …]
583 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()
741 idx = torture_random(this_cpu_ptr(&refscale_rand)) % rtsarray_size; in typesafe_delay_section()802 rtsp->a = torture_random(this_cpu_ptr(&refscale_rand)); in refscale_typesafe_ctor()
275 unsigned long w = torture_random(trsp) % (scf_sel_totweight + 1); in scf_sel_rand()291 unsigned long r = torture_random(this_cpu_ptr(&scf_torture_rand)); in scf_handler()372 cpu = torture_random(trsp) % nr_cpu_ids; in scftorture_invoke_one()379 cpu = torture_random(trsp) % nr_cpu_ids; in scftorture_invoke_one()402 cpu = torture_random(trsp) % nr_cpu_ids; in scftorture_invoke_one()470 else if (!(torture_random(trsp) & 0xfff)) in scftorture_invoke_one()
97 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() function466 EXPORT_SYMBOL_GPL(torture_random);547 if (!random_shuffle || torture_random(trp) & 0x1) in torture_shuffle_tasks()
77 unsigned long torture_random(struct torture_random_state *trsp);