Searched refs:torture_random (Results 1 – 7 of 7) sorted by relevance
178 if (long_hold && !(torture_random(trsp) % (cxt.nrealwriters_stress * 2000 * long_hold))) in torture_lock_busted_write_delay()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()257 if (long_hold && !(torture_random(trsp) % (cxt.nrealwriters_stress * 2000 * long_hold))) { in torture_spin_lock_write_delay()262 if (!(torture_random(trsp) % (cxt.nrealwriters_stress * 200 * shortdelay_us))) in torture_spin_lock_write_delay()264 if (!(torture_random(trsp) % (cxt.nrealwriters_stress * 20000))) in torture_spin_lock_write_delay()435 if (long_hold && !(torture_random(trsp) % (cxt.nrealwriters_stress * 2000 * long_hold))) in torture_rwlock_write_delay()461 if (long_hold && !(torture_random(trsp) % (cxt.nrealreaders_stress * 2000 * long_hold))) in torture_rwlock_read_delay()561 if (long_hold && !(torture_random(trsp) % (cxt.nrealwriters_stress * 2000 * long_hold))) in torture_mutex_delay()[all …]
472 !(torture_random(rrsp) % (nrealreaders * 2000 * longdelay_ms))) { in rcu_read_delay()483 if (!(torture_random(rrsp) % (nrealreaders * 2 * shortdelay_us))) { in rcu_read_delay()488 !(torture_random(rrsp) % (nrealreaders * 500))) in rcu_read_delay()765 delay = torture_random(rrsp) % in srcu_read_delay()1549 unsigned long r = torture_random(trsp); in do_rtws_sync()1653 udelay(torture_random(&rand) & 0x3ff); in rcu_torture_writer()1700 switch (synctype[torture_random(&rand) % nsynctypes]) { in rcu_torture_writer()1713 torture_hrtimeout_us(torture_random(&rand) % gp_cond_wi, in rcu_torture_writer()1722 torture_hrtimeout_us(torture_random(&rand) % gp_cond_wi_exp, in rcu_torture_writer()1731 torture_hrtimeout_us(torture_random(&rand) % gp_cond_wi, in rcu_torture_writer()[all …]
576 schedule_timeout_idle(torture_random(&tr) % writer_holdoff_jiffies + 1); in rcu_scale_writer()772 (kfree_rcu_test_both && torture_random(&tr) & 0x800)) in kfree_scale_thread()
1061 idx = torture_random(this_cpu_ptr(&refscale_rand)) % rtsarray_size; in typesafe_delay_section()1122 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()369 cpu = torture_random(&rand) % (maxcpu + 1); in torture_onoff()458 torture_random(struct torture_random_state *trsp) in torture_random() function468 EXPORT_SYMBOL_GPL(torture_random);549 if (!random_shuffle || torture_random(trp) & 0x1) in torture_shuffle_tasks()
77 unsigned long torture_random(struct torture_random_state *trsp);