Home
last modified time | relevance | path

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

12

/titanic_44/usr/src/cmd/sgs/elfedit/common/
H A Delfedit_machelf.c134 elfedit_obj_state_t tstate; in elfedit64_init_obj_state() local
140 tstate.os_file = file; in elfedit64_init_obj_state()
141 tstate.os_fd = fd; in elfedit64_init_obj_state()
142 tstate.os_elf = elf; in elfedit64_init_obj_state()
143 tstate.os_dynndx = SHN_UNDEF; in elfedit64_init_obj_state()
144 tstate.os_symtabnum = 0; in elfedit64_init_obj_state()
146 LIBELF(tstate.os_ehdr = elf_getehdr(tstate.os_elf), in elfedit64_init_obj_state()
150 if (elf_getphdrnum(tstate.os_elf, &tstate.os_phnum) == -1) in elfedit64_init_obj_state()
152 if (tstate.os_phnum > 0) { in elfedit64_init_obj_state()
153 LIBELF((tstate.os_phdr = elf_getphdr(tstate.os_elf)), in elfedit64_init_obj_state()
[all …]
/titanic_44/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_44/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 & ~TS_IN_RESET) == TS_VREADY) { in i_ldc_process_VER()
[all …]
/titanic_44/usr/src/uts/sun4v/os/
H A Dmach_trap.c168 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()
/titanic_44/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.pidfilter_size = 0; in tnf_getstate()
[all …]
/titanic_44/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_44/usr/src/uts/sun4u/os/
H A Dmach_trap.c194 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()
/titanic_44/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 */
191 rdpr %tstate, %l1; /* %tstate.am is the trapping */
/titanic_44/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_44/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_44/usr/src/cmd/mdb/common/modules/genunix/
H A Dfindstack.c154 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_44/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_44/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
H A Dmach_locore.s427 rdpr %tstate, %g5
1034 wrpr %g1, %g7, %tstate ! needed by wbuf recovery code
1040 ! set %tstate to the correct %cwp
1044 wrpr %g1, %g7, %tstate
/titanic_44/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
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 …]
H A Dmach_interrupt.s139 rdpr %tstate, %g6
302 rdpr %tstate, %g6
/titanic_44/usr/src/uts/sun4u/sys/
H A Dmachthread.h212 rdpr %tstate, scr1; \
222 wrpr %g0, scr2, %tstate; \
H A Dtraptrace.h301 rdpr %tstate, scr2; \
341 rdpr %tstate, scr2; \
366 rdpr %tstate, scr2; \
/titanic_44/usr/src/uts/sparc/v9/fpu/
H A Dv9instr.c277 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_44/usr/src/uts/common/net/
H A Dvjcompress.h135 struct cstate tstate[MAX_STATES]; /* xmit connection states */ member
/titanic_44/usr/src/uts/sun4v/sys/
H A Dtraptrace.h357 rdpr %tstate, scr2; \
396 rdpr %tstate, scr2; \
420 rdpr %tstate, scr2; \
/titanic_44/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_44/usr/src/uts/sparc/v9/ml/
H A Dsyscall_trap.s204 ldx [%l1 + TSTATE_OFF], %g2 ! get saved tstate
234 ldx [%l1 + TSTATE_OFF], %g1 ! get saved tstate

12