Searched refs:torture_ops (Results 1 – 2 of 2) sorted by relevance
788 static struct lock_torture_ops *torture_ops[] = { in lock_torture_init() local804 for (i = 0; i < ARRAY_SIZE(torture_ops); i++) { in lock_torture_init()805 cxt.cur_ops = torture_ops[i]; in lock_torture_init()809 if (i == ARRAY_SIZE(torture_ops)) { in lock_torture_init()813 for (i = 0; i < ARRAY_SIZE(torture_ops); i++) in lock_torture_init()814 pr_alert(" %s", torture_ops[i]->name); in lock_torture_init()
1726 static struct rcu_torture_ops *torture_ops[] = { in rcu_torture_init() local1735 for (i = 0; i < ARRAY_SIZE(torture_ops); i++) { in rcu_torture_init()1736 cur_ops = torture_ops[i]; in rcu_torture_init()1740 if (i == ARRAY_SIZE(torture_ops)) { in rcu_torture_init()1744 for (i = 0; i < ARRAY_SIZE(torture_ops); i++) in rcu_torture_init()1745 pr_alert(" %s", torture_ops[i]->name); in rcu_torture_init()