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

123

/illumos-gate/usr/src/cmd/sgs/elfedit/common/
H A Delfedit_machelf.c134 elfedit_obj_state_t tstate; local
140 tstate.os_file = file;
141 tstate.os_fd = fd;
142 tstate.os_elf = elf;
143 tstate.os_dynndx = SHN_UNDEF;
144 tstate.os_symtabnum = 0;
146 LIBELF(tstate.os_ehdr = elf_getehdr(tstate.os_elf),
150 if (elf_getphdrnum(tstate.os_elf, &tstate
[all...]
/illumos-gate/usr/src/uts/i86pc/sys/
H A Dcpu_acpi.h65 #define CPU_ACPI_FREQPER(tstate) tstate->ts_freqper
66 #define CPU_ACPI_TSTATE_TRANSLAT(tstate) tstate->ts_translat
67 #define CPU_ACPI_TSTATE_CTRL(tstate) tstate->ts_ctrl
68 #define CPU_ACPI_TSTATE_STAT(tstate) tstate->ts_state
/illumos-gate/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",
163 printf("%%tl %%tpc %%tnpc %%tstate"
168 uint64_t tstate = ptp->ptl1_tstate; local
171 cwp = (tstate >> TSTATE_CWP_SHIFT) & TSTATE_CWP_MASK;
172 pstate = (tstate >> TSTATE_PSTATE_SHIFT) & TSTATE_PSTATE_MASK;
173 asi = (tstate >> TSTATE_ASI_SHIFT) & TSTATE_ASI_MASK;
174 ccr = (tstate >> TSTATE_CCR_SHIFT) & TSTATE_CCR_MASK;
175 gl = (tstate >> TSTATE_GL_SHIFT) & TSTATE_GL_MASK;
179 ptp->ptl1_tnpc, tstate, ptp->ptl1_tt);
282 (void) snprintf(name, sizeof (name), "tstate[
[all...]
/illumos-gate/usr/src/uts/common/tnf/
H A Dtnf.c562 tifiocstate_t tstate; local
566 tstate.buffer_state = TIFIOCBUF_NONE;
567 tstate.buffer_size = 0;
571 tstate.buffer_state = TIFIOCBUF_OK;
574 tstate.buffer_state = TIFIOCBUF_UNINIT;
577 tstate.buffer_state = TIFIOCBUF_BROKEN;
581 tstate.buffer_size = tnf_trace_file_size;
583 tstate.trace_stopped = tnfw_b_state & TNFW_B_STOPPED;
584 tstate.pidfilter_mode = tnf_drv_state.tnf_pidfilter_mode;
585 tstate
[all...]
/illumos-gate/usr/src/uts/common/io/ppp/spppcomp/
H A Dvjcompress.c80 register struct cstate *tstate = comp->tstate; local
89 tstate[i].cs_id = i & 0xff;
90 tstate[i].cs_next = &tstate[i - 1];
93 tstate[0].cs_next = &tstate[max_state];
94 tstate[0].cs_id = 0;
96 comp->last_cs = &tstate[0];
/illumos-gate/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 */
/illumos-gate/usr/src/cmd/lvm/util/
H A Dmetastat.c78 md_status_t mirror_status, uint_t tstate);
79 static char *get_raid_col_state(md_raidcol_t *colp, uint_t tstate);
80 static char *get_stripe_state(md_comp_t *mdcp, uint_t tstate);
1357 uint_t tstate = 0; local
1372 &tstate, &error);
1375 state = get_sm_state(mirror, i, status, tstate);
1399 uint_t tstate = 0; local
1409 &tstate, &error);
1422 uint_t tstate = 0; local
1424 (void) meta_get_tstate(namep->dev, &tstate,
1483 uint_t tstate = 0; local
1491 uint_t tstate = 0; local
1686 get_sm_state(md_mirror_t *mirror, int i, md_status_t mirror_status, uint_t tstate) argument
1742 get_raid_col_state(md_raidcol_t *colp, uint_t tstate) argument
1754 get_stripe_state(md_comp_t *mdcp, uint_t tstate) argument
[all...]
/illumos-gate/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",
189 printf("%%tl %%tpc %%tnpc %%tstate"
194 uint64_t tstate = ptp->ptl1_tstate; local
197 cwp = (tstate >> TSTATE_CWP_SHIFT) & TSTATE_CWP_MASK;
198 pstate = (tstate >> TSTATE_PSTATE_SHIFT) & TSTATE_PSTATE_MASK;
199 asi = (tstate >> TSTATE_ASI_SHIFT) & TSTATE_ASI_MASK;
200 ccr = (tstate >> TSTATE_CCR_SHIFT) & TSTATE_CCR_MASK;
204 ptp->ptl1_tnpc, tstate, ptp->ptl1_tt);
296 (void) snprintf(name, sizeof (name), "tstate[%d]", i);
/illumos-gate/usr/src/uts/sun4v/io/
H A Dldc.c629 if (force_reset || (ldcp->tstate & ~TS_IN_RESET) == TS_UP) {
703 ldcp->tstate = TS_OPEN;
714 ldcp->tstate = TS_UP;
717 ldcp->tstate |= TS_LINK_READY;
745 ldcp->tstate |= TS_IN_RESET;
761 if (((ldcp->tstate & TS_QCONF_RDY) == TS_QCONF_RDY) &&
1043 ldcp->id, ldcp->status, ldcp->tstate, ldcp->hstate,
1256 if ((ldcp->tstate & ~TS_IN_RESET) == TS_VREADY) {
1346 ldcp->tstate |= TS_VER_DONE;
1364 if ((ldcp->tstate
2417 uint64_t tstate = ldcp->tstate; local
3379 uint64_t tx_tail, tstate, link_state; local
[all...]
/illumos-gate/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 in struct:vjcompress
/illumos-gate/usr/src/lib/libslp/clib/
H A DSLPUtils.c181 char *s, *tstate; local
188 s = strtok_r((char *)scopes, ",", &tstate);
190 s = strtok_r(NULL, ",", &tstate)) {
357 char *s, *tstate, *p, *url; local
382 s = strtok_r(p, ",", &tstate);
384 s = strtok_r(NULL, ",", &tstate)) {
/illumos-gate/usr/src/cmd/tnf/tnfxtract/
H A Dtnfxtract.c142 tifiocstate_t tstate; local
148 if (ioctl(input_fd, TIFIOCGSTATE, &tstate) < 0) {
152 if (tstate.buffer_state != TIFIOCBUF_OK) {
157 tnf_bufsize = tstate.buffer_size;
/illumos-gate/usr/src/cmd/cpc/common/
H A Dcpustat.c73 struct tstate { struct
88 struct tstate *gstate;
410 struct tstate *state = arg;
696 struct tstate *this = &gstate[i];
720 struct tstate *this = &gstate[i];
752 struct tstate *this = &gstate[i];
806 struct tstate *state = arg;
/illumos-gate/usr/src/lib/lvm/libmeta/common/
H A Dmeta_trans.c801 uint_t tstate /* Errored tstate flags */
810 if (tstate != 0) {
831 uint_t tstate /* Errored tstate flags */
838 if (tstate != 0) {
849 return (mt_l_error_to_name(transp, tvp, tstate));
873 uint_t tstate = 0; local
886 if (meta_get_tstate(transp->common.namep->dev, &tstate, ep)
890 mt_state = mt_flags_to_name(transp, &tv, tstate
1180 uint_t tstate = 0; local
[all...]
H A Dmeta_raid.c480 uint_t tstate /* Errored tstate flags */
499 if (tstate & MD_INACCESSIBLE) {
600 uint_t tstate
607 if (tstate != 0) {
646 uint_t top_tstate, /* Errored tstate flags */
664 uint_t tstate = 0; local
677 if (meta_get_tstate(namep->dev, &tstate, ep) != 0)
680 tstate & MD_DEV_ERRORED);
690 col_state = raid_col_state_to_name(colp, &tv, tstate);
797 uint_t tstate = 0; local
1588 uint_t tstate; local
1741 uint_t tstate; local
[all...]
H A Dmeta_mirror.c592 uint_t tstate
595 if (tstate & MD_ABR_CAP)
682 uint_t tstate
699 if ((tstate != 0) && (state & SMS_RUNNING)) {
834 uint_t tstate,
865 resync_opt_to_name(tstate)) == EOF) {
927 uint_t tstate = 0; local
1028 if (meta_get_tstate(mdsp->submirnamep->dev, &tstate,
1033 tstate & MD_DEV_ERRORED);
1081 if (meta_get_tstate(mirrorp->common.namep->dev, &tstate, e
830 meta_print_mirror_options( mm_rd_opt_t read_option, mm_wr_opt_t write_option, mm_pass_num_t pass_num, uint_t tstate, char *fname, mdsetname_t *sp, FILE *fp, md_error_t *ep ) argument
1393 uint_t tstate; local
1473 uint_t tstate; local
[all...]
/illumos-gate/usr/src/cmd/mdb/common/modules/genunix/
H A Dfindstack.c147 mdb_warn("tstate \"%s\" not recognized\n", text);
154 tstate_to_text(uint_t tstate, uint_t paniced, char *out, size_t out_sz) argument
159 thread_state_to_text(tstate, out, out_sz);
602 uint_t tstate = -1U; local
694 if (tstate_str != NULL && text_to_tstate(tstate_str, &tstate) != 0)
701 if (tstate != -1U && excl_tstate != -1U) {
806 if (tstate != -1U) {
807 if (tstate == TSTATE_PANIC) {
810 } else if (sep->se_panic || sep->se_tstate != tstate)
/illumos-gate/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; \
/illumos-gate/usr/src/uts/sun4v/ml/
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 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...]
/illumos-gate/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...]
/illumos-gate/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; \
/illumos-gate/usr/src/cmd/mdb/sparc/v9/kmdb/
H A Dkaif_resume.s148 wrpr %g4, %tstate

Completed in 131 milliseconds

123