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

/freebsd-current/contrib/sendmail/libmilter/
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);
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)
310 if ((r = thread_create(&tid, mi_worker, (void *) NULL)) != 0)
H A Dlibmilter.h131 # define thread_create(ptid,wr,arg) pthread_create(ptid, NULL, wr, arg) macro
H A Dlistener.c669 ** thread_create() failed, returned 11 (EINVAL)
727 int tcnt = 0; /* error count for thread_create() failures */
955 # define LOG_CRT_FAIL "%s: thread_create() failed: %d, %s"
956 if ((r = thread_create(&thread_id,
/freebsd-current/sys/contrib/openzfs/include/os/linux/spl/sys/
H A Dthread.h52 #define thread_create(stk, stksize, func, arg, len, pp, state, pri) \ macro
/freebsd-current/sys/contrib/openzfs/include/os/freebsd/spl/sys/
H A Dproc.h101 #define thread_create(stk, stksize, proc, arg, len, pp, state, pri) \ macro
/freebsd-current/sys/kern/
H A Dkern_thr.c125 return (thread_create(td, NULL, thr_create_initthr, &args));
188 return (thread_create(td, rtpp, thr_new_initthr, param));
192 thread_create(struct thread *td, struct rtprio *rtp, function
/freebsd-current/sys/contrib/openzfs/module/zfs/
H A Dvdev_rebuild.c259 vd->vdev_rebuild_thread = thread_create(NULL, 0,
437 vd->vdev_rebuild_thread = thread_create(NULL, 0,
1059 vd->vdev_rebuild_thread = thread_create(NULL, 0,
H A Dtxg.c208 tx->tx_quiesce_thread = thread_create(NULL, 0, txg_quiesce_thread,
216 tx->tx_sync_thread = thread_create(NULL, 0, txg_sync_thread,
H A Ddmu_redact.c1151 (void) thread_create(NULL, 0, redact_traverse_thread, rta,
1163 (void) thread_create(NULL, 0, redact_merge_thread, rmta, 0, curproc,
H A Dvdev_trim.c1015 vd->vdev_trim_thread = thread_create(NULL, 0,
1509 tvd->vdev_autotrim_thread = thread_create(NULL, 0,
1708 vd->vdev_trim_thread = thread_create(NULL, 0,
H A Dmmp.c237 mmp->mmp_thread = thread_create(NULL, 0, mmp_thread,
H A Ddmu_send.c2076 (void) thread_create(NULL, 0, send_traverse_thread, to_arg, 0,
2096 (void) thread_create(NULL, 0, redact_list_thread, from_arg, 0,
2116 (void) thread_create(NULL, 0, redact_list_thread, rlt_arg, 0,
2137 (void) thread_create(NULL, 0, send_merge_thread, smt_arg, 0, curproc,
2152 (void) thread_create(NULL, 0, send_reader_thread, srt_arg, 0,
H A Dvdev_initialize.c639 vd->vdev_initialize_thread = thread_create(NULL, 0,
H A Dvdev_removal.c536 svr->svr_thread = thread_create(NULL, 0,
651 svr->svr_thread = thread_create(NULL, 0, spa_vdev_remove_thread, spa,
H A Ddmu_recv.c3374 (void) thread_create(NULL, 0, receive_writer_thread, rwa, 0, curproc,
H A Darc.c9703 (void) thread_create(NULL, 0, l2arc_feed_thread, NULL, 0, &p0,
9745 (void) thread_create(NULL, 0, l2arc_dev_rebuild_thread,
H A Ddbuf.c985 dbuf_cache_evict_thread = thread_create(NULL, 0, dbuf_evict_thread,
H A Dspa.c9125 spa->spa_async_thread = thread_create(NULL, 0,
/freebsd-current/sys/contrib/openzfs/cmd/raidz_test/
H A Draidz_test.c762 VERIFY3P(thread_create(NULL, 0, sweep_thread, (void *) opts,
/freebsd-current/sys/contrib/openzfs/include/sys/
H A Dzfs_context.h232 #define thread_create(stk, stksize, func, arg, len, pp, state, pri) \ macro
/freebsd-current/sys/sys/
H A Dproc.h260 /* Cleared during fork1(), thread_create(), or kthread_add(). */
327 /* Copied during fork1(), thread_create(), or kthread_add(). */
347 * Fields that must be manually set in fork1(), thread_create(), kthread_add(),
1271 int thread_create(struct thread *td, struct rtprio *rtp,
/freebsd-current/sys/contrib/openzfs/cmd/
H A Dztest.c4121 scratch_thread = thread_create(NULL, 0, ztest_scratch_thread,
8082 run_threads[t] = thread_create(NULL, 0, ztest_rzx_thread,
8233 run_threads[t] = thread_create(NULL, 0, ztest_thread,
8339 resume_thread = thread_create(NULL, 0, ztest_resume_thread,
8345 deadman_thread = thread_create(NULL, 0, ztest_deadman_thread,

Completed in 622 milliseconds