Home
last modified time | relevance | path

Searched refs:thread_func (Results 1 – 3 of 3) sorted by relevance

/linux-4.4.14/drivers/media/i2c/
Dmsp3400-driver.c685 int (*thread_func)(void *data) = NULL; in msp_probe() local
843 thread_func = msp3400c_thread; in msp_probe()
847 thread_func = msp3410d_thread; in msp_probe()
851 thread_func = msp34xxg_thread; in msp_probe()
857 if (thread_func) { in msp_probe()
858 state->kthread = kthread_run(thread_func, client, "msp34xx"); in msp_probe()
/linux-4.4.14/tools/testing/selftests/mqueue/
Dmq_perf_tests.c715 void *thread_func; in main() local
718 thread_func = &fake_cont_thread; in main()
720 thread_func = &cont_thread; in main()
722 thread_func = &perf_test_thread; in main()
729 if (pthread_create(&cpu_threads[i], &thread_attr, thread_func, in main()
/linux-4.4.14/tools/perf/
Dbuiltin-sched.c502 static void *thread_func(void *ctx) in thread_func() function
572 err = pthread_create(&task->thread, &attr, thread_func, parms); in create_tasks()