Lines Matching refs:torture_random
325 if (!(torture_random(rrsp) % (nrealreaders * 2000 * longdelay_ms))) { in rcu_read_delay()
333 if (!(torture_random(rrsp) % (nrealreaders * 2 * shortdelay_us))) in rcu_read_delay()
336 !(torture_random(rrsp) % (nrealreaders * 500))) in rcu_read_delay()
542 delay = torture_random(rrsp) % in srcu_read_delay()
619 if (torture_random(&rand) & 0x800) in srcu_torture_cleanup()
1075 udelay(torture_random(&rand) & 0x3ff); in rcu_torture_writer()
1088 switch (synctype[torture_random(&rand) % nsynctypes]) { in rcu_torture_writer()
1101 i = torture_random(&rand) % 16; in rcu_torture_writer()
1104 udelay(torture_random(&rand) % 1000); in rcu_torture_writer()
1122 !(torture_random(&rand) & 0xff & (!!expediting - 1))) { in rcu_torture_writer()
1165 schedule_timeout_uninterruptible(1 + torture_random(&rand)%10); in rcu_torture_fakewriter()
1166 udelay(torture_random(&rand) & 0x3ff); in rcu_torture_fakewriter()
1168 torture_random(&rand) % (nfakewriters * 8) == 0) { in rcu_torture_fakewriter()
1171 if (cur_ops->sync && torture_random(&rand) & 0x80) in rcu_torture_fakewriter()
1262 unsigned long randmask1 = torture_random(trsp) >> 8; in rcutorture_extend_mask()
1295 i = (torture_random(trsp) >> 3) & RCUTORTURE_RDR_MAX_LOOPS; in rcutorture_loop_extend()