Lines Matching defs:rcu_torture_ops
342 struct rcu_torture_ops { struct
343 int ttype;
344 void (*init)(void);
345 void (*cleanup)(void);
346 int (*readlock)(void);
347 void (*read_delay)(struct torture_random_state *rrsp,
349 void (*readunlock)(int idx);
350 int (*readlock_held)(void);
351 unsigned long (*get_gp_seq)(void);
352 unsigned long (*gp_diff)(unsigned long new, unsigned long old);
353 void (*deferred_free)(struct rcu_torture *p);
354 void (*sync)(void);
355 void (*exp_sync)(void);
356 unsigned long (*get_gp_state_exp)(void);
357 unsigned long (*start_gp_poll_exp)(void);
358 void (*start_gp_poll_exp_full)(struct rcu_gp_oldstate *rgosp);
359 bool (*poll_gp_state_exp)(unsigned long oldstate);
360 void (*cond_sync_exp)(unsigned long oldstate);
361 void (*cond_sync_exp_full)(struct rcu_gp_oldstate *rgosp);
362 unsigned long (*get_comp_state)(void);
363 void (*get_comp_state_full)(struct rcu_gp_oldstate *rgosp);
364 bool (*same_gp_state)(unsigned long oldstate1, unsigned long oldstate2);
365 bool (*same_gp_state_full)(struct rcu_gp_oldstate *rgosp1, struct rcu_gp_oldstate *rgosp2);
366 unsigned long (*get_gp_state)(void);
367 void (*get_gp_state_full)(struct rcu_gp_oldstate *rgosp);
368 unsigned long (*get_gp_completed)(void);
369 void (*get_gp_completed_full)(struct rcu_gp_oldstate *rgosp);
393 static struct rcu_torture_ops *cur_ops; argument