Searched defs:tstate (Results 1 - 25 of 26) sorted by relevance

12

/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/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/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/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/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/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/sparc/v9/fpu/
H A Dv9instr.c268 enum cc_type cc) /* CCR condition code field from tstate */
277 uint64_t tstate; local
284 tstate = pregs->r_tstate;
287 ccr.i = (uint32_t)((tstate >> TSTATE_CCR_SHIFT) & 0xf);
290 ccr.i = (uint32_t)(((tstate >> TSTATE_CCR_SHIFT) & 0xf0) >> 4);
/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_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...]
H A Dmeta_mn_handlers.c1916 * This is to get the value of tstate from the master node. We use this
1925 uint_t tstate; local
1935 ret = meta_get_tstate(d->gettstate_dev, &tstate, &mde);
1939 tstate = 0;
1941 resp->mmr_exitval = tstate;
1963 uint_t tstate; local
2009 if (meta_get_tstate(d->mir_state_mnum, &tstate, &mde) != 0) {
2028 /* Returm value of tstate for mirror */
2029 res->mir_tstate = tstate;
H A Dmeta_stripe.c638 uint_t tstate /* Errored tstate flags */
647 if (tstate != 0) {
676 uint_t top_tstate, /* Errored tstate flags */
742 uint_t tstate = 0; local
764 if (meta_get_tstate(namep->dev, &tstate, ep) != 0)
766 comp_state = comp_state_to_name(cp, &tv, tstate &
778 tstate & MD_DEV_ERRORED);
982 uint_t tstate = 0; local
1036 if (meta_get_tstate(stripep->common.namep->dev, &tstate, e
[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_sp.c180 static char *meta_sp_status_to_name(xsp_status_t xsp_status, uint_t tstate);
2022 * tstate - transient errored device state. If set the
2033 uint_t tstate
2040 * value for an 'Unavailable' return. tstate can be set because of
2043 if (tstate & MD_INACCESSIBLE) {
2102 uint_t tstate = 0; local
2134 if (meta_get_tstate(msp->common.namep->dev, &tstate, ep) != 0)
2137 status = meta_sp_status_to_name(msp->status, tstate & MD_DEV_ERRORED);
2140 if (tstate & MD_ABR_CAP) {
5527 uint_t tstate local
6555 uint_t tstate; local
[all...]
/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)) {
H A Dslp_net.c722 char *p, *tstate; local
746 p = strtok_r(ifs_string, ",", &tstate);
748 p = strtok_r(NULL, ",", &tstate)) {
/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/cmd/lvm/util/
H A Dmetaclust.c532 uint_t tstate; local
548 /* Get tstate from Master */
549 if (meta_mn_send_get_tstate(devnp->dev, &tstate, ep)
553 if (!(tstate & MD_ABR_CAP))
1674 * start step will get tstate from the master and will update
1675 * ABR if it was set in tstate. So, we appear to have a problem
1677 * - The slave gets tstate with ABR set
1679 * - The slave updates ABR with the value it got from tstate.
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/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/i86pc/os/cpupm/
H A Dcpu_acpi.c390 cpu_acpi_tstate_t *tstate; local
397 tstate = (cpu_acpi_tstate_t *)CPU_ACPI_TSTATES(handle);
409 up = (uint32_t *)tstate;
412 tstate++;
/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 Dopl_olympus_regs.h295 uint64_t tstate; member in struct:opl_errlog::__anon10176::__anon10179
/illumos-gate/usr/src/uts/sparc/v9/os/
H A Dv9dep.c72 static uint_t mkpsr(uint64_t tstate, uint32_t fprs);
1681 mkpsr(uint64_t tstate, uint_t fprs) argument
1685 psr = tstate & TSTATE_CWP_MASK;
1686 if (tstate & TSTATE_PRIV)
1690 icc = (uint_t)(tstate >> PSR_TSTATE_CC_SHIFT) & PSR_ICC;
1853 PANICNVADD(pnv, "tstate", rp->r_tstate);
/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/sun4v/sys/
H A Dldc_impl.h75 /* LDC Channel Transport State (tstate) */
419 uint32_t tstate; /* Channel transport state */ member in struct:ldc_chan

Completed in 142 milliseconds

12