Home
last modified time | relevance | path

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

/linux/tools/testing/selftests/mqueue/
H A Dmq_perf_tests.c721 void *thread_func; in main() local
724 thread_func = &fake_cont_thread; in main()
726 thread_func = &cont_thread; in main()
728 thread_func = &perf_test_thread; in main()
735 if (pthread_create(&cpu_threads[i], &thread_attr, thread_func, in main()
/linux/drivers/media/i2c/
H A Dmsp3400-driver.c664 int (*thread_func)(void *data) = NULL; in msp_probe() local
834 thread_func = msp3400c_thread; in msp_probe()
837 thread_func = msp3410d_thread; in msp_probe()
840 thread_func = msp34xxg_thread; in msp_probe()
845 if (thread_func) { in msp_probe()
846 state->kthread = kthread_run(thread_func, client, "msp34xx"); in msp_probe()
/linux/tools/testing/selftests/landlock/
H A Dscoped_signal_test.c260 void *thread_func(void *arg) in thread_func() function
279 pthread_create(&no_sandbox_thread, NULL, thread_func, NULL)); in TEST()
287 ASSERT_EQ(0, pthread_create(&scoped_thread, NULL, thread_func, NULL)); in TEST()
/linux/tools/testing/selftests/bpf/benchs/
H A Dbench_local_storage_create.c168 static void *thread_func(void *arg) in thread_func() function
182 pthd_results[i] = pthread_create(&pthds[i], NULL, thread_func, NULL); in task_producer()