Lines Matching refs:cur_ops
134 static struct ref_scale_ops *cur_ops; variable
529 cur_ops->readsection(loops); in rcu_scale_one_reader()
531 cur_ops->delaysection(loops, readdelay / 1000, readdelay % 1000); in rcu_scale_one_reader()
757 ref_scale_print_module_parms(struct ref_scale_ops *cur_ops, const char *tag) in ref_scale_print_module_parms() argument
772 if (!cur_ops) { in ref_scale_cleanup()
788 if (cur_ops->cleanup != NULL) in ref_scale_cleanup()
789 cur_ops->cleanup(); in ref_scale_cleanup()
821 cur_ops = scale_ops[i]; in ref_scale_init()
822 if (strcmp(scale_type, cur_ops->name) == 0) in ref_scale_init()
832 cur_ops = NULL; in ref_scale_init()
835 if (cur_ops->init) in ref_scale_init()
836 cur_ops->init(); in ref_scale_init()
838 ref_scale_print_module_parms(cur_ops, "Start of test"); in ref_scale_init()