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