thr_create
if (thr_create(0, 0, write_to_cd, NULL,
if (thr_create(0, 0, progress_callback, NULL,
if (thr_create(NULL, 0, ns_warning_thr, NULL,
(void) thr_create(NULL, 0, (void *(*)(void *))do_delay_write, NULL,
(void) thr_create(NULL, 0,
if (thr_create(NULL, 0, ns_warning_thr, NULL,
if (thr_create(NULL, 0, ns_warning_thr, NULL,
if (thr_create(NULL, 0, soaker, state, 0, &tid) != 0)
if (thr_create(NULL, 0, gtick, this,
thr_err = thr_create(NULL, 0, ses_handler, (void *)fd,
if (thr_create(NULL, 0,
if (thr_create(NULL, 0, minor_fini_thread,
if (thr_create(NULL, 0, (void *(*)(void *))cache_cleanup, NULL,
(void) thr_create(NULL, THR_MIN_STACK, svcstart, (void *)id,
if (thr_create(NULL, THR_MIN_STACK * 2, svc_rdma_creator, (void *)rsa,
if (thr_create(NULL, THR_MIN_STACK * 2, svcblock, (void *)id,
if (thr_create(NULL, 0, nfsauth_svc, 0, thr_flags, &nfsauth_thread)) {
if (thr_create(NULL, 0, cmd_svc, 0, thr_flags, &cmd_thread)) {
if (thr_create(NULL, 0, logging_svc, 0, thr_flags, &logging_thread)) {
if (thr_create(NULL, 0, sig_handler, 0, thr_flags, &sig_thread)) {
if (thr_create(NULL, 0, thr_send_notice,
if (thr_create(NULL, 0, thr_statd_init, NULL, THR_DETACHED, NULL)) {
if (thr_create(NULL, 0, thr_call_statd, name, 0, NULL)) {
if (thr_create(NULL, 0, thr_call_statd, name, 0, NULL)) {
if (thr_create(NULL, 0, sm_try, NULL, THR_DETACHED, NULL))
if (thr_create(NULL, 0, (void *(*)(void *))thr_statd_merges, NULL,
err = thr_create(NULL, 0, iod_work, ctx, THR_DETACHED, &tid);
err = thr_create(NULL, 0, iod_work, ctx, THR_DETACHED, &tid);
if (thr_create(NULL, 0,
if ( thr_create(NULL, 0, process, NULL, NULL, NULL) != 0 )
(void) thr_create(NULL, 0, server_tsd_bind, NULL,
if (thr_create(NULL, 0, (void *(*)(void*))getldap_refresh,
if (thr_create(NULL, 0, (void *(*)(void*))getldap_serverInfo_refresh,
if (thr_create(NULL, 0, chg_cleanup_waiting_threads,
if (thr_create(NULL, 0, (void *(*)(void *))discover,
if (thr_create(NULL, 0, chg_cleanup_waiting_threads,
if (thr_create(NULL, 0, remove_server_thread,
if (thr_create(NULL, 0,
if (thr_create(NULL, 0, revalidate, ctx, 0, NULL) != 0) {
if (thr_create(NULL, 0, reaper, ctx, 0, NULL) != 0) {
errnum = thr_create(NULL, 0, do_update, in, 0|THR_DETACHED, NULL);
(void) thr_create(NULL, 0, server_tsd_bind, NULL,
if (thr_create(NULL, 0,
if (thr_create(NULL, 0,
if (thr_create(NULL, 0, reclaim_getent_ctx,
if (thr_create(NULL, 0, check_user_process,
(void) thr_create(NULL, 0, forker_monitor, NULL,
(void) thr_create(NULL, 0, child_monitor,
if (thr_create(NULL, 0, set_smf_state,
if (thr_create(NULL, 0, piclslm_deliver_thr,
if ((status = thr_create(NULL, 0, pri_worker_thread, NULL, THR_BOUND,
} else if ((status = thr_create(NULL, 0, pri_reader_thread, NULL,
if ((ret = thr_create(NULL, 0, tree_builder, NULL,
if (thr_create(NULL, 0, cache_refresher, NULL, THR_BOUND,
if (thr_create(NULL, 0, attach_devices, NULL,
if (thr_create(NULL, 0, power_button_monitor, NULL,
if (thr_create(NULL, 0, system_activity_monitor, NULL,
if (thr_create(NULL, 0, autos3_monitor, NULL, THR_DAEMON,
if ((err = thr_create(NULL, 0, pollfunc, NULL, THR_DETACHED,
if (thr_create(NULL, 0, (void *(*)(void *))read_stderr, rsi,
if (thr_create(NULL, 0, db_clean, NULL, THR_DETACHED, NULL) != 0) {
(void) thr_create(NULL, 0, logthread, NULL, THR_DETACHED, &tid);
if (thr_create(NULL, 0, (void *(*)(void *))terminate, NULL, 0, NULL)) {
if (thr_create(NULL, 0, do_one, thread_hostname,
if ((rc = thr_create(NULL, 0,
if ((rc = thr_create(NULL, 0, (void *(*)(void *))process_elf,
if (thr_create(NULL, 0, thr_pkgfilter, cpf, THR_DETACHED,
if (thr_create(NULL, 0, (void *(*)(void *))sigwait_thr,
(void) thr_create(NULL, 0, create_door_thr, NULL,
if (thr_create(NULL, 0, client_deliver_event_thr,
if (thr_create(NULL, 0, (void *(*)(void *))dispatch_message,
if (thr_create(NULL, 0,
if (thr_create(NULL, 0, sigwait_thr, NULL, 0, NULL) < 0) {
if (thr_create(NULL, 0, datalink_notify_thread, NULL, 0,
if (thr_create(NULL, 0, devfsadmd_deliver_thr,
if ((err = thr_create(NULL, 0, queue_flush_thr,
if (thr_create(NULL, 0, (void *(*)(void *))subscriber_deliver_thr,
if (thr_create(NULL, 0, zfs_enum_pools, NULL, 0, &g_zfs_tid) != 0)
if (thr_create(NULL, 0, worker_thread,
if (thr_create(NULL, 0, worker_thread, new_Lwp,
ret = thr_create(NULL, 0, libvarpd_overlay_lookup_run,
if (thr_create(NULL, 0, (thr_func_t)vntsd_write_thread,
if (thr_create(NULL, 0, (thr_func_t)vntsd_console_thread,
if ((rv = thr_create(NULL, 0, (thr_func_t)vntsd_listen_thread,
if (thr_create(NULL, 0, stat_thread, NULL, 0, &tid) != 0)
VERIFY(thr_create(0, 0, ztest_resume_thread, spa, THR_BOUND,
VERIFY(thr_create(0, 0, ztest_deadman_thread, zs, THR_BOUND,
VERIFY(thr_create(0, 0, ztest_thread, (void *)(uintptr_t)t,
extern int thr_create(void *, size_t, void *(*)(void *), void *, long,
error = thr_create(NULL, AIOSTKSIZE, _kaio_cleanup_thread,
error = thr_create(NULL, AIOSTKSIZE, func, aiowp,
ret = thr_create(NULL, 0, spawner, tcdp,
(void) thr_create(NULL, 0, reapchild, arg, THR_DAEMON, NULL);
(void) thr_create(NULL, 0,
(void) thr_create(NULL, 0, door_unref_func,
(void) thr_create(NULL, 0, door_create_func, NULL, THR_DETACHED, NULL);
*errp = thr_create(NULL, 0, cb_watch_events, NULL,
*errp = thr_create(NULL, 0, cb_watch_events, NULL, THR_DAEMON,
if (thr_create(NULL, 0, walker, NULL,
*errp = thr_create(NULL, 0, watch_mnttab,
(void) thr_create(0, 0, taskq_thread,
extern int thr_create(void *, size_t, void *(*)(void *), void *, long,
rc = thr_create(NULL, 0, thr_func, arg, thr_flags, &newtid);
err = thr_create(NULL, 0, resolv_query_thread, (void *)argp,
thr_create(stacks[ncpus], 1<<23, be_thread, NULL, THR_BOUND,
thr_create(NULL, 1<<23, be_thread, NULL, THR_BOUND, &tid[i--]);
if (0 != thr_create(NULL, NULL, update_thread, new_map,
if (thr_create(NULL, 0, (void *(*)(void *))_svc_run_mt, NULL,
if (thr_create(NULL, 0, get_server_change,
switch (thr_create(NULL,
(void) thr_create(NULL,
switch (thr_create(NULL,
if ((terr = thr_create(
if ((terr = thr_create(0, 0, cache_thr, NULL, 0, NULL)) != 0) {
if ((terr = thr_create(0, 0, ipc_manage_thr,
if ((terr = thr_create(0, 0, tcp_thread, NULL, 0, NULL)) != 0) {
if ((terr = thr_create(NULL, 0, slp_call, args, 0, &tid)) != 0) {
if ((terr = thr_create(NULL, 0, consumer,
created = thr_create(NULL, 0, subscriber_event_handler,
if (thr_create(NULL, 0, umem_update_thread, NULL,
(void) thr_create(0, 0, zfs_taskq_thread,
ret = thr_create(NULL, 0, mergeq_thr_merge, mqp, 0,
ret = thr_create(NULL, 0, workq_thr_work, wqp, 0,
err = thr_create(NULL, 0, mutex_test_thr, (void *)test, 0, &thr);
err = thr_create(NULL, 0, lock_thread,
ret = thr_create(NULL, 0, lock_signal_thr, (void *)test, 0, &thr);
if (thr_create(NULL, 0, clock_test_cputime_thr, &arg, 0, &thr) != 0) {
if (thr_create(NULL, 0, clock_test_thr, NULL, 0, &thr) != 0) {
if (thr_create(NULL, 0,
if (thr_create(NULL, 0, nonblock_thread, (void *)(uintptr_t)fdb, 0,
ret = thr_create(NULL, 0, xsu_sleeper_thread, NULL, THR_DETACHED,
ret = thr_create(NULL, 0, xsu_sleeper_thread, NULL, THR_DETACHED,
ret = thr_create(NULL, 0, go, (void *)&i, 0, NULL);