|
ReactOS 0.4.17-dev-1321-g5c122a9
|

Go to the source code of this file.
Macros | |
| #define | NDEBUG |
| PPDO_DEVICE_EXTENSION FdoFindLun | ( | _In_ PFDO_DEVICE_EXTENSION | FdoExtension, |
| _In_ ULONG | Bus, | ||
| _In_ ULONG | Target, | ||
| _In_ ULONG | Lun | ||
| ) |
Definition at line 1306 of file fdo.c.
Referenced by StorPortDeviceBusy(), StorPortDeviceReady(), StorPortGetLogicalUnit(), and StorPortSetDeviceQueueDepth().
| PPDO_DEVICE_EXTENSION NTAPI FdoFindLunAboveDispatch | ( | _In_ PFDO_DEVICE_EXTENSION | FdoExtension, |
| _In_ ULONG | Bus, | ||
| _In_ ULONG | Target, | ||
| _In_ ULONG | Lun | ||
| ) |
Finds a unit from an interrupt service routine or any other caller above DISPATCH_LEVEL.
Definition at line 1405 of file fdo.c.
Referenced by StorPortGetLogicalUnit().
|
static |
Walks the PDO list for a unit, the caller keeps the list from changing.
Definition at line 1279 of file fdo.c.
Referenced by FdoFindLun(), and FdoFindLunAboveDispatch().
| VOID PortAllocateRequestReserve | ( | _In_ PFDO_DEVICE_EXTENSION | FdoExtension | ) |
Reserves the memory a single request needs, so IO can still be issued out of pool.
Definition at line 168 of file fdo.c.
Referenced by PortFdoStartDevice().
|
static |
Keeps every interrupt service routine of the adapter from running.
Definition at line 1330 of file fdo.c.
Referenced by FdoFindLunAboveDispatch(), PortFdoLinkPdo(), PortFdoStopAdapter(), and PortFdoUnlinkPdo().
| VOID NTAPI PortFdoBusChangeDpc | ( | _In_ PKDPC | Dpc, |
| _In_opt_ PVOID | DeferredContext, | ||
| _In_opt_ PVOID | SystemArgument1, | ||
| _In_opt_ PVOID | SystemArgument2 | ||
| ) |
Definition at line 1471 of file fdo.c.
Referenced by PortAddDevice().
|
static |
Definition at line 314 of file fdo.c.
Referenced by PortFdoStartMiniport().
|
static |
Connects the adapter on message signaled interrupts, falling back to a line interrupt.
Definition at line 262 of file fdo.c.
Referenced by PortFdoConnectInterrupt().
|
static |
Definition at line 384 of file fdo.c.
Referenced by PortFdoPnp().
|
static |
Definition at line 1254 of file fdo.c.
Referenced by PortFdoPnp().
|
static |
Definition at line 224 of file fdo.c.
Referenced by PortFdoConnectInterrupt(), and PortFdoConnectMessageInterrupt().
| VOID NTAPI PortFdoLinkPdo | ( | _Inout_ PFDO_DEVICE_EXTENSION | FdoExtension, |
| _Inout_ PPDO_DEVICE_EXTENSION | PdoExtension | ||
| ) |
Adds a PDO where both the list lock and the interrupt service routines respect it.
Definition at line 1431 of file fdo.c.
Referenced by PortCreatePdo().
|
static |
Definition at line 242 of file fdo.c.
Referenced by PortFdoConnectMessageInterrupt().
Definition at line 1519 of file fdo.c.
Referenced by PortDispatchPnp().
|
static |
Definition at line 1187 of file fdo.c.
Referenced by PortFdoPnp().
|
static |
Definition at line 1361 of file fdo.c.
Referenced by FdoFindLunAboveDispatch(), PortFdoLinkPdo(), PortFdoStopAdapter(), and PortFdoUnlinkPdo().
|
static |
Definition at line 1102 of file fdo.c.
Referenced by PortFdoQueryBusRelations().
Definition at line 1491 of file fdo.c.
Referenced by PortDispatchScsi().
|
static |
Definition at line 519 of file fdo.c.
Referenced by PortFdoPnp().
|
static |
Definition at line 412 of file fdo.c.
Referenced by PortFdoStartDevice().
|
static |
Tells the miniport to stop the adapter with its interrupt service routines held off.
Definition at line 1389 of file fdo.c.
Referenced by PortFdoPnp().
| VOID NTAPI PortFdoUnlinkPdo | ( | _Inout_ PFDO_DEVICE_EXTENSION | FdoExtension, |
| _Inout_ PPDO_DEVICE_EXTENSION | PdoExtension | ||
| ) |
Definition at line 1451 of file fdo.c.
Referenced by PortDeletePdo().
| VOID PortFlushStarvedRequests | ( | _In_ PFDO_DEVICE_EXTENSION | FdoExtension | ) |
Fails every queued request, for when the adapter goes away.
Definition at line 153 of file fdo.c.
Referenced by PortFdoPnp().
| VOID PortFreeRequestReserve | ( | _In_ PFDO_DEVICE_EXTENSION | FdoExtension | ) |
Releases the reserve. No request may be using it anymore.
Definition at line 205 of file fdo.c.
Referenced by PortFdoPnp().
| NTSTATUS PortInitializeStarvedRequestQueue | ( | _In_ PSTARVED_REQUEST_QUEUE | Queue | ) |
Definition at line 105 of file fdo.c.
Referenced by PortAddDevice().
| VOID PortQueueStarvedRequest | ( | _In_ PFDO_DEVICE_EXTENSION | FdoExtension, |
| _In_ PIRP | Irp | ||
| ) |
Queues a request that could not allocate its private contexts.
Definition at line 124 of file fdo.c.
Referenced by PortPdoStarveRequest().
| VOID PortRetryStarvedRequest | ( | _In_ PFDO_DEVICE_EXTENSION | FdoExtension | ) |
Retries one queued request, so each completion lets exactly one through.
Definition at line 135 of file fdo.c.
Referenced by PortCompleteRequest().
|
static |
Definition at line 898 of file fdo.c.
Referenced by PortFdoScanBus().
|
static |
Definition at line 611 of file fdo.c.
Referenced by PortFdoScanBus().
Definition at line 71 of file fdo.c.
Referenced by PortInitializeStarvedRequestQueue().
Definition at line 95 of file fdo.c.
Referenced by PortInitializeStarvedRequestQueue().
|
static |
Definition at line 48 of file fdo.c.
Referenced by PortInitializeStarvedRequestQueue().
Definition at line 36 of file fdo.c.
Referenced by PortInitializeStarvedRequestQueue().