Searched refs:cur_ops (Results 1 - 4 of 4) sorted by relevance

/linux-master/kernel/rcu/
H A Drcutorture.c393 static struct rcu_torture_ops *cur_ops; variable in typeref:struct:rcu_torture_ops
425 started = cur_ops->get_gp_seq();
431 completed = cur_ops->get_gp_seq();
432 do_trace_rcu_torture_read(cur_ops->name, NULL, ts,
509 cur_ops->deferred_free(rp);
632 if (cur_ops == &srcud_ops)
659 if (cur_ops == &srcud_ops)
995 if (!cur_ops->gp_diff)
997 return cur_ops->gp_diff(new, old);
1047 if (cur_ops
2351 rcu_torture_print_module_parms(struct rcu_torture_ops *cur_ops, const char *tag) argument
[all...]
H A Drcuscale.c148 static struct rcu_scale_ops *cur_ops; variable in typeref:struct:rcu_scale_ops
393 if (!cur_ops->gp_diff)
395 return cur_ops->gp_diff(new, old);
430 idx = cur_ops->readlock();
431 cur_ops->readunlock(idx);
487 cur_ops->exp_completed() / 2;
489 b_rcu_gp_test_started = cur_ops->get_gp_seq();
507 cur_ops->async(rhp, rcu_scale_async_cb);
510 cur_ops->gp_barrier();
516 cur_ops
566 rcu_scale_print_module_parms(struct rcu_scale_ops *cur_ops, const char *tag) argument
[all...]
H A Drefscale.c136 static struct ref_scale_ops *cur_ops; variable in typeref:struct:ref_scale_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) argument
1040 if (!cur_ops) {
1056 if (cur_ops->cleanup != NULL)
1057 cur_ops
[all...]
/linux-master/kernel/locking/
H A Dlocktorture.c158 struct lock_torture_ops *cur_ops; member in struct:lock_torture_cxt
290 cxt.cur_ops->flags = flags;
297 spin_unlock_irqrestore(&torture_spinlock, cxt.cur_ops->flags);
343 cxt.cur_ops->flags = flags;
350 raw_spin_unlock_irqrestore(&torture_raw_spinlock, cxt.cur_ops->flags);
435 cxt.cur_ops->flags = flags;
442 write_unlock_irqrestore(&torture_rwlock, cxt.cur_ops->flags);
451 cxt.cur_ops->flags = flags;
458 read_unlock_irqrestore(&torture_rwlock, cxt.cur_ops->flags);
872 cxt.cur_ops
1038 lock_torture_print_module_parms(struct lock_torture_ops *cur_ops, const char *tag) argument
[all...]

Completed in 108 milliseconds