Lines Matching defs:tests
2066 static struct rcu_tasks_test_desc tests[] = {
2097 pr_info("Running RCU Tasks wait API self tests\n");
2098 tests[0].runstart = jiffies;
2100 call_rcu_tasks(&tests[0].rh, test_rcu_tasks_callback);
2104 pr_info("Running RCU Tasks Rude wait API self tests\n");
2105 tests[1].runstart = jiffies;
2107 call_rcu_tasks_rude(&tests[1].rh, test_rcu_tasks_callback);
2111 pr_info("Running RCU Tasks Trace wait API self tests\n");
2112 tests[2].runstart = jiffies;
2114 call_rcu_tasks_trace(&tests[2].rh, test_rcu_tasks_callback);
2131 for (i = 0; i < ARRAY_SIZE(tests); i++) {
2132 while (tests[i].notrun) { // still hanging.
2133 if (time_after(jiffies, tests[i].runstart + bst)) {
2134 pr_err("%s has failed boot-time tests.\n", tests[i].name);
2206 // Run the self-tests.