|
ReactOS 0.4.17-dev-1281-g065abb3
|
Posts run to completion under m_PostLock; IRP completion and callbacks run after it is dropped. More...
#include <idlesm.h>


Public Member Functions | |
| VOID | Initialize (_In_ HubPdo *Pdo) |
| NTSTATUS | Post (_In_ IdleEvent Event, _In_opt_ PIRP Irp) |
| Irp is the new idle IRP for RequestSubmitted, else NULL. | |
| HubPdo * | Pdo () const |
| PIRP | HeldIrp () const |
Public Member Functions inherited from SmMachine< IdleMachine, IdleEvent > | |
| VOID | SmInitialize (_In_ const State *Initial) |
| BOOLEAN | SmPost (_In_ IdleEvent Ev) |
| VOID | SmContinueOnPassive () |
| const State * | SmCurrent () const |
| ULONG | SmDepth () const |
| const State * | SmFrame (_In_ ULONG Index) const |
| BOOLEAN | SmIsIn (_In_ const State *Ancestor) const |
| BOOLEAN | SmIsPaused () const |
| BOOLEAN | SmIsWaitingForTimer () const |
| ULONG | SmUnexpectedCount () const |
Static Public Attributes | |
| static const SM_EVENT_INFO | EventInfo [] |
Private Types | |
| enum | IDLE_FOLLOW_UP { FollowUpNone , FollowUpCompleteHeld , FollowUpRejectNew , FollowUpCallback , FollowUpWorkItem } |
| enum | IDLE_POWER_CHANGE { PowerUnchanged , PowerUp , PowerDown } |
Static Private Attributes | |
| static const State | Starting |
| static const State | Present |
| static const State | NoRequest |
| static const State | Ready |
| static const State | SuspendUnsupported |
| static const State | Parked |
| static const State | Holding |
| static const State | Pending |
| static const State | AwaitingWorkItem |
| static const State | CallbackDone |
| static const State | CallbackRunning |
| static const State | AwaitingCancel |
| static const State | Removed |
| static const State | Gone |
| static const State | CallbackRemoved |
| static const State | AwaitingCancelRemoved |
Friends | |
| class | SmMachine< IdleMachine, IdleEvent > |
Posts run to completion under m_PostLock; IRP completion and callbacks run after it is dropped.
|
private |
| Enumerator | |
|---|---|
| FollowUpNone | |
| FollowUpCompleteHeld | |
| FollowUpRejectNew | |
| FollowUpCallback | |
| FollowUpWorkItem | |
|
private |
| Enumerator | |
|---|---|
| PowerUnchanged | |
| PowerUp | |
| PowerDown | |
Definition at line 108 of file suspend.cpp.
Referenced by OnReady(), and OnSuspendUnsupported().
Definition at line 126 of file suspend.cpp.
Referenced by Release(), and ReleaseForRemoval().
|
private |
Definition at line 220 of file idlesm.cpp.
Referenced by OnCallbackRunning().
Definition at line 171 of file idlesm.cpp.
Referenced by EndCallback(), OnAwaitingCancel(), OnAwaitingCancelRemoved(), OnParked(), OnPending(), OnReady(), OnSuspendUnsupported(), Release(), and ReleaseForRemoval().
|
inline |
|
private |
Definition at line 188 of file idlesm.cpp.
Referenced by OnReady(), and OnSuspendUnsupported().
Definition at line 87 of file idlesm.cpp.
Definition at line 140 of file suspend.cpp.
Referenced by Post().
Definition at line 100 of file suspend.cpp.
Referenced by HoldNew().
Definition at line 426 of file idlesm.cpp.
Definition at line 474 of file idlesm.cpp.
Definition at line 382 of file idlesm.cpp.
Definition at line 464 of file idlesm.cpp.
Definition at line 395 of file idlesm.cpp.
Definition at line 340 of file idlesm.cpp.
Definition at line 265 of file idlesm.cpp.
Definition at line 318 of file idlesm.cpp.
Definition at line 358 of file idlesm.cpp.
Definition at line 255 of file idlesm.cpp.
Definition at line 275 of file idlesm.cpp.
Definition at line 444 of file idlesm.cpp.
Definition at line 244 of file idlesm.cpp.
Definition at line 303 of file idlesm.cpp.
|
inline |
Irp is the new idle IRP for RequestSubmitted, else NULL.
Definition at line 112 of file idlesm.cpp.
Referenced by Post().
|
private |
Definition at line 134 of file suspend.cpp.
Referenced by Post().
Definition at line 180 of file idlesm.cpp.
Referenced by OnHolding(), OnParked(), and OnRemoved().
Definition at line 198 of file idlesm.cpp.
|
private |
|
private |
|
staticprivate |
Definition at line 101 of file idlesm.h.
Referenced by Release().
|
staticprivate |
Definition at line 105 of file idlesm.h.
Referenced by OnAwaitingCancel(), and ReleaseForRemoval().
|
staticprivate |
Definition at line 98 of file idlesm.h.
Referenced by OnReady().
|
staticprivate |
|
staticprivate |
Definition at line 104 of file idlesm.h.
Referenced by OnCallbackRunning().
|
staticprivate |
Definition at line 100 of file idlesm.h.
Referenced by OnAwaitingWorkItem().
|
static |
|
staticprivate |
Definition at line 103 of file idlesm.h.
Referenced by OnAwaitingCancelRemoved(), OnCallbackRemoved(), OnNoRequest(), and ReleaseForRemoval().
|
staticprivate |
|
private |
Definition at line 202 of file idlesm.h.
Referenced by EndCallback(), Initialize(), OnAwaitingWorkItem(), and OnCallbackRunning().
|
private |
Definition at line 198 of file idlesm.h.
Referenced by FinishHeld(), Initialize(), OnAwaitingWorkItem(), OnReady(), Post(), and RejectNew().
|
private |
Definition at line 197 of file idlesm.h.
Referenced by FinishHeld(), Initialize(), Post(), and RejectNew().
|
private |
Definition at line 195 of file idlesm.h.
Referenced by HeldIrp(), HoldNew(), Initialize(), OnReady(), OnSuspendUnsupported(), Post(), Release(), and ReleaseForRemoval().
|
private |
Definition at line 196 of file idlesm.h.
Referenced by HoldNew(), Initialize(), and Post().
|
private |
Definition at line 194 of file idlesm.h.
Referenced by CompleteIdleRequest(), Initialize(), InvokeIdleCallback(), Pdo(), QueueIdleWorkItem(), and SelectiveSuspendSupported().
|
private |
Definition at line 193 of file idlesm.h.
Referenced by Initialize(), and Post().
|
private |
Definition at line 199 of file idlesm.h.
Referenced by EndCallback(), Initialize(), OnAwaitingWorkItem(), and OnCallbackRunning().
|
private |
Definition at line 200 of file idlesm.h.
Referenced by Initialize(), OnReady(), and Post().
|
private |
Definition at line 201 of file idlesm.h.
Referenced by Initialize(), and OnStarting().
|
staticprivate |
|
staticprivate |
|
staticprivate |
|
staticprivate |
|
staticprivate |
Definition at line 93 of file idlesm.h.
Referenced by EndCallback(), OnAwaitingCancel(), OnPending(), OnStarting(), and Release().
|
staticprivate |
|
staticprivate |
|
staticprivate |
Definition at line 94 of file idlesm.h.
Referenced by OnParked(), and OnStarting().