/illumos-gate/usr/src/cmd/mdb/sparc/kmdb/kctl/ |
H A D | kctl_asm.s | 39 kctl_curthread_set(kthread_t *thr)
|
/illumos-gate/usr/src/cmd/mdb/common/modules/genunix/ |
H A D | findstack_subr.c | 144 mdb_findstack_kthread_t thr; local 156 if (mdb_ctf_vread(&thr, "kthread_t", "mdb_findstack_kthread_t", 162 fsip->fsi_sobj_ops = (uintptr_t)thr.t_sobj_ops; 163 fsip->fsi_tstate = thr.t_state; 164 fsip->fsi_panic = !!(thr.t_flag & T_PANIC); 166 if ((thr.t_schedflag & TS_LOAD) == 0) { 173 if (thr.t_stk < thr.t_stkbase) { 182 kbase = (uintptr_t)thr.t_stkbase; 183 ktop = (uintptr_t)thr [all...] |
H A D | sobj.c | 173 kthread_t thr; local 204 if (mdb_vread(&thr, sizeof (thr), t) != sizeof (thr)) { 209 if (thr.t_wchan == NULL) { 217 ww->ww_thr = (uintptr_t)thr.t_link; 224 if (ww->ww_compare == (uintptr_t)thr.t_wchan) 225 return (wsp->walk_callback(t, &thr, wsp->walk_cbdata)); 238 if (ww->ww_seen[i] == thr.t_wchan) 250 ww->ww_seen[ww->ww_seen_ndx++] = thr [all...] |
H A D | genunix.c | 2941 cpuinfo_walk_ithread(uintptr_t addr, const kthread_t *thr, cpuinfo_data_t *cid) argument 2947 if (!(thr->t_flag & T_INTR_THREAD) || thr->t_state == TS_FREE) 2950 if (thr->t_bound_cpu == NULL) { 2951 mdb_warn("thr %p is intr thread w/out a CPU\n", addr); 2955 (void) mdb_vread(&c, sizeof (c), (uintptr_t)thr->t_bound_cpu); 2959 thr->t_bound_cpu, id, NCPU); 2963 if ((pil = thr->t_pil) >= NINTR) { 3559 didmatch(uintptr_t addr, const kthread_t *thr, kt_did_t *didp) argument 3562 if (*didp == thr [all...] |
/illumos-gate/usr/src/test/libc-tests/tests/threads/ |
H A D | pthread_attr_get_np.c | 165 pthread_t thr; local 177 VERIFY0(pthread_create(&thr, &pgn_thr_attr, pgn_set_one_thr, NULL)); 182 ret = pthread_join(thr, NULL); 270 pthread_t thr; local 283 VERIFY0(pthread_create(&thr, &pgn_thr_attr, pgn_set_two_thr, NULL)); 304 pthread_t thr; local 313 VERIFY0(pthread_create(&thr, NULL, pgn_set_three_thr, NULL)); 315 VERIFY0(pthread_attr_get_np(thr, &altattr));
|
/illumos-gate/usr/src/uts/common/io/1394/targets/scsa1394/ |
H A D | sbp2_driver.c | 247 scsa1394_thread_t *thr; local 252 thr = &lp->l_worker_thread; 254 thr->thr_func = scsa1394_sbp2_worker_thread; 255 thr->thr_arg = thr; 256 thr->thr_state = SCSA1394_THR_INIT; 257 cv_init(&thr->thr_cv, NULL, CV_DRIVER, NULL); 258 thr->thr_lun = lp; 259 thr->thr_req = 0; 262 if (scsa1394_thr_dispatch(thr) ! 277 scsa1394_thread_t *thr; local 669 scsa1394_thread_t *thr = (scsa1394_thread_t *)arg; local [all...] |
H A D | hba.c | 2567 scsa1394_thr_dispatch(scsa1394_thread_t *thr) argument 2569 scsa1394_lun_t *lp = thr->thr_lun; 2574 ASSERT(thr->thr_state == SCSA1394_THR_INIT); 2576 thr->thr_state = SCSA1394_THR_RUN; 2578 ret = ddi_taskq_dispatch(sp->s_taskq, thr->thr_func, thr->thr_arg, 2587 scsa1394_thr_cancel(scsa1394_thread_t *thr) argument 2589 scsa1394_lun_t *lp = thr->thr_lun; 2593 thr->thr_req |= SCSA1394_THREQ_EXIT; 2594 cv_signal(&thr 2608 scsa1394_thr_wake(scsa1394_thread_t *thr, int req) argument 2619 scsa1394_thr_clear_req(scsa1394_thread_t *thr, int mask) argument [all...] |
/illumos-gate/usr/src/lib/libc/port/threads/ |
H A D | c11_thr.c | 194 thrd_create(thrd_t *thr, thrd_start_t func, void *arg) argument 198 ret = pthread_create(thr, NULL, (void *(*)(void *))func, arg); 214 thrd_detach(thrd_t thr) argument 216 if (pthread_detach(thr) == 0)
|
/illumos-gate/usr/src/uts/common/io/usb/clients/usbser/ |
H A D | usbser.c | 1864 usbser_thr_dispatch(usbser_thread_t *thr) argument 1866 usbser_port_t *pp = thr->thr_port; 1871 ASSERT((thr->thr_flags & USBSER_THR_RUNNING) == 0); 1873 thr->thr_flags = USBSER_THR_RUNNING; 1875 rval = ddi_taskq_dispatch(usp->us_taskq, thr->thr_func, thr->thr_arg, 1885 usbser_thr_cancel(usbser_thread_t *thr) argument 1887 usbser_port_t *pp = thr->thr_port; 1891 thr->thr_flags &= ~USBSER_THR_RUNNING; 1892 cv_signal(&thr 1906 usbser_thr_wake(usbser_thread_t *thr) argument 1921 usbser_thread_t *thr = (usbser_thread_t *)arg; local 1968 usbser_thread_t *thr = (usbser_thread_t *)arg; local [all...] |
/illumos-gate/usr/src/cmd/isns/isnsd/ |
H A D | door.c | 1267 thr_elem_t *thr = thr_list; local 1269 while (thr) { 1270 if (pthread_equal(thr->thr_id, tid)) { 1271 return (thr); 1273 thr = thr->next; 1287 thr_elem_t *thr = thr_list; local 1299 while (thr->next) { 1300 thr = thr 1330 thr_elem_t *thr; local [all...] |
/illumos-gate/usr/src/lib/libsip/common/ |
H A D | sip_timeout.c | 286 pthread_t thr; local 288 (void) pthread_create(&thr, NULL, sip_run_to_functions, 290 (void) pthread_detach(thr);
|
/illumos-gate/usr/src/cmd/fm/fmd/common/ |
H A D | fmd_mdb.c | 69 fmd_thread_t thr; local 83 addr = (uintptr_t)thr.thr_list.l_next) { 89 if (mdb_vread(&thr, sizeof (thr), addr) != sizeof (thr)) { 100 sizeof (t->trw_data), (uintptr_t)thr.thr_trdata); 108 t->trw_tid = thr.thr_tid; 698 fmd_thread_t thr; local 706 if (mdb_vread(&thr, sizeof (thr), add [all...] |
/illumos-gate/usr/src/uts/common/io/ib/adapters/hermon/ |
H A D | hermon_stats.c | 779 kthread_t *thr; local 788 thr = thread_create(NULL, 0, 791 ksi->hki_perfcntr64_thread_id = thr->t_did;
|
/illumos-gate/usr/src/uts/common/io/ib/adapters/tavor/ |
H A D | tavor_stats.c | 700 kthread_t *thr; local 709 thr = thread_create(NULL, 0, 712 ksi->tki_perfcntr64_thread_id = thr->t_did;
|
/illumos-gate/usr/src/cmd/mdb/i86pc/modules/unix/ |
H A D | unix.c | 600 kthread_t thr; local 611 if (mdb_vread(&thr, sizeof (thr), owner) != -1) 612 (void) wsp->walk_callback(owner, &thr, wsp->walk_cbdata);
|
/illumos-gate/usr/src/lib/libtnfprobe/ |
H A D | probe_cntl.c | 73 typedef int (*tnf_pthread_create_func_t)(pthread_t *thr,
|
/illumos-gate/usr/src/cmd/mdb/sun4u/modules/unix/ |
H A D | unix.c | 586 ttstr = "int-thr-exit"; 1563 kthread_t thr; local 1574 if (mdb_vread(&thr, sizeof (thr), owner) != -1) 1575 (void) wsp->walk_callback(owner, &thr, wsp->walk_cbdata);
|
/illumos-gate/usr/src/uts/sun4u/lw8/io/ |
H A D | sgenv.c | 1951 envresp_thresholds_t thr[SGENV_MAX_SENSORS_PER_KEY]; member in union:__anon9810 1972 resp.msg_len = sizeof (buf.thr); 1973 resp.msg_buf = (caddr_t)buf.thr; 2076 buf.thr[i].lo_warn; 2078 buf.thr[i].hi_warn;
|
/illumos-gate/usr/src/lib/libc/i386/ |
H A D | Makefile.com | 881 thr.o \ 1211 thr.o \
|
/illumos-gate/usr/src/lib/libc/sparcv9/ |
H A D | Makefile.com | 861 thr.o \ 1175 thr.o \
|
/illumos-gate/usr/src/lib/libzpool/common/sys/ |
H A D | zfs_context.h | 202 #define ISSIG(thr, why) (FALSE)
|
/illumos-gate/usr/src/lib/smbsrv/libmlsvc/common/ |
H A D | dfs.c | 220 pthread_t thr; local 233 rc = pthread_create(&thr, &tattr, dfs_namespace_cache, rootshr);
|
/illumos-gate/usr/src/lib/libc/amd64/ |
H A D | Makefile | 837 thr.o \ 1147 thr.o \
|
/illumos-gate/usr/src/lib/libc/sparc/ |
H A D | Makefile.com | 915 thr.o \ 1248 thr.o \
|
/illumos-gate/usr/src/uts/common/os/ |
H A D | sunpm.c | 5854 int thr = (int)(*(int *)arg); local 5858 pm_set_device_threshold(dip, thr, PMC_DEF_THRESH); 6101 PMD(PMD_THRESH, ("%s: set dev thr %s@%s(%s#%d) to 0x%x\n", 6112 PMD(PMD_THRESH, ("%s: set thr %d for %s@%s(%s#%d)[%d] "
|