ReactOS 0.4.16-dev-2-g02a6913
|
#include <fxtransactionedlist.hpp>
Public Member Functions | |
FxTransactionedList () | |
~FxTransactionedList () | |
VOID | LockForEnum (__in PFX_DRIVER_GLOBALS FxDriverGlobals) |
VOID | UnlockFromEnum (__in PFX_DRIVER_GLOBALS FxDriverGlobals) |
NTSTATUS | Add (__in PFX_DRIVER_GLOBALS FxDriverGlobals, __in FxTransactionedEntry *Entry) |
VOID | Remove (__in PFX_DRIVER_GLOBALS FxDriverGlobals, __in FxTransactionedEntry *Entry) |
_Must_inspect_result_ FxTransactionedEntry * | GetNextEntry (__in_opt FxTransactionedEntry *Entry) |
BOOLEAN | Deleting (__in PFX_DRIVER_GLOBALS FxDriverGlobals, __in_opt MxEvent *DeleteDoneEvent) |
Public Member Functions inherited from FxStump | |
PVOID | operator new (__in size_t Size, __in PFX_DRIVER_GLOBALS FxDriverGlobals) |
PVOID | operator new (__in size_t Size, __in PFX_DRIVER_GLOBALS FxDriverGlobals, __in POOL_TYPE PoolType) |
VOID | operator delete (__in PVOID pointer) |
PVOID | operator new[] (__in size_t Size, __in PFX_DRIVER_GLOBALS FxDriverGlobals) |
VOID | operator delete[] (__in PVOID pointer) |
Protected Member Functions | |
virtual VOID | AcquireLock (__in PFX_DRIVER_GLOBALS FxDriverGlobals, __out PKIRQL Irql)=0 |
virtual VOID | ReleaseLock (__in PFX_DRIVER_GLOBALS FxDriverGlobals, __in KIRQL Irql)=0 |
virtual _Must_inspect_result_ NTSTATUS | ProcessAdd (__in FxTransactionedEntry *Entry) |
virtual VOID | EntryAdded (__in FxTransactionedEntry *Entry) |
virtual VOID | EntryRemoved (__in FxTransactionedEntry *Entry) |
virtual BOOLEAN | Compare (__in FxTransactionedEntry *Entry, __in PVOID Data) |
VOID | SearchForAndRemove (__in PFX_DRIVER_GLOBALS FxDriverGlobals, __in PVOID EntryData) |
_Must_inspect_result_ FxTransactionedEntry * | GetNextEntryLocked (__in_opt FxTransactionedEntry *Entry) |
BOOLEAN | RemoveLocked (__in FxTransactionedEntry *Entry) |
VOID | ProcessTransactionList (__in PLIST_ENTRY ReleaseHead) |
VOID | ProcessObjectsToRelease (__in PLIST_ENTRY ReleaseHead) |
Protected Member Functions inherited from FxStump | |
FxStump (VOID) | |
Protected Attributes | |
LIST_ENTRY | m_ListHead |
LIST_ENTRY | m_TransactionHead |
MxEvent * | m_DeletingDoneEvent |
ULONG | m_ListLockedRecursionCount |
BOOLEAN | m_DeleteOnRemove |
BOOLEAN | m_Deleting |
UCHAR | m_Retries |
Definition at line 90 of file fxtransactionedlist.hpp.
FxTransactionedList::FxTransactionedList | ( | ) |
Definition at line 29 of file fxtransactionedlist.cpp.
FxTransactionedList::~FxTransactionedList | ( | ) |
Definition at line 41 of file fxtransactionedlist.cpp.
|
protectedpure virtual |
Referenced by Add(), Deleting(), LockForEnum(), Remove(), SearchForAndRemove(), and UnlockFromEnum().
_Must_inspect_result_ NTSTATUS FxTransactionedList::Add | ( | __in PFX_DRIVER_GLOBALS | FxDriverGlobals, |
__in FxTransactionedEntry * | Entry | ||
) |
Definition at line 263 of file fxtransactionedlist.cpp.
Referenced by FxRelatedDeviceList::Add(), FxPkgPnp::AddChildList(), FxPkgPnp::AddDmaEnabler(), and FxDevice::AddIoTarget().
|
inlineprotectedvirtual |
Reimplemented in FxRelatedDeviceList.
Definition at line 177 of file fxtransactionedlist.hpp.
Referenced by SearchForAndRemove().
BOOLEAN FxTransactionedList::Deleting | ( | __in PFX_DRIVER_GLOBALS | FxDriverGlobals, |
__in_opt MxEvent * | DeleteDoneEvent | ||
) |
Definition at line 238 of file fxtransactionedlist.cpp.
|
inlineprotectedvirtual |
Definition at line 159 of file fxtransactionedlist.hpp.
Referenced by Add(), and ProcessTransactionList().
|
inlineprotectedvirtual |
Reimplemented in FxRelatedDeviceList.
Definition at line 168 of file fxtransactionedlist.hpp.
Referenced by ProcessTransactionList(), and RemoveLocked().
_Must_inspect_result_ FxTransactionedEntry * FxTransactionedList::GetNextEntry | ( | __in_opt FxTransactionedEntry * | Entry | ) |
Definition at line 432 of file fxtransactionedlist.cpp.
Referenced by FxPkgPnp::ChildListNotifyRemove(), FxRelatedDeviceList::GetNextEntry(), FxPkgPnp::NotifyResourceobjectsToReleaseResources(), FxPkgPnp::PnpEventSurpriseRemovePendingOverload(), FxPkgPnp::PowerDmaEnableAndScan(), FxPkgPnp::PowerPolicyDisarmWakeFromSx(), FxPkgPnp::PowerPolicyPostParentToD0ToChildren(), and FxDevice::SetFilterIoType().
|
protected |
Definition at line 458 of file fxtransactionedlist.cpp.
Referenced by GetNextEntry(), FxRelatedDeviceList::ProcessAdd(), and SearchForAndRemove().
VOID FxTransactionedList::LockForEnum | ( | __in PFX_DRIVER_GLOBALS | FxDriverGlobals | ) |
Definition at line 117 of file fxtransactionedlist.cpp.
Referenced by FxPkgPnp::ChildListNotifyRemove(), FxRelatedDeviceList::LockForEnum(), FxPkgPnp::NotifyResourceobjectsToReleaseResources(), FxPkgPnp::PnpEventSurpriseRemovePendingOverload(), FxPkgPnp::PowerDmaEnableAndScan(), FxPkgPnp::PowerPolicyDisarmWakeFromSx(), FxPkgPnp::PowerPolicyPostParentToD0ToChildren(), and FxDevice::SetFilterIoType().
|
inlineprotectedvirtual |
Reimplemented in FxRelatedDeviceList.
Definition at line 148 of file fxtransactionedlist.hpp.
Referenced by Add().
|
protected |
Definition at line 209 of file fxtransactionedlist.cpp.
Referenced by UnlockFromEnum().
|
protected |
Definition at line 157 of file fxtransactionedlist.cpp.
Referenced by UnlockFromEnum().
|
protectedpure virtual |
Referenced by Add(), Deleting(), LockForEnum(), Remove(), SearchForAndRemove(), and UnlockFromEnum().
VOID FxTransactionedList::Remove | ( | __in PFX_DRIVER_GLOBALS | FxDriverGlobals, |
__in FxTransactionedEntry * | Entry | ||
) |
Definition at line 364 of file fxtransactionedlist.cpp.
Referenced by FxPkgPnp::RemoveChildList(), FxPkgPnp::RemoveDmaEnabler(), and FxDevice::RemoveIoTarget().
|
protected |
Definition at line 382 of file fxtransactionedlist.cpp.
Referenced by Remove(), and SearchForAndRemove().
|
protected |
Definition at line 304 of file fxtransactionedlist.cpp.
Referenced by FxRelatedDeviceList::Remove().
VOID FxTransactionedList::UnlockFromEnum | ( | __in PFX_DRIVER_GLOBALS | FxDriverGlobals | ) |
Definition at line 129 of file fxtransactionedlist.cpp.
Referenced by FxPkgPnp::ChildListNotifyRemove(), FxPkgPnp::NotifyResourceobjectsToReleaseResources(), FxPkgPnp::PnpEventSurpriseRemovePendingOverload(), FxPkgPnp::PowerDmaEnableAndScan(), FxPkgPnp::PowerPolicyDisarmWakeFromSx(), FxPkgPnp::PowerPolicyPostParentToD0ToChildren(), FxDevice::SetFilterIoType(), and FxRelatedDeviceList::UnlockFromEnum().
|
protected |
Definition at line 224 of file fxtransactionedlist.hpp.
Referenced by FxRelatedDeviceList::FxRelatedDeviceList(), FxTransactionedList(), ProcessObjectsToRelease(), Remove(), SearchForAndRemove(), and ~FxTransactionedList().
|
protected |
Definition at line 226 of file fxtransactionedlist.hpp.
Referenced by Add(), Deleting(), FxTransactionedList(), GetNextEntry(), and UnlockFromEnum().
|
protected |
Definition at line 220 of file fxtransactionedlist.hpp.
Referenced by Deleting(), FxTransactionedList(), and UnlockFromEnum().
|
protected |
Definition at line 216 of file fxtransactionedlist.hpp.
Referenced by Add(), FxTransactionedList(), GetNextEntryLocked(), ProcessTransactionList(), and ~FxTransactionedList().
|
protected |
Definition at line 222 of file fxtransactionedlist.hpp.
Referenced by Add(), Deleting(), FxTransactionedList(), GetNextEntry(), LockForEnum(), ProcessTransactionList(), RemoveLocked(), UnlockFromEnum(), and ~FxTransactionedList().
|
protected |
Definition at line 233 of file fxtransactionedlist.hpp.
Referenced by FxTransactionedList(), FxRelatedDeviceList::IncrementRetries(), and FxRelatedDeviceList::ZeroRetries().
|
protected |
Definition at line 218 of file fxtransactionedlist.hpp.
Referenced by Add(), FxTransactionedList(), FxRelatedDeviceList::ProcessAdd(), ProcessTransactionList(), RemoveLocked(), SearchForAndRemove(), and ~FxTransactionedList().