Searched refs:cur_ops (Results 1 – 5 of 5) sorted by relevance
/Linux-v5.10/kernel/rcu/ |
D | rcutorture.c | 328 static struct rcu_torture_ops *cur_ops; variable 355 started = cur_ops->get_gp_seq(); in rcu_read_delay() 361 completed = cur_ops->get_gp_seq(); in rcu_read_delay() 362 do_trace_rcu_torture_read(cur_ops->name, NULL, ts, in rcu_read_delay() 434 cur_ops->deferred_free(rp); in rcu_torture_cb() 812 if (!cur_ops->gp_diff) in rcutorture_seq_diff() 814 return cur_ops->gp_diff(new, old); in rcutorture_seq_diff() 819 return cur_ops == &tasks_ops || cur_ops == &tasks_rude_ops; in torturing_tasks() 1001 cur_ops->fqs(); in rcu_torture_fqs() 1036 torture_type, cur_ops->name); in rcu_torture_writer() [all …]
|
D | rcuscale.c | 143 static struct rcu_scale_ops *cur_ops; variable 299 if (!cur_ops->gp_diff) in rcuscale_seq_diff() 301 return cur_ops->gp_diff(new, old); in rcuscale_seq_diff() 336 idx = cur_ops->readlock(); in rcu_scale_reader() 337 cur_ops->readunlock(idx); in rcu_scale_reader() 390 cur_ops->exp_completed() / 2; in rcu_scale_writer() 392 b_rcu_gp_test_started = cur_ops->get_gp_seq(); in rcu_scale_writer() 407 cur_ops->async(rhp, rcu_scale_async_cb); in rcu_scale_writer() 410 cur_ops->gp_barrier(); in rcu_scale_writer() 416 cur_ops->exp_sync(); in rcu_scale_writer() [all …]
|
D | refscale.c | 119 static struct ref_scale_ops *cur_ops; variable 355 cur_ops->readsection(loops); in rcu_scale_one_reader() 357 cur_ops->delaysection(loops, readdelay / 1000, readdelay % 1000); in rcu_scale_one_reader() 587 ref_scale_print_module_parms(struct ref_scale_ops *cur_ops, const char *tag) in ref_scale_print_module_parms() argument 602 if (!cur_ops) { in ref_scale_cleanup() 618 if (cur_ops->cleanup != NULL) in ref_scale_cleanup() 619 cur_ops->cleanup(); in ref_scale_cleanup() 651 cur_ops = scale_ops[i]; in ref_scale_init() 652 if (strcmp(scale_type, cur_ops->name) == 0) in ref_scale_init() 663 cur_ops = NULL; in ref_scale_init() [all …]
|
/Linux-v5.10/kernel/locking/ |
D | locktorture.c | 94 struct lock_torture_ops *cur_ops; member 191 cxt.cur_ops->flags = flags; in torture_spin_lock_write_lock_irq() 198 spin_unlock_irqrestore(&torture_spinlock, cxt.cur_ops->flags); in torture_lock_spin_write_unlock_irq() 282 cxt.cur_ops->flags = flags; in torture_rwlock_write_lock_irq() 289 write_unlock_irqrestore(&torture_rwlock, cxt.cur_ops->flags); in torture_rwlock_write_unlock_irq() 297 cxt.cur_ops->flags = flags; in torture_rwlock_read_lock_irq() 304 read_unlock_irqrestore(&torture_rwlock, cxt.cur_ops->flags); in torture_rwlock_read_unlock_irq() 624 cxt.cur_ops->task_boost(&rand); in lock_torture_writer() 625 cxt.cur_ops->writelock(); in lock_torture_writer() 633 cxt.cur_ops->write_delay(&rand); in lock_torture_writer() [all …]
|
/Linux-v5.10/Documentation/RCU/ |
D | rcubarrier.rst | 162 57 if (cur_ops->cleanup != NULL) 163 58 cur_ops->cleanup();
|