torture_random_state
#define DEFINE_TORTURE_RANDOM(name) struct torture_random_state name = { 0, 0 }
DEFINE_PER_CPU(struct torture_random_state, name)
unsigned long torture_random(struct torture_random_state *trsp);
static inline void torture_random_init(struct torture_random_state *trsp)
struct torture_random_state *trsp);
int torture_hrtimeout_us(u32 baset_us, u32 fuzzt_ns, struct torture_random_state *trsp);
int torture_hrtimeout_ms(u32 baset_ms, u32 fuzzt_us, struct torture_random_state *trsp);
int torture_hrtimeout_jiffies(u32 baset_j, struct torture_random_state *trsp);
int torture_hrtimeout_s(u32 baset_s, u32 fuzzt_ms, struct torture_random_state *trsp);
void (*write_delay)(struct torture_random_state *trsp);
void (*task_boost)(struct torture_random_state *trsp);
void (*read_delay)(struct torture_random_state *trsp);
static void torture_lock_busted_write_delay(struct torture_random_state *trsp)
static void __torture_rt_boost(struct torture_random_state *trsp)
static void torture_rt_boost(struct torture_random_state *trsp)
static void torture_spin_lock_write_delay(struct torture_random_state *trsp)
static void torture_rwlock_write_delay(struct torture_random_state *trsp)
static void torture_rwlock_read_delay(struct torture_random_state *trsp)
static void torture_mutex_delay(struct torture_random_state *trsp)
static void torture_rtmutex_delay(struct torture_random_state *trsp)
static void torture_rt_boost_rtmutex(struct torture_random_state *trsp)
static void torture_rwsem_write_delay(struct torture_random_state *trsp)
static void torture_rwsem_read_delay(struct torture_random_state *trsp)
static void do_rtws_sync(struct torture_random_state *trsp, void (*sync)(void))
struct torture_random_state *trsp)
static void rcutorture_one_extend(int *readstate, int newstate, struct torture_random_state *trsp,
rcutorture_extend_mask(int oldmask, struct torture_random_state *trsp)
rcutorture_loop_extend(int *readstate, struct torture_random_state *trsp, struct rt_read_seg *rtrsp)
struct torture_random_state *trsp)
struct torture_random_state *trsp, long myid)
struct torture_random_state *trsp)
static bool rcu_torture_one_read(struct torture_random_state *trsp, long myid)
struct torture_random_state rtorsu_trs;
struct torture_random_state *rand = &rcu_torture_updown_rand;
void (*read_delay)(struct torture_random_state *rrsp,
struct torture_random_state *trsp = trsp_in;
rcu_read_delay(struct torture_random_state *rrsp, struct rt_read_seg *rtrsp)
srcu_read_delay(struct torture_random_state *rrsp, struct rt_read_seg *rtrsp)
static struct scf_selector *scf_sel_rand(struct torture_random_state *trsp)
static void scftorture_invoke_one(struct scf_statistics *scfp, struct torture_random_state *trsp)
int torture_hrtimeout_us(u32 baset_us, u32 fuzzt_ns, struct torture_random_state *trsp)
int torture_hrtimeout_ms(u32 baset_ms, u32 fuzzt_us, struct torture_random_state *trsp)
int torture_hrtimeout_jiffies(u32 baset_j, struct torture_random_state *trsp)
int torture_hrtimeout_s(u32 baset_s, u32 fuzzt_ms, struct torture_random_state *trsp)
torture_random(struct torture_random_state *trsp)
static void torture_shuffle_tasks(struct torture_random_state *trp)
struct torture_random_state *trsp)