Lines Matching refs:t
460 const struct race_thread *t = arg; in thread_signal_callback() local
477 rcu_assign_pointer(t->fences[t->id], f1); in thread_signal_callback()
482 f2 = dma_fence_get_rcu_safe(&t->fences[!t->id]); in thread_signal_callback()
486 if (t->before) in thread_signal_callback()
496 if (!t->before) in thread_signal_callback()
506 t->id, pass, miss, in thread_signal_callback()
507 t->before ? "before" : "after", in thread_signal_callback()
514 rcu_assign_pointer(t->fences[t->id], NULL); in thread_signal_callback()
523 __func__, t->id, pass, miss); in thread_signal_callback()
534 struct race_thread t[2]; in race_signal_callback() local
537 for (i = 0; i < ARRAY_SIZE(t); i++) { in race_signal_callback()
538 t[i].fences = f; in race_signal_callback()
539 t[i].id = i; in race_signal_callback()
540 t[i].before = pass; in race_signal_callback()
541 t[i].task = kthread_run(thread_signal_callback, &t[i], in race_signal_callback()
543 if (IS_ERR(t[i].task)) { in race_signal_callback()
544 ret = PTR_ERR(t[i].task); in race_signal_callback()
546 kthread_stop_put(t[i].task); in race_signal_callback()
549 get_task_struct(t[i].task); in race_signal_callback()
554 for (i = 0; i < ARRAY_SIZE(t); i++) { in race_signal_callback()
557 err = kthread_stop_put(t[i].task); in race_signal_callback()