25 Irp->IoStatus.Status = IrpStatus;
26 Irp->IoStatus.Information = 0;
51 return MiniportExtension->
Miniport->DeviceExtension;
222 ULONG PdoOutstandingSum = 0;
223 ULONG PdoStrongOrderedSum = 0;
241 PdoEntry = PdoEntry->
Flink;
252#define StorpCheckFlowControl(...)
static PIO_STACK_LOCATION IoGetCurrentIrpStackLocation(PIRP Irp)
#define RemoveEntryList(Entry)
#define InsertTailList(ListHead, Entry)
#define InsertHeadList(ListHead, Entry)
#define IsListEmpty(ListHead)
#define RemoveTailList(ListHead)
#define RemoveHeadList(ListHead)
VOID FASTCALL KeAcquireInStackQueuedSpinLock(IN PKSPIN_LOCK SpinLock, IN PKLOCK_QUEUE_HANDLE LockHandle)
VOID FASTCALL KeReleaseInStackQueuedSpinLock(IN PKLOCK_QUEUE_HANDLE LockHandle)
FORCEINLINE PLIST_ENTRY StorpInterlockedRemoveHeadListCounted(_In_ PKSPIN_LOCK SpinLock, _In_ PLIST_ENTRY ListHead, _In_ PULONG Counter)
RemoveHeadList and decrement element counter with a corresponding spin lock held.
FORCEINLINE PFDO_DEVICE_EXTENSION StorpGetMiniportFdo(_In_ PVOID HwDeviceExtension)
For use in Storport API exposed to miniports; gets FDO extension with HwDeviceExtension.
FORCEINLINE PLIST_ENTRY StorpInterlockedRemoveTailListCounted(_In_ PKSPIN_LOCK SpinLock, _In_ PLIST_ENTRY ListHead, _In_ PULONG Counter)
RemoveTailList and decrement element counter with a corresponding spin lock held.
FORCEINLINE ULONG StorpInterlockedInsertHeadListCounted(_In_ PKSPIN_LOCK SpinLock, _In_ PLIST_ENTRY ListHead, _In_ PLIST_ENTRY Entry, _In_ PULONG Counter)
InsertHeadList and increment element counter with a corresponding spin lock held.
FORCEINLINE ULONG StorpInterlockedInsertTailListCounted(_In_ PKSPIN_LOCK SpinLock, _In_ PLIST_ENTRY ListHead, _In_ PLIST_ENTRY Entry, _In_ PULONG Counter)
InsertTailList and increment element counter with a corresponding spin lock held.
FORCEINLINE BOOLEAN StorpInterlockedRemoveEntryListCounted(_In_ PKSPIN_LOCK SpinLock, _In_ PLIST_ENTRY Entry, _In_ PULONG Counter)
RemoveEntryList and decrement element counter with a corresponding spin lock held.
#define StorpCheckFlowControl(...)
FORCEINLINE VOID StorpCompleteRequest(_In_ PIRP Irp, _In_ UCHAR SrbStatus, _In_ NTSTATUS IrpStatus)
Completes a request with specified SRB status and IRP status.
#define UNREFERENCED_PARAMETER(P)
#define IoCompleteRequest
ULONG OutstandingRequestCount
union _IO_STACK_LOCATION::@1813 Parameters
struct _IO_STACK_LOCATION::@5016::@5038 Scsi
struct _LIST_ENTRY * Flink
struct _MINIPORT * Miniport
ULONG OutstandingRequestCount
static LARGE_INTEGER Counter
#define CONTAINING_RECORD(address, type, field)
_Must_inspect_result_ _In_opt_ PWDF_OBJECT_ATTRIBUTES _Out_ WDFSPINLOCK * SpinLock
*LockHandle LockHandle _Out_ PKLOCK_QUEUE_HANDLE LockHandle