Lines Matching refs:trsp

1357 static void do_rtws_sync(struct torture_random_state *trsp, void (*sync)(void))  in do_rtws_sync()  argument
1363 unsigned long r = torture_random(trsp); in do_rtws_sync()
1784 struct torture_random_state *trsp) in rcu_torture_reader_do_mbchk() argument
1803 rdrchked = torture_random(trsp) % nrealreaders; in rcu_torture_reader_do_mbchk()
1805 rdrchker = torture_random(trsp) % nrealreaders; in rcu_torture_reader_do_mbchk()
1848 struct torture_random_state *trsp, in rcutorture_one_extend() argument
1904 lockit = !cur_ops->no_pi_lock && !statesnew && !(torture_random(trsp) & 0xffff); in rcutorture_one_extend()
1916 cur_ops->read_delay(trsp, rtrsp); in rcutorture_one_extend()
1944 rcutorture_extend_mask(int oldmask, struct torture_random_state *trsp) in rcutorture_extend_mask() argument
1947 unsigned long randmask1 = torture_random(trsp); in rcutorture_extend_mask()
1995 rcutorture_loop_extend(int *readstate, struct torture_random_state *trsp, in rcutorture_loop_extend() argument
2006 i = torture_random(trsp); in rcutorture_loop_extend()
2009 mask = rcutorture_extend_mask(*readstate, trsp); in rcutorture_loop_extend()
2010 rcutorture_one_extend(readstate, mask, trsp, &rtrsp[j]); in rcutorture_loop_extend()
2020 static bool rcu_torture_one_read(struct torture_random_state *trsp, long myid) in rcu_torture_one_read() argument
2022 bool checkpolling = !(torture_random(trsp) & 0xfff); in rcu_torture_one_read()
2038 newstate = rcutorture_extend_mask(readstate, trsp); in rcu_torture_one_read()
2039 rcutorture_one_extend(&readstate, newstate, trsp, rtrsp++); in rcu_torture_one_read()
2052 rcutorture_one_extend(&readstate, 0, trsp, rtrsp); in rcu_torture_one_read()
2057 rcu_torture_reader_do_mbchk(myid, p, trsp); in rcu_torture_one_read()
2058 rtrsp = rcutorture_loop_extend(&readstate, trsp, rtrsp); in rcu_torture_one_read()
2096 rcutorture_one_extend(&readstate, 0, trsp, rtrsp); in rcu_torture_one_read()
3319 struct torture_random_state *trsp = trsp_in; in rcu_torture_read_exit_child() local
3325 (void)rcu_torture_one_read(trsp, -1); in rcu_torture_read_exit_child()