Home
last modified time | relevance | path

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

/linux-6.15/kernel/rcu/
H A Drcutorture.c1382 cur_ops->start_gp_poll && cur_ops->poll_gp_state) { in rcu_torture_write_types()
1539 if (cur_ops->get_gp_state && cur_ops->poll_gp_state) { in rcu_torture_writer()
2194 if (cur_ops->get_gp_state && cur_ops->poll_gp_state) in rcu_torture_one_read()
2202 !cur_ops->readlock_held || cur_ops->readlock_held()); in rcu_torture_one_read()
2234 if (cur_ops->get_gp_state && cur_ops->poll_gp_state) in rcu_torture_one_read()
2947 if (cur_ops->call && cur_ops->cb_barrier) { in rcu_torture_fwd_prog_nr()
3188 if ((cur_ops->stall_dur && cur_ops->stall_dur() > 0) && in rcu_torture_fwd_prog()
3222 if ((!cur_ops->sync && !cur_ops->call) || in rcu_torture_fwd_prog_init()
3223 (!cur_ops->cbflood_max && (!cur_ops->stall_dur || cur_ops->stall_dur() <= 0)) || in rcu_torture_fwd_prog_init()
3451 if (!cur_ops->start_gp_poll || !cur_ops->poll_gp_state) in rcu_torture_can_boost()
[all …]
H A Drcuscale.c434 if (!cur_ops->gp_diff) in rcuscale_seq_diff()
601 cur_ops->exp_sync(); in rcu_scale_writer()
604 cur_ops->sync(); in rcu_scale_writer()
652 if (cur_ops->stats) in rcu_scale_writer()
653 cur_ops->stats(); in rcu_scale_writer()
667 cur_ops->gp_barrier(); in rcu_scale_writer()
983 if (!cur_ops) { in rcu_scale_cleanup()
1063 cur_ops->cleanup(); in rcu_scale_cleanup()
1108 cur_ops = NULL; in rcu_scale_init()
1111 if (cur_ops->init) in rcu_scale_init()
[all …]
H A Drefscale.c142 static const struct ref_scale_ops *cur_ops; variable
834 if (cur_ops == &typesafe_ref_ops) { in typesafe_init()
837 } else if (cur_ops == &typesafe_lock_ops) { in typesafe_init()
896 cur_ops->readsection(loops); in rcu_scale_one_reader()
1155 if (!cur_ops) { in ref_scale_cleanup()
1171 if (cur_ops->cleanup != NULL) in ref_scale_cleanup()
1172 cur_ops->cleanup(); in ref_scale_cleanup()
1206 cur_ops = scale_ops[i]; in ref_scale_init()
1217 cur_ops = NULL; in ref_scale_init()
1220 if (cur_ops->init) in ref_scale_init()
[all …]
/linux-6.15/kernel/locking/
H A Dlocktorture.c291 cxt.cur_ops->flags = flags; in torture_spin_lock_write_lock_irq()
344 cxt.cur_ops->flags = flags; in torture_raw_spin_lock_write_lock_irq()
397 cxt.cur_ops->flags = flags; in torture_raw_res_spin_write_lock_irq()
490 cxt.cur_ops->flags = flags; in torture_rwlock_write_lock_irq()
506 cxt.cur_ops->flags = flags; in torture_rwlock_read_lock_irq()
982 cxt.cur_ops->readlock(tid); in lock_torture_reader()
1044 if (cxt.cur_ops->readlock) in lock_torture_stats_print()
1210 if (cxt.cur_ops->exit) in lock_torture_cleanup()
1211 cxt.cur_ops->exit(); in lock_torture_cleanup()
1270 if (cxt.cur_ops->init) { in lock_torture_init()
[all …]
/linux-6.15/Documentation/RCU/
H A Drcubarrier.rst141 57 if (cur_ops->cleanup != NULL)
142 58 cur_ops->cleanup();