Lines Matching refs:torture_random
354 !(torture_random(rrsp) % (nrealreaders * 2000 * longdelay_ms))) { in rcu_read_delay()
365 if (!(torture_random(rrsp) % (nrealreaders * 2 * shortdelay_us))) { in rcu_read_delay()
370 !(torture_random(rrsp) % (nrealreaders * 500))) { in rcu_read_delay()
541 delay = torture_random(rrsp) % in srcu_read_delay()
1084 udelay(torture_random(&rand) & 0x3ff); in rcu_torture_writer()
1098 switch (synctype[torture_random(&rand) % nsynctypes]) { in rcu_torture_writer()
1111 i = torture_random(&rand) % 16; in rcu_torture_writer()
1114 udelay(torture_random(&rand) % 1000); in rcu_torture_writer()
1133 !(torture_random(&rand) & 0xff & (!!expediting - 1))) { in rcu_torture_writer()
1188 schedule_timeout_uninterruptible(1 + torture_random(&rand)%10); in rcu_torture_fakewriter()
1189 udelay(torture_random(&rand) & 0x3ff); in rcu_torture_fakewriter()
1191 torture_random(&rand) % (nfakewriters * 8) == 0) { in rcu_torture_fakewriter()
1194 if (cur_ops->sync && torture_random(&rand) & 0x80) in rcu_torture_fakewriter()
1264 bool lockit = !statesnew && !(torture_random(trsp) & 0xffff); in rcutorture_one_extend()
1303 unsigned long randmask1 = torture_random(trsp) >> 8; in rcutorture_extend_mask()
1336 i = (torture_random(trsp) >> 3); in rcutorture_loop_extend()
1932 dur = sd4 + torture_random(&trs) % (sd - sd4); in rcu_torture_fwd_prog_nr()