Lines Matching refs:torture_random
342 !(torture_random(rrsp) % (nrealreaders * 2000 * longdelay_ms))) { in rcu_read_delay()
353 if (!(torture_random(rrsp) % (nrealreaders * 2 * shortdelay_us))) { in rcu_read_delay()
358 !(torture_random(rrsp) % (nrealreaders * 500))) { in rcu_read_delay()
528 delay = torture_random(rrsp) % in srcu_read_delay()
1005 udelay(torture_random(&rand) & 0x3ff); in rcu_torture_writer()
1018 switch (synctype[torture_random(&rand) % nsynctypes]) { in rcu_torture_writer()
1031 i = torture_random(&rand) % 16; in rcu_torture_writer()
1034 udelay(torture_random(&rand) % 1000); in rcu_torture_writer()
1053 !(torture_random(&rand) & 0xff & (!!expediting - 1))) { in rcu_torture_writer()
1106 schedule_timeout_uninterruptible(1 + torture_random(&rand)%10); in rcu_torture_fakewriter()
1107 udelay(torture_random(&rand) & 0x3ff); in rcu_torture_fakewriter()
1109 torture_random(&rand) % (nfakewriters * 8) == 0) { in rcu_torture_fakewriter()
1112 if (cur_ops->sync && torture_random(&rand) & 0x80) in rcu_torture_fakewriter()
1213 unsigned long randmask1 = torture_random(trsp) >> 8; in rcutorture_extend_mask()
1246 i = (torture_random(trsp) >> 3); in rcutorture_loop_extend()
1796 dur = sd4 + torture_random(&trs) % (sd - sd4); in rcu_torture_fwd_prog_nr()