Searched refs:cur_ops (Results 1 – 5 of 5) sorted by relevance
/openbmc/linux/kernel/rcu/ |
H A D | rcutorture.c | 392 static struct rcu_torture_ops *cur_ops; variable 424 started = cur_ops->get_gp_seq(); in rcu_read_delay() 430 completed = cur_ops->get_gp_seq(); in rcu_read_delay() 431 do_trace_rcu_torture_read(cur_ops->name, NULL, ts, in rcu_read_delay() 508 cur_ops->deferred_free(rp); in rcu_torture_cb() 631 if (cur_ops == &srcud_ops) in srcu_torture_read_lock() 658 if (cur_ops == &srcud_ops) in srcu_torture_read_unlock() 994 if (!cur_ops->gp_diff) in rcutorture_seq_diff() 996 return cur_ops->gp_diff(new, old); in rcutorture_seq_diff() 1046 if (cur_ops->poll_gp_state(gp_state)) in rcu_torture_boost_failed() [all …]
|
H A D | rcuscale.c | 148 static struct rcu_scale_ops *cur_ops; variable 393 if (!cur_ops->gp_diff) in rcuscale_seq_diff() 395 return cur_ops->gp_diff(new, old); in rcuscale_seq_diff() 430 idx = cur_ops->readlock(); in rcu_scale_reader() 431 cur_ops->readunlock(idx); in rcu_scale_reader() 487 cur_ops->exp_completed() / 2; in rcu_scale_writer() 489 b_rcu_gp_test_started = cur_ops->get_gp_seq(); in rcu_scale_writer() 501 if (gp_async && !WARN_ON_ONCE(!cur_ops->async)) { in rcu_scale_writer() 507 cur_ops->async(rhp, rcu_scale_async_cb); in rcu_scale_writer() 510 cur_ops->gp_barrier(); in rcu_scale_writer() [all …]
|
H A D | refscale.c | 136 static struct ref_scale_ops *cur_ops; variable 735 if (cur_ops == &typesafe_ref_ops) { in typesafe_init() 738 } else if (cur_ops == &typesafe_lock_ops) { in typesafe_init() 741 } else if (cur_ops == &typesafe_seqlock_ops) { in typesafe_init() 797 cur_ops->readsection(loops); in rcu_scale_one_reader() 799 cur_ops->delaysection(loops, readdelay / 1000, readdelay % 1000); in rcu_scale_one_reader() 1025 ref_scale_print_module_parms(struct ref_scale_ops *cur_ops, const char *tag) in ref_scale_print_module_parms() argument 1040 if (!cur_ops) { in ref_scale_cleanup() 1056 if (cur_ops->cleanup != NULL) in ref_scale_cleanup() 1057 cur_ops->cleanup(); in ref_scale_cleanup() [all …]
|
/openbmc/linux/kernel/locking/ |
H A D | locktorture.c | 101 struct lock_torture_ops *cur_ops; member 237 cxt.cur_ops->flags = flags; in torture_spin_lock_write_lock_irq() 244 spin_unlock_irqrestore(&torture_spinlock, cxt.cur_ops->flags); in torture_lock_spin_write_unlock_irq() 290 cxt.cur_ops->flags = flags; in torture_raw_spin_lock_write_lock_irq() 297 raw_spin_unlock_irqrestore(&torture_raw_spinlock, cxt.cur_ops->flags); in torture_raw_spin_lock_write_unlock_irq() 386 cxt.cur_ops->flags = flags; in torture_rwlock_write_lock_irq() 393 write_unlock_irqrestore(&torture_rwlock, cxt.cur_ops->flags); in torture_rwlock_write_unlock_irq() 402 cxt.cur_ops->flags = flags; in torture_rwlock_read_lock_irq() 409 read_unlock_irqrestore(&torture_rwlock, cxt.cur_ops->flags); in torture_rwlock_read_unlock_irq() 832 cxt.cur_ops->task_boost(&rand); in lock_torture_writer() [all …]
|
/openbmc/linux/Documentation/RCU/ |
H A D | rcubarrier.rst | 141 57 if (cur_ops->cleanup != NULL) 142 58 cur_ops->cleanup();
|