|
ReactOS 0.4.17-dev-1281-g065abb3
|

Go to the source code of this file.
Classes | |
| class | SpinLockGuard |
| class | DispatchLevelGuard |
| struct | UcxRequestArgs |
| struct | UcxDriverState |
Macros | |
| #define | UCX_POOL_TAG 'DCHU' |
Typedefs | |
| typedef BOOLEAN(NTAPI * | PFN_UCX_IO_TRY_QUEUE_WORKITEM) (_Inout_ PIO_WORKITEM IoWorkItem, _In_ PIO_WORKITEM_ROUTINE_EX WorkerRoutine, _In_ WORK_QUEUE_TYPE QueueType, _In_opt_ PVOID Context) |
Functions | |
| PVOID | operator new (_In_ size_t Size, _In_ PVOID Where) noexcept |
| VOID | operator delete (_In_ PVOID Memory, _In_ PVOID Where) noexcept |
| FORCEINLINE VOID NTAPI | UcxClearListEntry (_Out_ PLIST_ENTRY Entry) |
| FORCEINLINE BOOLEAN NTAPI | UcxIsListEntryLinked (_In_ const LIST_ENTRY *Entry) |
| _Must_inspect_result_ NTSTATUS NTAPI | UcxCreateObjectWithTwoContexts (_In_ PWDF_OBJECT_ATTRIBUTES Primary, _In_opt_ PWDF_OBJECT_ATTRIBUTES Secondary, _Out_ WDFOBJECT *Object) |
| FORCEINLINE VOID NTAPI | UcxVerifierBreak (_In_ BOOLEAN Verifying) |
| ULONG NTAPI | UcxRandom (VOID) |
| BOOLEAN NTAPI | UcxVerifierWantsFailure (_In_ ULONG Setting) |
| ULONG NTAPI | UcxRandomInRange (_In_ ULONG Max) |
| NTSTATUS NTAPI | UcxRandomErrorStatus (VOID) |
Variables | |
| UcxDriverState | UcxDriver |
| typedef BOOLEAN(NTAPI * PFN_UCX_IO_TRY_QUEUE_WORKITEM) (_Inout_ PIO_WORKITEM IoWorkItem, _In_ PIO_WORKITEM_ROUTINE_EX WorkerRoutine, _In_ WORK_QUEUE_TYPE QueueType, _In_opt_ PVOID Context) |
Definition at line 26 of file ucxutil.h.
Definition at line 16 of file ucxutil.h.
| FORCEINLINE VOID NTAPI UcxClearListEntry | ( | _Out_ PLIST_ENTRY | Entry | ) |
Definition at line 84 of file ucxutil.h.
Referenced by EndpointMachine::DeleteEndpoint(), UcxUsbDevice::DeleteFromHub(), UcxController::Destroy(), UcxUsbDevice::DisconnectPort(), UcxUsbDevice::FanOutToEndpoints(), UcxUsbDevice::HandleHubTreePurge(), UcxController::Initialize(), UcxEndpoint::Initialize(), UcxUsbDevice::InitializeLists(), EndpointMachine::ParkAsStale(), UcxClientReleaseUrb(), UcxPostToCollectedEndpoints(), UcxUntrackEndpoint(), and UcxUsbdHandle::Unregister().
| _Must_inspect_result_ NTSTATUS NTAPI UcxCreateObjectWithTwoContexts | ( | _In_ PWDF_OBJECT_ATTRIBUTES | Primary, |
| _In_opt_ PWDF_OBJECT_ATTRIBUTES | Secondary, | ||
| _Out_ WDFOBJECT * | Object | ||
| ) |
Creates a WDF object with a primary set of attributes and an optional second context.
Definition at line 19 of file ucxutil.cpp.
Referenced by UcxController::Create(), UcxRootHub::Create(), UcxUsbDevice::Create(), UcxStaticStreams::Create(), and UcxEndpoint::Create().
| FORCEINLINE BOOLEAN NTAPI UcxIsListEntryLinked | ( | _In_ const LIST_ENTRY * | Entry | ) |
Definition at line 94 of file ucxutil.h.
Referenced by UcxEndpoint::Create(), UcxController::Destroy(), UcxCollectEndpointsForReset(), and UcxUntrackEndpoint().
Definition at line 61 of file ucxutil.cpp.
Referenced by UcxRandomErrorStatus(), UcxRandomInRange(), and UcxVerifierWantsFailure().
Definition at line 93 of file ucxutil.cpp.
Referenced by _IRQL_requires_(), UcxEndpoint::OpenStaticStreams(), and UcxQueryUsbCapability().
Definition at line 85 of file ucxutil.cpp.
Referenced by UcxApplyStreamCountOverride().
| FORCEINLINE VOID NTAPI UcxVerifierBreak | ( | _In_ BOOLEAN | Verifying | ) |
Stops in the debugger on a controller driver bug, only while verifying and attached.
Definition at line 168 of file ucxutil.h.
Referenced by UcxEndpoint::CreateThroughHcd(), UcxStaticStreams::SetStreamInfo(), and UcxCreateStaticStreams().
0 never fails, 1 always fails, N fails about once in N calls.
Definition at line 71 of file ucxutil.cpp.
Referenced by _IRQL_requires_(), UcxEndpoint::OpenStaticStreams(), and UcxQueryUsbCapability().
|
extern |
Definition at line 138 of file driver.cpp.
Referenced by _IRQL_requires_(), UcxController::Destroy(), _UCXHUB_WORKITEM::Enqueue(), UcxController::Initialize(), UcxComputeMaxTransferSize(), UcxEvtDriverUnload(), and UcxRandom().