Home
last modified time | relevance | path

Searched refs:tstate (Results 1 – 25 of 49) sorted by relevance

12

/titanic_51/usr/src/cmd/sgs/elfedit/common/
H A Delfedit_machelf.c135 elfedit_obj_state_t tstate; in elfedit64_init_obj_state() local
141 tstate.os_file = file; in elfedit64_init_obj_state()
142 tstate.os_fd = fd; in elfedit64_init_obj_state()
143 tstate.os_elf = elf; in elfedit64_init_obj_state()
144 tstate.os_dynndx = SHN_UNDEF; in elfedit64_init_obj_state()
145 tstate.os_symtabnum = 0; in elfedit64_init_obj_state()
147 LIBELF(tstate.os_ehdr = elf_getehdr(tstate.os_elf), in elfedit64_init_obj_state()
151 if (elf_getphdrnum(tstate.os_elf, &tstate in elfedit64_init_obj_state()
[all...]
/titanic_51/usr/src/uts/i86pc/sys/
H A Dcpu_acpi.h65 #define CPU_ACPI_FREQPER(tstate) tstate->ts_freqper argument
66 #define CPU_ACPI_TSTATE_TRANSLAT(tstate) tstate->ts_translat argument
67 #define CPU_ACPI_TSTATE_CTRL(tstate) tstate->ts_ctrl argument
68 #define CPU_ACPI_TSTATE_STAT(tstate) tstate->ts_state argument
/titanic_51/usr/src/uts/sun4v/io/
H A Dldc.c629 if (force_reset || (ldcp->tstate & ~TS_IN_RESET) == TS_UP) { in i_ldc_rxq_reconf()
703 ldcp->tstate = TS_OPEN; in i_ldc_reset_state()
714 ldcp->tstate = TS_UP; in i_ldc_reset_state()
717 ldcp->tstate |= TS_LINK_READY; in i_ldc_reset_state()
745 ldcp->tstate |= TS_IN_RESET; in i_ldc_reset()
761 if (((ldcp->tstate & TS_QCONF_RDY) == TS_QCONF_RDY) && in i_ldc_debug_enter()
1043 ldcp->id, ldcp->status, ldcp->tstate, ldcp->hstate, in i_ldc_rx_hdlr()
1256 if ((ldcp->tstate & ~TS_IN_RESET) == TS_VREADY) { in i_ldc_process_VER()
1346 ldcp->tstate |= TS_VER_DONE; in i_ldc_process_VER()
1364 if ((ldcp->tstate in i_ldc_process_VER()
2417 uint64_t tstate = ldcp->tstate; i_ldc_rx_process_hvq() local
3379 uint64_t tx_tail, tstate, link_state; ldc_up() local
[all...]
/titanic_51/usr/src/uts/sun4v/os/
H A Dmach_trap.c137 printf("pid=%d, pc=0x%lx, sp=0x%llx, tstate=0x%llx, context=0x%x\n", in showregs()
163 printf("%%tl %%tpc %%tnpc %%tstate" in ptl1_showtrap()
168 uint64_t tstate = ptp->ptl1_tstate; in ptl1_showtrap() local
171 cwp = (tstate >> TSTATE_CWP_SHIFT) & TSTATE_CWP_MASK; in ptl1_showtrap()
172 pstate = (tstate >> TSTATE_PSTATE_SHIFT) & TSTATE_PSTATE_MASK; in ptl1_showtrap()
173 asi = (tstate >> TSTATE_ASI_SHIFT) & TSTATE_ASI_MASK; in ptl1_showtrap()
174 ccr = (tstate >> TSTATE_CCR_SHIFT) & TSTATE_CCR_MASK; in ptl1_showtrap()
175 gl = (tstate >> TSTATE_GL_SHIFT) & TSTATE_GL_MASK; in ptl1_showtrap()
179 ptp->ptl1_tnpc, tstate, ptp->ptl1_tt); in ptl1_showtrap()
282 (void) snprintf(name, sizeof (name), "tstate[ in ptl1_savetrap()
[all...]
/titanic_51/usr/src/uts/common/tnf/
H A Dtnf.c562 tifiocstate_t tstate; in tnf_getstate() local
566 tstate.buffer_state = TIFIOCBUF_NONE; in tnf_getstate()
567 tstate.buffer_size = 0; in tnf_getstate()
571 tstate.buffer_state = TIFIOCBUF_OK; in tnf_getstate()
574 tstate.buffer_state = TIFIOCBUF_UNINIT; in tnf_getstate()
577 tstate.buffer_state = TIFIOCBUF_BROKEN; in tnf_getstate()
581 tstate.buffer_size = tnf_trace_file_size; in tnf_getstate()
583 tstate.trace_stopped = tnfw_b_state & TNFW_B_STOPPED; in tnf_getstate()
584 tstate.pidfilter_mode = tnf_drv_state.tnf_pidfilter_mode; in tnf_getstate()
585 tstate in tnf_getstate()
[all...]
/titanic_51/usr/src/uts/common/io/ppp/spppcomp/
H A Dvjcompress.c80 register struct cstate *tstate = comp->tstate; in vj_compress_init() local
89 tstate[i].cs_id = i & 0xff; in vj_compress_init()
90 tstate[i].cs_next = &tstate[i - 1]; in vj_compress_init()
93 tstate[0].cs_next = &tstate[max_state]; in vj_compress_init()
94 tstate[0].cs_id = 0; in vj_compress_init()
96 comp->last_cs = &tstate[0]; in vj_compress_init()
/titanic_51/usr/src/uts/sun4u/os/
H A Dmach_trap.c152 printf("pid=%d, pc=0x%lx, sp=0x%llx, tstate=0x%llx, context=0x%x\n", in showregs()
189 printf("%%tl %%tpc %%tnpc %%tstate" in ptl1_showtrap()
194 uint64_t tstate = ptp->ptl1_tstate; in ptl1_showtrap() local
197 cwp = (tstate >> TSTATE_CWP_SHIFT) & TSTATE_CWP_MASK; in ptl1_showtrap()
198 pstate = (tstate >> TSTATE_PSTATE_SHIFT) & TSTATE_PSTATE_MASK; in ptl1_showtrap()
199 asi = (tstate >> TSTATE_ASI_SHIFT) & TSTATE_ASI_MASK; in ptl1_showtrap()
200 ccr = (tstate >> TSTATE_CCR_SHIFT) & TSTATE_CCR_MASK; in ptl1_showtrap()
204 ptp->ptl1_tnpc, tstate, ptp->ptl1_tt); in ptl1_showtrap()
296 (void) snprintf(name, sizeof (name), "tstate[%d]", i); in ptl1_savetrap()
/titanic_51/usr/src/uts/sun4/brand/common/
H A Dbrand_solaris.s95 rdpr %tstate, %g3; /* %tstate.am is the trapping */
113 rdpr %tstate, %g3; /* %tstate.am is the trapping */
189 * consult the tstate address mask again.
191 rdpr %tstate, %l1; /* %tstate.am is the trapping */
/titanic_51/usr/src/lib/libslp/clib/
H A DSLPUtils.c181 char *s, *tstate; in saadvert_callback() local
188 s = strtok_r((char *)scopes, ",", &tstate); in saadvert_callback()
190 s = strtok_r(NULL, ",", &tstate)) { in saadvert_callback()
357 char *s, *tstate, *p, *url; in collate_scopes() local
382 s = strtok_r(p, ",", &tstate); in collate_scopes()
384 s = strtok_r(NULL, ",", &tstate)) { in collate_scopes()
/titanic_51/usr/src/cmd/tnf/tnfxtract/
H A Dtnfxtract.c142 tifiocstate_t tstate; in live_kernel_init() local
148 if (ioctl(input_fd, TIFIOCGSTATE, &tstate) < 0) { in live_kernel_init()
152 if (tstate.buffer_state != TIFIOCBUF_OK) { in live_kernel_init()
157 tnf_bufsize = tstate.buffer_size; in live_kernel_init()
/titanic_51/usr/src/cmd/mdb/common/modules/genunix/
H A Dfindstack.c147 mdb_warn("tstate \"%s\" not recognized\n", text); in text_to_tstate()
154 tstate_to_text(uint_t tstate, uint_t paniced, char *out, size_t out_sz) in tstate_to_text() argument
159 thread_state_to_text(tstate, out, out_sz); in tstate_to_text()
602 uint_t tstate = -1U; in stacks() local
694 if (tstate_str != NULL && text_to_tstate(tstate_str, &tstate) != 0) in stacks()
701 if (tstate != -1U && excl_tstate != -1U) { in stacks()
806 if (tstate != -1U) { in stacks()
807 if (tstate == TSTATE_PANIC) { in stacks()
810 } else if (sep->se_panic || sep->se_tstate != tstate) in stacks()
/titanic_51/usr/src/cmd/cpc/common/
H A Dcpustat.c73 struct tstate { struct
88 struct tstate *gstate; argument
410 struct tstate *state = arg; in gtick()
696 struct tstate *this = &gstate[i]; in cpustat()
720 struct tstate *this = &gstate[i]; in cpustat()
752 struct tstate *this = &gstate[i]; in cpustat()
806 struct tstate *state = arg; in soaker()
/titanic_51/usr/src/uts/sun4v/ml/
H A Dtrap_table.s228 rdpr %tstate, %g1 ;\
1415 rdpr %tstate, %g1
1441 rdpr %tstate, %g1
1479 rdpr %tstate, %g4
1505 rdpr %tstate, %g1
1557 rdpr %tstate, %g1 ! cwp for trap handler
1560 wrpr %g1, %g4, %tstate
1566 rdpr %tstate, %g1
1642 rdpr %tstate, %g2 ! cwp for trap handler
1645 wrpr %g2, %g4, %tstate
[all...]
H A Dwbuf.s91 rdpr %tstate, %g5
227 rdpr %tstate, %g5
414 ! so set it from %tstate
416 rdpr %tstate, %g5
439 rdpr %tstate, %g1
448 wrpr %g0, %g1, %tstate
H A Dmach_locore.s427 rdpr %tstate, %g5
504 rdpr %tstate, %l2
540 wrpr %l1, %l0, %tstate
874 wrpr %g1, %g7, %tstate ! needed by wbuf recovery code
893 ! set %tstate to the correct %cwp
899 wrpr %g1, %g7, %tstate
1034 wrpr %g1, %g7, %tstate ! needed by wbuf recovery code
1040 ! set %tstate to the correct %cwp
1044 wrpr %g1, %g7, %tstate
1372 ! %tl, %tt, %tstate,
[all...]
H A Dmach_interrupt.s118 rdpr %tstate, %g6
321 rdpr %tstate, %g6
605 * - We need to lower TL to 1 to get the trap type and tstate.
622 /* Set tl to 1 in order to read tt[1] and tstate[1] */
630 rdpr %tstate, %g5 ! %g5 = tstate[1]
/titanic_51/usr/src/uts/sun4u/ml/
H A Dwbuf.s90 rdpr %tstate, %g5
224 rdpr %tstate, %g5
352 ! so set it from %tstate
354 rdpr %tstate, %g5
374 rdpr %tstate, %g1
383 wrpr %g0, %g1, %tstate
H A Dtrap_table.s235 rdpr %tstate, %g1 ;\
1611 rdpr %tstate, %g1
1637 rdpr %tstate, %g1
1702 rdpr %tstate, %g4
1732 rdpr %tstate, %g1
1784 rdpr %tstate, %g1 ! cwp for trap handler
1787 wrpr %g1, %g4, %tstate
1793 rdpr %tstate, %g1
1869 rdpr %tstate, %g2 ! cwp for trap handler
1872 wrpr %g2, %g4, %tstate
[all...]
/titanic_51/usr/src/uts/sun4u/sys/
H A Dmachthread.h197 * read tstate[2].%tpc. do nothing if it is not \
210 * pickup tstate[2].cwp \
212 rdpr %tstate, scr1; \
215 * set tstate[1].cwp to tstate[2].cwp. fudge \
216 * tstate[1].tpc and tstate[1].tnpc to restart \
222 wrpr %g0, scr2, %tstate; \
H A Dtraptrace.h38 * %tick, %tl, %tt, %tpc, %tstate, %sp, and a few other words:
43 * int64_t tstate, tick;
301 rdpr %tstate, scr2; \
341 rdpr %tstate, scr2; \
366 rdpr %tstate, scr2; \
/titanic_51/usr/src/uts/sparc/v9/fpu/
H A Dv9instr.c268 enum cc_type cc) /* CCR condition code field from tstate */ in fmovcc_icc()
277 uint64_t tstate; in fmovcc_icc() local
284 tstate = pregs->r_tstate; in fmovcc_icc()
287 ccr.i = (uint32_t)((tstate >> TSTATE_CCR_SHIFT) & 0xf); in fmovcc_icc()
290 ccr.i = (uint32_t)(((tstate >> TSTATE_CCR_SHIFT) & 0xf0) >> 4); in fmovcc_icc()
/titanic_51/usr/src/uts/common/net/
H A Dvjcompress.h128 struct cstate *last_cs; /* most recently used tstate */
135 struct cstate tstate[MAX_STATES]; /* xmit connection states */ member
/titanic_51/usr/src/uts/sun4v/sys/
H A Dtraptrace.h43 * %tick, %tl, %tt, %tpc, %tstate, %sp, and a few other words:
48 * int64_t tstate, tick;
357 rdpr %tstate, scr2; \
396 rdpr %tstate, scr2; \
420 rdpr %tstate, scr2; \
/titanic_51/usr/src/cmd/svc/shell/
H A Dnet_include.sh792 tstate=`/usr/bin/svcprop -c -p general_ovr/enabled $1 2>/dev/null`
794 [ "$tstate" = "true" ] && return 0
/titanic_51/usr/src/uts/sparc/v9/ml/
H A Dsyscall_trap.s79 ldx [%o0 + TSTATE_OFF], %l1 ! saved %tstate.am is that
119 stxa %g7, [%g3 + TRAP_ENT_TSTATE]%asi ! save thread in tstate space
204 ldx [%l1 + TSTATE_OFF], %g2 ! get saved tstate
234 ldx [%l1 + TSTATE_OFF], %g1 ! get saved tstate
324 ldx [%o0 + TSTATE_OFF], %l1 ! saved %tstate.am is that
364 stxa %g7, [%g3 + TRAP_ENT_TSTATE]%asi ! save thread in tstate space
462 ldx [%l1 + TSTATE_OFF], %g2 ! get saved tstate
492 ldx [%l1 + TSTATE_OFF], %g1 ! get saved tstate

12