Searched defs:pstate (Results 1 - 25 of 39) sorted by relevance

12

/illumos-gate/usr/src/cmd/saf/
H A Dutil.c281 * pstate - put port monitor state into intelligible form for output
288 pstate(unchar state) function
/illumos-gate/usr/src/lib/libtnfctl/
H A Dprb_rtld.c244 prb_proc_state_t pstate; local
282 prbstat = prb_proc_state(proc_p, &pstate);
289 if (pstate.ps_issysentry && (pstate.ps_syscallnum == SYS_exit)) {
294 if (!(pstate.ps_issysexit && (pstate.ps_syscallnum == SYS_getpid))) {
H A Dprb_child.c227 prb_proc_state_t pstate; local
298 prbstat = prb_proc_state(proc_p, &pstate);
302 if (pstate.ps_issysexit && (pstate.ps_syscallnum == SYS_execve)) {
H A Dopen.c430 prb_proc_state_t pstate; local
435 prbstat = prb_proc_state(proc_p, &pstate);
438 if (!(pstate.ps_issysentry && pstate.ps_syscallnum == SYS_execve)) {
478 prbstat = prb_proc_state(proc_p, &pstate);
482 if (!(pstate.ps_issysexit && pstate.ps_syscallnum == SYS_execve)) {
/illumos-gate/usr/src/cmd/mdb/sparc/mdb/
H A Dmdb_v9util.c98 { "pstate", KREG_PSTATE, MDB_TGT_R_PRIV | MDB_TGT_R_EXPORT },
116 pstate_mm_to_str(kreg_t pstate) argument
118 if (KREG_PSTATE_MM_TSO(pstate))
121 if (KREG_PSTATE_MM_PSO(pstate))
124 if (KREG_PSTATE_MM_RMO(pstate))
224 mdb_printf("%%pstate = 0x%03llx cle=%llu tle=%llu mm=%s"
/illumos-gate/usr/src/uts/sun4u/opl/ml/
H A Ddrmach.il.cpp75 rdpr %pstate, %g0 variable
108 rdpr %pstate, %o3
110 wrpr %g0, %o4, %pstate
115 wrpr %g0, %o3, %pstate ! restore earlier pstate
/illumos-gate/usr/src/uts/sun4u/serengeti/ml/
H A Dsbdp.il.cpp75 rdpr %pstate, %o4 variable
77 wrpr %g0, %g3, %pstate
99 wrpr %g0, %o4, %pstate ! restore earlier pstate register value
114 rdpr %pstate, %o3
116 wrpr %g0, %o4, %pstate ! clear AM to access 64 bit physaddr
130 wrpr %g0, %o3, %pstate ! restore earlier pstate
158 rdpr %pstate, %o2 /* read PSTATE reg */ variable
160 wrpr %g0, %o3, %pstate
172 rdpr %pstate, %o2 /* read PSTATE reg */ variable
186 rdpr %pstate, %o4 variable
200 rdpr %pstate, %o4 variable
[all...]
/illumos-gate/usr/src/uts/sun4u/starfire/ml/
H A Ddrmach.il.cpp72 rdpr %pstate, %o4 variable
74 wrpr %g0, %g3, %pstate
93 wrpr %g0, %o4, %pstate ! restore earlier pstate register value
110 rdpr %pstate, %o3
112 wrpr %g0, %o4, %pstate ! clear AM to access 64 bit physaddr
123 wrpr %g0, %o3, %pstate ! restore earlier pstate
143 rdpr %pstate, %o2 /* read PSTATE reg */ variable
145 wrpr %g0, %o3, %pstate
157 rdpr %pstate, %o2 /* read PSTATE reg */ variable
[all...]
/illumos-gate/usr/src/uts/sun4v/os/
H A Dmach_trap.c157 ptl1_showtrap(ptl1_state_t *pstate) argument
159 ptl1_regs_t *rp = &pstate->ptl1_regs;
169 uint32_t gl, ccr, asi, cwp, pstate; local
172 pstate = (tstate >> TSTATE_PSTATE_SHIFT) & TSTATE_PSTATE_MASK;
181 "%%pstate: %b\n", gl, ccr, asi, cwp, pstate, PSTATE_BITS);
249 ptl1_state_t *pstate = &CPU->cpu_m.ptl1_state; local
254 if (pstate->ptl1_entry_count) {
255 ptl1_showtrap(pstate);
264 ptl1_savetrap(panic_data_t *pdp, ptl1_state_t *pstate) argument
293 ptl1_state_t *pstate = &CPU->cpu_m.ptl1_state; local
[all...]
/illumos-gate/usr/src/uts/sun4u/os/
H A Dmach_trap.c184 ptl1_showtrap(ptl1_state_t *pstate) argument
186 ptl1_regs_t *rp = &pstate->ptl1_regs;
195 uint32_t ccr, asi, cwp, pstate; local
198 pstate = (tstate >> TSTATE_PSTATE_SHIFT) & TSTATE_PSTATE_MASK;
206 "%%pstate: %b\n", ccr, asi, cwp, pstate, PSTATE_BITS);
263 ptl1_state_t *pstate = &CPU->cpu_m.ptl1_state; local
268 if (pstate->ptl1_entry_count) {
269 ptl1_showtrap(pstate);
278 ptl1_savetrap(panic_data_t *pdp, ptl1_state_t *pstate) argument
307 ptl1_state_t *pstate = &CPU->cpu_m.ptl1_state; local
[all...]
H A Dmach_cpu_states.c401 ptl1_state_t *pstate = &cpu->cpu_m.ptl1_state; local
409 pstate->ptl1_stktop = (uintptr_t)cpu + CPU_ALLOC_SIZE;
414 ptl1_panic_handler(ptl1_state_t *pstate) argument
449 uint_t reason = pstate->ptl1_regs.ptl1_g1;
450 uint_t tl = pstate->ptl1_regs.ptl1_trap_regs[0].ptl1_tl;
/illumos-gate/usr/src/uts/common/io/scsi/adapters/scsi_vhci/
H A Dscsi_vhci_tpgs.c47 struct buf *bp, int rel_tgt_port, int tgt_port, int *pstate,
445 int rel_tgt_port, int tgt_port, int *pstate, int *preferred)
557 *pstate = STD_ACTIVE_OPTIMIZED;
561 *pstate = STD_ACTIVE_NONOPTIMIZED;
564 *pstate = STD_STANDBY;
567 *pstate = STD_UNAVAILABLE;
583 *pstate = SCSI_PATH_INACTIVE;
587 "preferred: %d\n", *pstate, *preferred));
444 vhci_tpgs_report_target_groups(struct scsi_address *ap, struct buf *bp, int rel_tgt_port, int tgt_port, int *pstate, int *preferred) argument
/illumos-gate/usr/src/lib/libpctx/common/
H A Dlibpctx.c534 int pstate; local
614 switch (pstate = Pstate(pctx->Pr)) {
620 (pstate = Pstate(pctx->Pr)) != PS_STOP) {
634 if ((pstate = Pstate(pctx->Pr)) != PS_LOST)
653 (int)pid, pstate);
657 if (pstate != PS_STOP)
/illumos-gate/usr/src/cmd/sgs/lex/common/
H A Dsub2.c341 pstate(stnum);
429 pstate(stnum);
716 pstate(int s) function
/illumos-gate/usr/src/cmd/svr4pkg/pkginstall/
H A Dcheck.c297 char ans[MAX_INPUT], *pt, *istates, *pstate; local
332 pstate = pt;
388 ptext(stderr, gettext(MSG_STATECHG), pstate);
/illumos-gate/usr/src/uts/sun4v/io/
H A Dvnet_rxdring.c70 uint32_t start, int32_t end, uint8_t pstate);
1428 int32_t end, uint8_t pstate)
1441 msgp->dring_process_state = pstate;
1450 if (pstate == VIO_DP_STOPPED) {
1427 vgen_send_dringack_shm(vgen_ldc_t *ldcp, vio_msg_tag_t *tagp, uint32_t start, int32_t end, uint8_t pstate) argument
H A Dvnet_txdring.c81 uint32_t start, int32_t end, uint8_t pstate);
1631 int32_t end, uint8_t pstate)
1644 msgp->dring_process_state = pstate;
1652 if (pstate == VIO_DP_STOPPED) {
1630 vgen_send_dringack(vgen_ldc_t *ldcp, vio_msg_tag_t *tagp, uint32_t start, int32_t end, uint8_t pstate) argument
/illumos-gate/usr/src/uts/i86pc/sys/
H A Dcpupm_mach.h101 uint32_t pstate; member in union:cma_state
/illumos-gate/usr/src/cmd/cpc/common/
H A Dcputrack.c318 struct pstate { struct
327 struct pstate *state = arg;
393 struct pstate *state = arg;
469 struct pstate *state = arg;
494 struct pstate *state = arg;
539 struct pstate *state = arg;
573 struct pstate *state = arg;
659 struct pstate *state = arg;
691 struct pstate __state, *state = &__state;
/illumos-gate/usr/src/uts/i86pc/os/cpupm/
H A Dcpu_acpi.c360 cpu_acpi_pstate_t *pstate; local
367 pstate = (cpu_acpi_pstate_t *)CPU_ACPI_PSTATES(handle);
379 up = (uint32_t *)pstate;
382 pstate++;
1060 cpu_acpi_pstate_t *pstate; local
1066 pstate = (cpu_acpi_pstate_t *)CPU_ACPI_PSTATES(handle);
1069 hspeeds[i] = CPU_ACPI_FREQ(pstate);
1070 pstate++;
/illumos-gate/usr/src/uts/common/io/
H A Dsignalfd.c187 signalfd_wake_list_add(sigfd_proc_state_t *pstate, signalfd_state_t *state) argument
189 list_t *lst = &pstate->sigfd_list;
210 signalfd_wake_list_rm(sigfd_proc_state_t *pstate, signalfd_state_t *state) argument
212 list_t *lst = &pstate->sigfd_list;
233 sigfd_proc_state_t *pstate = p->p_sigfd; local
238 ASSERT(pstate != NULL);
240 lst = &pstate->sigfd_list;
254 kmem_free(pstate, sizeof (*pstate));
302 sigfd_proc_state_t *pstate local
585 sigfd_proc_state_t *pstate; local
666 sigfd_proc_state_t *pstate = p->p_sigfd; local
[all...]
/illumos-gate/usr/src/lib/fm/libdiagcode/common/
H A Ddiagcode.c156 struct parsestate pstate; /* for startparse(), nextlhs(), etc */ local
257 startparse(&pstate, &linebuf[sizeof (Header) - 1]);
258 while ((lhsp = nextlhs(&pstate)) != NULL) {
261 if ((rhsp = nextrhs(&pstate)) == NULL) {
/illumos-gate/usr/src/cmd/mdb/sparc/kmdb/
H A Dkaif.c57 #define KAIF_PREGNO_PSTATE 0x6 /* %pstate is priv reg 6 */
183 * locals to the gregs. We also extract %pstate from %tstate.
254 if (strcmp(regname, "pstate") == 0) {
278 } else if (strcmp(regname, "pstate") == 0) {
576 kreg_t pc, npc, brtgt, pstate, tt; local
603 kreg_t pstate; local
605 (void) kmdb_dpi_get_register("pstate", &pstate);
606 (void) kmdb_dpi_set_register(tgtreg, pstate);
631 (void) kmdb_dpi_set_register("pstate", va
[all...]
/illumos-gate/usr/src/cmd/sgs/yacc/common/
H A Dy1.c78 ITEM **pstate; /* ptr to descriptions of the states */ variable
211 pstate = (ITEM **)malloc(sizeof (ITEM *)*(nstatesz+2));
219 (pfirst == NULL) || (pempty == NULL) || (pstate == NULL) ||
749 p1 = pstate[nstate];
750 p2 = pstate[nstate+1];
772 q1 = pstate[i];
773 q2 = pstate[i+1];
786 pstate[nstate+1] = pstate[nstate]; /* delete last state */
812 pstate[nstat
[all...]
/illumos-gate/usr/src/uts/sun4u/opl/sys/
H A Ddrmach.h210 uint64_t pstate; member in struct:__anon9899

Completed in 141 milliseconds

12