Lines Matching refs:cur_ops
142 static const struct ref_scale_ops *cur_ops; variable
834 if (cur_ops == &typesafe_ref_ops) { in typesafe_init()
837 } else if (cur_ops == &typesafe_lock_ops) { in typesafe_init()
840 } else if (cur_ops == &typesafe_seqlock_ops) { in typesafe_init()
896 cur_ops->readsection(loops); in rcu_scale_one_reader()
898 cur_ops->delaysection(loops, readdelay / 1000, readdelay % 1000); in rcu_scale_one_reader()
1140 ref_scale_print_module_parms(const struct ref_scale_ops *cur_ops, const char *tag) in ref_scale_print_module_parms() argument
1155 if (!cur_ops) { in ref_scale_cleanup()
1171 if (cur_ops->cleanup != NULL) in ref_scale_cleanup()
1172 cur_ops->cleanup(); in ref_scale_cleanup()
1206 cur_ops = scale_ops[i]; in ref_scale_init()
1207 if (strcmp(scale_type, cur_ops->name) == 0) in ref_scale_init()
1217 cur_ops = NULL; in ref_scale_init()
1220 if (cur_ops->init) in ref_scale_init()
1221 if (!cur_ops->init()) { in ref_scale_init()
1226 ref_scale_print_module_parms(cur_ops, "Start of test"); in ref_scale_init()