Lines Matching refs:cur_ops
144 static struct rcu_perf_ops *cur_ops; variable
300 if (!cur_ops->gp_diff) in rcuperf_seq_diff()
302 return cur_ops->gp_diff(new, old); in rcuperf_seq_diff()
335 idx = cur_ops->readlock(); in rcu_perf_reader()
336 cur_ops->readunlock(idx); in rcu_perf_reader()
391 cur_ops->exp_completed() / 2; in rcu_perf_writer()
393 b_rcu_perf_writer_started = cur_ops->get_gp_seq(); in rcu_perf_writer()
409 cur_ops->async(rhp, rcu_perf_async_cb); in rcu_perf_writer()
413 cur_ops->gp_barrier(); in rcu_perf_writer()
420 cur_ops->exp_sync(); in rcu_perf_writer()
423 cur_ops->sync(); in rcu_perf_writer()
447 cur_ops->exp_completed() / 2; in rcu_perf_writer()
450 cur_ops->get_gp_seq(); in rcu_perf_writer()
467 cur_ops->gp_barrier(); in rcu_perf_writer()
476 rcu_perf_print_module_parms(struct rcu_perf_ops *cur_ops, const char *tag) in rcu_perf_print_module_parms() argument
505 if (!cur_ops) { in rcu_perf_cleanup()
560 if (cur_ops->cleanup != NULL) in rcu_perf_cleanup()
561 cur_ops->cleanup(); in rcu_perf_cleanup()
617 cur_ops = perf_ops[i]; in rcu_perf_init()
618 if (strcmp(perf_type, cur_ops->name) == 0) in rcu_perf_init()
629 cur_ops = NULL; in rcu_perf_init()
632 if (cur_ops->init) in rcu_perf_init()
633 cur_ops->init(); in rcu_perf_init()
640 rcu_perf_print_module_parms(cur_ops, "Start of test"); in rcu_perf_init()