Searched refs:thread_func (Results 1 – 3 of 3) sorted by relevance
685 int (*thread_func)(void *data) = NULL; in msp_probe() local843 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()
715 void *thread_func; in main() local718 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()
502 static void *thread_func(void *ctx) in thread_func() function572 err = pthread_create(&task->thread, &attr, thread_func, parms); in create_tasks()