ReactOS 0.4.16-dev-401-g45b008d
|
#include <fxdevice.hpp>
Protected Attributes | |
LIST_ENTRY | m_FileObjectListHead |
NPAGED_LOOKASIDE_LIST | m_RequestLookasideList |
size_t | m_RequestLookasideListElementSize |
WDF_OBJECT_ATTRIBUTES | m_RequestAttributes |
Protected Attributes inherited from FxDeviceBase | |
FxDriver * | m_Driver |
MxDeviceObject | m_DeviceObject |
MxDeviceObject | m_AttachedDevice |
MxDeviceObject | m_PhysicalDevice |
FxCallbackLock * | m_CallbackLockPtr |
FxObject * | m_CallbackLockObjectPtr |
WDF_EXECUTION_LEVEL | m_ExecutionLevel |
WDF_SYNCHRONIZATION_SCOPE | m_SynchronizationScope |
LONG | m_DmaPacketTransactionStatus |
Protected Attributes inherited from FxObject | |
union { | |
CfxDeviceBase * m_DeviceBase | |
CfxDevice * m_Device | |
}; | |
Private Member Functions | |
VOID | SetInitialState (VOID) |
_Must_inspect_result_ NTSTATUS | PreprocessIrp (__in MdIrp Irp) |
_Must_inspect_result_ NTSTATUS | DeleteDeviceFromFailedCreateNoDelete (__in NTSTATUS FailedStatus, __in BOOLEAN UseStateMachine) |
VOID | SetFilterIoType (VOID) |
VOID | DestructorInternal (VOID) |
NTSTATUS | WmiPkgRegister (VOID) |
VOID | WmiPkgDeregister (VOID) |
VOID | WmiPkgCleanup (VOID) |
Static Private Member Functions | |
static _Must_inspect_result_ NTSTATUS | _AcquireOptinRemoveLock (__in MdDeviceObject DeviceObject, __in MdIrp Irp) |
Static Private Attributes | |
static const CHAR | m_PriorityBoosts [] |
static MdCompletionRoutineType | _CompletionRoutineForRemlockMaintenance |
Friends | |
class | FxDriver |
class | FxIrp |
class | FxFileObject |
class | FxPkgPnp |
VOID | GetTriageInfo (VOID) |
Additional Inherited Members | |
Protected Member Functions inherited from FxDeviceBase | |
FxDeviceBase (__in PFX_DRIVER_GLOBALS FxDriverGlobals, __in FxDriver *Driver, __in WDFTYPE Type, __in USHORT Size) | |
~FxDeviceBase (VOID) | |
VOID | Init (__in MdDeviceObject DeviceObject, __in MdDeviceObject AttachedDevice, __in MdDeviceObject PhysicalDevice) |
Protected Member Functions inherited from FxObject | |
FxObject (__in WDFTYPE Type, __in USHORT Size, __in PFX_DRIVER_GLOBALS FxDriverGlobals, __in FxObjectType ObjectType) | |
FxObjectDebugExtension * | GetDebugExtension (VOID) |
BOOLEAN | IsDebug (VOID) |
VOID | AllocateTagTracker (__in WDFTYPE Type) |
virtual VOID | SelfDestruct (VOID) |
PVOID __inline | GetObjectHandleUnchecked (VOID) |
VOID __inline | DestroyChildren (VOID) |
VOID | DeleteEarlyDisposedObject (VOID) |
Static Protected Member Functions inherited from FxObject | |
static PVOID | _GetBase (__in FxObject *Object) |
Definition at line 487 of file fxdevice.hpp.
Definition at line 143 of file fxdevice.cpp.
FxDevice::~FxDevice | ( | VOID | ) |
Definition at line 239 of file fxdevice.cpp.
|
staticprivate |
Definition at line 1296 of file fxdevice.cpp.
Referenced by DispatchWithLock().
|
static |
Definition at line 1988 of file fxdevice.cpp.
|
static |
Definition at line 2063 of file fxdevice.cpp.
|
static |
Definition at line 366 of file fxdevice.cpp.
|
static |
Definition at line 1093 of file fxdeviceum.cpp.
Referenced by __deref_out_range(), _QueryProperty(), CreateSymbolicLink(), and FxGetDevicePropertyString().
|
static |
Definition at line 30 of file fxdevicekm.hpp.
Referenced by _AcquireOptinRemoveLock(), _Create(), FxPkgGeneral::AcquireRemoveLockForClose(), CreateDevice(), FxWmiIrpHandler::Dispatch(), DispatchWithLock(), GetRemoveLock(), and IsRemoveLockEnabledForIo().
Definition at line 1778 of file fxdevice.hpp.
Referenced by FxPkgPdo::HandleQueryInterfaceForReenumerate().
Definition at line 1767 of file fxdevice.hpp.
Referenced by FxPkgPdo::HandleQueryInterfaceForReenumerate().
|
static |
Definition at line 1012 of file fxdeviceum.cpp.
Referenced by _OpenKey(), and OpenSettingsKey().
|
static |
Definition at line 731 of file fxdevicekm.cpp.
|
static |
Definition at line 939 of file fxdevicekm.cpp.
Referenced by _AllocAndQueryProperty().
|
static |
Definition at line 859 of file fxdevicekm.cpp.
Referenced by _AllocAndQueryPropertyEx().
|
inlinestatic |
Definition at line 933 of file fxdevice.hpp.
Referenced by FxDefaultIrpHandler::Dispatch(), DispatchPreprocessedIrp(), DispatchWithLock(), FxDriver::Initialize(), and PreprocessIrp().
|
static |
Definition at line 2151 of file fxdevice.cpp.
Referenced by _OpenKey(), _QueryProperty(), and _QueryPropertyEx().
|
virtual |
Reimplemented from FxDeviceBase.
Definition at line 431 of file fxdevicekm.cpp.
Referenced by FxChildList::Initialize().
|
virtual |
|
virtual |
Reimplemented from FxDeviceBase.
Definition at line 1772 of file fxdevice.cpp.
|
virtual |
Reimplemented from FxDeviceBase.
Definition at line 452 of file fxdevicekm.cpp.
|
virtual |
Reimplemented from FxDeviceBase.
Definition at line 1805 of file fxdevice.cpp.
PVOID FxDevice::AllocateRequestMemory | ( | __in_opt PWDF_OBJECT_ATTRIBUTES | Attributes | ) |
Definition at line 1630 of file fxdevice.cpp.
Definition at line 2092 of file fxdevice.hpp.
NTSTATUS FxDevice::AssignProperty | ( | _In_ PVOID | PropertyData, |
_In_ FxPropertyType FxPropertyType | , | ||
_In_ DEVPROPTYPE | Type, | ||
_In_ ULONG | BufferLength, | ||
_In_opt_ PVOID | PropertyBuffer | ||
) |
Definition at line 668 of file fxdevicekm.cpp.
Definition at line 1548 of file fxdevice.hpp.
Referenced by __drv_when().
VOID FxDevice::ConfigureAutoForwardCleanupClose | ( | __in PWDFDEVICE_INIT | DeviceInit | ) |
Definition at line 864 of file fxdevice.cpp.
Referenced by Initialize().
Definition at line 1465 of file fxdevice.hpp.
Referenced by FxPkgGeneral::DecrementOpenHandleCount().
_Must_inspect_result_ NTSTATUS FxDevice::ControlDeviceInitialize | ( | __in PWDFDEVICE_INIT | DeviceInit | ) |
Definition at line 399 of file fxdevicekm.cpp.
Referenced by _Create().
_Must_inspect_result_ NTSTATUS FxDevice::CreateDevice | ( | __in PWDFDEVICE_INIT | DeviceInit | ) |
Definition at line 964 of file fxdevice.cpp.
Referenced by ControlDeviceInitialize(), FdoInitialize(), and PdoInitialize().
NTSTATUS FxDevice::CreateSymbolicLink | ( | _In_ PFX_DRIVER_GLOBALS | FxDriverGlobals, |
_In_ PCUNICODE_STRING | SymbolicLinkName | ||
) |
Definition at line 513 of file fxdevicekm.cpp.
_Must_inspect_result_ NTSTATUS FxDevice::DeleteDeviceFromFailedCreate | ( | __in NTSTATUS | FailedStatus, |
__in BOOLEAN | UseStateMachine | ||
) |
Definition at line 644 of file fxdevice.cpp.
Referenced by _Create().
|
private |
Definition at line 559 of file fxdevice.cpp.
Referenced by DeleteDeviceFromFailedCreate(), and DeleteObject().
Reimplemented from FxObject.
Definition at line 1135 of file fxdevice.cpp.
Referenced by FxPkgPnp::DeleteDevice().
Definition at line 1342 of file fxdeviceum.cpp.
Referenced by FxPkgFdo::DeleteSymbolicLinkOverload(), FxPkgPdo::DeleteSymbolicLinkOverload(), Destroy(), FxPkgPdo::PnpEventPdoRemovedOverload(), and ~FxDevice().
Definition at line 329 of file fxdevicekm.cpp.
Referenced by FxPkgPnp::DeleteDevice(), DeleteDeviceFromFailedCreateNoDelete(), and Dispose().
Definition at line 390 of file fxdevicekm.cpp.
Referenced by ~FxDevice().
Definition at line 1269 of file fxdeviceum.cpp.
Referenced by Destroy().
|
static |
Definition at line 1551 of file fxdevice.cpp.
Referenced by FxDriver::Initialize().
_Must_inspect_result_ NTSTATUS FxDevice::DispatchPreprocessedIrp | ( | __in MdIrp | Irp, |
__in PVOID | DispatchContext | ||
) |
Definition at line 1564 of file fxdevice.cpp.
|
static |
Definition at line 32 of file fxdeviceum.cpp.
Referenced by FxDriver::Initialize().
|
static |
Definition at line 1336 of file fxdevice.cpp.
Referenced by DispatchWithLockUm(), and FxDriver::Initialize().
|
static |
Definition at line 48 of file fxdeviceum.cpp.
Referenced by FxDriver::Initialize().
Reimplemented from FxObject.
Definition at line 1242 of file fxdevice.cpp.
_Must_inspect_result_ NTSTATUS FxDevice::FdoInitialize | ( | __in PWDFDEVICE_INIT | DeviceInit | ) |
Definition at line 33 of file fxdevicekm.cpp.
Referenced by _Create().
Definition at line 1728 of file fxdevice.cpp.
Referenced by FxRequestFromLookaside::SelfDestruct().
Definition at line 1798 of file fxdevice.hpp.
_Must_inspect_result_ NTSTATUS FxDevice::FxValidateInterfacePropertyData | ( | _In_ PWDF_DEVICE_INTERFACE_PROPERTY_DATA | PropertyData | ) |
Definition at line 1693 of file fxdeviceum.cpp.
Definition at line 1501 of file fxdevice.hpp.
Definition at line 1492 of file fxdevice.hpp.
Referenced by GetCallbackFlags().
|
inline |
Definition at line 1560 of file fxdevice.hpp.
Referenced by FxPkgIo::CreateQueue(), if(), and IsCxDriverInIoPath().
|
inline |
Definition at line 1654 of file fxdevice.hpp.
Referenced by FxPkgGeneral::ConfigureConstraints(), FxPkgGeneral::ConfigureFileObjectClass(), and FxPkgGeneral::OnCreate().
|
inlinestatic |
Definition at line 1640 of file fxdevice.hpp.
Referenced by FxPkgIo::AddIoQueue(), and FxPkgIo::ConfigureDynamicDispatching().
|
virtual |
Reimplemented from FxDeviceBase.
Definition at line 1818 of file fxdevice.cpp.
Definition at line 1111 of file fxdevice.hpp.
Referenced by FxRequest::Complete().
|
inline |
Definition at line 1149 of file fxdevice.hpp.
Referenced by __drv_strictTypeMatch(), FxChildList::DrainFreeListHead(), if(), FxInterrupt::Initialize(), FxPkgPnp::PnpEnterNewState(), FxPkgPnp::PnpProcessEvent(), FxPkgPnp::PnpProcessEventInner(), and FxPkgPnp::~FxPkgPnp().
|
inline |
Definition at line 1165 of file fxdevice.hpp.
Referenced by __drv_maxIRQL(), FxPkgPnp::NotPowerPolicyOwnerEnterNewState(), FxPkgPnp::PowerPolicyEnterNewState(), FxPkgPnp::PowerPolicyProcessEvent(), and FxPkgPnp::PowerPolicyProcessEventInner().
|
inline |
Definition at line 1157 of file fxdevice.hpp.
Referenced by __drv_maxIRQL(), FxPkgPnp::PowerEnterNewState(), FxPkgPnp::PowerProcessEvent(), and FxPkgPnp::PowerProcessEventInner().
__inline IWudfDeviceStack * FxDevice::GetDeviceStack | ( | VOID | ) |
Definition at line 435 of file fxdeviceum.hpp.
Referenced by GetDeviceStackIoType(), if(), NtStatusFromHr(), FxPkgPnp::ReadStateFromRegistry(), SUCCEEDED(), and FxPkgPnp::UpdateWmiInstance().
__inline IWudfDeviceStack2 * FxDevice::GetDeviceStack2 | ( | VOID | ) |
Definition at line 444 of file fxdeviceum.hpp.
Referenced by FxPoxInterface::PowerNotRequiredCallbackInvoked().
VOID FxDevice::GetDeviceStackIoType | ( | _Out_ WDF_DEVICE_IO_TYPE * | ReadWriteIoType, |
_Out_ WDF_DEVICE_IO_TYPE * | IoControlIoType | ||
) |
Definition at line 1744 of file fxdeviceum.cpp.
Definition at line 1815 of file fxdevice.hpp.
Definition at line 1986 of file fxdevice.hpp.
Referenced by FxMessageDispatch::GetDirectTransferThreshold().
Definition at line 890 of file fxdevice.hpp.
Referenced by FxIoTargetSelf::Send().
Definition at line 1236 of file fxdevice.hpp.
Referenced by FdoInitialize(), GetDefaultIoTarget(), GetSelfIoTarget(), FxPkgPdo::Initialize(), and SetFilter().
|
inline |
Definition at line 1123 of file fxdevice.hpp.
Referenced by FxPkgGeneral::CreateCompleted(), FxRequest::GetFileObject(), FxPkgGeneral::OnCleanup(), FxPkgGeneral::OnClose(), and FxPkgGeneral::OnCreate().
|
static |
Definition at line 60 of file fxdeviceum.cpp.
Referenced by FxPkgPdo::_QueryCapsWorkItem(), Dispatch(), FxRequestSystemBuffer::GetBuffer(), FxRequestSystemBuffer::GetMdl(), GetPreferredTransferMode(), PoFxDevicePowerNotRequired(), and PoFxDevicePowerRequired().
|
inline |
Definition at line 1057 of file fxdevice.hpp.
|
inline |
Definition at line 1084 of file fxdevice.hpp.
Referenced by FxRequestSystemBuffer::GetBuffer(), and FxRequestSystemBuffer::GetMdl().
|
inline |
Definition at line 1093 of file fxdevice.hpp.
Definition at line 2118 of file fxdevice.hpp.
Definition at line 1254 of file fxdevice.hpp.
Referenced by FxPkgPdo::_QueryCapsWorkItem(), FxChildList::Add(), AllocateRequestMemory(), DeleteObject(), FxChildList::DrainFreeListHead(), FreeRequestMemory(), GetPdoPackageFromDeviceHandle(), and FxDeviceDescriptionEntry::IsDeviceRemoved().
|
inline |
Definition at line 1977 of file fxdevice.hpp.
|
inline |
Definition at line 1968 of file fxdevice.hpp.
|
static |
Definition at line 593 of file fxdeviceum.cpp.
Referenced by FxMessageDispatch::GetPreferredTransferMode().
Definition at line 2100 of file fxdevice.hpp.
__inline MdRemoveLock FxDevice::GetRemoveLock | ( | VOID | ) |
Definition at line 47 of file fxdevicekm.hpp.
Referenced by FxPkgFdo::_PowerPassDown(), FxPkgGeneral::AcquireRemoveLockForClose(), FxPkgPnp::CompletePnpRequest(), FxPkgPnp::CompletePowerRequest(), FxDefaultIrpHandler::Dispatch(), DispatchPreprocessedIrp(), FxPkgGeneral::OnClose(), FxPkgFdo::ProcessRemoveDeviceOverload(), and FxPkgPdo::ProcessRemoveDeviceOverload().
|
inline |
Definition at line 1315 of file fxdevice.hpp.
Referenced by FxIoQueue::AllocateReservedRequest(), FxPkgIo::DispatchStep2(), and FxPkgGeneral::OnCreate().
|
inline |
Definition at line 1959 of file fxdevice.hpp.
|
inline |
Definition at line 1005 of file fxdevice.hpp.
Referenced by AssignProperty(), CreateSymbolicLink(), FxChildList::EndScan(), OpenSettingsKey(), FxChildList::ProcessModificationsLocked(), and FxPkgPnp::SetDeviceFailed().
FxIoTargetSelf * FxDevice::GetSelfIoTarget | ( | VOID | ) |
Definition at line 1831 of file fxdevice.cpp.
Definition at line 2108 of file fxdevice.hpp.
|
inline |
Definition at line 1854 of file fxdevice.hpp.
Referenced by IsInterruptAccessAllowed().
_Must_inspect_result_ NTSTATUS FxDevice::Initialize | ( | __in PWDFDEVICE_INIT | DeviceInit, |
__in_opt PWDF_OBJECT_ATTRIBUTES | DeviceAttributes | ||
) |
Definition at line 663 of file fxdevice.cpp.
Referenced by _Create().
Definition at line 1611 of file fxdevice.cpp.
Referenced by FdoInitialize(), Initialize(), and PdoInitialize().
Definition at line 1291 of file fxdeviceum.cpp.
Definition at line 1585 of file fxdevice.hpp.
Definition at line 1594 of file fxdevice.hpp.
Referenced by FxPkgIo::GetIoQueueListLocked(), and FxPkgGeneral::OnCreate().
|
inline |
Definition at line 2072 of file fxdevice.hpp.
Referenced by IsInterruptAccessAllowed().
Definition at line 1218 of file fxdevice.hpp.
Referenced by FxFileObject::_CreateFileObject(), FxFileObject::_GetFileObjectFromWdm(), and FxPkgGeneral::OnCreate().
Definition at line 1227 of file fxdevice.hpp.
Referenced by FxPkgPnp::DispatchWaitWake(), if(), and FxPkgPdo::Initialize().
|
inline |
Definition at line 1408 of file fxdevice.hpp.
Referenced by DeleteDeviceFromFailedCreateNoDelete(), FxDefaultIrpHandler::Dispatch(), FxIoQueue::Initialize(), FxPkgGeneral::OnShutdown(), FxPkgPnp::PnpDeviceUsageNotification(), FxPkgPnp::PnpMatchResources(), SetFilterIoType(), and FxPkgPnp::SetUsageNotificationFlags().
BOOLEAN FxDevice::IsInterfaceRegistered | ( | _In_ const GUID * | InterfaceClassGUID, |
_In_opt_ PCUNICODE_STRING | RefString | ||
) |
Definition at line 1926 of file fxdevice.cpp.
Referenced by FxValidateInterfacePropertyData().
Definition at line 2079 of file fxdevice.hpp.
Definition at line 1209 of file fxdevice.hpp.
Referenced by __drv_strictTypeMatch(), CreateSymbolicLink(), FxPkgGeneral::DecrementOpenHandleCount(), DeleteObject(), if(), and FxIoQueue::Initialize().
Definition at line 1245 of file fxdevice.hpp.
Referenced by AllocateRequestMemory(), DeleteObject(), FreeRequestMemory(), GetPdoPackageFromDeviceHandle(), FxPkgPnp::HandleQueryInterface(), and FxPkgPnp::PnpDeviceUsageNotification().
Definition at line 1200 of file fxdevice.hpp.
Referenced by _Create(), FxPkgGeneral::AcquireRemoveLockForClose(), AddChildList(), AddDmaEnabler(), AllocateDmaEnablerList(), AllocateEnumInfo(), DeleteObject(), FxIoQueue::FxIoQueue(), GetDefaultIoTarget(), GetSelfIoTarget(), IsPdo(), RemoveChildList(), and RemoveDmaEnabler().
Definition at line 1421 of file fxdevice.hpp.
Referenced by FxPkgPnp::SetUsageNotificationFlags().
Definition at line 57 of file fxdevicekm.hpp.
Definition at line 843 of file fxdeviceum.cpp.
Definition at line 826 of file fxdeviceum.cpp.
Referenced by _OpenDeviceRegistryKey(), if(), and NtStatusFromHr().
_Must_inspect_result_ NTSTATUS FxDevice::OpenDevicemapKeyWorker | ( | _In_ PFX_DRIVER_GLOBALS | pFxDriverGlobals, |
_In_ PCUNICODE_STRING | KeyName, | ||
_In_ ACCESS_MASK | DesiredAccess, | ||
_In_ FxRegKey * | pKey | ||
) |
Definition at line 995 of file fxdevicekm.cpp.
Referenced by if().
_Must_inspect_result_ NTSTATUS FxDevice::OpenSettingsKey | ( | __out HANDLE * | Key, |
__in ACCESS_MASK | DesiredAccess = STANDARD_RIGHTS_ALL |
||
) |
Definition at line 818 of file fxdevicekm.cpp.
Referenced by FxPkgPnp::PnpCheckAndIncrementRestartCount(), FxPkgPnp::ReadRegistryS0Idle(), FxPkgPnp::ReadRegistrySxWake(), and FxPkgPnp::SaveState().
_Must_inspect_result_ NTSTATUS FxDevice::PdoInitialize | ( | __in PWDFDEVICE_INIT | DeviceInit | ) |
Definition at line 221 of file fxdevicekm.cpp.
Referenced by _Create().
|
static |
Definition at line 817 of file fxdeviceum.cpp.
Referenced by FxMessageDispatch::PoFxDevicePowerNotRequired().
|
static |
Definition at line 808 of file fxdeviceum.cpp.
Referenced by FxMessageDispatch::PoFxDevicePowerRequired().
_Must_inspect_result_ NTSTATUS FxDevice::PostInitialize | ( | VOID | ) |
Definition at line 940 of file fxdevice.cpp.
Referenced by _Create().
|
private |
NTSTATUS FxDevice::ProcessWmiPowerQueryOrSetData | ( | _In_ RdWmiPowerAction | Action, |
_Out_ BOOLEAN * | QueryResult | ||
) |
Definition at line 699 of file fxdeviceum.cpp.
Referenced by FxMessageDispatch::ProcessWmiPowerQueryOrSetData().
|
virtual |
Definition at line 1754 of file fxdevice.cpp.
__inline SIZE_T FxDevice::ReadRegister | ( | __in WDF_DEVICE_HWACCESS_TARGET_SIZE | Size, |
__in PVOID | Register | ||
) |
Definition at line 186 of file fxdeviceum.hpp.
Referenced by if().
__inline VOID FxDevice::ReadRegisterBuffer | ( | __in WDF_DEVICE_HWACCESS_TARGET_SIZE | Size, |
__in PVOID | Register, | ||
__out_ecount_full(Count) PVOID | Buffer, | ||
__in ULONG | Count | ||
) |
Definition at line 233 of file fxdeviceum.hpp.
Referenced by if().
|
static |
Definition at line 762 of file fxdeviceum.cpp.
Referenced by FxMessageDispatch::RemoteInterfaceArrival().
|
static |
Definition at line 778 of file fxdeviceum.cpp.
Referenced by FxMessageDispatch::RemoteInterfaceRemoval().
|
virtual |
Reimplemented from FxDeviceBase.
Definition at line 441 of file fxdevicekm.cpp.
Referenced by FxChildList::Dispose().
|
virtual |
Reimplemented from FxDeviceBase.
Definition at line 475 of file fxdevicekm.cpp.
|
virtual |
Reimplemented from FxDeviceBase.
Definition at line 1790 of file fxdevice.cpp.
VOID FxDevice::RetrieveDeviceInfoRegistrySettings | ( | _Out_ PCWSTR * | GroupId, |
_Out_ PUMDF_DRIVER_REGSITRY_INFO | DeviceRegInfo | ||
) |
Definition at line 1759 of file fxdeviceum.cpp.
Definition at line 851 of file fxdeviceum.cpp.
Definition at line 1526 of file fxdevice.hpp.
Referenced by __drv_when().
Definition at line 1517 of file fxdevice.hpp.
Referenced by SetCallbackFlags().
Definition at line 1877 of file fxdevice.hpp.
Referenced by DeleteDeviceFromFailedCreateNoDelete().
|
inline |
Definition at line 1173 of file fxdevice.hpp.
Referenced by FxPkgPnp::PnpEnterNewState().
|
inline |
Definition at line 1191 of file fxdevice.hpp.
Referenced by FxPkgPnp::NotPowerPolicyOwnerEnterNewState(), and FxPkgPnp::PowerPolicyEnterNewState().
|
inline |
Definition at line 1182 of file fxdevice.hpp.
Referenced by FxPkgPnp::PowerEnterNewState().
|
inlinevirtual |
Reimplemented from FxDeviceBase.
Definition at line 1807 of file fxdevice.hpp.
Referenced by FxInterrupt::AssignResources(), FdoInitialize(), and if().
|
inline |
Definition at line 1135 of file fxdevice.hpp.
Referenced by FxPkgGeneral::ConfigureFileObjectClass().
_Must_inspect_result_ NTSTATUS FxDevice::SetFilter | ( | __in BOOLEAN | Value | ) |
Definition at line 1851 of file fxdevice.cpp.
Referenced by FdoInitialize().
Definition at line 1873 of file fxdevice.cpp.
Referenced by FdoInitialize(), and FxPkgPnp::PnpMatchResources().
Definition at line 153 of file fxdevice.cpp.
Referenced by FxDevice().
|
inline |
Definition at line 1049 of file fxdevice.hpp.
Definition at line 1269 of file fxdevice.hpp.
Definition at line 1833 of file fxdevice.hpp.
Referenced by _Create().
|
static |
Definition at line 790 of file fxdeviceum.cpp.
Referenced by FxMessageDispatch::TransportQueryID().
Definition at line 1841 of file fxdevice.hpp.
Definition at line 505 of file fxdevicekm.cpp.
Referenced by FxPkgPnp::PnpEventRemovedCommonCode().
Definition at line 497 of file fxdevicekm.cpp.
Referenced by FxPkgPnp::PnpCleanupForRemove().
Definition at line 488 of file fxdevicekm.cpp.
Referenced by FxPkgPnp::PnpEnableInterfacesAndRegisterWmi().
__inline VOID FxDevice::WriteRegister | ( | __in WDF_DEVICE_HWACCESS_TARGET_SIZE | Size, |
__in PVOID | Register, | ||
__in SIZE_T | Value | ||
) |
Definition at line 279 of file fxdeviceum.hpp.
__inline VOID FxDevice::WriteRegisterBuffer | ( | __in WDF_DEVICE_HWACCESS_TARGET_SIZE | Size, |
__in PVOID | Register, | ||
__in_ecount(Count) PVOID | Buffer, | ||
__in ULONG | Count | ||
) |
Definition at line 323 of file fxdeviceum.hpp.
Definition at line 489 of file fxdevice.hpp.
|
friend |
Definition at line 491 of file fxdevice.hpp.
Definition at line 490 of file fxdevice.hpp.
Definition at line 492 of file fxdevice.hpp.
Definition at line 75 of file fxlibrarycommon.cpp.
|
staticprivate |
Definition at line 831 of file fxdevice.hpp.
Referenced by _AcquireOptinRemoveLock().
BOOLEAN FxDevice::m_AutoForwardCleanupClose |
Definition at line 605 of file fxdevice.hpp.
Referenced by ConfigureAutoForwardCleanupClose(), FxPkgGeneral::OnCleanup(), FxPkgGeneral::OnClose(), FxPkgGeneral::OnCreate(), and SetInitialState().
|
private |
Definition at line 519 of file fxdevice.hpp.
Referenced by ClearCallbackFlagsLocked(), GetCallbackFlagsLocked(), and SetCallbackFlagsLocked().
BOOLEAN FxDevice::m_CleanupFromFailedCreate |
Definition at line 732 of file fxdevice.hpp.
Referenced by SetCleanupFromFailedCreate(), and SetInitialState().
|
private |
Definition at line 507 of file fxdevice.hpp.
Referenced by DeleteObject(), GetDevicePnpState(), SetDevicePnpState(), and SetInitialState().
|
private |
Definition at line 509 of file fxdevice.hpp.
Referenced by GetDevicePowerPolicyState(), SetDevicePowerPolicyState(), and SetInitialState().
|
private |
Definition at line 508 of file fxdevice.hpp.
Referenced by GetDevicePowerState(), SetDevicePowerState(), and SetInitialState().
LIST_ENTRY FxDevice::m_CxDeviceInfoListHead |
Definition at line 635 of file fxdevice.hpp.
Referenced by GetCxDeviceInfo(), Initialize(), IsCxInIoPath(), SetInitialState(), and ~FxDevice().
|
private |
Definition at line 561 of file fxdevice.hpp.
Referenced by CreateDevice(), GetDefaultPriorityBoost(), and SetInitialState().
PWSTR FxDevice::m_DeviceInstanceId |
Definition at line 763 of file fxdevice.hpp.
Referenced by SetInitialState().
PWSTR FxDevice::m_DeviceKeyPath |
Definition at line 753 of file fxdevice.hpp.
Referenced by SetInitialState().
UNICODE_STRING FxDevice::m_DeviceName |
Definition at line 578 of file fxdevice.hpp.
Referenced by _Create(), CreateSymbolicLink(), Destroy(), if(), SetInitialState(), and ~FxDevice().
|
private |
Definition at line 553 of file fxdevice.hpp.
Referenced by ControlDeviceDelete(), DeleteObject(), Destroy(), and SetInitialState().
|
private |
Definition at line 617 of file fxdevice.hpp.
Referenced by GetDeviceTelemetryInfoFlags(), SetDeviceTelemetryInfoFlags(), and SetInitialState().
IWudfDeviceStack* FxDevice::m_DevStack |
Definition at line 743 of file fxdevice.hpp.
Referenced by DetachDevice(), GetDeviceStack(), GetDeviceStack2(), and SetInitialState().
WDF_DIRECT_HARDWARE_ACCESS_TYPE FxDevice::m_DirectHardwareAccess |
Definition at line 777 of file fxdevice.hpp.
Referenced by IsDirectHardwareAccessAllowed(), RetrieveDeviceRegistrySettings(), and SetInitialState().
ULONG FxDevice::m_DirectTransferThreshold |
Definition at line 772 of file fxdevice.hpp.
Referenced by GetDirectTransferThreshold(), and SetInitialState().
FxMessageDispatch* FxDevice::m_Dispatcher |
Definition at line 738 of file fxdevice.hpp.
Referenced by SetInitialState().
|
private |
Definition at line 540 of file fxdevice.hpp.
Referenced by CreateDevice(), Initialize(), IsExclusive(), and SetInitialState().
WDF_FILEOBJECT_CLASS FxDevice::m_FileObjectClass |
Definition at line 621 of file fxdevice.hpp.
Referenced by GetFileObjectClass(), SetFileObjectClass(), and SetInitialState().
|
protected |
Definition at line 643 of file fxdevice.hpp.
Referenced by FxFileObject::_CreateFileObject(), FxFileObject::_GetFileObjectFromWdm(), and SetInitialState().
WDF_FILE_OBJECT_POLICY_TYPE FxDevice::m_FileObjectPolicy |
Definition at line 788 of file fxdevice.hpp.
Referenced by RetrieveDeviceRegistrySettings(), and SetInitialState().
|
private |
Definition at line 522 of file fxdevice.hpp.
Referenced by CreateDevice(), FdoInitialize(), IsFilter(), SetFilter(), and SetInitialState().
WDF_FS_CONTEXT_USE_POLICY_TYPE FxDevice::m_FsContextUsePolicy |
Definition at line 793 of file fxdevice.hpp.
Referenced by RetrieveDeviceRegistrySettings(), and SetInitialState().
FxInterruptThreadpool* FxDevice::m_InteruptThreadpool |
Definition at line 798 of file fxdevice.hpp.
Referenced by GetInterruptThreadpool(), SetInitialState(), and SetInterruptThreadpool().
WDF_DEVICE_IO_TYPE FxDevice::m_IoctlIoType |
Definition at line 771 of file fxdevice.hpp.
Referenced by GetPreferredIoctlTransferMode(), and SetInitialState().
FxSpinLockTransactionedList FxDevice::m_IoTargetsList |
Definition at line 623 of file fxdevice.hpp.
Referenced by AddIoTarget(), RemoveIoTarget(), and SetFilterIoType().
PWSTR FxDevice::m_KernelDeviceName |
Definition at line 758 of file fxdevice.hpp.
Referenced by SetInitialState().
|
private |
Definition at line 547 of file fxdevice.hpp.
Referenced by ConfigureAutoForwardCleanupClose(), ControlDeviceInitialize(), Dispose(), Initialize(), IsLegacy(), and SetInitialState().
UNICODE_STRING FxDevice::m_MofResourceName |
Definition at line 585 of file fxdevice.hpp.
Referenced by FxWmiIrpHandler::_RegInfo(), Destroy(), SetInitialState(), and ~FxDevice().
CfxDevice* FxDevice::m_ParentDevice |
Definition at line 569 of file fxdevice.hpp.
Referenced by FxPkgPdo::_PnpQueryBusInformation(), FxPkgPdo::_QueryCapsWorkItem(), FxWmiIrpHandler::_RegInfo(), FxIoQueue::ForwardRequestToParent(), FxPkgPdo::Initialize(), PdoInitialize(), FxPkgPnp::PnpDeviceUsageNotification(), FxPkgPdo::PnpQueryCapabilities(), FxPkgPdo::PowerCheckParentOverload(), FxPkgPnp::PowerMakeWakeRequestNonCancelable(), FxPkgPdo::PowerNotifyParentChildWakeArmed(), FxPkgPdo::PowerNotifyParentChildWakeDisarmed(), FxPkgPdo::PowerParentPowerDereference(), and ~FxDevice().
|
private |
Definition at line 535 of file fxdevice.hpp.
Referenced by SetInitialState(), and SetParentWaitingOnRemoval().
HKEY FxDevice::m_PdoDevKey |
Definition at line 748 of file fxdevice.hpp.
Referenced by RetrieveDeviceInfoRegistrySettings(), RetrieveDeviceRegistrySettings(), and SetInitialState().
BOOLEAN FxDevice::m_PdoKnown |
Definition at line 599 of file fxdevice.hpp.
Referenced by FdoInitialize(), GetSafePhysicalDevice(), FxPkgPdo::PnpQueryResourceRequirements(), and SetInitialState().
FxDefaultIrpHandler* FxDevice::m_PkgDefault |
Definition at line 673 of file fxdevice.hpp.
Referenced by GetDispatchPackage(), Initialize(), SetInitialState(), and ~FxDevice().
FxPkgGeneral* FxDevice::m_PkgGeneral |
Definition at line 671 of file fxdevice.hpp.
Referenced by __drv_strictTypeMatch(), FxRequest::CompleteInternal(), ControlDeviceInitialize(), CreateDevice(), DeleteObject(), FdoInitialize(), GetDispatchPackage(), Initialize(), PdoInitialize(), SetInitialState(), and ~FxDevice().
FxPkgIo* FxDevice::m_PkgIo |
Definition at line 669 of file fxdevice.hpp.
Referenced by __drv_strictTypeMatch(), GetDispatchPackage(), FxIoTargetSelf::GetDispatchQueue(), Initialize(), FxPkgGeneral::OnCleanup(), FxPkgPnp::PnpCleanupForRemove(), FxPkgPnp::PnpEventRemovedCommonCode(), FxPkgGeneral::PostCreateDeviceInitialize(), FxPkgPnp::PowerGotoDx(), FxIoTargetSelf::Send(), SetFilter(), SetInitialState(), and ~FxDevice().
FxPkgPnp* FxDevice::m_PkgPnp |
Definition at line 670 of file fxdevice.hpp.
Referenced by _Create(), FxPkgPdo::_PnpQueryBusInformation(), AddChildList(), AddDmaEnabler(), AllocateDmaEnablerList(), AllocateEnumInfo(), FxInterrupt::ConnectInternal(), FxInterrupt::CreateWakeInterruptMachine(), DeleteDeviceFromFailedCreateNoDelete(), FxInterrupt::DeleteObject(), FxInterrupt::DisconnectInternal(), FxChildList::DrainFreeListHead(), FdoInitialize(), FxIoQueue::FxIoQueue(), GetDispatchPackage(), GetFdoPkg(), GetPdoPkg(), GetTranslatedResources(), if(), FxInterrupt::Initialize(), IsFdo(), IsInterfaceRegistered(), IsPdo(), IsPnp(), PdoInitialize(), PoFxDevicePowerNotRequired(), PoFxDevicePowerRequired(), FxPkgPdo::PowerCheckParentOverload(), FxPkgPnp::PowerMakeWakeRequestNonCancelable(), FxPkgPdo::PowerNotifyParentChildWakeArmed(), FxPkgPdo::PowerNotifyParentChildWakeDisarmed(), FxPkgPdo::PowerParentPowerDereference(), ProcessWmiPowerQueryOrSetData(), RemoveChildList(), RemoveDmaEnabler(), FxInterrupt::ReportActive(), FxInterrupt::ReportInactive(), ResumeIdleWorker(), SetFilter(), SetInitialState(), FxIoQueue::SetTransitionFromEmpty(), StopIdleWorker(), and ~FxDevice().
FxWmiIrpHandler* FxDevice::m_PkgWmi |
Definition at line 672 of file fxdevice.hpp.
Referenced by FxWmiProvider::_Create(), DeleteObject(), Dispose(), GetDispatchPackage(), SetInitialState(), and ~FxDevice().
|
private |
Definition at line 530 of file fxdevice.hpp.
Referenced by CreateDevice(), FdoInitialize(), IsPowerPageableCapable(), and SetInitialState().
LIST_ENTRY FxDevice::m_PreprocessInfoListHead |
Definition at line 630 of file fxdevice.hpp.
Referenced by _Create(), SetInitialState(), and ~FxDevice().
Definition at line 563 of file fxdevice.hpp.
Referenced by CreateDevice().
|
private |
Definition at line 514 of file fxdevice.hpp.
Referenced by CreateDevice(), GetIoType(), GetIoTypeForReadWriteBufferAccess(), GetPreferredRWTransferMode(), SetFilterIoType(), and SetInitialState().
WDF_REGISTER_ACCESS_MODE_TYPE FxDevice::m_RegisterAccessMode |
Definition at line 783 of file fxdevice.hpp.
Referenced by AreRegistersMappedToUsermode(), RetrieveDeviceRegistrySettings(), and SetInitialState().
|
protected |
Definition at line 659 of file fxdevice.hpp.
Referenced by AllocateRequestMemory(), GetRequestAttributes(), Initialize(), and SetInitialState().
|
protected |
Definition at line 648 of file fxdevice.hpp.
Referenced by AllocateRequestMemory(), FreeRequestMemory(), Initialize(), SetInitialState(), and ~FxDevice().
|
protected |
Definition at line 653 of file fxdevice.hpp.
Referenced by AllocateRequestMemory(), Initialize(), SetInitialState(), and ~FxDevice().
UMINT::WDF_DEVICE_IO_BUFFER_RETRIEVAL FxDevice::m_RetrievalMode |
Definition at line 770 of file fxdevice.hpp.
Referenced by GetRetrievalMode(), and SetInitialState().
BOOLEAN FxDevice::m_SelfIoTargetNeeded |
Definition at line 611 of file fxdevice.hpp.
Referenced by _Create(), Initialize(), FxPkgFdo::PostCreateDeviceInitialize(), and SetInitialState().
UNICODE_STRING FxDevice::m_SymbolicLinkName |
Definition at line 580 of file fxdevice.hpp.
Referenced by CreateSymbolicLink(), DeleteSymbolicLink(), SetInitialState(), and ~FxDevice().