Home
last modified time | relevance | path

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

12

/freebsd-13.1/sys/compat/cloudabi32/
H A Dcloudabi32_thread.c72 error = thread_create(td, NULL, initialize_thread, &args); in cloudabi32_sys_thread_create()
/freebsd-13.1/sys/compat/cloudabi64/
H A Dcloudabi64_thread.c72 error = thread_create(td, NULL, initialize_thread, &args); in cloudabi64_sys_thread_create()
/freebsd-13.1/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,
/freebsd-13.1/sys/contrib/openzfs/include/os/linux/spl/sys/
H A Dthread.h53 #define thread_create(stk, stksize, func, arg, len, pp, state, pri) \ macro
/freebsd-13.1/sys/kern/
H A Dkern_thr.c128 return (thread_create(td, NULL, thr_create_initthr, &args)); in sys_thr_create()
188 return (thread_create(td, rtpp, thr_new_initthr, param)); in kern_thr_new()
192 thread_create(struct thread *td, struct rtprio *rtp, in thread_create() function
/freebsd-13.1/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-13.1/sys/contrib/openzfs/module/zfs/
H A Dvdev_rebuild.c256 vd->vdev_rebuild_thread = thread_create(NULL, 0, in vdev_rebuild_initiate_sync()
423 vd->vdev_rebuild_thread = thread_create(NULL, 0, in vdev_rebuild_reset_sync()
1034 vd->vdev_rebuild_thread = thread_create(NULL, 0, in vdev_rebuild_restart_impl()
H A Dtxg.c208 tx->tx_quiesce_thread = thread_create(NULL, 0, txg_quiesce_thread, in txg_sync_start()
216 tx->tx_sync_thread = thread_create(NULL, 0, txg_sync_thread, in txg_sync_start()
H A Dvdev_trim.c981 vd->vdev_trim_thread = thread_create(NULL, 0, in vdev_trim()
1461 tvd->vdev_autotrim_thread = thread_create(NULL, 0, in vdev_autotrim()
1645 vd->vdev_trim_thread = thread_create(NULL, 0, in vdev_trim_l2arc()
H A Ddmu_send.c2073 (void) thread_create(NULL, 0, send_traverse_thread, to_arg, 0, in setup_to_thread()
2093 (void) thread_create(NULL, 0, redact_list_thread, from_arg, 0, in setup_from_thread()
2113 (void) thread_create(NULL, 0, redact_list_thread, rlt_arg, 0, in setup_redact_list_thread()
2134 (void) thread_create(NULL, 0, send_merge_thread, smt_arg, 0, curproc, in setup_merge_thread()
2149 (void) thread_create(NULL, 0, send_reader_thread, srt_arg, 0, in setup_reader_thread()
H A Ddmu_redact.c1153 (void) thread_create(NULL, 0, redact_traverse_thread, rta, in dmu_redact_snap()
1165 (void) thread_create(NULL, 0, redact_merge_thread, rmta, 0, curproc, in dmu_redact_snap()
H A Dmmp.c238 mmp->mmp_thread = thread_create(NULL, 0, mmp_thread, in mmp_thread_start()
H A Dvdev_initialize.c603 vd->vdev_initialize_thread = thread_create(NULL, 0, in vdev_initialize()
H A Dvdev_removal.c365 svr->svr_thread = thread_create(NULL, 0, in vdev_remove_initiate_sync()
480 svr->svr_thread = thread_create(NULL, 0, spa_vdev_remove_thread, spa, in spa_restart_removal()
H A Ddmu_recv.c2983 (void) thread_create(NULL, 0, receive_writer_thread, rwa, 0, curproc, in dmu_recv_stream()
H A Darc.c10084 (void) thread_create(NULL, 0, l2arc_feed_thread, NULL, 0, &p0, in l2arc_start()
10126 (void) thread_create(NULL, 0, l2arc_dev_rebuild_thread, in l2arc_spa_rebuild_start()
/freebsd-13.1/sys/contrib/openzfs/lib/libzpool/
H A Dtaskq.c295 VERIFY((tq->tq_threadlist[t] = thread_create(NULL, 0, in taskq_create()
/freebsd-13.1/sys/contrib/openzfs/include/sys/
H A Dzfs_context.h233 #define thread_create(stk, stksize, func, arg, len, pp, state, pri) \
/freebsd-13.1/sys/contrib/openzfs/cmd/raidz_test/
H A Draidz_test.c943 VERIFY3P(thread_create(NULL, 0, sweep_thread, (void *) opts, in run_sweep()
/freebsd-13.1/sys/sys/
H A Dproc.h1184 int thread_create(struct thread *td, struct rtprio *rtp,
/freebsd-13.1/sys/contrib/openzfs/cmd/ztest/
H A Dztest.c7473 resume_thread = thread_create(NULL, 0, ztest_resume_thread, in ztest_run()
7479 deadman_thread = thread_create(NULL, 0, ztest_deadman_thread, in ztest_run()
7554 run_threads[t] = thread_create(NULL, 0, ztest_thread, in ztest_run()

12