Home
last modified time | relevance | path

Searched refs:torture_ops (Results 1 – 2 of 2) sorted by relevance

/linux-6.1.9/kernel/locking/
Dlocktorture.c904 static struct lock_torture_ops *torture_ops[] = { in lock_torture_init() local
921 for (i = 0; i < ARRAY_SIZE(torture_ops); i++) { in lock_torture_init()
922 cxt.cur_ops = torture_ops[i]; in lock_torture_init()
926 if (i == ARRAY_SIZE(torture_ops)) { in lock_torture_init()
930 for (i = 0; i < ARRAY_SIZE(torture_ops); i++) in lock_torture_init()
931 pr_alert(" %s", torture_ops[i]->name); in lock_torture_init()
/linux-6.1.9/kernel/rcu/
Drcutorture.c3430 static struct rcu_torture_ops *torture_ops[] = { in rcu_torture_init() local
3440 for (i = 0; i < ARRAY_SIZE(torture_ops); i++) { in rcu_torture_init()
3441 cur_ops = torture_ops[i]; in rcu_torture_init()
3445 if (i == ARRAY_SIZE(torture_ops)) { in rcu_torture_init()
3449 for (i = 0; i < ARRAY_SIZE(torture_ops); i++) in rcu_torture_init()
3450 pr_cont(" %s", torture_ops[i]->name); in rcu_torture_init()