Lines Matching defs:cur_ops
142 static const struct ref_scale_ops *cur_ops;
804 if (cur_ops == &typesafe_ref_ops) {
807 } else if (cur_ops == &typesafe_lock_ops) {
810 } else if (cur_ops == &typesafe_seqlock_ops) {
866 cur_ops->readsection(loops);
868 cur_ops->delaysection(loops, readdelay / 1000, readdelay % 1000);
1110 ref_scale_print_module_parms(const struct ref_scale_ops *cur_ops, const char *tag)
1125 if (!cur_ops) {
1141 if (cur_ops->cleanup != NULL)
1142 cur_ops->cleanup();
1176 cur_ops = scale_ops[i];
1177 if (strcmp(scale_type, cur_ops->name) == 0)
1187 cur_ops = NULL;
1190 if (cur_ops->init)
1191 if (!cur_ops->init()) {
1196 ref_scale_print_module_parms(cur_ops, "Start of test");