Lines Matching refs:cur_ops
166 static struct rcu_scale_ops *cur_ops; variable
434 if (!cur_ops->gp_diff) in rcuscale_seq_diff()
436 return cur_ops->gp_diff(new, old); in rcuscale_seq_diff()
471 idx = cur_ops->readlock(); in rcu_scale_reader()
472 cur_ops->readunlock(idx); in rcu_scale_reader()
570 cur_ops->exp_completed() / 2; in rcu_scale_writer()
572 b_rcu_gp_test_started = cur_ops->get_gp_seq(); in rcu_scale_writer()
586 if (gp_async && !WARN_ON_ONCE(!cur_ops->async)) { in rcu_scale_writer()
591 cur_ops->async(&wmbp->wmb_rh, rcu_scale_async_cb); in rcu_scale_writer()
595 cur_ops->gp_barrier(); in rcu_scale_writer()
601 cur_ops->exp_sync(); in rcu_scale_writer()
604 cur_ops->sync(); in rcu_scale_writer()
627 cur_ops->exp_completed() / 2; in rcu_scale_writer()
630 cur_ops->get_gp_seq(); in rcu_scale_writer()
652 if (cur_ops->stats) in rcu_scale_writer()
653 cur_ops->stats(); in rcu_scale_writer()
665 if (gp_async && cur_ops->async) { in rcu_scale_writer()
667 cur_ops->gp_barrier(); in rcu_scale_writer()
675 rcu_scale_print_module_parms(struct rcu_scale_ops *cur_ops, const char *tag) in rcu_scale_print_module_parms() argument
752 b_rcu_gp_test_started = cur_ops->exp_completed() / 2; in kfree_scale_thread()
754 b_rcu_gp_test_started = cur_ops->get_gp_seq(); in kfree_scale_thread()
792 b_rcu_gp_test_finished = cur_ops->exp_completed() / 2; in kfree_scale_thread()
794 b_rcu_gp_test_finished = cur_ops->get_gp_seq(); in kfree_scale_thread()
965 if (IS_BUILTIN(CONFIG_RCU_SCALE_TEST) && !kthread_tp && cur_ops->rso_gp_kthread) in rcu_scale_cleanup()
966 kthread_tp = cur_ops->rso_gp_kthread(); in rcu_scale_cleanup()
983 if (!cur_ops) { in rcu_scale_cleanup()
1062 if (cur_ops->cleanup != NULL) in rcu_scale_cleanup()
1063 cur_ops->cleanup(); in rcu_scale_cleanup()
1097 cur_ops = scale_ops[i]; in rcu_scale_init()
1098 if (strcmp(scale_type, cur_ops->name) == 0) in rcu_scale_init()
1108 cur_ops = NULL; in rcu_scale_init()
1111 if (cur_ops->init) in rcu_scale_init()
1112 cur_ops->init(); in rcu_scale_init()
1114 if (cur_ops->rso_gp_kthread) { in rcu_scale_init()
1115 kthread_tp = cur_ops->rso_gp_kthread(); in rcu_scale_init()
1127 rcu_scale_print_module_parms(cur_ops, "Start of test"); in rcu_scale_init()