Searched refs:torture_random (Results 1 – 7 of 7) sorted by relevance
122 if (!(torture_random(trsp) % in torture_lock_busted_write_delay()125 if (!(torture_random(trsp) % (cxt.nrealwriters_stress * 20000))) in torture_lock_busted_write_delay()144 if (trsp && !(torture_random(trsp) % in __torture_rt_boost()158 if (!trsp || !(torture_random(trsp) % in __torture_rt_boost()203 if (!(torture_random(trsp) % (cxt.nrealwriters_stress * 2000 * longdelay_ms))) { in torture_spin_lock_write_delay()208 if (!(torture_random(trsp) % (cxt.nrealwriters_stress * 200 * shortdelay_us))) in torture_spin_lock_write_delay()210 if (!(torture_random(trsp) % (cxt.nrealwriters_stress * 20000))) in torture_spin_lock_write_delay()328 if (!(torture_random(trsp) % in torture_rwlock_write_delay()356 if (!(torture_random(trsp) % in torture_rwlock_read_delay()459 if (!(torture_random(trsp) % in torture_mutex_delay()[all …]
423 !(torture_random(rrsp) % (nrealreaders * 2000 * longdelay_ms))) { in rcu_read_delay()434 if (!(torture_random(rrsp) % (nrealreaders * 2 * shortdelay_us))) { in rcu_read_delay()439 !(torture_random(rrsp) % (nrealreaders * 500))) { in rcu_read_delay()646 delay = torture_random(rrsp) % in srcu_read_delay()1323 unsigned long r = torture_random(trsp); in do_rtws_sync()1398 udelay(torture_random(&rand) & 0x3ff); in rcu_torture_writer()1444 switch (synctype[torture_random(&rand) % nsynctypes]) { in rcu_torture_writer()1457 torture_hrtimeout_jiffies(torture_random(&rand) % 16, &rand); in rcu_torture_writer()1465 torture_hrtimeout_jiffies(torture_random(&rand) % 16, &rand); in rcu_torture_writer()1473 torture_hrtimeout_jiffies(torture_random(&rand) % 16, &rand); in rcu_torture_writer()[all …]
498 schedule_timeout_idle(torture_random(&tr) % writer_holdoff_jiffies + 1); in rcu_scale_writer()670 (kfree_rcu_test_both && torture_random(&tr) & 0x800)) in kfree_scale_thread()
642 idx = torture_random(this_cpu_ptr(&refscale_rand)) % rtsarray_size; in typesafe_delay_section()703 rtsp->a = torture_random(this_cpu_ptr(&refscale_rand)); in refscale_typesafe_ctor()
245 unsigned long w = torture_random(trsp) % (scf_sel_totweight + 1); in scf_sel_rand()261 unsigned long r = torture_random(this_cpu_ptr(&scf_torture_rand)); in scf_handler()342 cpu = torture_random(trsp) % nr_cpu_ids; in scftorture_invoke_one()349 cpu = torture_random(trsp) % nr_cpu_ids; in scftorture_invoke_one()372 cpu = torture_random(trsp) % nr_cpu_ids; in scftorture_invoke_one()440 else if (!(torture_random(trsp) & 0xfff)) in scftorture_invoke_one()
96 hto += torture_random(trsp) % fuzzt_ns; in torture_hrtimeout_ns()366 cpu = torture_random(&rand) % (maxcpu + 1); in torture_onoff()455 torture_random(struct torture_random_state *trsp) in torture_random() function465 EXPORT_SYMBOL_GPL(torture_random);547 if (!random_shuffle || torture_random(&rand) & 0x1) in torture_shuffle_tasks()
76 unsigned long torture_random(struct torture_random_state *trsp);