ReactOS 0.4.16-dev-197-g92996da
|
#include "fxdmapch.hpp"
Go to the source code of this file.
_Must_inspect_result_ __drv_maxIRQL | ( | DISPATCH_LEVEL | ) |
_Must_inspect_result_ __in WDFDMATRANSACTION __in PFN_WDF_PROGRAM_DMA __in WDF_DMA_DIRECTION __in PMDL __in size_t __in __drv_when | ( | Length | = = 0 , |
__drv_reportError(Length cannot be zero) | |||
) |
Definition at line 377 of file fxdmatransactionapi.cpp.
__success | ( | TRUE | ) |
return pDmaTrans DmaCompleted | ( | 0 | , |
pStatus | , | ||
FxDmaCompletionTypeFull | |||
) |
return pDmaTrans DmaCompleted | ( | FinalTransferredLength | , |
pStatus | , | ||
FxDmaCompletionTypeAbort | |||
) |
return pDmaTrans DmaCompleted | ( | TransferredLength | , |
pStatus | , | ||
FxDmaCompletionTypePartial | |||
) |
FxObjectHandleGetPtr | ( | GetFxDriverGlobals(DriverGlobals) | , |
DmaTransaction | , | ||
FX_TYPE_DMA_TRANSACTION | , | ||
(PVOID *) & | pDmaTrans | ||
) |
FxObjectHandleGetPtr | ( | pFxDriverGlobals | , |
Request | , | ||
FX_TYPE_REQUEST | , | ||
(PVOID *) & | pReqObj | ||
) |
Referenced by __success().
FxObjectHandleGetPtrAndGlobals | ( | GetFxDriverGlobals(DriverGlobals) | , |
DmaEnabler | , | ||
FX_TYPE_DMA_ENABLER | , | ||
(PVOID *) & | pDmaEnabler, | ||
& | pFxDriverGlobals | ||
) |
FxObjectHandleGetPtrAndGlobals | ( | GetFxDriverGlobals(DriverGlobals) | , |
DmaTransaction | , | ||
FX_TYPE_DMA_TRANSACTION | , | ||
(PVOID *) & | pDmaTrans, | ||
& | pFxDriverGlobals | ||
) |
FxPointerNotNull | ( | pFxDriverGlobals | , |
DmaTransactionHandle | |||
) |
FxPointerNotNull | ( | pFxDriverGlobals | , |
EvtProgramDmaFunction | |||
) |
FxPointerNotNull | ( | pFxDriverGlobals | , |
EvtReserveDmaFunction | |||
) |
Referenced by FxDmaPacketTransaction::StageTransfer().
Referenced by FxDmaPacketTransaction::AllocateAdapterChannel(), FxDmaScatterGatherTransaction::BuildScatterGatherList(), FxDmaSystemTransaction::CancelMappedTransfer(), FxDmaTransactionBase::CancelResourceAllocation(), FxDmaScatterGatherTransaction::GetScatterGatherList(), FxDmaTransactionBase::Initialize(), and FxDmaPacketTransaction::ReserveAdapter().
pDmaTrans GetTransferInfo | ( | MapRegisterCount | , |
ScatterGatherElementCount | |||
) |
if | ( | ! | NT_SUCCESSstatus | ) |
Definition at line 67 of file fxdmatransactionapi.cpp.
if | ( | (profile !=WdfDmaProfilePacket) &&(profile !=WdfDmaProfilePacket64) &&(profile !=WdfDmaProfileSystem) &&(profile !=WdfDmaProfileSystemDuplex) | ) |
Definition at line 1072 of file fxdmatransactionapi.cpp.
if | ( | (profile !=WdfDmaProfileSystem) &&(profile !=WdfDmaProfileSystemDuplex) | ) |
Definition at line 790 of file fxdmatransactionapi.cpp.
if | ( | (state==FxDmaTransactionStateInvalid)||(state==FxDmaTransactionStateCreated)||(state==FxDmaTransactionStateReleased)||(state==FxDmaTransactionStateDeleted) | ) |
Definition at line 939 of file fxdmatransactionapi.cpp.
if | ( | DmaDirection ! | = WdfDmaDirectionReadFromDevice && DmaDirection != WdfDmaDirectionWriteToDevice | ) |
Definition at line 142 of file fxdmatransactionapi.cpp.
Definition at line 317 of file fxdmatransactionapi.cpp.
Definition at line 926 of file fxdmatransactionapi.cpp.
Definition at line 716 of file fxdmatransactionapi.cpp.
if | ( | reqLength | = = 0 | ) |
Definition at line 303 of file fxdmatransactionapi.cpp.
pDmaTrans ReleaseAdapter | ( | ) |
systemTransaction SetConfigureChannelCallback | ( | ConfigureRoutine | , |
ConfigureContext | |||
) |
systemTransaction SetDeviceAddressOffset | ( | Offset | ) |
pDmaTrans SetImmediateExecution | ( | UseImmediateExecution | ) |
pDmaTrans SetMaximumFragmentLength | ( | MaximumLength | ) |
systemTransaction SetTransferCompleteCallback | ( | DmaCompletionRoutine | , |
DmaCompletionContext | |||
) |
systemTransaction StopTransfer | ( | ) |
switch | ( | pDmaEnabler-> | GetProfile() | ) |
Definition at line 71 of file fxdmatransactionapi.cpp.
switch | ( | stack-> | MajorFunction | ) |
Definition at line 165 of file fxdmatransactionapi.cpp.
_Must_inspect_result_ __in WDFDMAENABLER __in_opt WDF_OBJECT_ATTRIBUTES* Attributes |
Definition at line 44 of file fxdmatransactionapi.cpp.
__in WDFDMATRANSACTION __in_opt PFN_WDF_DMA_TRANSACTION_CONFIGURE_DMA_CHANNEL __in_opt PVOID ConfigureContext |
Definition at line 773 of file fxdmatransactionapi.cpp.
__in WDFDMATRANSACTION __in_opt PFN_WDF_DMA_TRANSACTION_CONFIGURE_DMA_CHANNEL ConfigureRoutine |
Definition at line 771 of file fxdmatransactionapi.cpp.
_Must_inspect_result_ __in WDFDMATRANSACTION __in_opt WDFCONTEXT Context |
Definition at line 529 of file fxdmatransactionapi.cpp.
__in WDFDMATRANSACTION __in_opt PFN_WDF_DMA_TRANSACTION_DMA_TRANSFER_COMPLETE __in_opt PVOID DmaCompletionContext |
Definition at line 822 of file fxdmatransactionapi.cpp.
__in WDFDMATRANSACTION __in_opt PFN_WDF_DMA_TRANSACTION_DMA_TRANSFER_COMPLETE DmaCompletionRoutine |
Definition at line 820 of file fxdmatransactionapi.cpp.
__in WDFDMATRANSACTION __in WDF_DMA_DIRECTION DmaDirection |
Definition at line 123 of file fxdmatransactionapi.cpp.
Referenced by __drv_when().
_Must_inspect_result_ __in WDFDMAENABLER DmaEnabler |
Definition at line 42 of file fxdmatransactionapi.cpp.
__in WDFDMATRANSACTION DmaTransaction |
Definition at line 117 of file fxdmatransactionapi.cpp.
Referenced by __drv_when().
* DmaTransactionHandle |
Definition at line 46 of file fxdmatransactionapi.cpp.
Referenced by switch().
else |
Definition at line 719 of file fxdmatransactionapi.cpp.
_Must_inspect_result_ __in WDFDMATRANSACTION __in PFN_WDF_PROGRAM_DMA EvtProgramDmaFunction |
Definition at line 121 of file fxdmatransactionapi.cpp.
Referenced by __drv_when().
__in WDFDMATRANSACTION __in WDF_DMA_DIRECTION __in ULONG __in PFN_WDF_RESERVE_DMA __in PVOID EvtReserveDmaContext |
Definition at line 1035 of file fxdmatransactionapi.cpp.
__in WDFDMATRANSACTION __in WDF_DMA_DIRECTION __in ULONG __in PFN_WDF_RESERVE_DMA EvtReserveDmaFunction |
Definition at line 1033 of file fxdmatransactionapi.cpp.
__in WDFDMATRANSACTION __in size_t FinalTransferredLength |
Definition at line 634 of file fxdmatransactionapi.cpp.
__in WDFDMATRANSACTION __out_opt ULONG* MapRegisterCount |
Definition at line 965 of file fxdmatransactionapi.cpp.
__in WDFDMATRANSACTION __in size_t MaximumLength |
Definition at line 684 of file fxdmatransactionapi.cpp.
Definition at line 129 of file fxdmatransactionapi.cpp.
Referenced by __attribute__(), FxDmaTransactionBase::_ComputeNextTransferAddress(), _Success_(), ClasspBuildDeviceMdl(), FreeBT_DispatchRead(), FreeBT_DispatchWrite(), FxDmaTransactionBase::GetTransferInfo(), if(), read_data(), FxDmaPacketTransaction::StageTransfer(), and switch().
_Must_inspect_result_ __in WDFDMATRANSACTION __in PFN_WDF_PROGRAM_DMA __in WDF_DMA_DIRECTION __in PMDL Mdl |
Definition at line 373 of file fxdmatransactionapi.cpp.
Referenced by __drv_when().
Definition at line 375 of file fxdmatransactionapi.cpp.
Referenced by __drv_when().
FxDmaEnabler* pDmaEnabler |
Definition at line 50 of file fxdmatransactionapi.cpp.
Referenced by switch().
FxDmaTransactionBase* pDmaTrans |
Definition at line 127 of file fxdmatransactionapi.cpp.
Referenced by __success(), and if().
PFX_DRIVER_GLOBALS pFxDriverGlobals |
Definition at line 51 of file fxdmatransactionapi.cpp.
FxRequest* pReqObj |
Definition at line 128 of file fxdmatransactionapi.cpp.
Referenced by switch().
Definition at line 707 of file fxdmatransactionapi.cpp.
Referenced by FxUsbDevice::_CleanupPipesRequests(), FxRequest::_Create(), FxRequest::_CreateForPackage(), FxUsbPipe::_FormatTransfer(), FxIoTarget::_RequestCancelled(), FxIoQueue::AllocateReservedRequest(), BaseMemAllocator_SetProperties(), FxIoQueue::CancelForDriver(), FxIoQueue::DispatchRequestToDriver(), FxIoTarget::DrainPendedRequestsLocked(), FxPkgIo::EnqueueRequest(), FxIoQueue::FlushByFileObject(), FxUsbPipeContinuousReader::FormatRepeater(), FxIoQueue::ForwardRequest(), FxRequest::GetNextRequest(), FxIrpQueue::GetNextRequest(), FxIoQueue::GetRequest(), FxIoTarget::GetSentRequestsListLocked(), FxUsbPipe::GotoStartState(), CMiniportDMusUARTStream::HandlePortParams(), if(), FxPkgGeneral::OnCreate(), FxIoQueue::PeekRequest(), FxIrpQueue::PeekRequest(), CMallocSpy::PreDidAlloc(), CHeapPtrListMallocSpy::PreDidAlloc(), CMallocSpy::PreFree(), CHeapPtrListMallocSpy::PreFree(), CMallocSpy::PreGetSize(), CHeapPtrListMallocSpy::PreGetSize(), CMallocSpy::PreRealloc(), CHeapPtrListMallocSpy::PreRealloc(), FxIoQueue::QueuePurge(), FxIoQueue::QueueRequest(), FxIoQueue::QueueRequestFromForward(), FxIoQueue::RequestCancelable(), FxIoQueue::Requeue(), SeclCreateProcessWithLogonW(), CKsAllocator::SetProperties(), FxUsbDevice::Start(), and ValidatePropertyRequest().
WDF_DMA_PROFILE profile = pDmaTrans->GetDmaEnabler()->GetProfile() |
Definition at line 789 of file fxdmatransactionapi.cpp.
Referenced by if().
Definition at line 577 of file fxdmatransactionapi.cpp.
Referenced by BitmapDecoderInfo_GetSigningStatus(), BitmapEncoderInfo_GetSigningStatus(), EnumJobsA(), FormatConverterInfo_GetSigningStatus(), INetCfgComponent_fnGetDeviceStatus(), PixelFormatInfo_GetSigningStatus(), PrintService(), PrintServiceStatus(), and Query().
reqLength = 0 |
Definition at line 131 of file fxdmatransactionapi.cpp.
_Must_inspect_result_ __in WDFDMATRANSACTION __in WDFREQUEST Request |
Definition at line 119 of file fxdmatransactionapi.cpp.
__in WDFDMATRANSACTION __in WDF_DMA_DIRECTION __in ULONG RequiredMapRegisters |
Definition at line 1031 of file fxdmatransactionapi.cpp.
return |
Definition at line 1168 of file fxdmatransactionapi.cpp.
Definition at line 967 of file fxdmatransactionapi.cpp.
Definition at line 130 of file fxdmatransactionapi.cpp.
FxDmaTransactionState state = pDmaTrans->GetTransactionState() |
Definition at line 937 of file fxdmatransactionapi.cpp.
Referenced by if().
Definition at line 63 of file fxdmatransactionapi.cpp.
return STATUS_SUCCESS |
Definition at line 356 of file fxdmatransactionapi.cpp.
FxDmaSystemTransaction * systemTransaction = (FxDmaSystemTransaction*) pDmaTrans |
Definition at line 807 of file fxdmatransactionapi.cpp.
Referenced by FxDmaPacketTransaction::_AdapterControl(), and FxDmaPacketTransaction::StageTransfer().
__in WDFDMATRANSACTION __in size_t TransferredLength |
Definition at line 604 of file fxdmatransactionapi.cpp.
__in WDFDMATRANSACTION __in BOOLEAN UseImmediateExecution |
Definition at line 994 of file fxdmatransactionapi.cpp.
_Must_inspect_result_ __in WDFDMATRANSACTION __in PFN_WDF_PROGRAM_DMA __in WDF_DMA_DIRECTION __in PMDL __in PVOID VirtualAddress |
Definition at line 415 of file fxdmatransactionapi.cpp.