Lines Matching refs:cur_ops
144 static struct rcu_scale_ops *cur_ops; variable
329 if (!cur_ops->gp_diff) in rcuscale_seq_diff()
331 return cur_ops->gp_diff(new, old); in rcuscale_seq_diff()
366 idx = cur_ops->readlock(); in rcu_scale_reader()
367 cur_ops->readunlock(idx); in rcu_scale_reader()
420 cur_ops->exp_completed() / 2; in rcu_scale_writer()
422 b_rcu_gp_test_started = cur_ops->get_gp_seq(); in rcu_scale_writer()
437 cur_ops->async(rhp, rcu_scale_async_cb); in rcu_scale_writer()
440 cur_ops->gp_barrier(); in rcu_scale_writer()
446 cur_ops->exp_sync(); in rcu_scale_writer()
448 cur_ops->sync(); in rcu_scale_writer()
469 cur_ops->exp_completed() / 2; in rcu_scale_writer()
472 cur_ops->get_gp_seq(); in rcu_scale_writer()
488 cur_ops->gp_barrier(); in rcu_scale_writer()
496 rcu_scale_print_module_parms(struct rcu_scale_ops *cur_ops, const char *tag) in rcu_scale_print_module_parms() argument
525 if (!cur_ops) { in rcu_scale_cleanup()
580 if (cur_ops->cleanup != NULL) in rcu_scale_cleanup()
581 cur_ops->cleanup(); in rcu_scale_cleanup()
661 b_rcu_gp_test_started = cur_ops->exp_completed() / 2; in kfree_scale_thread()
663 b_rcu_gp_test_started = cur_ops->get_gp_seq(); in kfree_scale_thread()
696 b_rcu_gp_test_finished = cur_ops->exp_completed() / 2; in kfree_scale_thread()
698 b_rcu_gp_test_finished = cur_ops->get_gp_seq(); in kfree_scale_thread()
808 cur_ops = scale_ops[i]; in rcu_scale_init()
809 if (strcmp(scale_type, cur_ops->name) == 0) in rcu_scale_init()
819 cur_ops = NULL; in rcu_scale_init()
822 if (cur_ops->init) in rcu_scale_init()
823 cur_ops->init(); in rcu_scale_init()
833 rcu_scale_print_module_parms(cur_ops, "Start of test"); in rcu_scale_init()