Lines Matching refs:t
385 struct test_driver *t = private; in test_func() local
391 if (set_cpus_allowed_ptr(current, cpumask_of(t->cpu)) < 0) in test_func()
392 pr_err("Failed to set affinity to %d CPU\n", t->cpu); in test_func()
405 t->start = get_cycles(); in test_func()
418 per_cpu_test_data[t->cpu][index].test_passed++; in test_func()
420 per_cpu_test_data[t->cpu][index].test_failed++; in test_func()
429 per_cpu_test_data[t->cpu][index].time = delta; in test_func()
431 t->stop = get_cycles(); in test_func()
482 struct test_driver *t = &per_cpu_test_driver[cpu]; in do_concurrent_test() local
484 t->cpu = cpu; in do_concurrent_test()
485 t->task = kthread_run(test_func, t, "vmalloc_test/%d", cpu); in do_concurrent_test()
487 if (!IS_ERR(t->task)) in do_concurrent_test()
510 struct test_driver *t = &per_cpu_test_driver[cpu]; in do_concurrent_test() local
513 if (!IS_ERR(t->task)) in do_concurrent_test()
514 kthread_stop(t->task); in do_concurrent_test()
530 cpu, t->stop - t->start); in do_concurrent_test()