Lines Matching refs:tid
141 int tid, op, dat; in schedule_rt_mutex_test() local
145 for (tid = 0; tid < MAX_RT_TEST_THREADS; tid++) { in schedule_rt_mutex_test()
146 if (threads[tid] == current) in schedule_rt_mutex_test()
150 BUG_ON(tid == MAX_RT_TEST_THREADS); in schedule_rt_mutex_test()
152 td = &thread_data[tid]; in schedule_rt_mutex_test()
282 int op, dat, tid, ret; in sysfs_test_command() local
285 tid = td->dev.id; in sysfs_test_command()
306 ret = sched_setscheduler(threads[tid], SCHED_NORMAL, &schedpar); in sysfs_test_command()
314 ret = sched_setscheduler(threads[tid], SCHED_FIFO, &schedpar); in sysfs_test_command()
320 send_sig(SIGHUP, threads[tid], 0); in sysfs_test_command()
328 wake_up_process(threads[tid]); in sysfs_test_command()