Lines Matching refs:sc_pstate
241 sp->sc_sstate = sp->sc_pstate = UNKNOWN; in startpms()
434 sp->sc_pstate = STARTING; in startpm()
776 if (sp->sc_pstate == NOTRUNNING || sp->sc_pstate == FAILED) { in pollpms()
791 if (sp->sc_sstate == sp->sc_pstate) { in pollpms()
854 if (sp->sc_pstate != NOTRUNNING && sp->sc_pstate != FAILED) in reap()
883 if (sp->sc_pstate == STOPPING) { in pollfail()
886 sp->sc_pstate = NOTRUNNING; in pollfail()
919 sp->sc_sstate = sp->sc_pstate = FAILED; in pollfail()
1017 if (sp->sc_sstate == sp->sc_pstate) { in readpipe()
1022 sp->sc_pstate = pp->pm_state; in readpipe()
1028 if (pp->pm_state != sp->sc_pstate) { in readpipe()
1034 sp->sc_pstate = pp->pm_state; in readpipe()
1040 sp->sc_tag, pstate(sp->sc_pstate), in readpipe()
1043 sp->sc_pstate = pp->pm_state; in readpipe()
1044 } else if (sp->sc_pstate != pp->pm_state) { in readpipe()
1051 if (sp->sc_pstate != STOPPING) in readpipe()
1052 sp->sc_pstate = pp->pm_state; in readpipe()