/titanic_41/usr/src/cmd/sgs/elfedit/common/ |
H A D | elfedit_machelf.c | 134 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_41/usr/src/uts/i86pc/sys/ |
H A D | cpu_acpi.h | 65 #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_41/usr/src/uts/sun4v/io/ |
H A D | ldc.c | 629 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_41/usr/src/uts/sun4v/os/ |
H A D | mach_trap.c | 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()
|
/titanic_41/usr/src/cmd/lvm/util/ |
H A D | metastat.c | 78 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; in print_concise_mirror() local 1372 &tstate, &error); in print_concise_mirror() 1375 state = get_sm_state(mirror, i, status, tstate); in print_concise_mirror() 1399 uint_t tstate = 0; in print_concise_raid() local 1409 &tstate, &error); in print_concise_raid() 1422 uint_t tstate = 0; in print_concise_raid() local 1424 (void) meta_get_tstate(namep->dev, &tstate, &error); in print_concise_raid() [all …]
|
/titanic_41/usr/src/uts/common/tnf/ |
H A D | tnf.c | 562 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_41/usr/src/uts/common/io/ppp/spppcomp/ |
H A D | vjcompress.c | 80 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_41/usr/src/uts/sun4u/os/ |
H A D | mach_trap.c | 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()
|
/titanic_41/usr/src/uts/sun4/brand/common/ |
H A D | brand_solaris.s | 95 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_41/usr/src/lib/lvm/libmeta/common/ |
H A D | meta_trans.c | 801 uint_t tstate /* Errored tstate flags */ in mt_l_error_to_name() argument 810 if (tstate != 0) { in mt_l_error_to_name() 831 uint_t tstate /* Errored tstate flags */ in mt_flags_to_name() argument 838 if (tstate != 0) { in mt_flags_to_name() 849 return (mt_l_error_to_name(transp, tvp, tstate)); in mt_flags_to_name() 873 uint_t tstate = 0; in trans_report() local 886 if (meta_get_tstate(transp->common.namep->dev, &tstate, ep) in trans_report() 890 mt_state = mt_flags_to_name(transp, &tv, tstate & MD_DEV_ERRORED); in trans_report() 901 if ((tstate & MD_DEV_ERRORED) == 0) { in trans_report() 1180 uint_t tstate = 0; in log_report() local [all …]
|
H A D | meta_raid.c | 480 uint_t tstate /* Errored tstate flags */ in raid_state_to_name() argument 499 if (tstate & MD_INACCESSIBLE) { in raid_state_to_name() 600 uint_t tstate in raid_col_state_to_name() argument 607 if (tstate != 0) { in raid_col_state_to_name() 664 uint_t tstate = 0; in display_raid_device_info() local 677 if (meta_get_tstate(namep->dev, &tstate, ep) != 0) in display_raid_device_info() 680 tstate & MD_DEV_ERRORED); in display_raid_device_info() 690 col_state = raid_col_state_to_name(colp, &tv, tstate); in display_raid_device_info() 797 uint_t tstate = 0; in raid_report() local 824 if (meta_get_tstate(raidp->common.namep->dev, &tstate, ep) != 0) in raid_report() [all …]
|
H A D | meta_mirror.c | 592 uint_t tstate in resync_opt_to_name() argument 595 if (tstate & MD_ABR_CAP) in resync_opt_to_name() 682 uint_t tstate in sm_state_to_name() argument 699 if ((tstate != 0) && (state & SMS_RUNNING)) { in sm_state_to_name() 834 uint_t tstate, in meta_print_mirror_options() argument 865 resync_opt_to_name(tstate)) == EOF) { in meta_print_mirror_options() 927 uint_t tstate = 0; in mirror_report() local 1028 if (meta_get_tstate(mdsp->submirnamep->dev, &tstate, in mirror_report() 1033 tstate & MD_DEV_ERRORED); in mirror_report() 1081 if (meta_get_tstate(mirrorp->common.namep->dev, &tstate, ep) != 0) in mirror_report() [all …]
|
/titanic_41/usr/src/lib/libslp/clib/ |
H A D | SLPUtils.c | 181 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_41/usr/src/cmd/tnf/tnfxtract/ |
H A D | tnfxtract.c | 142 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_41/usr/src/cmd/mdb/common/modules/genunix/ |
H A D | findstack.c | 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_41/usr/src/cmd/cpc/common/ |
H A D | cpustat.c | 73 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_41/usr/src/uts/sun4v/ml/ |
H A D | trap_table.s | 228 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 D | wbuf.s | 91 rdpr %tstate, %g5 227 rdpr %tstate, %g5 414 ! so set it from %tstate 416 rdpr %tstate, %g5
|
/titanic_41/usr/src/uts/sun4u/ml/ |
H A D | wbuf.s | 90 rdpr %tstate, %g5 224 rdpr %tstate, %g5 352 ! so set it from %tstate 354 rdpr %tstate, %g5
|
H A D | trap_table.s | 235 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_41/usr/src/uts/sun4u/sys/ |
H A D | machthread.h | 212 rdpr %tstate, scr1; \ 222 wrpr %g0, scr2, %tstate; \
|
H A D | traptrace.h | 301 rdpr %tstate, scr2; \ 341 rdpr %tstate, scr2; \ 366 rdpr %tstate, scr2; \
|
/titanic_41/usr/src/uts/sparc/v9/fpu/ |
H A D | v9instr.c | 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_41/usr/src/uts/common/net/ |
H A D | vjcompress.h | 135 struct cstate tstate[MAX_STATES]; /* xmit connection states */ member
|
/titanic_41/usr/src/uts/sun4v/sys/ |
H A D | traptrace.h | 357 rdpr %tstate, scr2; \ 396 rdpr %tstate, scr2; \ 420 rdpr %tstate, scr2; \
|