Lines Matching refs:cur_ops
143 static struct rcu_scale_ops *cur_ops; variable
299 if (!cur_ops->gp_diff) in rcuscale_seq_diff()
301 return cur_ops->gp_diff(new, old); in rcuscale_seq_diff()
336 idx = cur_ops->readlock(); in rcu_scale_reader()
337 cur_ops->readunlock(idx); in rcu_scale_reader()
390 cur_ops->exp_completed() / 2; in rcu_scale_writer()
392 b_rcu_gp_test_started = cur_ops->get_gp_seq(); in rcu_scale_writer()
407 cur_ops->async(rhp, rcu_scale_async_cb); in rcu_scale_writer()
410 cur_ops->gp_barrier(); in rcu_scale_writer()
416 cur_ops->exp_sync(); in rcu_scale_writer()
418 cur_ops->sync(); in rcu_scale_writer()
439 cur_ops->exp_completed() / 2; in rcu_scale_writer()
442 cur_ops->get_gp_seq(); in rcu_scale_writer()
458 cur_ops->gp_barrier(); in rcu_scale_writer()
466 rcu_scale_print_module_parms(struct rcu_scale_ops *cur_ops, const char *tag) in rcu_scale_print_module_parms() argument
495 if (!cur_ops) { in rcu_scale_cleanup()
550 if (cur_ops->cleanup != NULL) in rcu_scale_cleanup()
551 cur_ops->cleanup(); in rcu_scale_cleanup()
626 b_rcu_gp_test_started = cur_ops->exp_completed() / 2; in kfree_scale_thread()
628 b_rcu_gp_test_started = cur_ops->get_gp_seq(); in kfree_scale_thread()
653 b_rcu_gp_test_finished = cur_ops->exp_completed() / 2; in kfree_scale_thread()
655 b_rcu_gp_test_finished = cur_ops->get_gp_seq(); in kfree_scale_thread()
765 cur_ops = scale_ops[i]; in rcu_scale_init()
766 if (strcmp(scale_type, cur_ops->name) == 0) in rcu_scale_init()
777 cur_ops = NULL; in rcu_scale_init()
780 if (cur_ops->init) in rcu_scale_init()
781 cur_ops->init(); in rcu_scale_init()
791 rcu_scale_print_module_parms(cur_ops, "Start of test"); in rcu_scale_init()