Home
last modified time | relevance | path

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

/linux/kernel/rcu/
H A Drcutorture.c441 static struct rcu_torture_ops *cur_ops; variable
473 started = cur_ops->get_gp_seq(); in rcu_read_delay()
479 completed = cur_ops->get_gp_seq(); in rcu_read_delay()
480 do_trace_rcu_torture_read(cur_ops->name, NULL, ts, in rcu_read_delay()
565 cur_ops->deferred_free(rp); in rcu_torture_cb()
800 return !!(cur_ops->have_up_down & rf); in srcu_torture_have_up_down()
1263 if (!cur_ops->gp_diff) in rcu_torture_boost_failed()
1265 return cur_ops->gp_diff(new, old); in rcu_torture_boost_failed()
1315 if (cur_ops->poll_gp_state(gp_state)) in rcu_torture_boost()
1317 if (cur_ops in rcu_torture_boost()
2915 rcu_torture_print_module_parms(struct rcu_torture_ops * cur_ops,const char * tag) rcu_torture_print_module_parms() argument
[all...]
H A Drcuscale.c158 static struct rcu_scale_ops *cur_ops;
419 if (!cur_ops->gp_diff)
421 return cur_ops->gp_diff(new, old);
456 idx = cur_ops->readlock(); in rcu_scale_reader()
457 cur_ops->readunlock(idx); in rcu_scale_reader()
557 cur_ops->exp_completed() / 2; in rcu_scale_writer()
559 b_rcu_gp_test_started = cur_ops->get_gp_seq(); in rcu_scale_writer()
573 if (gp_async && !WARN_ON_ONCE(!cur_ops->async)) { in rcu_scale_writer()
578 cur_ops->async(&wmbp->wmb_rh, rcu_scale_async_cb); in rcu_scale_writer()
582 cur_ops in rcu_scale_writer()
166 static struct rcu_scale_ops *cur_ops; global() variable
668 rcu_scale_print_module_parms(struct rcu_scale_ops * cur_ops,const char * tag) rcu_scale_print_module_parms() argument
[all...]
H A Drefscale.c133 static const struct ref_scale_ops *cur_ops;
1144 if (cur_ops == &typesafe_ref_ops) { in typesafe_init()
1147 } else if (cur_ops == &typesafe_lock_ops) { in typesafe_init()
1150 } else if (cur_ops == &typesafe_seqlock_ops) { in typesafe_init()
1206 cur_ops->readsection(loops);
1208 cur_ops->delaysection(loops, readdelay / 1000, readdelay % 1000);
1270 if (!cur_ops->enable_irqs) in ref_scale_reader()
1277 if (!cur_ops->enable_irqs) in ref_scale_reader()
1456 ref_scale_print_module_parms(const struct ref_scale_ops *cur_ops, const char *tag) in main_func()
1471 if (!cur_ops) { in ref_scale_cleanup()
143 static const struct ref_scale_ops *cur_ops; global() variable
1463 ref_scale_print_module_parms(const struct ref_scale_ops * cur_ops,const char * tag) ref_scale_print_module_parms() argument
[all...]
/linux/kernel/locking/
H A Dlocktorture.c159 struct lock_torture_ops *cur_ops; member
291 cxt.cur_ops->flags = flags; in torture_spin_lock_write_lock_irq()
298 spin_unlock_irqrestore(&torture_spinlock, cxt.cur_ops->flags); in torture_lock_spin_write_unlock_irq()
344 cxt.cur_ops->flags = flags; in torture_raw_spin_lock_write_lock_irq()
351 raw_spin_unlock_irqrestore(&torture_raw_spinlock, cxt.cur_ops->flags); in torture_raw_spin_lock_write_unlock_irq()
397 cxt.cur_ops->flags = flags; in torture_raw_res_spin_write_lock_irq()
403 raw_res_spin_unlock_irqrestore(&rqspinlock, cxt.cur_ops->flags); in torture_raw_res_spin_write_unlock_irq()
490 cxt.cur_ops->flags = flags; in torture_rwlock_write_lock_irq()
497 write_unlock_irqrestore(&torture_rwlock, cxt.cur_ops->flags); in torture_rwlock_write_unlock_irq()
506 cxt.cur_ops->flags = flags; in torture_rwlock_read_lock_irq()
[all …]