|
ReactOS 0.4.17-dev-1133-gc25e4fd
|


Go to the source code of this file.
Macros | |
| #define | StorpCheckFlowControl(...) |
Functions | |
| FORCEINLINE VOID | StorpCompleteRequest (_In_ PIRP Irp, _In_ UCHAR SrbStatus, _In_ NTSTATUS IrpStatus) |
| Completes a request with specified SRB status and IRP status. | |
| FORCEINLINE PFDO_DEVICE_EXTENSION | StorpGetMiniportFdo (_In_ PVOID HwDeviceExtension) |
| For use in Storport API exposed to miniports; gets FDO extension with HwDeviceExtension. | |
| 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. | |
| 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 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 VOID StorpCompleteRequest | ( | _In_ PIRP | Irp, |
| _In_ UCHAR | SrbStatus, | ||
| _In_ NTSTATUS | IrpStatus | ||
| ) |
Completes a request with specified SRB status and IRP status.
Definition at line 19 of file inline.h.
Referenced by PortFlushStarvedRequests(), PortPdoScsi(), PortPdoStarveRequest(), and PortStarvedCsqCompleteCanceledIrp().
| FORCEINLINE PFDO_DEVICE_EXTENSION StorpGetMiniportFdo | ( | _In_ PVOID | HwDeviceExtension | ) |
For use in Storport API exposed to miniports; gets FDO extension with HwDeviceExtension.
| HwDeviceExtension | HwDeviceExtension parameter of Storport API. |
Definition at line 39 of file inline.h.
Referenced by StorPortDeviceBusy(), StorPortDeviceReady(), and StorPortSetDeviceQueueDepth().
| 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.
| SpinLock | Spin lock for interlocked exclusive access. |
| ListHead | List head of the list. |
| Entry | List entry to be inserted. |
| Counter | Pointer to the list element counter ULONG value. |
Definition at line 71 of file inline.h.
Referenced by PortAddDevice(), PortCreatePdo(), and StorPortExtendedFunction().
| 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.
| SpinLock | Spin lock for interlocked exclusive access. |
| ListHead | List head of the list. |
| Entry | List entry to be inserted. |
| Counter | Pointer to the list element counter ULONG value. |
Definition at line 99 of file inline.h.
| 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.
| SpinLock | Spin lock for interlocked exclusive access. |
| Entry | List entry to be removed. |
| Counter | Pointer to the list element counter ULONG value. |
Definition at line 126 of file inline.h.
Referenced by PortDeletePdo().
| 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.
| SpinLock | Spin lock for interlocked exclusive access. |
| ListHead | List head to take an entry from. |
| Counter | Pointer to the list element counter ULONG value. |
| 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.
| SpinLock | Spin lock for interlocked exclusive access. |
| ListHead | List head to take an entry from. |
| Counter | Pointer to the list element counter ULONG value. |
Definition at line 184 of file inline.h.