ReactOS 0.4.16-dev-197-g92996da
|
#include <fxdmatransaction.hpp>
Protected Member Functions | |
virtual VOID | Reuse (VOID) |
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 | |
static PVOID | GetStartVaFromOffset (__in PMDL Mdl, __in size_t Offset) |
Static Protected Member Functions inherited from FxObject | |
static PVOID | _GetBase (__in FxObject *Object) |
Friends | |
class | FxDmaEnabler |
Definition at line 86 of file fxdmatransaction.hpp.
FxDmaTransactionBase::FxDmaTransactionBase | ( | __in PFX_DRIVER_GLOBALS | FxDriverGlobals, |
__in USHORT | ObjectSize, | ||
__in USHORT | ExtraSize, | ||
__in FxDmaEnabler * | DmaEnabler | ||
) |
Definition at line 30 of file fxdmatransaction.cpp.
|
static |
Definition at line 633 of file fxdmatransaction.cpp.
Referenced by FxDmaScatterGatherTransaction::InitializeResources(), FxDmaPacketTransaction::ReserveAdapter(), and FxDmaScatterGatherTransaction::StageTransfer().
|
static |
Definition at line 562 of file fxdmatransaction.cpp.
Referenced by FxDmaScatterGatherTransaction::InitializeResources(), and FxDmaScatterGatherTransaction::StageTransfer().
Definition at line 514 of file fxdmatransaction.cpp.
Definition at line 308 of file fxdmatransaction.hpp.
Referenced by Dispose(), and ReleaseForReuse().
Reimplemented from FxObject.
Reimplemented in FxDmaScatterGatherTransaction.
Definition at line 74 of file fxdmatransaction.cpp.
Referenced by FxDmaScatterGatherTransaction::Dispose().
BOOLEAN FxDmaTransactionBase::DmaCompleted | ( | __in size_t | TransferredLength, |
__out NTSTATUS * | ReturnStatus, | ||
__in FxDmaCompletionType | CompletionType | ||
) |
Definition at line 252 of file fxdmatransaction.cpp.
_Must_inspect_result_ NTSTATUS FxDmaTransactionBase::Execute | ( | __in PVOID | Context | ) |
Definition at line 187 of file fxdmatransaction.cpp.
Definition at line 197 of file fxdmatransaction.hpp.
Definition at line 340 of file fxdmatransaction.hpp.
|
inline |
Definition at line 206 of file fxdmatransaction.hpp.
Referenced by FxDmaPacketTransaction::_AdapterControl(), and if().
|
inline |
Definition at line 349 of file fxdmatransaction.hpp.
Referenced by FxDmaPacketTransaction::_AdapterControl(), FxDmaScatterGatherTransaction::_AdapterListControl(), and FxDmaScatterGatherTransaction::_Create().
Definition at line 320 of file fxdmatransaction.hpp.
Definition at line 215 of file fxdmatransaction.hpp.
|
inlinestaticprotected |
Definition at line 481 of file fxdmatransaction.hpp.
Referenced by _CalculateRequiredMapRegisters(), FxDmaScatterGatherTransaction::BuildScatterGatherList(), FxDmaPacketTransaction::FlushAdapterBuffers(), FxDmaScatterGatherTransaction::GetScatterGatherList(), FxDmaPacketTransaction::MapTransfer(), and FxDmaPacketTransaction::StartTransfer().
|
inline |
Definition at line 375 of file fxdmatransaction.hpp.
Definition at line 357 of file fxdmatransaction.hpp.
VOID FxDmaTransactionBase::GetTransferInfo | ( | __out_opt ULONG * | MapRegisterCount, |
__out_opt ULONG * | ScatterGatherElementCount | ||
) |
Definition at line 2331 of file fxdmatransaction.cpp.
_Must_inspect_result_ NTSTATUS FxDmaTransactionBase::Initialize | ( | __in PFN_WDF_PROGRAM_DMA | ProgramDmaFunction, |
__in WDF_DMA_DIRECTION | DmaDirection, | ||
__in PMDL | Mdl, | ||
__in size_t | Offset, | ||
__in ULONG | Length | ||
) |
Definition at line 112 of file fxdmatransaction.cpp.
|
pure virtual |
Implemented in FxDmaScatterGatherTransaction, and FxDmaPacketTransaction.
Referenced by Initialize().
Definition at line 229 of file fxdmatransaction.hpp.
Referenced by ClearRequest(), ReferenceRequest(), and ReleaseButRetainRequest().
Definition at line 254 of file fxdmatransaction.hpp.
Referenced by Execute().
Definition at line 284 of file fxdmatransaction.hpp.
Referenced by CancelResourceAllocation(), ClearRequest(), DmaCompleted(), Execute(), and FxDmaPacketTransaction::ReserveAdapter().
Definition at line 418 of file fxdmatransaction.cpp.
Referenced by Initialize(), FxDmaPacketTransaction::ReleaseAdapter(), and FxDmaPacketTransaction::ReserveAdapter().
Implemented in FxDmaScatterGatherTransaction, and FxDmaPacketTransaction.
Referenced by Dispose(), DmaCompleted(), and ReleaseForReuse().
Reimplemented in FxDmaPacketTransaction, and FxDmaSystemTransaction.
Definition at line 491 of file fxdmatransaction.hpp.
Definition at line 487 of file fxdmatransaction.cpp.
|
inline |
Definition at line 329 of file fxdmatransaction.hpp.
Definition at line 238 of file fxdmatransaction.hpp.
|
pure virtual |
Implemented in FxDmaScatterGatherTransaction, and FxDmaPacketTransaction.
Referenced by DmaCompleted().
|
pure virtual |
Implemented in FxDmaScatterGatherTransaction, and FxDmaPacketTransaction.
Referenced by Execute().
|
pure virtual |
Implemented in FxDmaScatterGatherTransaction, and FxDmaPacketTransaction.
Referenced by DmaCompleted().
|
friend |
Definition at line 88 of file fxdmatransaction.hpp.
|
protected |
Definition at line 395 of file fxdmatransaction.hpp.
Referenced by FxDmaPacketTransaction::AllocateAdapterChannel(), FxDmaScatterGatherTransaction::BuildScatterGatherList(), FxDmaSystemTransaction::CancelMappedTransfer(), CancelResourceAllocation(), FxDmaPacketTransaction::FlushAdapterBuffers(), FxDmaPacketTransaction::FreeMapRegistersAndAdapter(), FxDmaSystemTransaction::FreeMapRegistersAndAdapter(), FxDmaScatterGatherTransaction::GetScatterGatherList(), GetTransferInfo(), Initialize(), FxDmaScatterGatherTransaction::InitializeResources(), FxDmaPacketTransaction::MapTransfer(), FxDmaScatterGatherTransaction::PutScatterGatherList(), FxDmaScatterGatherTransaction::ReleaseResources(), FxDmaPacketTransaction::ReleaseResources(), FxDmaPacketTransaction::ReserveAdapter(), FxDmaScatterGatherTransaction::StageTransfer(), and FxDmaPacketTransaction::StartTransfer().
|
protected |
Definition at line 470 of file fxdmatransaction.hpp.
Referenced by DmaCompleted(), Execute(), FxDmaPacketTransaction::FlushAdapterBuffers(), FxDmaTransactionBase(), GetCurrentFragmentLength(), FxDmaPacketTransaction::MapTransfer(), FxDmaSystemTransaction::PreMapTransfer(), ReleaseForReuse(), FxDmaScatterGatherTransaction::StageTransfer(), FxDmaPacketTransaction::StageTransfer(), FxDmaScatterGatherTransaction::StartTransfer(), and FxDmaPacketTransaction::StartTransfer().
|
protected |
Definition at line 432 of file fxdmatransaction.hpp.
Referenced by FxDmaPacketTransaction::FlushAdapterBuffers(), FxDmaTransactionBase(), Initialize(), FxDmaPacketTransaction::MapTransfer(), FxDmaSystemTransaction::PreMapTransfer(), ReleaseForReuse(), FxDmaPacketTransaction::ReserveAdapter(), FxDmaScatterGatherTransaction::StageTransfer(), FxDmaPacketTransaction::StageTransfer(), FxDmaScatterGatherTransaction::StartTransfer(), and FxDmaPacketTransaction::StartTransfer().
|
protected |
Definition at line 443 of file fxdmatransaction.hpp.
Referenced by FxDmaPacketTransaction::FlushAdapterBuffers(), FxDmaTransactionBase(), Initialize(), FxDmaPacketTransaction::MapTransfer(), FxDmaSystemTransaction::PreMapTransfer(), ReleaseForReuse(), FxDmaPacketTransaction::ReserveAdapter(), FxDmaScatterGatherTransaction::StageTransfer(), FxDmaPacketTransaction::StageTransfer(), FxDmaScatterGatherTransaction::StartTransfer(), and FxDmaPacketTransaction::StartTransfer().
|
protected |
Definition at line 414 of file fxdmatransaction.hpp.
Referenced by FxDmaPacketTransaction::_AdapterControl(), FxDmaScatterGatherTransaction::_AdapterListControl(), Execute(), FxDmaTransactionBase(), ReleaseForReuse(), FxDmaPacketTransaction::ReserveAdapter(), and FxDmaPacketTransaction::StageTransfer().
|
protected |
Definition at line 413 of file fxdmatransaction.hpp.
Referenced by FxDmaPacketTransaction::_AdapterControl(), FxDmaScatterGatherTransaction::_AdapterListControl(), FxDmaTransactionBase(), Initialize(), ReleaseForReuse(), FxDmaPacketTransaction::ReserveAdapter(), and FxDmaPacketTransaction::StageTransfer().
|
protected |
Definition at line 386 of file fxdmatransaction.hpp.
Referenced by FxDmaScatterGatherTransaction::_AdapterListControl(), FxDmaScatterGatherTransaction::BuildScatterGatherList(), FxDmaSystemTransaction::CallEvtDmaCompleted(), FxDmaPacketTransaction::FlushAdapterBuffers(), FxDmaTransactionBase(), FxDmaScatterGatherTransaction::GetScatterGatherList(), Initialize(), FxDmaPacketTransaction::MapTransfer(), FxDmaScatterGatherTransaction::PutScatterGatherList(), FxDmaPacketTransaction::ReserveAdapter(), and FxDmaPacketTransaction::StageTransfer().
|
protected |
Definition at line 388 of file fxdmatransaction.hpp.
Referenced by FxDmaScatterGatherTransaction::_AdapterListControl(), FxDmaPacketTransaction::AcquireDevice(), FxDmaPacketTransaction::AllocateAdapterChannel(), FxDmaScatterGatherTransaction::BuildScatterGatherList(), FxDmaSystemTransaction::CallEvtDmaCompleted(), FxDmaSystemTransaction::CancelMappedTransfer(), CancelResourceAllocation(), FxDmaScatterGatherTransaction::Dispose(), FxDmaPacketTransaction::FlushAdapterBuffers(), FxDmaTransactionBase(), GetDmaEnabler(), FxDmaScatterGatherTransaction::GetScatterGatherList(), GetTransferInfo(), Initialize(), FxDmaScatterGatherTransaction::InitializeResources(), FxDmaPacketTransaction::MapTransfer(), FxDmaSystemTransaction::PreMapTransfer(), FxDmaPacketTransaction::ReleaseDevice(), FxDmaPacketTransaction::ReserveAdapter(), FxDmaScatterGatherTransaction::StageTransfer(), FxDmaPacketTransaction::StageTransfer(), and FxDmaPacketTransaction::StartTransfer().
|
protected |
Definition at line 402 of file fxdmatransaction.hpp.
Referenced by CancelResourceAllocation(), ClearRequest(), Dispose(), DmaCompleted(), Execute(), FxDmaTransactionBase(), GetRequest(), IsRequestReferenced(), ReferenceRequest(), ReleaseButRetainRequest(), ReleaseForReuse(), FxDmaPacketTransaction::ReserveAdapter(), and SetRequest().
|
protected |
Definition at line 477 of file fxdmatransaction.hpp.
Referenced by FxDmaPacketTransaction::AllocateAdapterChannel(), FxDmaScatterGatherTransaction::BuildScatterGatherList(), FxDmaTransactionBase(), FxDmaScatterGatherTransaction::GetScatterGatherList(), ReleaseForReuse(), and SetImmediateExecution().
|
protected |
Definition at line 450 of file fxdmatransaction.hpp.
Referenced by FxDmaTransactionBase(), GetMaximumFragmentLength(), Initialize(), FxDmaScatterGatherTransaction::InitializeResources(), ReleaseForReuse(), SetMaximumFragmentLength(), FxDmaScatterGatherTransaction::StageTransfer(), FxDmaPacketTransaction::StageTransfer(), and FxDmaPacketTransaction::StartTransfer().
|
protected |
Definition at line 460 of file fxdmatransaction.hpp.
Referenced by DmaCompleted(), FxDmaTransactionBase(), Initialize(), ReleaseForReuse(), FxDmaPacketTransaction::ReserveAdapter(), FxDmaScatterGatherTransaction::StageTransfer(), FxDmaPacketTransaction::StageTransfer(), and FxDmaPacketTransaction::StartTransfer().
|
protected |
Definition at line 424 of file fxdmatransaction.hpp.
Referenced by FxDmaTransactionBase(), GetTransferInfo(), Initialize(), FxDmaScatterGatherTransaction::InitializeResources(), ReleaseForReuse(), FxDmaPacketTransaction::ReserveAdapter(), FxDmaPacketTransaction::StageTransfer(), FxDmaScatterGatherTransaction::StartTransfer(), and FxDmaPacketTransaction::StartTransfer().
|
protected |
Definition at line 438 of file fxdmatransaction.hpp.
Referenced by FxDmaTransactionBase(), GetTransferInfo(), Initialize(), FxDmaScatterGatherTransaction::InitializeResources(), ReleaseForReuse(), FxDmaPacketTransaction::ReserveAdapter(), FxDmaPacketTransaction::StageTransfer(), FxDmaScatterGatherTransaction::StartTransfer(), and FxDmaPacketTransaction::StartTransfer().
|
protected |
Definition at line 384 of file fxdmatransaction.hpp.
Referenced by FxDmaPacketTransaction::_AdapterControl(), CancelResourceAllocation(), Dispose(), DmaCompleted(), Execute(), FxDmaTransactionBase(), GetTransactionState(), GetTransferInfo(), Initialize(), FxDmaPacketTransaction::ReleaseAdapter(), ReleaseForReuse(), FxDmaPacketTransaction::ReserveAdapter(), SetImmediateExecution(), FxDmaPacketTransaction::StartTransfer(), and FxDmaSystemTransaction::StopTransfer().
|
protected |
Definition at line 455 of file fxdmatransaction.hpp.
Referenced by DmaCompleted(), FxDmaTransactionBase(), GetTransferInfo(), Initialize(), FxDmaScatterGatherTransaction::InitializeResources(), ReleaseForReuse(), FxDmaPacketTransaction::ReserveAdapter(), and FxDmaPacketTransaction::StartTransfer().
|
protected |
Definition at line 419 of file fxdmatransaction.hpp.
Referenced by FxDmaTransactionBase(), and GetTransferContext().
|
protected |
Definition at line 465 of file fxdmatransaction.hpp.
Referenced by DmaCompleted(), Execute(), FxDmaTransactionBase(), GetBytesTransferred(), ReleaseForReuse(), FxDmaPacketTransaction::StageTransfer(), and FxDmaScatterGatherTransaction::StartTransfer().