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

/linux-master/kernel/locking/
H A Dlocktorture.c177 if (long_hold && !(torture_random(trsp) % (cxt.nrealwriters_stress * 2000 * long_hold)))
179 if (!(torture_random(trsp) % (cxt.nrealwriters_stress * 20000)))
198 if (trsp && !(torture_random(trsp) %
212 if (!trsp || !(torture_random(trsp) %
256 if (long_hold && !(torture_random(trsp) % (cxt.nrealwriters_stress * 2000 * long_hold))) {
261 if (!(torture_random(trsp) % (cxt.nrealwriters_stress * 200 * shortdelay_us)))
263 if (!(torture_random(trsp) % (cxt.nrealwriters_stress * 20000)))
380 if (long_hold && !(torture_random(trsp) % (cxt.nrealwriters_stress * 2000 * long_hold)))
406 if (long_hold && !(torture_random(trsp) % (cxt.nrealreaders_stress * 2000 * long_hold)))
506 if (long_hold && !(torture_random(trs
[all...]
/linux-master/kernel/
H A Dscftorture.c245 unsigned long w = torture_random(trsp) % (scf_sel_totweight + 1);
261 unsigned long r = torture_random(this_cpu_ptr(&scf_torture_rand));
342 cpu = torture_random(trsp) % nr_cpu_ids;
349 cpu = torture_random(trsp) % nr_cpu_ids;
372 cpu = torture_random(trsp) % nr_cpu_ids;
440 else if (!(torture_random(trsp) & 0xfff))
H A Dtorture.c96 hto += torture_random(trsp) % fuzzt_ns;
366 cpu = torture_random(&rand) % (maxcpu + 1);
455 torture_random(struct torture_random_state *trsp) function
465 EXPORT_SYMBOL_GPL(torture_random); variable
546 if (!random_shuffle || torture_random(trp) & 0x1)
/linux-master/kernel/rcu/
H A Drcutorture.c427 !(torture_random(rrsp) % (nrealreaders * 2000 * longdelay_ms))) {
438 if (!(torture_random(rrsp) % (nrealreaders * 2 * shortdelay_us))) {
443 !(torture_random(rrsp) % (nrealreaders * 500))) {
655 delay = torture_random(rrsp) %
1329 unsigned long r = torture_random(trsp);
1409 udelay(torture_random(&rand) & 0x3ff);
1456 switch (synctype[torture_random(&rand) % nsynctypes]) {
1469 torture_hrtimeout_jiffies(torture_random(&rand) % 16, &rand);
1477 torture_hrtimeout_jiffies(torture_random(&rand) % 16, &rand);
1485 torture_hrtimeout_jiffies(torture_random(
[all...]
H A Drcuscale.c498 schedule_timeout_idle(torture_random(&tr) % writer_holdoff_jiffies + 1);
670 (kfree_rcu_test_both && torture_random(&tr) & 0x800))
H A Drefscale.c642 idx = torture_random(this_cpu_ptr(&refscale_rand)) % rtsarray_size;
703 rtsp->a = torture_random(this_cpu_ptr(&refscale_rand));
/linux-master/include/linux/
H A Dtorture.h77 unsigned long torture_random(struct torture_random_state *trsp);

Completed in 142 milliseconds