|
ReactOS 0.4.17-dev-1133-gc25e4fd
|

Go to the source code of this file.
Macros | |
| #define | NDEBUG |
|
static |
Definition at line 740 of file srb.c.
Referenced by PortCompletionDpc().
| VOID NTAPI PortCompletionDpc | ( | _In_ PKDPC | Dpc, |
| _In_ PVOID | Context, | ||
| _In_ PVOID | SystemArgument1, | ||
| _In_ PVOID | SystemArgument2 | ||
| ) |
Definition at line 894 of file srb.c.
Referenced by PortAddDevice().
| VOID NTAPI PortPdoAfterBuildingScatterGatherList | ( | _In_ PDEVICE_OBJECT | DeviceObject, |
| _In_ PIRP | Irp, | ||
| _In_ PSCATTER_GATHER_LIST | ScatterGatherList, | ||
| _In_ PVOID | Context | ||
| ) |
Definition at line 168 of file srb.c.
Referenced by PortPdoIssueRequest().
| NTSTATUS PortPdoIssueRequest | ( | _In_ PPDO_DEVICE_EXTENSION | PdoExtension, |
| _In_ PQUEUED_REQUEST_REFERENCE | RequestReference | ||
| ) |
Definition at line 290 of file srb.c.
Referenced by PortPdoScsi(), and PortScheduleComingRequestsOnCompletion().
| BOOLEAN PortPdoScheduleRequestFlowControlled | ( | _In_ PPDO_DEVICE_EXTENSION | PdoExtension, |
| _In_ PFDO_DEVICE_EXTENSION | FdoExtension, | ||
| _In_ PQUEUED_REQUEST_REFERENCE | RequestReference | ||
| ) |
Schedules an outstanding request and return a boolean value to indicate if the request can be immediately issued.
| PdoExtension | PDO device extension. |
| FdoExtension | FDO device extension. |
| RequestReference | RequestReference must be allocated beforehand. |
Definition at line 397 of file srb.c.
Referenced by PortPdoScsi().
| VOID PortPdoScheduleRequestNoFlowControl | ( | _In_ PFDO_DEVICE_EXTENSION | FdoExtension, |
| _In_ PQUEUED_REQUEST_REFERENCE | RequestReference | ||
| ) |
Definition at line 376 of file srb.c.
Referenced by PortPdoScsi().
Definition at line 516 of file srb.c.
Referenced by PortDispatchScsi(), and PortRetryStarvedRequest().
| NTSTATUS PortPdoSrbAllocatePrivateContexts | ( | _In_ PSCSI_REQUEST_BLOCK | Srb, |
| _In_ PPDO_DEVICE_EXTENSION | PdoExtension, | ||
| _In_ PFDO_DEVICE_EXTENSION | FdoExtension | ||
| ) |
Definition at line 240 of file srb.c.
Referenced by PortPdoScsi().
|
static |
Parks a request that is out of memory, or fails it if there is no reserve to wait for. Either way the IRP is no longer ours, hence STATUS_PENDING.
Definition at line 220 of file srb.c.
Referenced by PortPdoSrbAllocatePrivateContexts().
|
static |
Definition at line 670 of file srb.c.
Referenced by PortCompleteRequest().
| FORCEINLINE BOOLEAN StorpAssignTagToSrb | ( | _In_ PPDO_DEVICE_EXTENSION | PdoExtension, |
| _In_ PSCSI_REQUEST_BLOCK | Srb | ||
| ) |
Assigns a queue tag to a request if it stated it supports one.
| PdoExtension | PDO Device extension |
| Srb | SRB that represents this request |
Definition at line 136 of file srb.c.
Referenced by PortPdoScsi().
|
static |
Takes the adapter reserve, if it is there and nobody else holds it.
Definition at line 77 of file srb.c.
Referenced by PortPdoSrbAllocatePrivateContexts().
|
static |
Allocates QUEUED_REQUEST_REFERENCE for an SRB that is going to be processed.
| Srb | |
| Irp |
Definition at line 51 of file srb.c.
Referenced by PortPdoSrbAllocatePrivateContexts().
| VOID StorpSrbFreeRequestReference | ( | _In_ PSCSI_REQUEST_BLOCK | Srb | ) |
Frees an SRB's Request Reference and restore Srb->OriginalRequest field to IRP. This function does not check if Srb->OriginalRequest is actually an request reference, and you must determine it by other means.
| Srb |
Definition at line 106 of file srb.c.
Referenced by PortCompleteRequest(), and PortPdoSrbAllocatePrivateContexts().
|
static |
Initializes a request reference and sets the SRB => ReqRef link.
Definition at line 25 of file srb.c.
Referenced by StorpSrbAcquireReservedRequestReference(), and StorpSrbAllocateRequestReference().