Home
last modified time | relevance | path

Searched refs:thr_create (Results 1 – 25 of 97) sorted by relevance

1234

/illumos-gate/usr/src/cmd/fs.d/nfs/lib/
H A Dthrpool.c122 (void) thr_create(NULL, THR_MIN_STACK, svcstart, (void *)id, in svcblock()
188 if (thr_create(NULL, THR_MIN_STACK * 2, svc_rdma_creator, (void *)rsa, in svcrdma()
205 if (thr_create(NULL, THR_MIN_STACK * 2, svcblock, (void *)id, in svcwait()
/illumos-gate/usr/src/cmd/sgs/libelf/demo/
H A Dtpcom.c162 if ((rc = thr_create(NULL, 0, in process_elf()
247 if ((rc = thr_create(NULL, 0, (void *(*)(void *))process_elf, in main()
/illumos-gate/usr/src/lib/libdiskmgt/common/
H A Devents.c187 *errp = thr_create(NULL, 0, cb_watch_events, NULL, in dm_init_event_queue()
206 *errp = thr_create(NULL, 0, cb_watch_events, NULL, THR_DAEMON, in dm_init_event_queue()
483 if (thr_create(NULL, 0, walker, NULL, in walk_devtree()
/illumos-gate/usr/src/lib/libmtmalloc/tests/
H A Dgeneral.c52 thr_create(NULL, 1<<23, be_thread, NULL, THR_BOUND, &tid[i--]); in main()
H A Dexhaust.c72 thr_create(stacks[ncpus], 1<<23, be_thread, NULL, THR_BOUND, in main()
/illumos-gate/usr/src/lib/libslp/clib/
H A Dslp_ua_common.c89 if ((terr = thr_create(NULL, 0, slp_call, args, 0, &tid)) != 0) { in slp_ua_common()
99 if ((terr = thr_create(NULL, 0, consumer, in slp_ua_common()
/illumos-gate/usr/src/test/os-tests/tests/
H A Dclock_gettime.c201 if (thr_create(NULL, 0, clock_test_cputime_thr, &arg, 0, &thr) != 0) { in clock_test_thread_clock()
323 if (thr_create(NULL, 0, clock_test_thr, NULL, 0, &thr) != 0) { in main()
/illumos-gate/usr/src/head/
H A Dthread.h54 extern int thr_create(void *, size_t, void *(*)(void *), void *, long,
/illumos-gate/usr/src/test/zfs-tests/tests/functional/threadsappend/
H A Dthreadsappend.c119 ret = thr_create(NULL, 0, go, (void *)&i, 0, NULL); in main()
/illumos-gate/usr/src/cmd/fs.d/smbclnt/fksmbcl/
H A Dfkiod_cl.c136 err = thr_create(NULL, 0, iod_work, ctx, THR_DETACHED, &tid); in smb_iod_cl_newvc()
/illumos-gate/usr/src/cmd/picl/plugins/sun4v/pri/
H A Dpriplugin.c127 if ((status = thr_create(NULL, 0, pri_worker_thread, NULL, THR_BOUND, in priplugin_init()
134 } else if ((status = thr_create(NULL, 0, pri_reader_thread, NULL, in priplugin_init()
/illumos-gate/usr/src/test/os-tests/tests/uccid/
H A Dexcl-nonblock.c85 if (thr_create(NULL, 0, nonblock_thread, (void *)(uintptr_t)fdb, 0, in main()
/illumos-gate/usr/src/lib/libumem/common/
H A Dumem_update_thread.c141 if (thr_create(NULL, 0, umem_update_thread, NULL, in umem_create_update_thread()
/illumos-gate/usr/src/lib/libfakekernel/common/
H A Dthread.c75 rc = thr_create(NULL, 0, thr_func, arg, thr_flags, &newtid); in thread_create()
H A Dtaskq.c53 extern int thr_create(void *, size_t, void *(*)(void *), void *, long,
341 (void) thr_create(0, 0, taskq_thread, in taskq_create_proc()
/illumos-gate/usr/src/test/os-tests/tests/xsave/
H A Dxregs_roundtrip.c52 ret = thr_create(NULL, 0, xsu_sleeper_thread, NULL, THR_DETACHED, in main()
/illumos-gate/usr/src/test/os-tests/tests/stackalign/
H A Dstackalign.c107 if (thr_create(NULL, 0, in main()
/illumos-gate/usr/src/cmd/ldapcachemgr/
H A Dcachemgr.c257 (void) thr_create(NULL, 0, server_tsd_bind, NULL, in server_create()
569 if (thr_create(NULL, 0, (void *(*)(void*))getldap_refresh,
582 if (thr_create(NULL, 0, (void *(*)(void*))getldap_serverInfo_refresh,
596 if (thr_create(NULL, 0, chg_cleanup_waiting_threads,
608 if (thr_create(NULL, 0, (void *(*)(void *))discover,
/illumos-gate/usr/src/cmd/syseventd/modules/datalink_mod/
H A Ddatalink_mod.c172 if (thr_create(NULL, 0, datalink_notify_thread, NULL, 0, in slm_init()
/illumos-gate/usr/src/cmd/nscd/
H A Dnscd_smfmonitor.c150 if (thr_create(NULL, 0, set_smf_state, in _nscd_init_smf_monitor()
/illumos-gate/usr/src/cmd/krb5/kwarn/
H A Dkwarnd.c195 if (thr_create(NULL, 0, in main()
/illumos-gate/usr/src/test/nvme-tests/tests/ioctl/
H A Dlock-signal.c105 ret = thr_create(NULL, 0, lock_signal_thr, (void *)test, 0, &thr); in lock_signal_one()
/illumos-gate/usr/src/cmd/fs.d/nfs/statd/
H A Dsm_statd.c241 if (thr_create(NULL, 0, thr_statd_init, NULL, THR_DETACHED, NULL)) { in statd_init()
312 if (thr_create(NULL, 0, thr_call_statd, name, 0, NULL)) { in thr_statd_init()
386 if (thr_create(NULL, 0, thr_call_statd, name, 0, NULL)) { in thr_statd_init()
437 if (thr_create(NULL, 0, sm_try, NULL, THR_DETACHED, NULL)) in thr_statd_init()
/illumos-gate/usr/src/cmd/power/
H A Dpowerd.c311 if (thr_create(NULL, 0, power_button_monitor, NULL, in main()
325 if (thr_create(NULL, 0, system_activity_monitor, NULL, in main()
336 if (thr_create(NULL, 0, autos3_monitor, NULL, THR_DAEMON, in main()
1250 if (thr_create(NULL, 0, attach_devices, NULL, in do_attach()
/illumos-gate/usr/src/cmd/cdrw/
H A Dtrackio.c376 if (thr_create(0, 0, write_to_cd, NULL, in write_track()
389 if (thr_create(0, 0, progress_callback, NULL, in write_track()

1234