Searched defs:th (Results 1 - 20 of 20) sorted by relevance

/illumos-gate/usr/src/cmd/mdb/sparc/kmdb/
H A Dkaif_activate.c252 struct kaif_trap_handlers *th = &kaif_trap_handlers[i]; local
253 th->th_install(kaif_tba_native + th->th_tt * 0x20, vatotte);
/illumos-gate/usr/src/cmd/ipf/lib/common/
H A Dipft_tx.c186 tcphdr_t th, *tcp = &th; local
/illumos-gate/usr/src/lib/libc/port/fp/
H A Ddecimal_bin.c290 double t, th, tl; local
306 th = 1.0e9 * (double)acc; /* this will be exact */
314 t = th + tl;
315 *pe = ((t - th) == tl)? 0 : 1;
/illumos-gate/usr/src/uts/common/io/ppp/spppcomp/
H A Dvjcompress.c166 register struct tcphdr *th; local
184 th = (struct tcphdr *)&((int *)ip)[hlen];
186 if ((th->th_flags & (TH_SYN|TH_FIN|TH_RST|TH_ACK)) != TH_ACK) {
190 thlen = (hlen + getth_off(th)) << 2;
206 *(int *)th != ((int *)&cs->cs_ip)[getip_hl(&cs->cs_ip)]) {
230 *(int *)th == ((int *)
270 * check is unnecessary but costless). The 4th line checks the TCP
271 * header length. The 5th line checks IP options, if any. The 6th
284 getth_off(th) !
540 register struct tcphdr *th; local
[all...]
/illumos-gate/usr/src/lib/libm/common/complex/
H A Dk_atan2l.c724 long double t, xh, th, t1, t2, w1, w2; local
776 th = t; HALF(th);
778 t1 = (x - xh) * t + xh * (t - th);
779 t2 = y - xh * th;
794 th = t; HALF(th);
796 t1 = (x - xh) * t + xh * (t - th);
797 t2 = y - xh * th;
H A Dk_atan2.c458 double t, xh, th, t1, t2, w1, w2; local
513 th = t;
514 ((int *) &th)[LOWORD] &= 0xf8000000;
517 t1 = (x - xh) * t + xh * (t - th);
518 t2 = y - xh * th;
533 th = t;
534 ((int *) &th)[LOWORD] &= 0xf8000000;
537 t1 = (x - xh) * t + xh * (t - th);
538 t2 = y - xh * th;
/illumos-gate/usr/src/uts/intel/io/acpica/
H A Dacpica_ec.c402 ACPI_TABLE_HEADER *th; local
407 status = AcpiGetTable(ACPI_SIG_ECDT, 1, &th);
422 ecdt = (ACPI_TABLE_ECDT *)th;
/illumos-gate/usr/src/uts/common/fs/zfs/
H A Dtxg.c293 txg_hold_open(dsl_pool_t *dp, txg_handle_t *th) argument
306 th->th_cpu = tc;
307 th->th_txg = txg;
313 txg_rele_to_quiesce(txg_handle_t *th) argument
315 tx_cpu_t *tc = th->th_cpu;
322 txg_register_callbacks(txg_handle_t *th, list_t *tx_callbacks) argument
324 tx_cpu_t *tc = th->th_cpu;
325 int g = th->th_txg & TXG_MASK;
333 txg_rele_to_sync(txg_handle_t *th) argument
335 tx_cpu_t *tc = th
[all...]
/illumos-gate/usr/src/uts/common/io/comstar/port/qlt/
H A Dqlt_dma.c417 qlt_dma_handle_t *th; local
425 th = qsgl->handle_list;
426 while (th) {
427 rv = ddi_dma_sync(th->dma_handle,
432 th = th->next;
659 qlt_dma_handle_t *handle_list, *th; local
686 th = handle_list;
695 th->dma_handle,
702 &th
[all...]
/illumos-gate/usr/src/cmd/bnu/
H A Dcntrl.c1442 long td, th, tm, ts; local
1467 th = td;
1468 (void) fprintf(Cf, "(%ld:%ld:%ld)\n%s\n%s\n\n", th, tm, ts, f, m);
/illumos-gate/usr/src/cmd/mdb/common/modules/libtopo/
H A Dlibtopo.c71 topo_hdl_t th; local
77 if (mdb_vread(&th, sizeof (th), addr) != sizeof (th)) {
82 if (mdb_readstr(uuid, sizeof (uuid), (uintptr_t)th.th_uuid) < 0) {
83 (void) mdb_snprintf(uuid, sizeof (uuid), "<%p>", th.th_uuid);
85 if (mdb_readstr(root, sizeof (root), (uintptr_t)th.th_rootdir) < 0) {
86 (void) mdb_snprintf(root, sizeof (root), "<%p>", th.th_rootdir);
88 if (mdb_readstr(plat, sizeof (plat), (uintptr_t)th.th_platform) < 0) {
90 th
514 topo_hdl_t th; local
574 topo_hdl_t th; local
629 topo_hdl_t th; local
[all...]
/illumos-gate/usr/src/cmd/msgfmt/
H A Dmsgfmt.c1027 wchar_t *tp, *th; local
1039 th = (wchar_t *)Xmalloc(sizeof (wchar_t) * tbufsize);
1052 tp = th;
1068 th = (wchar_t *)Xrealloc(th,
1070 tp = th + tbufsize - nc;
1078 *bufhead = th;
1079 return ((size_t)(tp - th));
1083 th = (wchar_t *)Xrealloc(th,
[all...]
/illumos-gate/usr/src/cmd/truss/
H A Dfcall.c636 td_thrhandle_t th; local
679 td_ta_map_lwp2thr(Thr_agent, lwpid, &th) == TD_OK &&
680 td_thr_get_info(&th, &thrinfo) == TD_OK &&
825 td_thrhandle_t th; local
872 if ((error = td_ta_map_lwp2thr(Thr_agent, lwpid, &th)) != TD_OK) {
881 if ((error = td_thr_get_info(&th, &thrinfo)) != TD_OK) {
937 td_thrhandle_t th; local
958 if ((error = td_ta_map_lwp2thr(Thr_agent, lwpid, &th)) != TD_OK) {
967 } else if ((error = td_thr_get_info(&th, &thrinfo)) != TD_OK) {
/illumos-gate/usr/src/uts/common/io/wpi/
H A Dwpivar.h198 struct wpi_rx_radiotap_header th; member in union:wpi_softc::__anon6640
201 #define sc_rxtap sc_rxtapu.th
205 struct wpi_tx_radiotap_header th; member in union:wpi_softc::__anon6641
208 #define sc_txtap sc_txtapu.th
/illumos-gate/usr/src/uts/common/fs/zfs/lua/
H A Dlstate.h193 struct lua_State th; /* thread */ member in union:GCObject
212 #define gco2th(o) check_exp((o)->gch.tt == LUA_TTHREAD, &((o)->th))
H A Dlgc.c495 static lu_mem traversestack (global_State *g, lua_State *th) { argument
497 StkId o = th->stack;
500 for (; o < th->top; o++) /* mark live elements in the stack */
503 StkId lim = th->stack + th->stacksize; /* real end of stack */
509 for (ci = &th->base_ci; ci != th->ci; ci = ci->next)
512 return sizeof(lua_State) + sizeof(TValue) * th->stacksize +
546 lua_State *th = gco2th(o); local
547 g->gray = th
[all...]
/illumos-gate/usr/src/uts/common/io/chxge/
H A Dsge.c1069 ddi_dma_handle_t th = (ddi_dma_handle_t)Q->fq_dh; local
1112 (void) ddi_dma_sync(th, offset, len,
1126 (void) ddi_dma_sync(th, offset, len, DDI_DMA_SYNC_FORDEV);
/illumos-gate/usr/src/lib/libc_db/common/
H A Dthread_db.c649 td_thrhandle_t th; member in struct:__anon2
665 data->th = *th_p;
717 *th_p = data.th;
924 td_thrhandle_t th; local
1087 th.th_ta_p = (td_thragent_t *)ta_p;
1088 th.th_unique = curr_lwp_addr;
1089 if ((*cb)(&th, cbdata_p))
1734 static td_thrhandle_t th; local
1747 th = *th_p;
1748 msg->th_p = &th;
[all...]
/illumos-gate/usr/src/cmd/mdb/common/mdb/
H A Dmdb_proc.c2538 td_thrhandle_t th; local
2550 err = pt->p_tdb_ops->td_ta_map_id2thr(pt->p_ptl_hdl, tid, &th);
2564 err = pt->p_tdb_ops->td_thr_tlsbase(&th, loadobjp->rl_tlsmodid, basep);
4894 td_thrhandle_t th; local
4902 Pstatus(t->t_pshandle)->pr_lwp.pr_lwpid, &th)) != TD_OK)
4905 if ((err = pt->p_tdb_ops->td_thr_get_info(&th, &ti)) != TD_OK)
4949 td_thrhandle_t th; local
4955 if ((err = pt->p_tdb_ops->td_ta_map_id2thr(tap, tid, &th)) != TD_OK)
4958 err = pt->p_tdb_ops->td_thr_getgregs(&th, gregs);
4970 td_thrhandle_t th; local
4993 td_thrhandle_t th; local
5015 td_thrhandle_t th; local
5039 td_thrhandle_t th; local
5061 td_thrhandle_t th; local
[all...]
/illumos-gate/usr/src/cmd/mdb/common/modules/ip/
H A Dip.c1790 th_trace_t th; local
1792 if (mdb_vread(&th, sizeof (th), (uintptr_t)mhe->mhe_val) == -1) {
1797 if (th.th_refcnt == 0 && thw->thw_non_zero_only)
1802 mhe->mhe_val, th.th_refcnt, th.th_id);
1809 i = th.th_trace_lastref;
1810 mdb_printf("\tThread %p refcnt %d:\n", th.th_id,
1811 th.th_refcnt);
1813 tr = th
[all...]

Completed in 202 milliseconds