Home
last modified time | relevance | path

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

/kernel/rcu/
Drcutorture.c316 static struct rcu_torture_ops *cur_ops; variable
343 started = cur_ops->get_gp_seq(); in rcu_read_delay()
349 completed = cur_ops->get_gp_seq(); in rcu_read_delay()
350 do_trace_rcu_torture_read(cur_ops->name, NULL, ts, in rcu_read_delay()
421 cur_ops->deferred_free(rp); in rcu_torture_cb()
728 if (!cur_ops->gp_diff) in rcutorture_seq_diff()
730 return cur_ops->gp_diff(new, old); in rcutorture_seq_diff()
735 return cur_ops == &tasks_ops; in torturing_tasks()
922 cur_ops->fqs(); in rcu_torture_fqs()
957 torture_type, cur_ops->name); in rcu_torture_writer()
[all …]
Drcuperf.c144 static struct rcu_perf_ops *cur_ops; variable
300 if (!cur_ops->gp_diff) in rcuperf_seq_diff()
302 return cur_ops->gp_diff(new, old); in rcuperf_seq_diff()
335 idx = cur_ops->readlock(); in rcu_perf_reader()
336 cur_ops->readunlock(idx); in rcu_perf_reader()
391 cur_ops->exp_completed() / 2; in rcu_perf_writer()
393 b_rcu_perf_writer_started = cur_ops->get_gp_seq(); in rcu_perf_writer()
409 cur_ops->async(rhp, rcu_perf_async_cb); in rcu_perf_writer()
413 cur_ops->gp_barrier(); in rcu_perf_writer()
420 cur_ops->exp_sync(); in rcu_perf_writer()
[all …]
/kernel/locking/
Dlocktorture.c95 struct lock_torture_ops *cur_ops; member
192 cxt.cur_ops->flags = flags; in torture_spin_lock_write_lock_irq()
199 spin_unlock_irqrestore(&torture_spinlock, cxt.cur_ops->flags); in torture_lock_spin_write_unlock_irq()
283 cxt.cur_ops->flags = flags; in torture_rwlock_write_lock_irq()
290 write_unlock_irqrestore(&torture_rwlock, cxt.cur_ops->flags); in torture_rwlock_write_unlock_irq()
298 cxt.cur_ops->flags = flags; in torture_rwlock_read_lock_irq()
305 read_unlock_irqrestore(&torture_rwlock, cxt.cur_ops->flags); in torture_rwlock_read_unlock_irq()
631 cxt.cur_ops->task_boost(&rand); in lock_torture_writer()
632 cxt.cur_ops->writelock(); in lock_torture_writer()
640 cxt.cur_ops->write_delay(&rand); in lock_torture_writer()
[all …]