Searched refs:torture_random (Results 1 – 5 of 5) 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 …]
479 if (!(torture_random(rrsp) % (nrealreaders * 2000 * longdelay_ms))) { in rcu_read_delay()490 if (!(torture_random(rrsp) % (nrealreaders * 2 * shortdelay_us))) { in rcu_read_delay()495 !(torture_random(rrsp) % (nrealreaders * 500))) in rcu_read_delay()778 delay = torture_random(rrsp) % in srcu_read_delay()1634 unsigned long r = torture_random(trsp); in do_rtws_sync()1753 udelay(torture_random(&rand) & 0x3ff); in rcu_torture_writer()1800 switch (synctype[torture_random(&rand) % nsynctypes]) { in rcu_torture_writer()1813 torture_hrtimeout_us(torture_random(&rand) % gp_cond_wi, in rcu_torture_writer()1822 torture_hrtimeout_us(torture_random(&rand) % gp_cond_wi_exp, in rcu_torture_writer()1831 torture_hrtimeout_us(torture_random(&rand) % gp_cond_wi, in rcu_torture_writer()[all …]
602 schedule_timeout_idle(torture_random(&tr) % writer_holdoff_jiffies + 1); in rcu_scale_writer()804 (kfree_rcu_test_both && torture_random(&tr) & 0x800)) in kfree_scale_thread()
276 unsigned long w = torture_random(trsp) % (scf_sel_totweight + 1); in scf_sel_rand()292 unsigned long r = torture_random(this_cpu_ptr(&scf_torture_rand)); in scf_handler()373 cpu = torture_random(trsp) % nr_cpu_ids; in scftorture_invoke_one()380 cpu = torture_random(trsp) % nr_cpu_ids; in scftorture_invoke_one()403 cpu = torture_random(trsp) % nr_cpu_ids; in scftorture_invoke_one()466 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()