Lines Matching refs:trsp
1318 static void do_rtws_sync(struct torture_random_state *trsp, void (*sync)(void))
1324 unsigned long r = torture_random(trsp);
1719 struct torture_random_state *trsp)
1738 rdrchked = torture_random(trsp) % nrealreaders;
1740 rdrchker = torture_random(trsp) % nrealreaders;
1778 * and random-number-generator state in trsp. If this is neither the
1783 struct torture_random_state *trsp,
1839 lockit = !cur_ops->no_pi_lock && !statesnew && !(torture_random(trsp) & 0xffff);
1851 cur_ops->read_delay(trsp, rtrsp);
1882 rcutorture_extend_mask(int oldmask, struct torture_random_state *trsp)
1885 unsigned long randmask1 = torture_random(trsp);
1933 rcutorture_loop_extend(int *readstate, struct torture_random_state *trsp,
1944 i = torture_random(trsp);
1947 mask = rcutorture_extend_mask(*readstate, trsp);
1948 rcutorture_one_extend(readstate, mask, trsp, &rtrsp[j]);
1958 static bool rcu_torture_one_read(struct torture_random_state *trsp, long myid)
1960 bool checkpolling = !(torture_random(trsp) & 0xfff);
1976 newstate = rcutorture_extend_mask(readstate, trsp);
1977 rcutorture_one_extend(&readstate, newstate, trsp, rtrsp++);
1990 rcutorture_one_extend(&readstate, 0, trsp, rtrsp);
1995 rcu_torture_reader_do_mbchk(myid, p, trsp);
1996 rtrsp = rcutorture_loop_extend(&readstate, trsp, rtrsp);
2033 rcutorture_one_extend(&readstate, 0, trsp, rtrsp);
3226 struct torture_random_state *trsp = trsp_in;
3232 (void)rcu_torture_one_read(trsp, -1);