Searched refs:cur_ops (Results 1 – 5 of 5) sorted by relevance
| /Linux-v5.15/kernel/rcu/ |
| D | rcutorture.c | 352 static struct rcu_torture_ops *cur_ops; variable 384 started = cur_ops->get_gp_seq(); in rcu_read_delay() 390 completed = cur_ops->get_gp_seq(); in rcu_read_delay() 391 do_trace_rcu_torture_read(cur_ops->name, NULL, ts, in rcu_read_delay() 468 cur_ops->deferred_free(rp); in rcu_torture_cb() 883 if (!cur_ops->gp_diff) in rcutorture_seq_diff() 885 return cur_ops->gp_diff(new, old); in rcutorture_seq_diff() 935 if (cur_ops->poll_gp_state(gp_state)) in rcu_torture_boost_failed() 937 if (cur_ops->check_boost_failed && !cur_ops->check_boost_failed(gp_state, &cpu)) { in rcu_torture_boost_failed() 947 if (!xchg(&dbg_done, 1) && cur_ops->gp_kthread_dbg) { in rcu_torture_boost_failed() [all …]
|
| D | rcuscale.c | 144 static struct rcu_scale_ops *cur_ops; variable 329 if (!cur_ops->gp_diff) in rcuscale_seq_diff() 331 return cur_ops->gp_diff(new, old); in rcuscale_seq_diff() 366 idx = cur_ops->readlock(); in rcu_scale_reader() 367 cur_ops->readunlock(idx); in rcu_scale_reader() 420 cur_ops->exp_completed() / 2; in rcu_scale_writer() 422 b_rcu_gp_test_started = cur_ops->get_gp_seq(); in rcu_scale_writer() 437 cur_ops->async(rhp, rcu_scale_async_cb); in rcu_scale_writer() 440 cur_ops->gp_barrier(); in rcu_scale_writer() 446 cur_ops->exp_sync(); in rcu_scale_writer() [all …]
|
| D | refscale.c | 132 static struct ref_scale_ops *cur_ops; variable 507 cur_ops->readsection(loops); in rcu_scale_one_reader() 509 cur_ops->delaysection(loops, readdelay / 1000, readdelay % 1000); in rcu_scale_one_reader() 739 ref_scale_print_module_parms(struct ref_scale_ops *cur_ops, const char *tag) in ref_scale_print_module_parms() argument 754 if (!cur_ops) { in ref_scale_cleanup() 770 if (cur_ops->cleanup != NULL) in ref_scale_cleanup() 771 cur_ops->cleanup(); in ref_scale_cleanup() 803 cur_ops = scale_ops[i]; in ref_scale_init() 804 if (strcmp(scale_type, cur_ops->name) == 0) in ref_scale_init() 814 cur_ops = NULL; in ref_scale_init() [all …]
|
| /Linux-v5.15/kernel/locking/ |
| D | locktorture.c | 97 struct lock_torture_ops *cur_ops; member 196 cxt.cur_ops->flags = flags; in torture_spin_lock_write_lock_irq() 203 spin_unlock_irqrestore(&torture_spinlock, cxt.cur_ops->flags); in torture_lock_spin_write_unlock_irq() 292 cxt.cur_ops->flags = flags; in torture_rwlock_write_lock_irq() 299 write_unlock_irqrestore(&torture_rwlock, cxt.cur_ops->flags); in torture_rwlock_write_unlock_irq() 308 cxt.cur_ops->flags = flags; in torture_rwlock_read_lock_irq() 315 read_unlock_irqrestore(&torture_rwlock, cxt.cur_ops->flags); in torture_rwlock_read_unlock_irq() 680 cxt.cur_ops->task_boost(&rand); in lock_torture_writer() 681 cxt.cur_ops->writelock(tid); in lock_torture_writer() 689 cxt.cur_ops->write_delay(&rand); in lock_torture_writer() [all …]
|
| /Linux-v5.15/Documentation/RCU/ |
| D | rcubarrier.rst | 162 57 if (cur_ops->cleanup != NULL) 163 58 cur_ops->cleanup();
|