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