Lines Matching refs:cur_ops
136 static struct ref_scale_ops *cur_ops; variable
735 if (cur_ops == &typesafe_ref_ops) { in typesafe_init()
738 } else if (cur_ops == &typesafe_lock_ops) { in typesafe_init()
741 } else if (cur_ops == &typesafe_seqlock_ops) { in typesafe_init()
797 cur_ops->readsection(loops); in rcu_scale_one_reader()
799 cur_ops->delaysection(loops, readdelay / 1000, readdelay % 1000); in rcu_scale_one_reader()
1025 ref_scale_print_module_parms(struct ref_scale_ops *cur_ops, const char *tag) in ref_scale_print_module_parms() argument
1040 if (!cur_ops) { in ref_scale_cleanup()
1056 if (cur_ops->cleanup != NULL) in ref_scale_cleanup()
1057 cur_ops->cleanup(); in ref_scale_cleanup()
1090 cur_ops = scale_ops[i]; in ref_scale_init()
1091 if (strcmp(scale_type, cur_ops->name) == 0) in ref_scale_init()
1101 cur_ops = NULL; in ref_scale_init()
1104 if (cur_ops->init) in ref_scale_init()
1105 if (!cur_ops->init()) { in ref_scale_init()
1110 ref_scale_print_module_parms(cur_ops, "Start of test"); in ref_scale_init()