|
ReactOS 0.4.17-dev-1268-g5608ce5
|

Go to the source code of this file.
Macros | |
| #define | NDEBUG |
| C_ASSERT | ( | FIELD_OFFSET(EXTENDED_REQUEST, Address) >=sizeof(STORAGE_REQUEST_BLOCK) | ) |
| C_ASSERT | ( | FIELD_OFFSET(EXTENDED_REQUEST, Cdb) >=FIELD_OFFSET(EXTENDED_REQUEST, Address)+sizeof(STOR_ADDR_BTL8) | ) |
| VOID NTAPI StorpBuildExtendedSrb | ( | _In_ PSCSI_REQUEST_BLOCK | Srb, |
| _Out_ PEXTENDED_REQUEST | Request | ||
| ) |
Fills in the extended request a miniport will be given.
| Srb | The request as the class layer built it. |
| Request | Storage for the translated request, already zeroed. |
Definition at line 102 of file srbex.c.
Referenced by PortPdoAfterBuildingScatterGatherList().
| VOID NTAPI StorpBuildUnitAddress | ( | _In_ PPDO_DEVICE_EXTENSION | PdoExtension, |
| _Out_ PSTOR_ADDR_BTL8 | Address | ||
| ) |
Fills in the bus, target and LUN address of a logical unit.
Definition at line 28 of file srbex.c.
Referenced by PortCreatePdo(), and PortDeletePdo().
| VOID NTAPI StorpCompleteExtendedSrb | ( | _In_ PSCSI_REQUEST_BLOCK | Srb, |
| _In_ PEXTENDED_REQUEST | Request | ||
| ) |
Carries the miniport's answer back to the original request block.
Definition at line 157 of file srbex.c.
Referenced by StorPortNotification().
Tells whether a request block is in the extended format.
Definition at line 47 of file srbex.c.
Referenced by StorPortNotification(), StorpRequestReference(), and StorpSrbDataBuffer().
| PQUEUED_REQUEST_REFERENCE NTAPI StorpRequestReference | ( | _In_ PSCSI_REQUEST_BLOCK | Srb | ) |
Finds the request reference behind an SRB in either format.
Definition at line 61 of file srbex.c.
Referenced by StorPortExtendedFunction(), StorPortGetScatterGatherList(), and StorPortNotification().
| PVOID NTAPI StorpSrbDataBuffer | ( | _In_ PSCSI_REQUEST_BLOCK | Srb | ) |
Finds the data buffer of a request in either format.
Definition at line 80 of file srbex.c.
Referenced by StorPortExtendedFunction().