ReactOS 0.4.16-dev-91-g764881a
|
#include <fxirp.hpp>
Static Public Member Functions | |
static PIO_STACK_LOCATION | _GetAndClearNextStackLocation (__in MdIrp Irp) |
static _Must_inspect_result_ MdIrp | AllocateIrp (_In_ CCHAR StackSize, _In_opt_ FxDevice *Device=NULL) |
static MdIrp | GetIrpFromListEntry (__in PLIST_ENTRY Ple) |
static _Must_inspect_result_ NTSTATUS | RequestPowerIrp (__in MdDeviceObject DeviceObject, __in UCHAR MinorFunction, __in POWER_STATE PowerState, __in MdRequestPowerComplete CompletionFunction, __in PVOID Context) |
Static Private Member Functions | |
static NTSTATUS STDCALL | _IrpSynchronousCompletion (__in MdDeviceObject DeviceObject, __in MdIrp OriginalIrp, __in PVOID Context) |
Private Attributes | |
MdIrp | m_Irp |
Friends | |
struct | FxAutoIrp |
|
static |
Definition at line 371 of file fxirpkm.hpp.
|
staticprivate |
Definition at line 133 of file fxirpum.cpp.
Referenced by SendIrpSynchronously().
|
static |
Definition at line 1089 of file fxirpum.cpp.
Referenced by GetStackCapabilities(), FxUsbIdleInfo::Initialize(), FxPkgPnp::PnpDeviceUsageNotification(), PnpPassThroughQI(), FxPkgPnp::QueryForD3ColdInterface(), and FxRequestBase::ValidateTarget().
__inline NTSTATUS FxIrp::CallDriver | ( | __in MdDeviceObject | DeviceObject | ) |
Definition at line 36 of file fxirpum.cpp.
Referenced by FxDefaultIrpHandler::Dispatch(), FxPkgIo::DispatchStep1(), FxUsbPipeContinuousReader::FxUsbPipeRequestWorkItemHandler(), FxPkgGeneral::OnCleanup(), FxPkgGeneral::OnClose(), FxPkgGeneral::OnShutdown(), and FxPkgFdo::PnpSendStartDeviceDownTheStackOverload().
Definition at line 475 of file fxirpum.cpp.
Referenced by FxRequestBase::Cancel(), FxPkgPnp::PowerPolicyCancelUsbSS(), FxPkgPnp::PowerPolicyCancelWaitWake(), and SetCancel().
Definition at line 1183 of file fxirpum.cpp.
Referenced by GetStackCapabilities(), and FxPkgPnp::QueryForD3ColdInterface().
Definition at line 1581 of file fxirpum.cpp.
Referenced by FxIoTarget::FormatInternalIoctlOthersRequest(), FxIoTarget::FormatIoctlRequest(), FxIoTarget::FormatIoRequest(), and FxFormatUsbRequest().
__inline VOID FxIrp::CompleteRequest | ( | __in_opt CCHAR | PriorityBoost = IO_NO_INCREMENT | ) |
Definition at line 24 of file fxirpum.cpp.
Referenced by FxIoQueue::CancelIrps(), FxRequest::CompleteInternal(), FxDefaultIrpHandler::Dispatch(), FxPkgGeneral::Dispatch(), FxDevice::DispatchPreprocessedIrp(), FxPkgIo::DispatchStep1(), FxPkgIo::DispatchStep2(), FxDevice::DispatchWithLock(), FxPkgGeneral::OnCleanup(), FxPkgGeneral::OnClose(), FxPkgGeneral::OnCreate(), FxPkgGeneral::OnShutdown(), FxRequest::Release(), and FxIoTargetSelf::Send().
Definition at line 209 of file fxirpum.cpp.
Referenced by FxDevice::_AcquireOptinRemoveLock(), FxRequest::CopyCurrentIrpStackLocationToNext(), FxIoQueue::ForwardRequestToParent(), FxPkgFdo::PnpSendStartDeviceDownTheStackOverload(), and FxIoQueue::QueueDriverCreatedRequest().
__inline VOID FxIrp::CopyParameters | ( | _Out_ PWDF_REQUEST_PARAMETERS | Parameters | ) |
Definition at line 1691 of file fxirpum.cpp.
Referenced by FxRequest::GetParameters().
__inline VOID FxIrp::CopyStatus | ( | _Out_ PIO_STATUS_BLOCK | StatusBlock | ) |
Definition at line 1736 of file fxirpum.cpp.
Referenced by FxRequestBase::CompleteSubmitted(), and FxRequestBase::CompleteSubmittedNoContext().
__inline VOID FxIrp::CopyToNextIrpStackLocation | ( | __in PIO_STACK_LOCATION | Stack | ) |
Definition at line 1216 of file fxirpum.cpp.
Definition at line 1648 of file fxirpum.cpp.
Referenced by FxRequest::Reuse(), FxRequestBase::SetSubmitIrp(), FxRequestBase::ValidateTarget(), and FxRequestBase::~FxRequestBase().
__inline KIRQL FxIrp::GetCancelIrql | ( | ) |
Definition at line 492 of file fxirpum.cpp.
Definition at line 361 of file fxirpum.cpp.
Referenced by FxPkgPdo::_QueryCapsWorkItem(), FxIrpQueue::IsIrpInQueue(), FxIrpQueue::PeekRequest(), FxIrpQueue::RemoveIrpFromQueueByContext(), and FxIrpQueue::RemoveNextIrpFromQueue().
Definition at line 1613 of file fxirpum.cpp.
__inline PIO_STACK_LOCATION FxIrp::GetCurrentIrpStackLocation | ( | VOID | ) |
Definition at line 370 of file fxirpum.cpp.
Referenced by FxIoQueue::DispatchRequestToDriver(), and FxRequest::GetCurrentIrpStackLocation().
__inline CCHAR FxIrp::GetCurrentIrpStackLocationIndex | ( | ) |
Definition at line 521 of file fxirpum.cpp.
Referenced by if(), and VerifyWdfRequestForwardToParentDeviceIoQueue().
Definition at line 1622 of file fxirpum.cpp.
ULONG FxIrp::GetCurrentParameterWriteLength | ( | ) |
__inline MdFileObject FxIrp::GetCurrentStackFileObject | ( | VOID | ) |
Definition at line 1258 of file fxirpum.cpp.
Referenced by FxIoTarget::CopyFileObjectAndFlags().
Definition at line 1243 of file fxirpum.cpp.
Referenced by FxIoTarget::CopyFileObjectAndFlags().
__inline MdDeviceObject FxIrp::GetDeviceObject | ( | VOID | ) |
Definition at line 1352 of file fxirpum.cpp.
Referenced by FxIoQueue::ForwardRequestToParent(), FxRequestSystemBuffer::GetBuffer(), and FxRequestSystemBuffer::GetMdl().
__inline PVOID FxIrp::GetDriverContext | ( | ) |
Definition at line 1673 of file fxirpum.cpp.
__inline ULONG FxIrp::GetDriverContextSize | ( | ) |
Definition at line 1682 of file fxirpum.cpp.
__inline MdFileObject FxIrp::GetFileObject | ( | VOID | ) |
Definition at line 1460 of file fxirpum.cpp.
Referenced by FxRequest::GetFileObject(), FxPkgGeneral::OnCleanup(), FxPkgGeneral::OnClose(), FxPkgGeneral::OnCreate(), FxIrpQueue::PeekNextIrpFromQueue(), and FxIrpQueue::PeekRequest().
Definition at line 1281 of file fxirpum.cpp.
Referenced by FxRequest::CompleteInternal().
__inline ULONG_PTR FxIrp::GetInformation | ( | ) |
Definition at line 513 of file fxirpum.cpp.
Referenced by FxRequest::Complete(), FxRequest::CompleteInternal(), FxRequest::CompleteWithPriority(), FxIoContext::CopyParameters(), CopyStatus(), FxRequest::GetInformation(), FxIoTargetRemote::GetTargetDeviceRelations(), and PnpPassThroughQI().
IWudfIoIrp * FxIrp::GetIoIrp | ( | VOID | ) |
Definition at line 1777 of file fxirpum.cpp.
Referenced by CopyParameters(), FreeIrp(), GetCurrentStackFileObject(), GetOutputBuffer(), GetParameterIoctlCode(), GetParameterIoctlInputBufferLength(), GetParameterIoctlOutputBufferLength(), GetParameterReadLength(), GetParameterWriteLength(), GetSystemBuffer(), GetUserBuffer(), Is32bitProcess(), Reuse(), FxRequest::SetImpersonationFlags(), SetNextStackFileObject(), and FxIoContext::SwapIrpBuffer().
Definition at line 15 of file fxirpum.cpp.
Referenced by FxPkgFdo::_PnpPassDown(), FxPkgFdo::_PowerPassDown(), FxPkgGeneral::AcquireRemoveLockForClose(), FxRequestBase::Cancel(), FxRequest::Complete(), FxRequest::CompleteInternal(), FxPkgPnp::CompletePnpRequest(), FxPkgPnp::CompletePowerRequest(), FxRequest::CompleteWithPriority(), FxRequestBase::ContextReleaseAndRestore(), FxPkgPnp::Dispatch(), FxPkgIo::DispatchStep1(), FxRequestBase::Dispose(), FxRequestBase::FreeMdls(), FxRequestBase::FxRequestBase(), FxRequest::GetIrp(), GetStackCapabilities(), FxRequestBase::GetSubmitIrp(), if(), FxRequest::InsertHeadIrpQueue(), FxRequest::InsertTailIrpQueue(), FxPkgPnp::IsDevicePowerUpIrpPending(), FxIrpQueue::IsIrpInQueue(), FxPkgGeneral::OnClose(), FxPkgGeneral::OnCreate(), FxIrpQueue::PeekNextIrpFromQueue(), FxIoTarget::PendRequestLocked(), FxRequest::ProbeAndLockForRead(), FxRequest::ProbeAndLockForWrite(), FxPkgPnp::QueryForD3ColdInterface(), FxRequest::Release(), FxIrpQueue::RemoveNextIrpFromQueue(), FxRequest::Reuse(), FxRequest::SetCompletionState(), FxPkgPnp::SetPendingPnpIrp(), FxIoTarget::SubmitPendedRequest(), VerifyWdfRequestForwardToParentDeviceIoQueue(), and FxRequestBase::~FxRequestBase().
|
static |
Definition at line 1190 of file fxirpum.cpp.
Referenced by FxIoQueue::CancelIrps(), FxIrpQueue::IsIrpInQueue(), FxIrpQueue::PeekNextIrpFromQueue(), FxIrpQueue::PeekRequest(), and FxPkgPnp::PowerCompletePendedWakeIrp().
Definition at line 217 of file fxirpum.cpp.
Referenced by FxRequest::AssignMemoryBuffers(), FxRequest::CompleteInternal(), CopyParameters(), FxDefaultIrpHandler::Dispatch(), FxPkgPnp::Dispatch(), FxPkgGeneral::Dispatch(), FxPkgIo::Dispatch(), FxDevice::DispatchPreprocessedIrp(), FxIoQueue::DispatchRequestToDriver(), FxPkgIo::DispatchStep1(), FxPkgIo::DispatchStep2(), FxDevice::DispatchWithLock(), DispatchWorker(), FxRequestSystemBuffer::GetBuffer(), FxRequestOutputBuffer::GetBuffer(), FxRequestSystemBuffer::GetBufferSize(), FxRequestOutputBuffer::GetBufferSize(), FxRequest::GetDeviceControlOutputMdl(), FxRequest::GetDeviceControlOutputMemoryObject(), FxRequestSystemBuffer::GetFlags(), FxRequestOutputBuffer::GetFlags(), FxRequest::GetMdl(), FxRequestSystemBuffer::GetMdl(), FxRequestOutputBuffer::GetMdl(), FxRequest::GetMemoryObject(), GetOutputBuffer(), GetParameterIoctlCode(), FxRequest::GetParameters(), FxIoQueue::GetRequest(), GetSystemBuffer(), IsPreprocessIrp(), PerfIoComplete(), PerfIoStart(), PreprocessIrp(), FxIoTargetSelf::Send(), and VerifyWdfDeviceWdmDispatchIrpToIoQueue().
__inline PMDL FxIrp::GetMdl | ( | ) |
Definition at line 625 of file fxirpum.cpp.
Referenced by FxRequest::GetDeviceControlOutputMdl(), FxRequest::GetDeviceControlOutputMemoryObject(), FxRequest::GetMdl(), and FxRequest::GetMemoryObject().
__inline PMDL * FxIrp::GetMdlAddressPointer | ( | ) |
Definition at line 1323 of file fxirpum.cpp.
Referenced by FxIoTarget::FormatIoctlRequest(), and FxIoTarget::FormatIoRequest().
Definition at line 297 of file fxirpum.cpp.
Referenced by FxDefaultIrpHandler::Dispatch(), FxPkgPnp::Dispatch(), FxPkgIo::Dispatch(), FxDevice::DispatchPreprocessedIrp(), FxPkgIo::DispatchStep1(), FxDevice::DispatchWithLock(), FxRequest::GetParameters(), IsPreprocessIrp(), FxPkgPnp::PnpFinishProcessingIrp(), PreprocessIrp(), FxIoTargetSelf::Send(), FxPkgPnp::SetPendingPnpIrp(), and VerifyWdfDeviceWdmDispatchIrpToIoQueue().
__inline MdCompletionRoutine FxIrp::GetNextCompletionRoutine | ( | VOID | ) |
Definition at line 1206 of file fxirpum.cpp.
Referenced by FxIoQueue::QueueDriverCreatedRequest().
__inline PIO_STACK_LOCATION FxIrp::GetNextIrpStackLocation | ( | VOID | ) |
Definition at line 387 of file fxirpum.cpp.
Referenced by FxFormatUsbRequest(), FxIoTargetRemote::GetTargetDeviceRelations(), SetParameterQDRType(), SetParameterQueryInterfaceInterface(), SetParameterQueryInterfaceInterfaceSpecificData(), SetParameterQueryInterfaceSize(), SetParameterQueryInterfaceType(), and SetParameterQueryInterfaceVersion().
__inline PVOID * FxIrp::GetNextStackParameterOthersArgument1Pointer | ( | ) |
Definition at line 1421 of file fxirpum.cpp.
Referenced by FxIoTarget::FormatInternalIoctlOthersRequest().
__inline PVOID * FxIrp::GetNextStackParameterOthersArgument2Pointer | ( | ) |
Definition at line 1434 of file fxirpum.cpp.
Referenced by FxIoTarget::FormatInternalIoctlOthersRequest().
__inline PVOID * FxIrp::GetNextStackParameterOthersArgument4Pointer | ( | ) |
Definition at line 1447 of file fxirpum.cpp.
Referenced by FxIoTarget::FormatInternalIoctlOthersRequest().
__inline BOOLEAN FxIrp::GetNextStackParameterUsageNotificationInPath | ( | ) |
Definition at line 830 of file fxirpum.cpp.
__inline PVOID FxIrp::GetOutputBuffer | ( | ) |
Definition at line 594 of file fxirpum.cpp.
Referenced by FxRequest::AssignMemoryBuffers().
__inline PCM_RESOURCE_LIST FxIrp::GetParameterAllocatedResources | ( | ) |
Definition at line 843 of file fxirpum.cpp.
Referenced by FxPkgPnp::PnpMatchResources(), and FxPkgFdo::PnpSendStartDeviceDownTheStackOverload().
__inline PCM_RESOURCE_LIST FxIrp::GetParameterAllocatedResourcesTranslated | ( | ) |
Definition at line 877 of file fxirpum.cpp.
Referenced by FxPkgPnp::PnpMatchResources(), and FxPkgFdo::PnpSendStartDeviceDownTheStackOverload().
__inline PDEVICE_CAPABILITIES FxIrp::GetParameterDeviceCapabilities | ( | ) |
Definition at line 1132 of file fxirpum.cpp.
Referenced by FxPkgPdo::_QueryCapsWorkItem().
Definition at line 1474 of file fxirpum.cpp.
Referenced by FxIoQueue::DispatchRequestToDriver(), FxPkgIo::DispatchStep1(), FxRequest::GetDeviceControlOutputMdl(), FxRequest::GetDeviceControlOutputMemoryObject(), FxRequest::GetMdl(), and FxRequest::GetMemoryObject().
Definition at line 1490 of file fxirpum.cpp.
Referenced by FxRequest::AssignMemoryBuffers(), FxRequest::CompleteInternal(), FxRequestOutputBuffer::GetBuffer(), FxRequest::GetDeviceControlOutputMdl(), FxRequest::GetDeviceControlOutputMemoryObject(), FxRequestSystemBuffer::GetFlags(), FxRequestOutputBuffer::GetFlags(), FxRequest::GetMdl(), FxRequestOutputBuffer::GetMdl(), FxRequest::GetMemoryObject(), and FxRequest::GetParameters().
Definition at line 1518 of file fxirpum.cpp.
Referenced by FxIoQueue::DispatchRequestToDriver(), FxRequestSystemBuffer::GetBufferSize(), FxRequest::GetMdl(), and FxRequest::GetMemoryObject().
Definition at line 1504 of file fxirpum.cpp.
Referenced by FxRequest::CompleteInternal(), FxIoQueue::DispatchRequestToDriver(), FxRequestOutputBuffer::GetBufferSize(), FxRequest::GetDeviceControlOutputMdl(), and FxRequest::GetDeviceControlOutputMemoryObject().
Definition at line 1542 of file fxirpum.cpp.
Referenced by FxRequest::AssignMemoryBuffers().
__inline POWER_ACTION FxIrp::GetParameterPowerShutdownType | ( | ) |
Definition at line 719 of file fxirpum.cpp.
Referenced by FxPkgPnp::PowerGotoDxIoStopped(), and FxPkgPnp::PowerGotoDxIoStoppedNP().
__inline POWER_STATE FxIrp::GetParameterPowerState | ( | ) |
Definition at line 1015 of file fxirpum.cpp.
__inline DEVICE_POWER_STATE FxIrp::GetParameterPowerStateDeviceState | ( | ) |
Definition at line 695 of file fxirpum.cpp.
Referenced by FxPkgPnp::Dispatch(), FxPkgPnp::IsDevicePowerUpIrpPending(), FxPkgPnp::PowerGotoDxIoStopped(), FxPkgPnp::PowerGotoDxIoStoppedNP(), and FxPkgFdo::PowerReleasePendingDeviceIrp().
__inline SYSTEM_POWER_STATE FxIrp::GetParameterPowerStateSystemState | ( | ) |
Definition at line 707 of file fxirpum.cpp.
Referenced by FxPkgPnp::Dispatch(), and FxPkgPnp::PowerPolicyCompleteSystemPowerIrp().
__inline SYSTEM_POWER_STATE_CONTEXT FxIrp::GetParameterPowerSystemPowerStateContext | ( | ) |
Definition at line 671 of file fxirpum.cpp.
Referenced by FxPkgPnp::PowerPolicyGetPendingSystemState().
__inline POWER_STATE_TYPE FxIrp::GetParameterPowerType | ( | ) |
Definition at line 683 of file fxirpum.cpp.
Referenced by FxPkgPnp::Dispatch().
__inline DEVICE_RELATION_TYPE FxIrp::GetParameterQDRType | ( | ) |
__inline LCID FxIrp::GetParameterQueryDeviceTextLocaleId | ( | ) |
__inline DEVICE_TEXT_TYPE FxIrp::GetParameterQueryDeviceTextType | ( | ) |
Definition at line 984 of file fxirpum.cpp.
__inline BUS_QUERY_ID_TYPE FxIrp::GetParameterQueryIdType | ( | ) |
Definition at line 1006 of file fxirpum.cpp.
__inline PINTERFACE FxIrp::GetParameterQueryInterfaceInterface | ( | ) |
Definition at line 746 of file fxirpum.cpp.
__inline PVOID FxIrp::GetParameterQueryInterfaceInterfaceSpecificData | ( | ) |
Definition at line 785 of file fxirpum.cpp.
__inline USHORT FxIrp::GetParameterQueryInterfaceSize | ( | ) |
Definition at line 775 of file fxirpum.cpp.
Definition at line 755 of file fxirpum.cpp.
__inline USHORT FxIrp::GetParameterQueryInterfaceVersion | ( | ) |
Definition at line 765 of file fxirpum.cpp.
Definition at line 1589 of file fxirpum.cpp.
Referenced by FxIoQueue::DispatchRequestToDriver(), FxRequestSystemBuffer::GetBufferSize(), FxRequest::GetMdl(), FxRequest::GetMemoryObject(), and FxIoQueue::GetRequest().
__inline BOOLEAN FxIrp::GetParameterSetLockLock | ( | ) |
Definition at line 993 of file fxirpum.cpp.
__inline BOOLEAN FxIrp::GetParameterUsageNotificationInPath | ( | ) |
Definition at line 811 of file fxirpum.cpp.
__inline DEVICE_USAGE_NOTIFICATION_TYPE FxIrp::GetParameterUsageNotificationType | ( | ) |
Definition at line 801 of file fxirpum.cpp.
__inline LONGLONG FxIrp::GetParameterWriteByteOffsetQuadPart | ( | ) |
Definition at line 1373 of file fxirpum.cpp.
Definition at line 1601 of file fxirpum.cpp.
Referenced by FxIoQueue::DispatchRequestToDriver(), FxRequestSystemBuffer::GetBufferSize(), FxRequest::GetMdl(), FxRequest::GetMemoryObject(), and FxIoQueue::GetRequest().
IWudfPnpIrp * FxIrp::GetPnpIrp | ( | VOID | ) |
Definition at line 1797 of file fxirpum.cpp.
Referenced by GetParameterDeviceCapabilities(), GetParameterPowerShutdownType(), GetParameterPowerStateDeviceState(), GetParameterPowerStateSystemState(), GetParameterPowerSystemPowerStateContext(), and GetParameterPowerType().
__inline KPROCESSOR_MODE FxIrp::GetRequestorMode | ( | VOID | ) |
Definition at line 329 of file fxirpum.cpp.
Referenced by FxRequest::AssignMemoryBuffers(), FxRequest::CompleteInternal(), FxRequest::GetDeviceControlOutputMemoryObject(), FxRequest::GetMemoryObject(), and FxRequest::GetRequestorMode().
__inline CCHAR FxIrp::GetStackCount | ( | ) |
Definition at line 1304 of file fxirpum.cpp.
__inline NTSTATUS FxIrp::GetStatus | ( | ) |
Definition at line 466 of file fxirpum.cpp.
Referenced by FxPkgFdo::_PnpStartDeviceCompletionRoutine(), CopyStatus(), FxRequest::GetStatus(), FxPkgPnp::PnpFinishProcessingIrp(), PnpPassThroughQI(), FxPkgPnp::PowerCompletePendedWakeIrp(), FxPkgPnp::PowerPolicyCancelWaitWake(), SendIrpSynchronously(), and FxIoTarget::SubmitPendedRequest().
__inline PIO_STATUS_BLOCK FxIrp::GetStatusBlock | ( | VOID | ) |
Definition at line 1664 of file fxirpum.cpp.
__inline PVOID FxIrp::GetSystemBuffer | ( | ) |
Definition at line 543 of file fxirpum.cpp.
Referenced by FxRequest::AssignMemoryBuffers(), FxIoTarget::FormatIoctlRequest(), FxIoTarget::FormatIoRequest(), FxRequest::GetDeviceControlOutputMdl(), and FxRequest::GetMdl().
Definition at line 1631 of file fxirpum.cpp.
__inline PVOID FxIrp::GetUserBuffer | ( | ) |
Definition at line 633 of file fxirpum.cpp.
Referenced by FxRequest::AssignMemoryBuffers(), and FxIoContext::CopyParameters().
Definition at line 1745 of file fxirpum.cpp.
Definition at line 1035 of file fxirpum.cpp.
Definition at line 1640 of file fxirpum.cpp.
__inline BOOLEAN FxIrp::IsCanceled | ( | ) |
Definition at line 484 of file fxirpum.cpp.
Referenced by FxIrpQueue::InsertIrpInQueue(), FxRequest::IsCancelled(), FxIrpQueue::PeekRequest(), and FxPkgPnp::PowerMakeWakeRequestNonCancelable().
Definition at line 1761 of file fxirpum.cpp.
Referenced by FxIoTarget::PendRequestLocked(), and FxRequest::Reuse().
__inline PLIST_ENTRY FxIrp::ListEntry | ( | ) |
Definition at line 535 of file fxirpum.cpp.
Referenced by ClasspDequeueIdleRequest(), DequeueDeferredClientIrp(), GetIrpFromListEntry(), FxIrpQueue::InsertIrpInQueue(), FxIrpQueue::PeekNextIrpFromQueue(), and FxPkgPnp::PowerMakeWakeRequestNonCancelable().
__inline VOID FxIrp::MarkIrpPending | ( | ) |
Definition at line 415 of file fxirpum.cpp.
Referenced by FxPkgIo::DispathToInCallerContextCallback(), FxIrpQueue::InsertIrpInQueue(), and FxIoQueue::QueueRequest().
__inline BOOLEAN FxIrp::PendingReturned | ( | ) |
Definition at line 429 of file fxirpum.cpp.
__inline NTSTATUS FxIrp::PoCallDriver | ( | __in MdDeviceObject | DeviceObject | ) |
Definition at line 48 of file fxirpum.cpp.
Definition at line 443 of file fxirpum.cpp.
|
static |
Definition at line 1047 of file fxirpum.cpp.
Referenced by FxPkgPnp::PowerPolicySendDevicePowerRequest(), and FxPkgPnp::PowerPolicySendWaitWakeRequest().
__inline VOID FxIrp::Reuse | ( | __in NTSTATUS | Status = STATUS_SUCCESS | ) |
Definition at line 661 of file fxirpum.cpp.
Referenced by FxUsbUmFormatRequest(), FxRequest::Reuse(), and FxUsbDevice::SelectConfig().
__inline NTSTATUS FxIrp::SendIrpSynchronously | ( | __in MdDeviceObject | DeviceObject | ) |
Definition at line 151 of file fxirpum.cpp.
Referenced by FxQueryInterface::_QueryForInterface(), GetStackCapabilities(), FxIoTargetRemote::GetTargetDeviceRelations(), and FxPkgPnp::QueryForD3ColdInterface().
__inline MdCancelRoutine FxIrp::SetCancelRoutine | ( | __in_opt MdCancelRoutine | CancelRoutine | ) |
Definition at line 124 of file fxirpum.cpp.
Referenced by FxIrpQueue::InsertIrpInQueue(), FxPkgPnp::PowerMakeWakeRequestNonCancelable(), FxIrpQueue::RemoveIrpFromQueueByContext(), and FxIrpQueue::RemoveNextIrpFromQueue().
__inline VOID FxIrp::SetCompletionRoutine | ( | __in MdCompletionRoutine | CompletionRoutine, |
__in PVOID | Context, | ||
__in BOOLEAN | InvokeOnSuccess = TRUE , |
||
__in BOOLEAN | InvokeOnError = TRUE , |
||
__in BOOLEAN | InvokeOnCancel = TRUE |
||
) |
Definition at line 72 of file fxirpum.cpp.
Referenced by SendIrpSynchronously(), and SetCompletionRoutineEx().
__inline VOID FxIrp::SetCompletionRoutineEx | ( | __in MdDeviceObject | DeviceObject, |
__in MdCompletionRoutine | CompletionRoutine, | ||
__in PVOID | Context, | ||
__in BOOLEAN | InvokeOnSuccess = TRUE , |
||
__in BOOLEAN | InvokeOnError = TRUE , |
||
__in BOOLEAN | InvokeOnCancel = TRUE |
||
) |
Definition at line 104 of file fxirpum.cpp.
Referenced by FxDevice::_AcquireOptinRemoveLock(), FxPkgFdo::PnpSendStartDeviceDownTheStackOverload(), and FxIoTarget::SetCompletionRoutine().
Definition at line 351 of file fxirpum.cpp.
Referenced by FxIrpQueue::InsertIrpInQueue(), FxIrpQueue::RemoveIrpFromQueueByContext(), FxIrpQueue::RemoveNextIrpFromQueue(), and FxRequestBase::ZeroOutDriverContext().
__inline VOID FxIrp::SetCurrentDeviceObject | ( | __in MdDeviceObject | DeviceObject | ) |
Definition at line 1362 of file fxirpum.cpp.
Referenced by FxIoQueue::ForwardRequestToParent(), FxIoQueue::QueueDriverCreatedRequest(), and FxIoTargetSelf::Send().
Definition at line 1266 of file fxirpum.cpp.
Referenced by FxRequest::CompleteInternal(), and FxIoContext::ReleaseAndRestore().
Definition at line 504 of file fxirpum.cpp.
Referenced by FxIoQueue::CancelIrps(), FxRequest::CompleteWithInformation(), FxDefaultIrpHandler::Dispatch(), FxDevice::DispatchPreprocessedIrp(), FxPkgIo::DispatchStep1(), FxPkgIo::DispatchStep2(), FxIoTarget::FailPendedRequest(), FxPkgGeneral::OnCleanup(), FxPkgGeneral::OnClose(), FxPkgGeneral::OnCreate(), FxPkgGeneral::OnShutdown(), FxIoTargetSelf::Send(), FxRequest::SetInformation(), and FxIoTarget::SubmitPendedRequest().
Definition at line 71 of file fxirpkm.hpp.
Referenced by FxPkgPdo::_QueryCapsWorkItem(), FxIoTarget::_RequestCancelled(), FxIoQueue::CancelIrps(), FxRequest::CompleteInternal(), GetStackCapabilities(), FxIoTargetRemote::GetTargetDeviceRelations(), FxUsbIdleInfo::Initialize(), FxIrpQueue::IsIrpInQueue(), FxIrpQueue::PeekNextIrpFromQueue(), FxIrpQueue::PeekRequest(), FxPkgPnp::PnpDeviceUsageNotification(), FxPkgPnp::PnpEventQueryRemovePending(), FxPkgPnp::PnpEventQueryStopPending(), FxPkgPnp::PnpFinishProcessingIrp(), FxPkgPnp::PnpMatchResources(), FxRequest::PostProcessSendAndForget(), FxPkgPnp::PowerGotoDxIoStopped(), FxPkgPnp::PowerGotoDxIoStoppedNP(), FxPkgPnp::PowerMakeWakeRequestNonCancelable(), FxPkgPnp::QueryForD3ColdInterface(), FxRequest::Release(), FxIrpQueue::RemoveNextIrpFromQueue(), FxRequest::Reuse(), FxRequestBase::SetSubmitIrp(), and FxRequestBase::ValidateTarget().
Definition at line 905 of file fxirpum.cpp.
Referenced by FxIoTarget::FormatInternalIoctlOthersRequest(), FxIoTarget::FormatIoctlRequest(), FxIoTarget::FormatIoRequest(), FxFormatUsbRequest(), GetStackCapabilities(), and FxPkgPnp::QueryForD3ColdInterface().
Definition at line 1330 of file fxirpum.cpp.
Referenced by FxIoContext::ReleaseAndRestore().
Definition at line 967 of file fxirpum.cpp.
Referenced by GetStackCapabilities(), and FxPkgPnp::QueryForD3ColdInterface().
Definition at line 1235 of file fxirpum.cpp.
Referenced by FxDevice::_AcquireOptinRemoveLock(), FxDevice::DispatchPreprocessedIrp(), FxIoQueue::ForwardRequestToParent(), FxIoTarget::PendRequestLocked(), FxIoQueue::QueueDriverCreatedRequest(), and FxIoTargetSelf::Send().
Definition at line 1385 of file fxirpum.cpp.
Referenced by FxIoTarget::FormatIoRequest().
Definition at line 1398 of file fxirpum.cpp.
Referenced by FxIoTarget::FormatIoRequest().
__inline VOID FxIrp::SetNextStackFileObject | ( | _In_ MdFileObject | FileObject | ) |
Definition at line 1573 of file fxirpum.cpp.
Referenced by FxIoTarget::CopyFileObjectAndFlags().
Definition at line 1556 of file fxirpum.cpp.
Referenced by FxIoTarget::CopyFileObjectAndFlags().
__inline VOID FxIrp::SetParameterAllocatedResources | ( | __in PCM_RESOURCE_LIST | AllocatedResources | ) |
Definition at line 869 of file fxirpum.cpp.
Referenced by FxPkgFdo::PnpSendStartDeviceDownTheStackOverload().
__inline VOID FxIrp::SetParameterAllocatedResourcesTranslated | ( | __in PCM_RESOURCE_LIST | AllocatedResourcesTranslated | ) |
Definition at line 897 of file fxirpum.cpp.
Referenced by FxPkgFdo::PnpSendStartDeviceDownTheStackOverload().
__inline VOID FxIrp::SetParameterDeviceCapabilities | ( | __in PDEVICE_CAPABILITIES | DeviceCapabilities | ) |
Definition at line 1145 of file fxirpum.cpp.
Referenced by GetStackCapabilities().
Definition at line 1157 of file fxirpum.cpp.
Referenced by FxIoTarget::FormatInternalIoctlOthersRequest(), FxIoTarget::FormatIoctlRequest(), and FxFormatUsbRequest().
Definition at line 1166 of file fxirpum.cpp.
Referenced by FxIoTarget::FormatIoctlRequest().
Definition at line 1532 of file fxirpum.cpp.
Referenced by FxIoTarget::FormatIoctlRequest().
Definition at line 1175 of file fxirpum.cpp.
Referenced by FxIoTarget::FormatIoctlRequest().
__inline VOID FxIrp::SetParameterQDRType | ( | __in DEVICE_RELATION_TYPE | DeviceRelation | ) |
Definition at line 678 of file fxirpkm.hpp.
__inline VOID FxIrp::SetParameterQueryInterfaceInterface | ( | __in PINTERFACE | Interface | ) |
Definition at line 1053 of file fxirpkm.hpp.
Referenced by FxPkgPnp::QueryForD3ColdInterface().
__inline VOID FxIrp::SetParameterQueryInterfaceInterfaceSpecificData | ( | __in PVOID | InterfaceSpecificData | ) |
Definition at line 1091 of file fxirpkm.hpp.
Referenced by FxPkgPnp::QueryForD3ColdInterface().
Definition at line 1082 of file fxirpkm.hpp.
Referenced by FxPkgPnp::QueryForD3ColdInterface().
Definition at line 1063 of file fxirpkm.hpp.
Referenced by FxPkgPnp::QueryForD3ColdInterface().
Definition at line 1073 of file fxirpkm.hpp.
Referenced by FxPkgPnp::QueryForD3ColdInterface().
Definition at line 821 of file fxirpum.cpp.
Definition at line 457 of file fxirpum.cpp.
Referenced by FxIoQueue::CancelIrps(), FxRequest::CompleteInternal(), FxDefaultIrpHandler::Dispatch(), FxPkgGeneral::Dispatch(), FxDevice::DispatchPreprocessedIrp(), FxPkgIo::DispatchStep1(), FxPkgIo::DispatchStep2(), FxDevice::DispatchWithLock(), FxIoTarget::DrainPendedRequestsLocked(), FxIoTarget::FailPendedRequest(), GetStackCapabilities(), FxIoTargetRemote::GetTargetDeviceRelations(), FxPkgGeneral::OnCleanup(), FxPkgGeneral::OnClose(), FxPkgGeneral::OnCreate(), FxPkgGeneral::OnShutdown(), FxPkgPnp::PnpEventInitQueryRemove(), FxPkgPnp::PowerMakeWakeRequestNonCancelable(), FxPkgFdo::PowerReleasePendingDeviceIrp(), FxPkgPnp::QueryForD3ColdInterface(), FxRequest::Reuse(), FxIoTargetSelf::Send(), FxPkgPnp::SetPendingPnpIrpStatus(), FxRequest::SetStatus(), and FxIoTarget::SubmitLocked().
Definition at line 1313 of file fxirpum.cpp.
Referenced by FxIoTarget::FormatIoctlRequest(), FxIoTarget::FormatIoRequest(), and FxIoContext::ReleaseAndRestore().
Definition at line 1341 of file fxirpum.cpp.
Referenced by FxIoTarget::FormatIoctlRequest(), FxIoTarget::FormatIoRequest(), and FxIoContext::ReleaseAndRestore().
Definition at line 400 of file fxirpum.cpp.
Referenced by FxIoTarget::_RequestCancelled(), FxDefaultIrpHandler::Dispatch(), FxPkgIo::DispatchStep1(), FxIoTarget::DrainPendedRequestsLocked(), FxIoQueue::ForwardRequestToParent(), FxPkgGeneral::OnCleanup(), FxPkgGeneral::OnClose(), FxPkgGeneral::OnShutdown(), FxIoTarget::PendRequestLocked(), FxRequest::PreProcessSendAndForget(), and FxIoQueue::QueueDriverCreatedRequest().
__inline VOID FxIrp::StartNextPowerIrp | ( | ) |
Definition at line 61 of file fxirpum.cpp.
Referenced by FxDefaultIrpHandler::Dispatch().
|
private |
Definition at line 33 of file fxirp.hpp.
Referenced by CallDriver(), Cancel(), ClearNextStack(), ClearNextStackLocation(), CompleteRequest(), CopyCurrentIrpStackLocationToNext(), FreeIrp(), GetContext(), GetFileObject(), GetInformation(), GetIoIrp(), GetIrp(), GetMajorFunction(), GetMinorFunction(), GetParameterAllocatedResources(), GetParameterAllocatedResourcesTranslated(), GetParameterPowerState(), GetPnpIrp(), GetRequestorMode(), GetStatus(), IsCanceled(), ListEntry(), MarkIrpPending(), PendingReturned(), PoCallDriver(), PropagatePendingReturned(), SendIrpSynchronously(), SetCancelRoutine(), SetCompletionRoutine(), SetContext(), SetInformation(), SetIrp(), SetMajorFunction(), SetNextIrpStackLocation(), SetStatus(), SkipCurrentIrpStackLocation(), and FxAutoIrp::~FxAutoIrp().