Searched refs:torture_ops (Results 1 – 2 of 2) sorted by relevance
844 static struct lock_torture_ops *torture_ops[] = { in lock_torture_init() local861 for (i = 0; i < ARRAY_SIZE(torture_ops); i++) { in lock_torture_init()862 cxt.cur_ops = torture_ops[i]; in lock_torture_init()866 if (i == ARRAY_SIZE(torture_ops)) { in lock_torture_init()870 for (i = 0; i < ARRAY_SIZE(torture_ops); i++) in lock_torture_init()871 pr_alert(" %s", torture_ops[i]->name); in lock_torture_init()
2329 static struct rcu_torture_ops *torture_ops[] = { in rcu_torture_init() local2338 for (i = 0; i < ARRAY_SIZE(torture_ops); i++) { in rcu_torture_init()2339 cur_ops = torture_ops[i]; in rcu_torture_init()2343 if (i == ARRAY_SIZE(torture_ops)) { in rcu_torture_init()2347 for (i = 0; i < ARRAY_SIZE(torture_ops); i++) in rcu_torture_init()2348 pr_cont(" %s", torture_ops[i]->name); in rcu_torture_init()