Lines Matching refs:torture_random
383 !(torture_random(rrsp) % (nrealreaders * 2000 * longdelay_ms))) { in rcu_read_delay()
394 if (!(torture_random(rrsp) % (nrealreaders * 2 * shortdelay_us))) { in rcu_read_delay()
399 !(torture_random(rrsp) % (nrealreaders * 500))) { in rcu_read_delay()
581 delay = torture_random(rrsp) % in srcu_read_delay()
1183 udelay(torture_random(&rand) & 0x3ff); in rcu_torture_writer()
1209 switch (synctype[torture_random(&rand) % nsynctypes]) { in rcu_torture_writer()
1222 torture_hrtimeout_jiffies(torture_random(&rand) % 16, &rand); in rcu_torture_writer()
1232 torture_hrtimeout_jiffies(torture_random(&rand) % 16, in rcu_torture_writer()
1250 !(torture_random(&rand) & 0xff & (!!expediting - 1))) { in rcu_torture_writer()
1310 torture_hrtimeout_jiffies(torture_random(&rand) % 10, &rand); in rcu_torture_fakewriter()
1312 torture_random(&rand) % (nfakewriters * 8) == 0) { in rcu_torture_fakewriter()
1315 switch (synctype[torture_random(&rand) % nsynctypes]) { in rcu_torture_fakewriter()
1323 torture_hrtimeout_jiffies(torture_random(&rand) % 16, &rand); in rcu_torture_fakewriter()
1329 torture_hrtimeout_jiffies(torture_random(&rand) % 16, in rcu_torture_fakewriter()
1374 rdrchked = torture_random(trsp) % nrealreaders; in rcu_torture_reader_do_mbchk()
1376 rdrchker = torture_random(trsp) % nrealreaders; in rcu_torture_reader_do_mbchk()
1464 bool lockit = !statesnew && !(torture_random(trsp) & 0xffff); in rcutorture_one_extend()
1503 unsigned long randmask1 = torture_random(trsp) >> 8; in rcutorture_extend_mask()
1554 i = (torture_random(trsp) >> 3); in rcutorture_loop_extend()
1739 r = torture_random(&rand); in rcu_nocb_toggle()
1748 toggle_delay = torture_random(&rand) % toggle_fuzz + toggle_interval; in rcu_nocb_toggle()
2259 dur = sd4 + torture_random(&trs) % (sd - sd4); in rcu_torture_fwd_prog_nr()