Home
last modified time | relevance | path

Searched refs:thread_create (Results 1 – 24 of 24) sorted by relevance

/src/contrib/sendmail/libmilter/
H A Dworker.c137 if ((r = thread_create(&tid, mi_worker, ctx)) != 0) \
298 if ((r = thread_create(&tid, mi_pool_controller, (void *) NULL)) != 0) in mi_pool_controller_init()
310 if ((r = thread_create(&tid, mi_worker, (void *) NULL)) != 0) in mi_pool_controller_init()
H A Dsignal.c180 r = thread_create(&tid, mi_signal_thread, (void *)name);
H A Dmonitor.c164 r = thread_create(&tid, mi_monitor_thread, (void *)NULL); in mi_monitor_init()
H A Dlibmilter.h131 # define thread_create(ptid,wr,arg) pthread_create(ptid, NULL, wr, arg) macro
H A Dlistener.c956 if ((r = thread_create(&thread_id,
/src/sys/contrib/openzfs/lib/libspl/include/sys/
H A Dthread.h48 #define thread_create(stk, stksize, func, arg, len, pp, state, pri) \ macro
/src/sys/contrib/openzfs/include/os/linux/spl/sys/
H A Dthread.h53 #define thread_create(stk, stksize, func, arg, len, pp, state, pri) \ macro
/src/sys/kern/
H A Dkern_thr.c132 return (thread_create(td, NULL, thr_create_initthr, &args)); in sys_thr_create()
202 return (thread_create(td, rtpp, thr_new_initthr, param)); in kern_thr_new()
206 thread_create(struct thread *td, struct rtprio *rtp, in thread_create() function
/src/sys/contrib/openzfs/include/os/freebsd/spl/sys/
H A Dproc.h101 #define thread_create(stk, stksize, proc, arg, len, pp, state, pri) \ macro
/src/sys/contrib/openzfs/module/zfs/
H A Dvdev_rebuild.c260 vd->vdev_rebuild_thread = thread_create(NULL, 0, in vdev_rebuild_initiate_sync()
441 vd->vdev_rebuild_thread = thread_create(NULL, 0, in vdev_rebuild_reset_sync()
1064 vd->vdev_rebuild_thread = thread_create(NULL, 0, in vdev_rebuild_restart_impl()
H A Dtxg.c210 tx->tx_quiesce_thread = thread_create(NULL, 0, txg_quiesce_thread, in txg_sync_start()
218 tx->tx_sync_thread = thread_create(NULL, 0, txg_sync_thread, in txg_sync_start()
H A Dvdev_trim.c1020 vd->vdev_trim_thread = thread_create(NULL, 0, in vdev_trim()
1519 tvd->vdev_autotrim_thread = thread_create(NULL, 0, in vdev_autotrim()
1720 vd->vdev_trim_thread = thread_create(NULL, 0, in vdev_trim_l2arc()
H A Ddmu_send.c2094 (void) thread_create(NULL, 0, send_traverse_thread, to_arg, 0, in setup_to_thread()
2114 (void) thread_create(NULL, 0, redact_list_thread, from_arg, 0, in setup_from_thread()
2134 (void) thread_create(NULL, 0, redact_list_thread, rlt_arg, 0, in setup_redact_list_thread()
2155 (void) thread_create(NULL, 0, send_merge_thread, smt_arg, 0, curproc, in setup_merge_thread()
2170 (void) thread_create(NULL, 0, send_reader_thread, srt_arg, 0, in setup_reader_thread()
H A Ddmu_redact.c1156 (void) thread_create(NULL, 0, redact_traverse_thread, rta, in dmu_redact_snap()
1168 (void) thread_create(NULL, 0, redact_merge_thread, rmta, 0, curproc, in dmu_redact_snap()
H A Dmmp.c247 mmp->mmp_thread = thread_create(NULL, 0, mmp_thread, in mmp_thread_start()
H A Dvdev_initialize.c642 vd->vdev_initialize_thread = thread_create(NULL, 0, in vdev_initialize()
H A Dvdev_removal.c570 svr->svr_thread = thread_create(NULL, 0, in vdev_remove_initiate_sync()
685 svr->svr_thread = thread_create(NULL, 0, spa_vdev_remove_thread, spa, in spa_restart_removal()
H A Ddmu_recv.c3448 (void) thread_create(NULL, 0, receive_writer_thread, rwa, 0, curproc, in dmu_recv_stream()
H A Ddbuf.c1019 dbuf_cache_evict_thread = thread_create(NULL, 0, dbuf_evict_thread, in dbuf_init()
H A Dspa.c9956 spa->spa_async_thread = thread_create(NULL, 0,
H A Darc.c10643 (void) thread_create(NULL, 0, l2arc_dev_rebuild_thread, in l2arc_spa_rebuild_start()
/src/sys/contrib/openzfs/cmd/raidz_test/
H A Draidz_test.c777 VERIFY3P(thread_create(NULL, 0, sweep_thread, (void *) opts, in run_sweep()
/src/sys/sys/
H A Dproc.h1256 int thread_create(struct thread *td, struct rtprio *rtp,
/src/sys/contrib/openzfs/cmd/
H A Dztest.c4147 scratch_thread = thread_create(NULL, 0, ztest_scratch_thread, in ztest_vdev_raidz_attach()
8183 run_threads[t] = thread_create(NULL, 0, ztest_rzx_thread, in ztest_raidz_expand_run()
8339 run_threads[i] = thread_create(NULL, 0, ztest_thread, in ztest_generic_run()
8443 resume_thread = thread_create(NULL, 0, ztest_resume_thread, in ztest_run()
8449 deadman_thread = thread_create(NULL, 0, ztest_deadman_thread, in ztest_run()