Searched refs:thr (Results 1 - 25 of 25) sorted by relevance

/illumos-gate/usr/src/cmd/mdb/sparc/kmdb/kctl/
H A Dkctl_asm.s39 kctl_curthread_set(kthread_t *thr)
/illumos-gate/usr/src/cmd/mdb/common/modules/genunix/
H A Dfindstack_subr.c144 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 Dsobj.c173 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 Dgenunix.c2941 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 Dpthread_attr_get_np.c165 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 Dsbp2_driver.c247 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 Dhba.c2567 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 Dc11_thr.c194 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 Dusbser.c1864 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 Ddoor.c1267 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 Dsip_timeout.c286 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 Dfmd_mdb.c69 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 Dhermon_stats.c779 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 Dtavor_stats.c700 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 Dunix.c600 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 Dprobe_cntl.c73 typedef int (*tnf_pthread_create_func_t)(pthread_t *thr,
/illumos-gate/usr/src/cmd/mdb/sun4u/modules/unix/
H A Dunix.c586 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 Dsgenv.c1951 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 DMakefile.com881 thr.o \
1211 thr.o \
/illumos-gate/usr/src/lib/libc/sparcv9/
H A DMakefile.com861 thr.o \
1175 thr.o \
/illumos-gate/usr/src/lib/libzpool/common/sys/
H A Dzfs_context.h202 #define ISSIG(thr, why) (FALSE)
/illumos-gate/usr/src/lib/smbsrv/libmlsvc/common/
H A Ddfs.c220 pthread_t thr; local
233 rc = pthread_create(&thr, &tattr, dfs_namespace_cache, rootshr);
/illumos-gate/usr/src/lib/libc/amd64/
H A DMakefile837 thr.o \
1147 thr.o \
/illumos-gate/usr/src/lib/libc/sparc/
H A DMakefile.com915 thr.o \
1248 thr.o \
/illumos-gate/usr/src/uts/common/os/
H A Dsunpm.c5854 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] "

Completed in 168 milliseconds