|
ReactOS 0.4.17-dev-1281-g065abb3
|
#include <dmapool.h>

Classes | |
| struct | SizeClass |
Public Member Functions | |
| NTSTATUS | Create (_In_ XhciController *Controller) |
| NTSTATUS | Prepare () |
| VOID | Release () |
| VOID | D0Exit () |
| VOID | PostResetFlush () |
| VOID | OnHostLost () |
| VOID | Rebalance () |
| _IRQL_requires_max_ (DISPATCH_LEVEL) XhciDmaBuffer *Acquire(_In_ ULONG Size) | |
| _IRQL_requires_max_ (DISPATCH_LEVEL) NTSTATUS AcquireList(_In_ ULONG Size | |
| _IRQL_requires_max_ (DISPATCH_LEVEL) VOID Free(_In_ XhciDmaBuffer *Buffer) | |
| _IRQL_requires_max_ (DISPATCH_LEVEL) VOID FreeList(_Inout_ PLIST_ENTRY List) | |
| WDFDMAENABLER | DmaEnabler () const |
| PDMA_ADAPTER | DmaAdapter () const |
| ULONG | MaxDmaSize () const |
| ULONG | MapRegisterCount () const |
| _IRQL_requires_ (PASSIVE_LEVEL) VOID GrowthWork() | |
| _IRQL_requires_ (PASSIVE_LEVEL) VOID ReclaimWork() | |
| VOID | EnablerCleanup () |
Public Attributes | |
| _In_ ULONG | Count |
| _In_ ULONG _Inout_ PLIST_ENTRY | List |
Private Member Functions | |
| _IRQL_requires_ (PASSIVE_LEVEL) NTSTATUS CreateEnabler() | |
| SizeClass * | ClassForSize (_In_ ULONG Size) |
| _IRQL_requires_ (PASSIVE_LEVEL) VOID AddSegments(_Inout_ SizeClass *Class | |
| _IRQL_requires_max_ (DISPATCH_LEVEL) BOOLEAN Grab(_Inout_ SizeClass *Class | |
| _Requires_lock_held_ (m_Lock) BOOLEAN ReturnFree(_Inout_ XhciDmaBuffer *Buffer) | |
| _Requires_lock_held_ (m_Lock) VOID ShrinkClass(_Inout_ SizeClass *Class) | |
| _IRQL_requires_max_ (DISPATCH_LEVEL) VOID QueueGrowth() | |
| _IRQL_requires_ (PASSIVE_LEVEL) VOID Flush() | |
|
private |
|
private |
|
private |
| XhciCommonBuffer::_IRQL_requires_ | ( | PASSIVE_LEVEL | ) |
| XhciCommonBuffer::_IRQL_requires_ | ( | PASSIVE_LEVEL | ) |
|
private |
| XhciCommonBuffer::_IRQL_requires_max_ | ( | DISPATCH_LEVEL | ) |
Count zeroed buffers onto List (linked through Link); all or nothing.
| XhciCommonBuffer::_IRQL_requires_max_ | ( | DISPATCH_LEVEL | ) |
| XhciCommonBuffer::_IRQL_requires_max_ | ( | DISPATCH_LEVEL | ) |
|
private |
| XhciCommonBuffer::_IRQL_requires_max_ | ( | DISPATCH_LEVEL | ) |
Zeroed buffer of at least Size bytes, Size <= PAGE_SIZE. NULL when none can be had.
|
private |
|
private |
|
private |
Definition at line 273 of file dmapool.cpp.
| NTSTATUS XhciCommonBuffer::Create | ( | _In_ XhciController * | Controller | ) |
Referenced by XhciController::Initialize().
| VOID XhciCommonBuffer::D0Exit | ( | ) |
Referenced by XhciController::D0Exit().
| PDMA_ADAPTER XhciCommonBuffer::DmaAdapter | ( | ) | const |
ReadFromDevice adapter, used for both directions.
Definition at line 738 of file dmapool.cpp.
Referenced by XhciControlRing::BuildControlTd(), and XhciControlRing::ReleaseResources().
| WDFDMAENABLER XhciCommonBuffer::DmaEnabler | ( | ) | const |
Definition at line 732 of file dmapool.cpp.
| VOID XhciCommonBuffer::EnablerCleanup | ( | ) |
Definition at line 702 of file dmapool.cpp.
| ULONG XhciCommonBuffer::MapRegisterCount | ( | ) | const |
Definition at line 750 of file dmapool.cpp.
| ULONG XhciCommonBuffer::MaxDmaSize | ( | ) | const |
Definition at line 744 of file dmapool.cpp.
| VOID XhciCommonBuffer::OnHostLost | ( | ) |
Referenced by XhciController::RunRecovery().
| VOID XhciCommonBuffer::PostResetFlush | ( | ) |
Referenced by XhciController::InternalReset().
| NTSTATUS XhciCommonBuffer::Prepare | ( | ) |
Referenced by XhciController::PrepareHardware().
| VOID XhciCommonBuffer::Rebalance | ( | ) |
Driven by the controller watchdog.
Definition at line 655 of file dmapool.cpp.
Referenced by XhciController::WatchdogTick().
| VOID XhciCommonBuffer::Release | ( | ) |
Definition at line 227 of file dmapool.cpp.
Referenced by XhciController::ReleaseHardware().
Definition at line 50 of file dmapool.h.
Referenced by _IRQL_requires_max_().
|
private |
Definition at line 132 of file dmapool.h.
Referenced by DmaAdapter(), and EnablerCleanup().
|
private |
Definition at line 130 of file dmapool.h.
Referenced by _IRQL_requires_(), and EnablerCleanup().
|
private |
Definition at line 131 of file dmapool.h.
Referenced by _IRQL_requires_(), DmaEnabler(), and EnablerCleanup().
|
private |
Definition at line 151 of file dmapool.h.
Referenced by _IRQL_requires_().
|
private |
Definition at line 148 of file dmapool.h.
Referenced by EnablerCleanup().
|
private |
Definition at line 136 of file dmapool.h.
Referenced by EnablerCleanup().
|
private |
Definition at line 135 of file dmapool.h.
Referenced by _IRQL_requires_().
|
private |
Definition at line 140 of file dmapool.h.
Referenced by _IRQL_requires_(), _Requires_lock_held_(), ClassForSize(), EnablerCleanup(), and Rebalance().
|
private |
Definition at line 138 of file dmapool.h.
Referenced by _IRQL_requires_(), _IRQL_requires_max_(), and Rebalance().
|
private |
Definition at line 134 of file dmapool.h.
Referenced by MapRegisterCount().
|
private |
Definition at line 133 of file dmapool.h.
Referenced by MaxDmaSize().
|
private |
Definition at line 142 of file dmapool.h.
Referenced by _IRQL_requires_max_().
|
private |
Definition at line 146 of file dmapool.h.
Referenced by EnablerCleanup(), and Rebalance().
|
private |
Definition at line 144 of file dmapool.h.
Referenced by _IRQL_requires_(), EnablerCleanup(), and Rebalance().
|
private |
Definition at line 139 of file dmapool.h.
Referenced by _IRQL_requires_(), _Requires_lock_held_(), ClassForSize(), EnablerCleanup(), and Rebalance().
Definition at line 112 of file dmapool.h.
Referenced by _IRQL_requires_max_().
|
private |
Definition at line 111 of file dmapool.h.
Referenced by _IRQL_requires_max_().