ReactOS 0.4.15-dev-7991-ge77da17
Bus_PDO_EvalMethod.c File Reference
#include <apitest.h>
#include <ndk/rtlfuncs.h>
#include <acpi.h>
#include <acpiioct.h>
#include <ntintsafe.h>
#include <initguid.h>
#include <pshpack1.h>
#include <poppack.h>
#include "../../../../drivers/bus/acpi/eval.c"
Include dependency graph for Bus_PDO_EvalMethod.c:

Go to the source code of this file.

Classes

struct  _EVAL_TEST_ENTRY
 
struct  _IO_STACK_LOCATION
 
struct  _IRP
 
struct  _IDE_ACPI_TIMING_MODE_BLOCK
 
struct  _PDO_DEVICE_DATA
 
struct  _GTM_OBJECT_BUFFER
 
struct  _BIF_OBJECT_BUFFER
 
struct  _PCL_OBJECT_BUFFER
 
struct  _PRT_OBJECT_BUFFER
 

Macros

#define WIN32_NO_STATUS
 
#define UNIT_TEST
 
#define ok_eq_str_ex(entry, value, expected)
 
#define ok_eq_print_ex(entry, value, expected, spec)
 
#define ok_not_print_ex(entry, value, expected, spec)
 
#define ok_eq_hex_ex(entry, value, expected)   ok_eq_print_ex(entry, value, expected, "0x%08lx")
 
#define ok_eq_pointer_ex(entry, value, expected)   ok_eq_print_ex(entry, value, expected, "%p")
 
#define ok_eq_int_ex(entry, value, expected)   ok_eq_print_ex(entry, value, expected, "%d")
 
#define ok_eq_uint_ex(entry, value, expected)   ok_eq_print_ex(entry, value, expected, "%u")
 
#define ok_eq_ulong_ex(entry, value, expected)   ok_eq_print_ex(entry, value, expected, "%lu")
 
#define ok_eq_ulonglong_ex(entry, value, expected)   ok_eq_print_ex(entry, value, expected, "%I64u")
 
#define ok_not_pointer_ex(entry, value, expected)   ok_not_print_ex(entry, value, expected, "%p")
 
#define STM_TEST_FLAG_INVALID_ARG_3_1   (1 << 0 )
 
#define STM_TEST_FLAG_INVALID_ARG_3_2   (1 << 1 )
 
#define STM_TEST_FLAG_INVALID_ARG_3_4   (1 << 2 )
 
#define STM_TEST_FLAG_INVALID_ARG_3_5   (1 << 3 )
 
#define STM_TEST_FLAG_INVALID_SIZE_1   (1 << 4 )
 
#define STM_TEST_FLAG_LARGE_ARG_BUFFER   (1 << 5 )
 
#define STM_TEST_FLAG_CHANGE_ARG_COUNT   (1 << 6 )
 
#define STM_TEST_FLAG_SUB_IN_BUFFER   (1 << 7 )
 
#define STM_TEST_FLAG_SUB_IRP_BUFFER   (1 << 8 )
 
#define STM_TEST_FLAG_SET_IN_BUFFER   (1 << 9 )
 
#define STM_TEST_FLAG_SET_IRP_BUFFER   (1 << 10)
 
#define STM_TEST_FLAG_BAD_ARG_TYPE   (1 << 11)
 
#define GTM_TEST_FLAG_BAD_SIGNARUTE   (1 << 0)
 
#define GTM_TEST_FLAG_BUFFER_HAS_SIGNARUTE   (1 << 1)
 
#define GTM_TEST_FLAG_BUFFER_HAS_COUNT   (1 << 2)
 
#define GTM_TEST_FLAG_BUFFER_HAS_LENGTH   (1 << 3)
 
#define GTM_TEST_FLAG_ARG_HAS_BUFFER_TYPE   (1 << 4)
 
#define GTM_TEST_FLAG_ARG_HAS_DATA_LENGTH   (1 << 5)
 
#define GTM_TEST_FLAG_INC_OUT_BUFFER   (1 << 6)
 
#define GTM_TEST_FLAG_DEC_OUT_BUFFER   (1 << 7)
 
#define GTM_TEST_FLAG_SET_OUT_BUFFER   (1 << 8)
 
#define GTM_TEST_FLAG_METHOD_SUCCESS
 
#define DSM_TEST_FLAG_EMPTY_PACKAGE   (1 << 0)
 
#define DSM_TEST_FLAG_LARGE_SUB_PACKAGE_BUFFER   (1 << 1)
 
#define PAGED_CODE()
 
#define CODE_SEG(...)
 
#define DPRINT(...)   do { if (0) DbgPrint(__VA_ARGS__); } while (0)
 
#define DPRINT1(...)   do { if (0) DbgPrint(__VA_ARGS__); } while (0)
 
#define ExAllocatePoolUninitialized   ExAllocatePoolWithTag
 
#define NonPagedPool   1
 
#define STM_ID_BLOCK_SIZE   512
 
#define FAKE_SB_NAMESPACE_ACPI_HANDLE   0xFF0F0001
 
#define FAKE_INTB_ACPI_HANDLE   0xFF0F0002
 
#define FAKE_INTC_ACPI_HANDLE   0xFF0F0003
 
#define STM_MAX_BUFFER_SIZE
 
#define GTM_MAX_BUFFER_SIZE
 
#define PRT_PACKAGE_ENTRY_SIZE
 
#define MY_DSM_SUB_PACKAGE_ENTRY_SIZE    (ACPI_METHOD_ARGUMENT_LENGTH(sizeof("1_TESTDATATESTDATA_2")))
 
#define MY_DSM_PACKAGE_ENTRY_SIZE
 
#define MY_DSM_BUFFER_SIZE
 

Typedefs

typedef struct _EVAL_TEST_ENTRY EVAL_TEST_ENTRY
 
typedef struct _IO_STACK_LOCATION IO_STACK_LOCATION
 
typedef struct _IO_STACK_LOCATIONPIO_STACK_LOCATION
 
typedef struct _IRP IRP
 
typedef struct _IRPPIRP
 
typedef struct _IDE_ACPI_TIMING_MODE_BLOCK IDE_ACPI_TIMING_MODE_BLOCK
 
typedef struct _IDE_ACPI_TIMING_MODE_BLOCKPIDE_ACPI_TIMING_MODE_BLOCK
 
typedef struct _PDO_DEVICE_DATA PDO_DEVICE_DATA
 
typedef struct _PDO_DEVICE_DATAPPDO_DEVICE_DATA
 
typedef struct _GTM_OBJECT_BUFFER GTM_OBJECT_BUFFER
 
typedef struct _GTM_OBJECT_BUFFERPGTM_OBJECT_BUFFER
 
typedef struct _BIF_OBJECT_BUFFER BIF_OBJECT_BUFFER
 
typedef struct _BIF_OBJECT_BUFFERPBIF_OBJECT_BUFFER
 
typedef struct _PCL_OBJECT_BUFFER PCL_OBJECT_BUFFER
 
typedef struct _PCL_OBJECT_BUFFERPPCL_OBJECT_BUFFER
 
typedef struct _PRT_OBJECT_BUFFER PRT_OBJECT_BUFFER
 
typedef struct _PRT_OBJECT_BUFFERPPRT_OBJECT_BUFFER
 

Functions

static PVOID ExAllocatePoolWithTag (ULONG PoolType, SIZE_T NumberOfBytes, ULONG Tag)
 
static VOID ExFreePoolWithTag (PVOID MemPtr, ULONG Tag)
 
static PIO_STACK_LOCATION IoGetCurrentIrpStackLocation (PIRP Irp)
 
 DEFINE_GUID (MY_DSM_GUID, 0xB76E0B40, 0x3EC6, 0x4DBD, 0x8A, 0xCB, 0x8B, 0xCA, 0x65, 0xB8, 0xBC, 0x70)
 
voidAcpiOsAllocate (ACPI_SIZE Size)
 
void AcpiOsFree (void *Memory)
 
ACPI_STATUS AcpiGetName (ACPI_HANDLE Handle, UINT32 NameType, ACPI_BUFFER *Buffer)
 
ACPI_STATUS AcpiEvaluateObject (ACPI_HANDLE Object, ACPI_STRING Pathname, ACPI_OBJECT_LIST *ParameterObjects, ACPI_BUFFER *ReturnObjectBuffer)
 
static NTSTATUS DrvCallAcpiDriver (_In_ PVOID InputBuffer, _In_ ULONG InputBufferLength, _Out_opt_ PACPI_EVAL_OUTPUT_BUFFER OutputBuffer, _In_ ULONG OutputBufferLength)
 
static VOID DrvEvaluateStmObject (_In_ const EVAL_TEST_ENTRY *TestEntry, _In_ PIDE_ACPI_TIMING_MODE_BLOCK TimingMode, _In_ PUCHAR IdBlock, _In_ PACPI_EVAL_INPUT_BUFFER_COMPLEX InputBuffer)
 
static VOID DrvTestComplexBuffer (VOID)
 
static VOID DrvEvaluateGtmObject (_In_ const EVAL_TEST_ENTRY *TestEntry, _In_ PACPI_EVAL_OUTPUT_BUFFER OutputBuffer)
 
static VOID DrvTestInputBuffer (VOID)
 
static VOID DrvEvaluateBifObject (_In_ const EVAL_TEST_ENTRY *TestEntry, _In_ PACPI_EVAL_OUTPUT_BUFFER OutputBuffer)
 
static VOID DrvTestPackageReturnValueAndStringData (VOID)
 
static VOID DrvEvaluatePclObject (_In_ const EVAL_TEST_ENTRY *TestEntry, _In_ PACPI_EVAL_OUTPUT_BUFFER OutputBuffer)
 
static VOID DrvTestReferenceReturnValue (VOID)
 
static VOID DrvEvaluatePrtObject (_In_ const EVAL_TEST_ENTRY *TestEntry, _In_ PACPI_EVAL_OUTPUT_BUFFER OutputBuffer)
 
static VOID DrvTestNestedPackageReturnValue (VOID)
 
static VOID DrvEvaluateDsmObject (_In_ const EVAL_TEST_ENTRY *TestEntry)
 
static VOID DrvTestPackageInputValue (VOID)
 
static VOID DrvTestUnknownMethod (VOID)
 
 START_TEST (Bus_PDO_EvalMethod)
 

Variables

static LONG DrvpBlocksAllocated = 0
 
static const ULONG DrvpBifIntegerFields [9]
 
static const ULONG DrvpMyDsmIntegerFields [3]
 
static const EVAL_TEST_ENTRYDrvpEvalTestEntry
 
static const EVAL_TEST_ENTRY DrvpSmtTests []
 
static const EVAL_TEST_ENTRY DrvpGtmTests []
 
static const EVAL_TEST_ENTRY DrvpBifTests []
 
static const EVAL_TEST_ENTRY DrvpPclTests []
 
static const EVAL_TEST_ENTRY DrvpPrtTests []
 
static const EVAL_TEST_ENTRY DrvpDsmTests []
 

Macro Definition Documentation

◆ CODE_SEG

#define CODE_SEG (   ...)

Definition at line 88 of file Bus_PDO_EvalMethod.c.

◆ DPRINT

#define DPRINT (   ...)    do { if (0) DbgPrint(__VA_ARGS__); } while (0)

Definition at line 89 of file Bus_PDO_EvalMethod.c.

◆ DPRINT1

#define DPRINT1 (   ...)    do { if (0) DbgPrint(__VA_ARGS__); } while (0)

Definition at line 90 of file Bus_PDO_EvalMethod.c.

◆ DSM_TEST_FLAG_EMPTY_PACKAGE

#define DSM_TEST_FLAG_EMPTY_PACKAGE   (1 << 0)

Definition at line 78 of file Bus_PDO_EvalMethod.c.

◆ DSM_TEST_FLAG_LARGE_SUB_PACKAGE_BUFFER

#define DSM_TEST_FLAG_LARGE_SUB_PACKAGE_BUFFER   (1 << 1)

Definition at line 79 of file Bus_PDO_EvalMethod.c.

◆ ExAllocatePoolUninitialized

#define ExAllocatePoolUninitialized   ExAllocatePoolWithTag

Definition at line 118 of file Bus_PDO_EvalMethod.c.

◆ FAKE_INTB_ACPI_HANDLE

#define FAKE_INTB_ACPI_HANDLE   0xFF0F0002

Definition at line 175 of file Bus_PDO_EvalMethod.c.

◆ FAKE_INTC_ACPI_HANDLE

#define FAKE_INTC_ACPI_HANDLE   0xFF0F0003

Definition at line 176 of file Bus_PDO_EvalMethod.c.

◆ FAKE_SB_NAMESPACE_ACPI_HANDLE

#define FAKE_SB_NAMESPACE_ACPI_HANDLE   0xFF0F0001

Definition at line 174 of file Bus_PDO_EvalMethod.c.

◆ GTM_MAX_BUFFER_SIZE

#define GTM_MAX_BUFFER_SIZE
Value:
ACPI_METHOD_ARGUMENT_LENGTH(sizeof(IDE_ACPI_TIMING_MODE_BLOCK)) + 0x50)
#define FIELD_OFFSET(t, f)
Definition: typedefs.h:255

Definition at line 614 of file Bus_PDO_EvalMethod.c.

◆ GTM_TEST_FLAG_ARG_HAS_BUFFER_TYPE

#define GTM_TEST_FLAG_ARG_HAS_BUFFER_TYPE   (1 << 4)

Definition at line 67 of file Bus_PDO_EvalMethod.c.

◆ GTM_TEST_FLAG_ARG_HAS_DATA_LENGTH

#define GTM_TEST_FLAG_ARG_HAS_DATA_LENGTH   (1 << 5)

Definition at line 68 of file Bus_PDO_EvalMethod.c.

◆ GTM_TEST_FLAG_BAD_SIGNARUTE

#define GTM_TEST_FLAG_BAD_SIGNARUTE   (1 << 0)

Definition at line 63 of file Bus_PDO_EvalMethod.c.

◆ GTM_TEST_FLAG_BUFFER_HAS_COUNT

#define GTM_TEST_FLAG_BUFFER_HAS_COUNT   (1 << 2)

Definition at line 65 of file Bus_PDO_EvalMethod.c.

◆ GTM_TEST_FLAG_BUFFER_HAS_LENGTH

#define GTM_TEST_FLAG_BUFFER_HAS_LENGTH   (1 << 3)

Definition at line 66 of file Bus_PDO_EvalMethod.c.

◆ GTM_TEST_FLAG_BUFFER_HAS_SIGNARUTE

#define GTM_TEST_FLAG_BUFFER_HAS_SIGNARUTE   (1 << 1)

Definition at line 64 of file Bus_PDO_EvalMethod.c.

◆ GTM_TEST_FLAG_DEC_OUT_BUFFER

#define GTM_TEST_FLAG_DEC_OUT_BUFFER   (1 << 7)

Definition at line 70 of file Bus_PDO_EvalMethod.c.

◆ GTM_TEST_FLAG_INC_OUT_BUFFER

#define GTM_TEST_FLAG_INC_OUT_BUFFER   (1 << 6)

Definition at line 69 of file Bus_PDO_EvalMethod.c.

◆ GTM_TEST_FLAG_METHOD_SUCCESS

#define GTM_TEST_FLAG_METHOD_SUCCESS
Value:

Definition at line 73 of file Bus_PDO_EvalMethod.c.

◆ GTM_TEST_FLAG_SET_OUT_BUFFER

#define GTM_TEST_FLAG_SET_OUT_BUFFER   (1 << 8)

Definition at line 71 of file Bus_PDO_EvalMethod.c.

◆ MY_DSM_BUFFER_SIZE

#define MY_DSM_BUFFER_SIZE
Value:
ACPI_METHOD_ARGUMENT_LENGTH(sizeof(GUID)) + \
ACPI_METHOD_ARGUMENT_LENGTH(sizeof(ULONG)) + \
ACPI_METHOD_ARGUMENT_LENGTH(sizeof(ULONG)) + \
ACPI_METHOD_ARGUMENT_LENGTH(MY_DSM_PACKAGE_ENTRY_SIZE))
#define MY_DSM_PACKAGE_ENTRY_SIZE
uint32_t ULONG
Definition: typedefs.h:59

◆ MY_DSM_PACKAGE_ENTRY_SIZE

#define MY_DSM_PACKAGE_ENTRY_SIZE
Value:
ACPI_METHOD_ARGUMENT_LENGTH(MY_DSM_SUB_PACKAGE_ENTRY_SIZE))
#define MY_DSM_SUB_PACKAGE_ENTRY_SIZE
#define ACPI_METHOD_ARGUMENT_LENGTH(DataLength)
Definition: acpiioct.h:144

◆ MY_DSM_SUB_PACKAGE_ENTRY_SIZE

#define MY_DSM_SUB_PACKAGE_ENTRY_SIZE    (ACPI_METHOD_ARGUMENT_LENGTH(sizeof("1_TESTDATATESTDATA_2")))

◆ NonPagedPool

#define NonPagedPool   1

Definition at line 119 of file Bus_PDO_EvalMethod.c.

◆ ok_eq_hex_ex

#define ok_eq_hex_ex (   entry,
  value,
  expected 
)    ok_eq_print_ex(entry, value, expected, "0x%08lx")

Definition at line 36 of file Bus_PDO_EvalMethod.c.

◆ ok_eq_int_ex

#define ok_eq_int_ex (   entry,
  value,
  expected 
)    ok_eq_print_ex(entry, value, expected, "%d")

Definition at line 38 of file Bus_PDO_EvalMethod.c.

◆ ok_eq_pointer_ex

#define ok_eq_pointer_ex (   entry,
  value,
  expected 
)    ok_eq_print_ex(entry, value, expected, "%p")

Definition at line 37 of file Bus_PDO_EvalMethod.c.

◆ ok_eq_print_ex

#define ok_eq_print_ex (   entry,
  value,
  expected,
  spec 
)
Value:
ok((value) == (expected), \
"Line %lu: " #value " = " spec ", expected " spec "\n", (entry)->Line, value, expected)
#define ok(value,...)
Definition: atltest.h:57
uint32_t entry
Definition: isohybrid.c:63
BOOL expected
Definition: store.c:2063
Definition: ncftp.h:79
Definition: pdh_main.c:94

Definition at line 28 of file Bus_PDO_EvalMethod.c.

◆ ok_eq_str_ex

#define ok_eq_str_ex (   entry,
  value,
  expected 
)
Value:
"Line %lu: " #value " = \"%s\", expected \"%s\"\n", (entry)->Line, value, expected)
int strcmp(const char *String1, const char *String2)
Definition: utclib.c:469

Definition at line 24 of file Bus_PDO_EvalMethod.c.

◆ ok_eq_uint_ex

#define ok_eq_uint_ex (   entry,
  value,
  expected 
)    ok_eq_print_ex(entry, value, expected, "%u")

Definition at line 39 of file Bus_PDO_EvalMethod.c.

◆ ok_eq_ulong_ex

#define ok_eq_ulong_ex (   entry,
  value,
  expected 
)    ok_eq_print_ex(entry, value, expected, "%lu")

Definition at line 40 of file Bus_PDO_EvalMethod.c.

◆ ok_eq_ulonglong_ex

#define ok_eq_ulonglong_ex (   entry,
  value,
  expected 
)    ok_eq_print_ex(entry, value, expected, "%I64u")

Definition at line 41 of file Bus_PDO_EvalMethod.c.

◆ ok_not_pointer_ex

#define ok_not_pointer_ex (   entry,
  value,
  expected 
)    ok_not_print_ex(entry, value, expected, "%p")

Definition at line 43 of file Bus_PDO_EvalMethod.c.

◆ ok_not_print_ex

#define ok_not_print_ex (   entry,
  value,
  expected,
  spec 
)
Value:
ok((value) != (expected), \
"Line %lu: " #value " = " spec ", expected " spec "\n", (entry)->Line, value, expected)

Definition at line 32 of file Bus_PDO_EvalMethod.c.

◆ PAGED_CODE

PAGED_CODE ( )

Definition at line 87 of file Bus_PDO_EvalMethod.c.

Referenced by __RxAcquireFcb(), __RxWriteReleaseResources(), _At_(), _Dispatch_type_(), _Function_class_(), _Guarded_by_(), _Inout_updates_bytes_(), _IRQL_requires_(), _IRQL_requires_max_(), _Requires_lock_held_(), _Success_(), _When_(), CAC97AdapterCommon::AcquireCodecSemiphore(), AdapterDispatchPnp(), AddControllers(), AddDevice(), AddressRomChecksumValid(), AddressRomRead(), AddressRomReadData(), AllocateAdapterMemory(), AllocateReceiveBuffers(), AllocateReceiveDescriptors(), AllocateTransmitBlocks(), AllocateTransmitBuffers(), AllocateTransmitDescriptors(), ArbAddAllocation(), ArbAddOrdering(), ArbAddReserved(), ArbAllocateEntry(), ArbBacktrackAllocation(), ArbBootAllocation(), ArbBuildAssignmentOrdering(), ArbCommitAllocation(), ArbFindSuitableRange(), ArbFreeOrderingList(), ArbGetNextAllocationRange(), ArbInitializeArbiterInstance(), ArbInitializeOrderingList(), ArbOverrideConflict(), ArbPreprocessEntry(), ArbPruneOrdering(), ArbQueryConflict(), ArbRetestAllocation(), ArbRollbackAllocation(), ArbStartArbiter(), ArbTestAllocation(), arbusno_Constructor(), arbusno_Initializer(), ario_Constructor(), armem_Constructor(), ARPReceive(), AuxKlibInitialize(), AuxKlibQueryModuleInformation(), CAC97MiniportTopology::BasicSupportHandler(), BasicSupportHandler(), BatteryIoctl(), BootEnvironmentIsWinPE(), CAC97MiniportTopology::BuildConnectionDescriptors(), CMiniport::BuildDataRangeInformation(), CAC97MiniportTopology::BuildNodeDescriptors(), CAC97MiniportTopology::BuildPinDescriptors(), CAC97MiniportTopology::BuildTopology(), Bus_AddDevice(), Bus_DestroyPdo(), Bus_FDO_PnP(), Bus_GetDeviceCapabilities(), Bus_InitializePdo(), Bus_PDO_EvalMethod(), Bus_PDO_EvalMethodWorker(), Bus_PDO_PnP(), Bus_PDO_QueryBusInformation(), Bus_PDO_QueryDeviceCaps(), Bus_PDO_QueryDeviceId(), Bus_PDO_QueryDeviceRelations(), Bus_PDO_QueryDeviceText(), Bus_PDO_QueryResourceRequirements(), Bus_PlugInDevice(), Bus_PnP(), Bus_SendIrpSynchronously(), Bus_StartFdo(), CdAddAllocationFromDirent(), CdAddInitialAllocation(), CdAllocateFcbTable(), CdAllowExtendedDasdIo(), CdCleanupIrpContext(), CdCloseWorker(), CdCommonDevControl(), CdCommonLockControl(), CdCompleteMdl(), CdCreateCcb(), CdCreateFcb(), CdCreateFcbNonpaged(), CdCreateInternalStream(), CdCreateIrpContext(), CdCreateUserMdl(), CdDeallocateFcbTable(), CdDeleteCcb(), CdDeleteFcb(), CdDeleteFcbNonpaged(), CdDeleteInternalStream(), CdDeleteVcb(), CdDiskOffsetFromMcbEntry(), CdEnumerateIndex(), CdFastDecodeFileObject(), CdFastLock(), CdFastUnlockAll(), CdFastUnlockAllByKey(), CdFastUnlockSingle(), CdFcbTableCompare(), CdFindActiveVolDescriptor(), CdFindMcbEntry(), CdFindNameLink(), CdFinishBuffers(), CdGetNextFcb(), CdHijackIrpAndFlushDevice(), CdInitializeEnumeration(), CdInitializeFcbFromFileContext(), CdInitializeFcbFromPathEntry(), CdInitializeStackIrpContext(), CdInitializeVcb(), CdInsertNameLink(), CdInsertPrefix(), CdIsPathnameValid(), CdIsVolumeDirty(), CdIsVolumeMounted(), CdLookupFcbTable(), CdLookupNextPathEntry(), CdMapPathTableBlock(), CdMultipleXAAsync(), CdNoopAcquire(), CdNoopRelease(), CdPerformDevIoCtrl(), CdPerformDevIoCtrlEx(), CdProcessToc(), CdQueryBasicInfo(), CdQueryEaInfo(), CdQueryFsAttributeInfo(), CdQueryFsDeviceInfo(), CdQueryFsSectorSizeInfo(), CdQueryFsSizeInfo(), CdQueryInternalInfo(), CdQueryNameInfo(), CdQueryNetworkInfo(), CdQueryPositionInfo(), CdQueryStandardInfo(), CdQueueClose(), CdReadSectors(), CdRemoveClose(), CdRemovePrefix(), CdSerial32(), CdSetThreadContext(), CdTocSerial(), CdTruncateAllocation(), CdUnload(), CdUpdatePathEntryName(), CdUpdateVcbFromVolDescriptor(), CdVerifyFcbOperation(), CdVerifyVcb(), CdWaitSync(), CAC97AdapterCommon::Check6thBitSupport(), CheckForLoudOperations(), ClassAddDevice(), ClassCreateClose(), ClassDispatchPnp(), ClassFindGuid(), ClassFindInternalGuid(), ClassGetPdoId(), ClassInitializeDispatchTables(), ClassModeSense(), ClassModeSenseEx(), ClasspAllocateReleaseRequest(), ClasspCleanupDisableMcn(), ClasspCleanupProtectedLocks(), ClasspCreateClose(), ClasspDisableGesn(), ClasspEjectionControl(), ClasspFreeReleaseRequest(), ClasspInitializeCScanList(), ClasspInitializeGesn(), ClasspInitializeHotplugInfo(), ClasspInitializePolling(), ClasspIsMediaChangeDisabledDueToHardwareLimitation(), ClasspIsMediaChangeDisabledForClass(), ClasspIsPortable(), ClasspMcnControl(), ClasspMediaChangeDeviceInstanceOverride(), ClasspModeSense(), ClasspMyStringMatches(), ClassPnpQueryFdoRelations(), ClassPnpStartDevice(), ClasspRegisterMountedDeviceInterface(), ClasspScanForClassHacks(), ClasspScanForSpecialInRegistry(), ClassQueryPnpCapabilities(), ClassRetrieveDeviceRelations(), ClassSendDeviceIoControlSynchronous(), ClassSystemControl(), ClassUnload(), CleanupTransferPacketToWorkingSetSizeWorker(), CmBattAddAcAdapter(), CmBattAddBattery(), CmBattAddDevice(), CmBattCreateFdo(), CmBattDestroyFdo(), CmBattDisableStatusNotify(), CmBattGetBatteryStatus(), CmBattGetPsrData(), CmBattGetStaData(), CmBattGetUniqueId(), CmBattIoctl(), CmBattOpenClose(), CmBattPnpDispatch(), CmBattQueryInformation(), CmBattQueryStatus(), CmBattQueryTag(), CmBattSendDownStreamIrp(), CmBattSetStatusNotify(), CmBattSetTripPpoint(), CmBattSystemControl(), CmBattWmiDeRegistration(), CmBattWmiRegistration(), CmCheckRegistry(), CmEnumerateValueKey(), CmGetSystemDriverList(), CmiCallRegisteredCallbacks(), CmInitSystem1(), CmIsSelfHealEnabled(), CmpAddSubKey(), CmpAddToDelayedClose(), CmpAddValueToList(), CmpAllocateDelayItem(), CmpAllocateKeyControlBlock(), CmpArmDelayedCloseTimer(), CmpCleanUpKcbCacheWithLock(), CmpCloseKeyObject(), CmpCmdHiveOpen(), CmpCmdInit(), CmpCompareNewValueDataAgainstKCBCache(), CmpCopyCell(), CmpCopyKeyValueList(), CmpCopyValue(), CmpCreateControlSet(), CmpCreateObjectTypes(), CmpCreateRegistryRoot(), CmpCreateRootNode(), CmpDeepCopyKeyInternal(), CmpDelayDerefKeyControlBlock(), CmpDeleteKeyObject(), CmpFreeDelayItem(), CmpFreeKeyControlBlock(), CmpFreeSecurityDescriptor(), CmpFreeValue(), CmpFreeValueData(), CmpGetValueData(), CmpHiveRootSecurityDescriptor(), CmpInitCallback(), CmpInitHiveFromFile(), CmpInitializeHiveList(), CmpInitializeSystemHive(), CmpIsHiveAlreadyLoaded(), CmpLazyFlush(), CmpLinkHiveToMaster(), CmpLinkKeyToHive(), CmpMarkValueDataDirty(), CmpParseKey(), CmpPurgeVolatiles(), CmpQueryKeyDataFromCache(), CmpRemoveFromDelayedClose(), CmpRemoveSecurityCellList(), CmpRemoveSubkeyInRoot(), CmpRemoveValueFromList(), CmpRepairClassOfNodeKey(), CmpRepairKeyNodeSignature(), CmpRepairParentKey(), CmpRepairParentNode(), CmpRepairSubKeyCounts(), CmpRepairSubKeyList(), CmpRepairValueList(), CmpRepairValueListCount(), CmpSetValueDataNew(), CmpShutdownWorkers(), CmpValidateClass(), CmpValidateKey(), CmpValidateLexicalOrder(), CmpValidateRegistryInternal(), CmpValidateSubKeyList(), CmpValidateValueList(), CmpValidateValueListByCount(), CmpValueToData(), CmQueryValueKey(), CmRegisterCallback(), CmSaveKey(), CmSaveMergedKeys(), CmUnRegisterCallback(), CODE_SEG(), CompBattAddNewBattery(), CompBattGetDeviceObjectPointer(), CompBattOpenClose(), CompBattQueryInformation(), CompBattQueryTag(), CompBattSystemControl(), ConfigCallback(), CopyResourceDescriptor(), CreateAC97MiniportTopology(), CreateAC97MiniportWaveRTStream(), CreateFlopDeviceObject(), CreateMiniportTopologyCMI(), CreateMiniportWaveCMI(), CreateMiniportWaveCyclicStream(), CreateMiniportWaveICHStream(), CreateMiniportWaveStreamCMI(), CreateQueueEvtIoDefault(), DbgkClearProcessDebugObject(), DbgkCopyProcessDebugPort(), DbgkCreateThread(), DbgkExitProcess(), DbgkExitThread(), DbgkForwardException(), DbgkInitialize(), DbgkMapViewOfSection(), DbgkOpenProcessDebugPort(), DbgkpCloseObject(), DbgkpDeleteObject(), DbgkpFreeDebugEvent(), DbgkpMarkProcessPeb(), DbgkpOpenHandles(), DbgkpPostFakeModuleMessages(), DbgkpPostFakeProcessCreateMessages(), DbgkpPostFakeThreadMessages(), DbgkpQueueMessage(), DbgkpResumeProcess(), DbgkpSectionToFileHandle(), DbgkpSendApiMessage(), DbgkpSendApiMessageLpc(), DbgkpSetProcessDebugObject(), DbgkpSuspendProcess(), DbgkpWakeTarget(), DbgkUnMapViewOfSection(), DcAllocateMemory(), DcAllocateRcb(), DcAllocateReceiveBuffers(), DcAllocateReceiveDescriptors(), DcAllocateTransmitBlocks(), DcAllocateTransmitBuffers(), DcAllocateTransmitDescriptorsAndBuffers(), DcConfigQueryInteger(), DcCreateRxRing(), DcDownloadPatternFilter(), DcFindMiiPhy(), DcFreeAdapter(), DcFreeEeprom(), DcFreeRcb(), DcGetBusModeParameters(), DcHalt(), DcInitialize(), DcInitializeAdapterLocation(), DcInitializeAdapterResources(), DcInitRxRing(), DcInitTestPacket(), DcInitTxRing(), DcPowerDown(), DcPowerUp(), DcPowerWorker(), DcProgramWakeUpEvents(), DcReadConfiguration(), DcReadEeprom(), DcRecognizeHardware(), DcResetWorker(), DcSetupAdapter(), DcSetupFrameInitialize(), DcSetupWakeUpFilter(), DcSoftReset(), DcStartAdapter(), DestroyAllTransferPackets(), DetermineDriveType(), DetermineMediaType(), DeviceDisableGesn(), DeviceEvtCleanup(), DeviceEvtD0Exit(), DeviceEvtFileClose(), DeviceEvtSelfManagedIoCleanup(), DeviceEvtSelfManagedIoInit(), DeviceEvtSurpriseRemoval(), DeviceMediaChangeRegistryCallBack(), DeviceRestoreDefaultSpeed(), devpresent_Constructor(), CAC97AdapterCommon::DisableAC97Pin(), DiskAddDevice(), DiskCreateFdo(), DiskCreateSymbolicLinks(), DiskDeleteSymbolicLinks(), DiskDetectFailurePrediction(), DiskDetermineMediaTypes(), DiskEnableDisableFailurePrediction(), DiskEnableDisableFailurePredictPolling(), DiskEnableInfoExceptions(), DiskFdoExecuteWmiMethod(), DiskFdoQueryWmiDataBlock(), DiskFdoQueryWmiRegInfo(), DiskFdoSetWmiDataBlock(), DiskFdoSetWmiDataItem(), DiskGenerateDeviceName(), DiskGetCacheInformation(), DiskGetIdentifyInfo(), DiskGetInfoExceptionInformation(), DiskGetModePage(), DiskInitFdo(), DiskInitializeReregistration(), DiskIoctlEnableFailurePrediction(), DiskIoctlGetCacheInformation(), DiskIoctlGetCacheSetting(), DiskIoctlGetDriveGeometry(), DiskIoctlGetDriveGeometryEx(), DiskIoctlGetLengthInfo(), DiskIoctlGetMediaTypesEx(), DiskIoctlGetVolumeDiskExtents(), DiskIoctlIsWritable(), DiskIoctlPredictFailure(), DiskIoctlReassignBlocks(), DiskIoctlReassignBlocksEx(), DiskIoctlSetCacheInformation(), DiskIoctlSetCacheSetting(), DiskIoctlSmartGetVersion(), DiskIoctlSmartReceiveDriveData(), DiskIoctlSmartSendDriveCommand(), DiskIoctlUpdateDriveSize(), DiskIoctlVerifyThread(), DiskLogCacheInformation(), DiskModeSelect(), DiskPerformSmartCommand(), DiskReadFailurePredictData(), DiskReadFailurePredictStatus(), DiskReadFailurePredictThresholds(), DiskReadSmartLog(), DiskRemoveDevice(), DiskReregWorker(), DiskSendFailurePredictIoctl(), DiskSetCacheInformation(), DiskSetInfoExceptionInformation(), DiskSetSpecialHacks(), DiskStartFdo(), DiskUnload(), DiskWmiFunctionControl(), DiskWriteSmartLog(), DriverCleanup(), DriverClose(), DriverCreate(), DriverEntry(), DriverEvtCleanup(), DriverEvtDeviceAdd(), DriverIoControl(), DriverUnload(), EvalAcpiStatusToNtStatus(), EvalConvertEvaluationResults(), EvalConvertObjectReference(), EvalConvertParameterObjects(), EvalCreateOutputArguments(), EvalCreateParametersList(), EvalEvaluateObject(), EvalFreeParameterArgument(), EvalFreeParametersList(), EvalGetElementSize(), EvalGetPackageCount(), ExAllocateCacheAwareRundownProtection(), ExChangeHandle(), ExCreateCallback(), ExCreateHandle(), ExCreateHandleTable(), ExDestroyHandle(), ExDestroyHandleTable(), ExDupHandleTable(), ExEnumHandleTable(), ExFreeCacheAwareRundownProtection(), ExfReInitializeRundownProtection(), ExfRundownCompleted(), ExfWaitForRundownProtectionRelease(), ExInitializeRundownProtectionCacheAware(), ExLockUserBuffer(), ExMapHandleToPointer(), ExpAllocateHandleTable(), ExpAllocateHandleTableEntrySlow(), ExpAllocateUuids(), ExpFreeHandleTable(), ExpFreeHandleTableEntry(), ExpGetCurrentUserUILanguage(), ExpRaiseHardError(), ExpSetCurrentUserUILanguage(), ExpUuidGetValues(), ExpUuidLoadSequenceNumber(), ExpUuidSaveSequenceNumber(), ExpUuidSaveSequenceNumberIf(), ExpWorkerThreadBalanceManager(), ExRaiseHardError(), ExRemoveHandleTable(), ExSizeOfRundownProtectionCacheAware(), ExSwapinWorkerThreads(), ExSweepHandleTable(), ExUnlockHandleTableEntry(), ExUuidCreate(), FatAddMcbEntry(), FatAllocateCloseContext(), FatAllowExtendedDasdIo(), FatAppendPackedEa(), FatBufferUserBuffer(), FatCheckDirtyBit(), FatCheckFileAccess(), FatCheckManageVolumeAccess(), FatCheckShareAccess(), FatCheckSystemSecurityAccess(), FatCloseEaFile(), FatCloseWorker(), FatCommonQueryEa(), FatCommonSetEa(), FatCompareNames(), FatCompleteMdl(), FatCompleteRequest_Real(), FatComputeMoveFileSplicePoints(), FatConstructNamesInFcb(), FatCreateCcb(), FatCreateDcb(), FatCreateFcb(), FatCreateIrpContext(), FatCreateRestrictEveryoneToken(), FatDeallocateCcbStrings(), FatDecodeFileObject(), FatDeferredCleanVolume(), FatDeferredFlush(), FatDeleteCcb(), FatDeleteFcb(), FatDeleteIrpContext_Real(), FatDeletePackedEa(), FatDeleteVcb(), FatEnsureStringBufferEnough(), FatExamineFatEntries(), FatExplicitDeviceAccessGranted(), FatFatDateToNtTime(), FatFatTimeToNtTime(), FatFindFcb(), FatFlushDirentForFile(), FatFlushFat(), FatFlushFatEntries(), FatFreeStringBuffer(), FatFsdPostRequest(), FatFspDispatch(), FatGetCurrentFatTime(), FatGetDirTimes(), FatGetNextFcbBottomUp(), FatGetNextFcbTopDown(), FatGetNextMcbEntry(), FatGetStatistics(), FatHijackIrpAndFlushDevice(), FatInsertName(), FatInterpretClusterType(), FatIsEaNameValid(), FatIsHandleCountZero(), FatIsIrpTopLevel(), FatIsMediaWriteProtected(), FatIsPathnameValid(), FatIsVolumeDirty(), FatIsVolumeMounted(), FatLocateEaByName(), FatLocateNextEa(), FatLockUserBuffer(), FatLogOf(), FatLookupFatEntry(), FatLookupLastMcbEntry(), FatMapUserBuffer(), FatMarkEaRangeDirty(), FatMultipleAsync(), FatNoOpAcquire(), FatNoOpRelease(), FatOpenEaFile(), FatOplockComplete(), FatPerformDevIoCtrl(), FatPerformVerifyDiskRead(), FatPinEaRange(), FatPinMappedData(), FatPreallocateCloseContext(), FatPrefetchPages(), FatPrePostIrp(), FatQueryBasicInfo(), FatQueryBpb(), FatQueryEaInfo(), FatQueryFsAttributeInfo(), FatQueryFsDeviceInfo(), FatQueryFsFullSizeInfo(), FatQueryFsSectorSizeInfo(), FatQueryFsSizeInfo(), FatQueryFsVolumeInfo(), FatQueryInternalInfo(), FatQueryPositionInfo(), FatQueryShortNameInfo(), FatQuickVerifyVcb(), FatReadEaSet(), FatReadVolumeFile(), FatRemoveMcbEntry(), FatRemoveNames(), FatRepinBcb(), FatResetFcb(), FatScanForDataTrack(), FatSearchBufferForLabel(), FatSetFatRun(), FatSetFileObject(), FatSetFsLabelInfo(), FatSetFullNameInFcb(), FatSetPositionInfo(), FatSetRenameInfo(), FatSetupAllocationSupport(), FatSetZeroOnDeallocate(), FatSingleAsync(), FatSingleNonAlignedSync(), FatSyncUninitializeCacheMap(), FatTearDownAllocationSupport(), FatTearDownVcb(), FatUnlockVolume(), FatUnpinEaRange(), FatUnpinRepinnedBcbs(), FatVerifyLookupFatEntry(), FatVerifyOperationIsLegal(), FatVerifyVcb(), FatWaitSync(), FatZeroData(), FdoHandleDeviceRelations(), FdoHandleRemoveDevice(), FdoHandleSurpriseRemoval(), FdoIoctlDiskCreateDisk(), FdoIoctlDiskDeleteDriveLayout(), FdoIoctlDiskGetDriveGeometryEx(), FdoIoctlDiskGetDriveLayout(), FdoIoctlDiskGetDriveLayoutEx(), FdoIoctlDiskGetPartitionInfo(), FdoIoctlDiskGetPartitionInfoEx(), FdoIoctlDiskSetDriveLayout(), FdoIoctlDiskSetDriveLayoutEx(), FdoIoctlDiskUpdateProperties(), FilterInstanceSetup(), FilterQueryTeardown(), FilterUnload(), FindDmaDescriptor(), FindIoDescriptor(), FindIrqDescriptor(), FindMemoryDescriptor(), FindPhyDevice(), FlCheckFormatParameters(), FlopticalFormatMedia(), FltEnumerateVolumes(), FltpAttachDeviceObject(), FltpAttachToFileSystemDevice(), FltpCreate(), FltpDetachFromFileSystemDevice(), FltpEnumerateFileSystemVolumes(), FltpFastIoCheckIfPossible(), FltpFastIoDetachDevice(), FltpFastIoDeviceControl(), FltpFastIoLock(), FltpFastIoMdlRead(), FltpFastIoMdlReadComplete(), FltpFastIoMdlReadCompleteCompressed(), FltpFastIoMdlWriteComplete(), FltpFastIoMdlWriteCompleteCompressed(), FltpFastIoPrepareMdlWrite(), FltpFastIoQueryBasicInfo(), FltpFastIoQueryNetworkOpenInfo(), FltpFastIoQueryOpen(), FltpFastIoQueryStandardInfo(), FltpFastIoRead(), FltpFastIoReadCompressed(), FltpFastIoUnlockAll(), FltpFastIoUnlockAllByKey(), FltpFastIoUnlockSingle(), FltpFastIoWrite(), FltpFastIoWriteCompressed(), FltpFsControl(), FltpFsNotification(), FltpIsAttachedToDevice(), FltpReadRegistryValue(), FormatMedia(), FreeBT_DispatchClose(), FreeBT_DispatchCreate(), FreeBT_DispatchSysCtrl(), FreeBT_QueryWmiDataBlock(), FreeBT_QueryWmiRegInfo(), FreeBT_SetWmiDataBlock(), FreeBT_SetWmiDataItem(), FreeBT_WmiDeRegistration(), FreeBT_WmiRegistration(), FreeLogicalDevice(), FsRecBtrfsFsControl(), FsRecCdfsFsControl(), FsRecClose(), FsRecCreate(), FsRecExt2FsControl(), FsRecFatxFsControl(), FsRecFfsFsControl(), FsRecFsControl(), FsRecGetDeviceSectors(), FsRecGetDeviceSectorSize(), FsRecIsCdfsVolume(), FsRecIsFatVolume(), FsRecIsFatxVolume(), FsRecIsNtfsVolume(), FsRecIsUdfsVolume(), FsRecLoadFileSystem(), FsRecNtfsFsControl(), FsRecReadBlock(), FsRecReiserfsFsControl(), FsRecUdfsFsControl(), FsRecUnload(), FsRecVfatFsControl(), FsRtlAcquireFileExclusive(), FsRtlAcquireFileForCcFlush(), FsRtlAcquireToCreateMappedSection(), FsRtlAddToTunnelCache(), FsRtlAllocateOplock(), FsRtlAllocateResource(), FsRtlAreNamesEqual(), FsRtlCompletionRoutinePriv(), FsRtlCopyRead(), FsRtlCopyRead2(), FsRtlCopyWrite(), FsRtlCopyWrite2(), FsRtlCurrentBatchOplock(), FsRtlDeleteKeyFromTunnelCache(), FsRtlDeleteTunnelCache(), FsRtlDeregisterUncProvider(), FsRtlDissectDbcs(), FsRtlDissectName(), FsRtlDoesDbcsContainWildCards(), FsRtlDoesNameContainWildCards(), FsRtlFindInTunnelCache(), FsRtlGetFileSize(), FsRtlInitializeOplock(), FsRtlInitializeTunnelCache(), FsRtlIsDbcsInExpression(), FsRtlIsFatDbcsLegal(), FsRtlIsHpfsDbcsLegal(), FsRtlIsNameInExpressionPrivate(), FsRtlMdlReadDev(), FsRtlNotifyCompleteIrp(), FsRtlNotifyCompletion(), FsRtlNotifyFilterChangeDirectory(), FsRtlNotifyFilterReportChange(), FsRtlNotifyUpdateBuffer(), FsRtlOpBatchBreakClosePending(), FsRtlOplockBreakNotify(), FsRtlOplockFsctrl(), FsRtlOplockIsFastIoPossible(), FsRtlpOpenDev(), FsRtlpRegisterProviderWithMUP(), FsRtlPrepareMdlWriteDev(), FsRtlPruneTunnelCache(), FsRtlpSetSymbolicLink(), FsRtlRegisterFileSystemFilterCallbacks(), FsRtlRegisterUncProvider(), FsRtlRemoveAndCompleteWaitIrp(), FstubAdjustPartitionCount(), FstubAllocateDiskInformation(), FstubConvertExtendedToLayout(), FstubCopyEntryEFI(), FstubCreateDiskEFI(), FstubCreateDiskMBR(), FstubCreateDiskRaw(), FstubDbgPrintDriveLayoutEx(), FstubDbgPrintPartitionEx(), FstubDbgPrintSetPartitionEx(), FstubDetectPartitionStyle(), FstubFixupEfiPartition(), FstubGetDiskGeometry(), FstubReadHeaderEFI(), FstubReadPartitionTableEFI(), FstubReadPartitionTableMBR(), FstubReadSector(), FstubSetPartitionInformationEFI(), FstubTranslateRequirement(), FstubTranslateResource(), FstubTranslatorNull(), FstubVerifyPartitionTableEFI(), FstubWriteBootSectorEFI(), FstubWriteEntryEFI(), FstubWriteHeaderEFI(), FstubWritePartitionTableEFI(), FstubWritePartitionTableMBR(), FstubWriteSector(), Get_Byte(), CAC97MiniportTopology::GetDBValues(), CMiniportDMusUART::GetDescription(), GetDeviceId(), HalAdjustResourceList(), HalAssignSlotResources(), HalGetInterruptVector(), HaliAcpiTimerInit(), HaliInitPnpDriver(), HalpAcpiDetectResourceListSize(), HalpAssignSlotResources(), HalpBuildAcpiResourceList(), HalpCalculateChsValues(), HalpGetFullGeometry(), HalpIsOldStyleFloppy(), HalpIsValidPartitionEntry(), HalpQueryAcpiResourceRequirements(), HalpQueryCapabilities(), HalpQueryDriveLayout(), HalpQueryPartitionType(), HalpQueryResourceRequirements(), HalpQueryResources(), HalpRegisterPciDebuggingDeviceInfo(), CMiniportDMusUARTStream::HandlePortParams(), HpnaPhyInit(), HpnaSpiClose(), HpnaSpiShiftOut(), HpnaWrite(), HvReleaseFreeCellRefArray(), HvTrackCellRef(), HvValidateBin(), HvValidateHive(), HwConfigure(), HwFormatTrack(), HwGetVersion(), HwReadId(), HwReadIdResult(), HwReadWriteData(), HwReadWriteResult(), HwRecalibrate(), HwRecalibrateResult(), HwSeek(), HwSenseDriveStatus(), HwSenseDriveStatusResult(), HwSenseInterruptStatus(), HwTurnOnMotor(), CMiniportWaveStreamCMI::Init(), CAC97MiniportWaveRTStream::Init(), CMiniportStream::Init(), CMiniportWaveCyclicStream::Init_(), CMiniportWaveICHStream::Init_(), CAC97AdapterCommon::InitAC97(), InitController(), InitializeDeviceData(), InitializeGlobalData(), CMiniportDMusUART::InitializeHardware(), InitializeTransferPackets(), InPortAddDevice(), InPortCreateClose(), InPortInitializeMouse(), InPortPnp(), InPortQueryWmiDataBlock(), InPortQueryWmiRegInfo(), InPortRemoveDevice(), InPortStartDevice(), InPortUnload(), InPortWmi(), InPortWmiDeRegistration(), InPortWmiRegistration(), InstallSubdevice(), IoCancelThreadIo(), IoCheckDesiredAccess(), IoCheckEaBufferValidity(), IoCheckShareAccess(), IoConnectInterrupt(), IoConnectInterruptEx(), IoCreateController(), IoCreateDevice(), IoCreateDisk(), IoCreateFile(), IoCreateFileSpecifyDeviceObjectHint(), IoCreateStreamFileObjectEx(), IoCreateStreamFileObjectLite(), IoCreateSymbolicLink(), IoCreateUnprotectedSymbolicLink(), IoctlWorkItemRoutine(), IoDeleteSymbolicLink(), IoDisconnectInterrupt(), IoDisconnectInterruptEx(), IoFastQueryNetworkAttributes(), IoGetBootDiskInformation(), IoGetDeviceInterfaces(), IoInitializeRemoveLockEx(), IoInitializeTimer(), IopAbortInterruptedIrp(), IopAcquireFileObjectLock(), IopBusNumberInitialize(), IopBusNumberPackResource(), IopBusNumberScoreRequirement(), IopBusNumberUnpackRequirement(), IopBusNumberUnpackResource(), IopCheckBackupRestorePrivilege(), IopCleanupAfterException(), IopCleanupFailedIrp(), IopConnectInterruptExFullySpecific(), IopCreateDefaultDeviceSecurityDescriptor(), IopCreateEvent(), IopCreateFile(), IopCreateRegistryKeyEx(), IopDeleteDevice(), IopDeleteDriver(), IopDeviceFsIoControl(), IopDmaInitialize(), IopDmaOverrideConflict(), IopDmaPackResource(), IopDmaScoreRequirement(), IopDmaUnpackRequirement(), IopDmaUnpackResource(), IopDoNameTransmogrify(), IopFinalizeAsynchronousIo(), IopFreeApc(), IopGenericPackResource(), IopGenericScoreRequirement(), IopGenericTranslateOrdering(), IopGenericUnpackRequirement(), IopGenericUnpackResource(), IopGetBasicInformationFile(), IopGetDriverNames(), IopGetFileInformation(), IopGetRegistryValue(), IopGetSetSecurityObject(), IopInitializeDriverModule(), IopIrqInitialize(), IopIrqPackResource(), IopIrqScoreRequirement(), IopIrqTranslateOrdering(), IopIrqUnpackRequirement(), IopIrqUnpackResource(), IopLoadFileSystemDriver(), IopLogWorker(), IopMemFindSuitableRange(), IopMemInitialize(), IopMountVolume(), IopOpenLinkOrRenameTarget(), IopOpenRegistryKeyEx(), IopPerformSynchronousRequest(), IopPortAddAllocation(), IopPortBacktrackAllocation(), IopPortFindSuitableRange(), IopPortInitialize(), IopQueryAttributesFile(), IopQueryDeviceInformation(), IopReadyDeviceObjects(), IopSetDeviceSecurityDescriptor(), IopSetDeviceSecurityDescriptors(), IopSynchronousCall(), IopUnloadDriver(), IopValidateID(), IopWorkItemCallback(), IoReadDiskSignature(), IoReadPartitionTableEx(), IoRegisterFileSystem(), IoRegisterFsRegistrationChange(), IoRegisterPlugPlayNotification(), IoReleaseRemoveLockAndWaitEx(), IoRemoveShareAccess(), IoSetInformation(), IoSetPartitionInformationEx(), IoSetShareAccess(), IoSynchronousInvalidateDeviceRelations(), IoUnregisterFileSystem(), IoUnregisterFsRegistrationChange(), IoUnregisterPlugPlayNotification(), IoUpdateShareAccess(), IoVerifyPartitionTable(), IoVolumeDeviceToDosName(), IoWritePartitionTableEx(), IsaConvertDmaRequirement(), IsaConvertIoRequirement(), IsaConvertIrqRequirement(), IsaConvertMemRange32Requirement(), IsaConvertMemRangeRequirement(), IsaDetermineBestConfig(), IsaFdoPnp(), IsaFdoQueryBusRelations(), IsaFdoQueryInterface(), IsaFdoRemoveDevice(), IsaFdoStartDevice(), IsaHwConfigureDevice(), IsaHwTryReadDataPort(), IsaPdoFilterResourceRequirements(), IsaPdoPnp(), IsaPdoQueryBusInformation(), IsaPdoQueryCapabilities(), IsaPdoQueryDeviceRelations(), IsaPdoQueryDeviceText(), IsaPdoQueryDeviceUsageNotification(), IsaPdoQueryId(), IsaPdoQueryPnpDeviceState(), IsaPdoQueryResourceRequirements(), IsaPdoQueryResources(), IsaPdoRemoveDevice(), IsaPdoStartReadPort(), IsaPnpChecksum(), IsaPnpCreateLogicalDeviceRequirements(), IsaPnpCreateLogicalDeviceResources(), IsaPnpCreateReadPortDO(), IsaPnpCreateReadPortDORequirements(), IsaPnpCreateReadPortDOResources(), IsaPnpExtractAscii(), IsaPnpFillDeviceRelations(), IsaPnpRemoveLogicalDeviceDO(), IsaPnpRemoveReadPortDO(), IsaReadPortQueryId(), IsaReadPortRemoveDevice(), CMiniportWaveCMI::isFormatAllowed(), IssueSyncIoControlRequest(), KeAddSystemServiceTable(), KeFlushQueuedDpcs(), KeQueryActiveProcessors(), KeRemoveSystemServiceTable(), KmtCleanUsermodeCallbacks(), KmtFreeCallbackResponse(), KmtInitTestContext(), KmtUserModeCallback(), CMiniportWaveCMI::loadChannelConfigFromRegistry(), LpcpCopyRequestData(), LpcpCreatePort(), LpcpDeletePort(), LpcpDestroyPortQueue(), LpcpFindDataInfoMessage(), LpcpFreeToPortZone(), LpcpInitializePortQueue(), LpcpPrepareToWakeClient(), LpcpSaveDataInfoMessage(), LpcRequestPort(), LpcRequestWaitReplyPort(), MediaInitDefaultMedia(), MediaInitMediaList(), MediaInitOpMode2114x(), MiCacheImageSymbols(), MiCallDllUnloadAndUnloadDll(), MiClearImports(), MiCreatePagingFileMap(), MiDereferenceImports(), MiDoMappedCopy(), MiDoPoolCopy(), MiFillSystemPageDirectory(), MiFindContiguousMemory(), MiFindContiguousPages(), MiFreeContiguousMemory(), MiGetExceptionInfo(), MiGetPageProtection(), MiInitializeNonPagedPool(), MiInitializeSessionPool(), MiInsertInSystemSpace(), MiIsEntireRangeCommitted(), MiLoadImageSection(), MiLookupDataTableEntry(), MiMapLockedPagesInUserSpace(), MiMapViewInSystemSpace(), MiniportHalt(), MiniportInitialize(), MiRemoveFromSystemSpace(), MiResolveImageReferences(), MiSetPagingOfDriver(), MiSetProtectionOnSection(), MiSnapThunk(), MiUnmapViewInSystemSpace(), MiUnmapViewOfSection(), MmAddVerifierThunks(), MmCallDllInitialize(), MmCheckSystemImage(), MmCommitSessionMappedView(), MmFlushVirtualMemory(), MmGetSessionLocaleId(), MmLoadSystemImage(), MmMapVideoDisplay(), MmMapViewInSessionSpace(), MmMapViewInSystemSpaceEx(), MmMapViewOfArm3Section(), MmPageEntireDriver(), MmUnmapViewInSessionSpace(), MmUnmapViewInSystemSpace(), MmVerifyImageIsOkForMpUse(), NdisAnsiStringToUnicodeString(), NdisEqualString(), NdisInitializeString(), NdisMMapIoSpace(), NdisMQueryAdapterResources(), NdisMSleep(), NdisMUnmapIoSpace(), NdisUnicodeStringToAnsiString(), NdisUpcaseUnicodeString(), NewAdapterCommon(), NewCMIAdapter(), CMiniportWaveCMI::newDMAChannel(), CMiniport::NonDelegatingQueryInterface(), CMiniportStream::NonDelegatingQueryInterface(), NpCheckForNotify(), NpCommonCleanup(), NpCommonClose(), NpCommonFileSystemControl(), NpCommonFlushBuffers(), NpCommonQueryInformation(), NpCommonQuerySecurityInfo(), NpCommonQueryVolumeInformation(), NpCommonRead(), NpCommonSetInformation(), NpCommonSetSecurityInfo(), NpCommonWrite(), NpCompleteTransceiveIrp(), NpCopyClientContext(), NpCreateCcb(), NpCreateExistingNamedPipe(), NpCreateFcb(), NpCreateNewNamedPipe(), NpCreateRootDcb(), NpCreateRootDcbCcb(), NpDecodeFileObject(), NpDeleteCcb(), NpDeleteFcb(), NpDisconnect(), NpFindPrefix(), NpFindRelativePrefix(), NpFsdCleanup(), NpFsdClose(), NpFsdFileSystemControl(), NpFsdFlushBuffers(), NpFsdQueryInformation(), NpFsdQuerySecurityInfo(), NpFsdQueryVolumeInformation(), NpFsdRead(), NpFsdSetInformation(), NpFsdSetSecurityInfo(), NpFsdWrite(), NpGetClientSecurityContext(), NpGetNextRealDataQueueEntry(), NpImpersonate(), NpImpersonateClientContext(), NpInitializeDataQueue(), NpInitializeSecurity(), NpInitializeVcb(), NpListen(), NpOpenNamedPipeFileSystem(), NpOpenNamedPipeRootDirectory(), NpPeek(), NpQueryClientProcess(), NpReadDataQueue(), NpSetBasicInfo(), NpSetClientProcess(), NpSetFileObject(), NpSetPipeInfo(), NpTransceive(), NpTranslateAlias(), NpUninitializeDataQueue(), NpUninitializeSecurity(), NpWaitForNamedPipe(), NpWriteDataQueue(), NtAcceptConnectPort(), NtAccessCheck(), NtAccessCheckByType(), NtAccessCheckByTypeResultList(), NtAddAtom(), NtAdjustGroupsToken(), NtAdjustPrivilegesToken(), NtAllocateLocallyUniqueId(), NtAllocateUuids(), NtAllocateVirtualMemory(), NtAssignProcessToJobObject(), NtCancelIoFile(), NtCancelTimer(), NtClearEvent(), NtCloseObjectAuditAlarm(), NtCompareTokens(), NtCompleteConnectPort(), NtCreateDebugObject(), NtCreateDirectoryObject(), NtCreateEvent(), NtCreateEventPair(), NtCreateIoCompletion(), NtCreateJobObject(), NtCreateKey(), NtCreateMailslotFile(), NtCreateMutant(), NtCreateNamedPipeFile(), NtCreatePagingFile(), NtCreatePort(), NtCreateProcessEx(), NtCreateProfile(), NtCreateSection(), NtCreateSemaphore(), NtCreateSymbolicLinkObject(), NtCreateThread(), NtCreateTimer(), NtCreateToken(), NtCreateWaitablePort(), NtDebugActiveProcess(), NtDebugContinue(), NtDeleteAtom(), NtDeleteFile(), NtDeleteKey(), NtDeleteValueKey(), NtDisplayString(), NtDuplicateToken(), NtEnumerateKey(), NtEnumerateValueKey(), NtFilterToken(), NtFindAtom(), NtFlushBuffersFile(), NtFlushInstructionCache(), NtFlushKey(), NtFlushVirtualMemory(), NtFlushWriteBuffer(), NtFreeVirtualMemory(), NtGetContextThread(), NtGetWriteWatch(), NtImpersonateAnonymousToken(), NtImpersonateClientOfPort(), NtImpersonateThread(), NtInitializeRegistry(), NtIsProcessInJob(), NtListenPort(), NtLoadDriver(), NtLoadKeyEx(), NtLockFile(), NtLockVirtualMemory(), NtMakePermanentObject(), NtMakeTemporaryObject(), NtNotifyChangeDirectoryFile(), NtOpenDirectoryObject(), NtOpenEvent(), NtOpenEventPair(), NtOpenIoCompletion(), NtOpenJobObject(), NtOpenKey(), NtOpenMutant(), NtOpenObjectAuditAlarm(), NtOpenProcess(), NtOpenProcessTokenEx(), NtOpenSection(), NtOpenSemaphore(), NtOpenSymbolicLinkObject(), NtOpenThread(), NtOpenThreadTokenEx(), NtOpenTimer(), NtPowerInformation(), NtPrivilegeCheck(), NtPrivilegedServiceAuditAlarm(), NtProtectVirtualMemory(), NtPulseEvent(), NtQueryDefaultLocale(), NtQueryDefaultUILanguage(), NtQueryDirectoryFile(), NtQueryDirectoryObject(), NtQueryEvent(), NtQueryInformationAtom(), NtQueryInformationFile(), NtQueryInformationJobObject(), NtQueryInformationProcess(), NtQueryInformationThread(), NtQueryInformationToken(), NtQueryInstallUILanguage(), NtQueryIntervalProfile(), NtQueryIoCompletion(), NtQueryKey(), NtQueryMutant(), NtQueryObject(), NtQueryOpenSubKeys(), NtQuerySection(), NtQuerySecurityObject(), NtQuerySemaphore(), NtQuerySymbolicLinkObject(), NtQuerySystemEnvironmentValue(), NtQuerySystemInformation(), NtQuerySystemTime(), NtQueryTimer(), NtQueryValueKey(), NtQueryVolumeInformationFile(), NtQueueApcThreadEx(), NtRaiseHardError(), NtReadFile(), NtReadVirtualMemory(), NtRegisterThreadTerminatePort(), NtReleaseMutant(), NtReleaseSemaphore(), NtRemoveIoCompletion(), NtRemoveProcessDebug(), NtReplyPort(), NtReplyWaitReceivePortEx(), NtRequestPort(), NtRequestWaitReplyPort(), NtResetEvent(), NtResumeProcess(), NtResumeThread(), NtSaveKeyEx(), NtSaveMergedKeys(), NtSecureConnectPort(), NtSetContextThread(), NtSetDefaultHardErrorPort(), NtSetDefaultLocale(), NtSetDefaultUILanguage(), NtSetEvent(), NtSetEventBoostPriority(), NtSetHighEventPair(), NtSetHighWaitLowEventPair(), NtSetInformationDebugObject(), NtSetInformationFile(), NtSetInformationJobObject(), NtSetInformationObject(), NtSetInformationProcess(), NtSetInformationThread(), NtSetInformationToken(), NtSetIoCompletion(), NtSetLowEventPair(), NtSetLowWaitHighEventPair(), NtSetSecurityObject(), NtSetSystemEnvironmentValue(), NtSetSystemInformation(), NtSetSystemTime(), NtSetThreadExecutionState(), NtSetTimer(), NtSetUuidSeed(), NtSetValueKey(), NtSetVolumeInformationFile(), NtStartProfile(), NtStopProfile(), NtSuspendProcess(), NtSuspendThread(), NtTerminateJobObject(), NtTerminateProcess(), NtTerminateThread(), NtUnloadKey2(), NtUnlockFile(), NtUnlockVirtualMemory(), NtVdmControl(), NtWaitForDebugEvent(), NtWaitForMultipleObjects(), NtWaitHighEventPair(), NtWaitLowEventPair(), NtWriteFile(), NtWriteVirtualMemory(), NullDispatch(), NullQueryFileInformation(), NullRead(), NullWrite(), NvNetBackoffSetSlotTime(), NvNetClearStatisticsCounters(), NvNetFlushTransmitQueue(), NvNetFreeAdapter(), NvNetGetPermanentMacAddress(), NvNetIdleTransmitter(), NvNetInitializeAdapterResources(), NvNetInitNIC(), NvNetInitReceiveMemory(), NvNetInitTransmitMemory(), NvNetPhyInit(), NvNetPowerWorker(), NvNetReadConfiguration(), NvNetRecognizeHardware(), NvNetResetWorker(), NvNetSetupMacAddress(), NvNetStartAdapter(), NvNetStopAdapter(), NvNetValidateConfiguration(), ObAssignObjectSecurityDescriptor(), ObAssignSecurity(), ObCheckCreateObjectAccess(), ObCheckObjectAccess(), ObDeleteCapturedInsertInfo(), ObDuplicateObject(), ObGetObjectSecurity(), ObInsertObject(), ObKillProcess(), ObMakeTemporaryObject(), ObOpenObjectByName(), ObOpenObjectByPointer(), ObpAllocateObject(), ObpCaptureObjectCreateInformation(), ObpCaptureObjectName(), ObpCheckObjectReference(), ObpCheckTraverseAccess(), ObpCloseHandle(), ObpCloseHandleTableEntry(), ObpCreateHandle(), ObpCreateUnnamedHandle(), ObpDeallocateObject(), ObpDecrementHandleCount(), ObpDeleteObject(), ObpDuplicateHandleCallback(), ObpIncrementHandleCount(), ObpIncrementHandleDataBase(), ObpInsertHandleCount(), ObpLookupEntryDirectory(), ObpLookupObjectName(), ObpParseSymbolicLink(), ObpQueryNameInfoSize(), ObQueryObjectAuditingByHandle(), ObQuerySecurityDescriptorInfo(), ObReferenceObjectByHandle(), ObReferenceObjectByName(), ObReleaseObjectSecurity(), ObSetHandleAttributes(), ObSetSecurityDescriptorInfo(), ObSetSecurityObjectByPointer(), ParseTags(), PartitionCreateDevice(), PartitionHandleDeviceRelations(), PartitionHandlePnp(), PartitionHandleQueryCapabilities(), PartitionHandleQueryId(), PartitionHandleRemove(), PartitionHandleStartDevice(), PartMgrAcquireLayoutLock(), PartMgrAddDevice(), PartMgrConvertExtendedToLayout(), PartMgrConvertLayoutToExtended(), PartMgrGetDriveLayout(), PartMgrPnp(), PartMgrRefreshDiskData(), PartMgrReleaseLayoutLock(), Pc98VidFindAdapter(), Pc98VidGetChildState(), Pc98VidGetPowerState(), Pc98VidGetVideoChildDescriptor(), Pc98VidInitialize(), Pc98VidMapVideoMemory(), Pc98VidQueryAvailModes(), Pc98VidQueryCurrentMode(), Pc98VidQueryMode(), Pc98VidQueryNumAvailModes(), Pc98VidResetDevice(), Pc98VidSetColorRegisters(), Pc98VidSetCurrentMode(), Pc98VidSetPowerState(), Pc98VidStartIO(), Pc98VidUnmapVideoMemory(), PciAddDevice(), PciAreBusNumbersConfigured(), PciAssignSlotResources(), PciCacheLegacyDeviceRouting(), PciCallDownIrpStack(), PciComputeNewCurrentSettings(), PciFdoIrpQueryCapabilities(), PciFdoIrpQueryDeviceRelations(), PciFdoIrpQueryInterface(), PciFdoIrpStartDevice(), PciGetBiosConfig(), PciGetDeviceCapabilities(), PciGetEnhancedCapabilities(), PciGetFunctionLimits(), PciGetHotPlugParameters(), PciIdeXAddDevice(), PciIdeXChannelState(), PciIdeXCreateIdeDirectory(), PciIdeXDispatchPnp(), PciIdeXDispatchWmi(), PciIdeXFdoDispatchPnp(), PciIdeXFdoFreeResources(), PciIdeXFdoParseResources(), PciIdeXFdoQueryBusRelations(), PciIdeXFdoQueryDeviceUsageNotification(), PciIdeXFdoQueryInterface(), PciIdeXFdoQueryPnpDeviceState(), PciIdeXFdoRemoveDevice(), PciIdeXFdoStartDevice(), PciIdeXFdoStopDevice(), PciIdeXGetConfigurationInfo(), PciIdeXGetControllerDeviceId(), PciIdeXGetControllerVendorId(), PciIdeXInitialize(), PciIdeXPdoCreateDevice(), PciIdeXPdoDispatchPnp(), PciIdeXPdoQueryCapabilities(), PciIdeXPdoQueryDeviceText(), PciIdeXPdoQueryDeviceUsageNotification(), PciIdeXPdoQueryId(), PciIdeXPdoQueryPnpDeviceState(), PciIdeXPdoQueryResourceRequirements(), PciIdeXPdoQueryResources(), PciIdeXPdoQueryStopRemoveDevice(), PciIdeXPdoQueryTargetDeviceRelations(), PciIdeXPdoRemoveDevice(), PciIdeXPdoRepeatRequest(), PciIdeXPdoStartDevice(), PciIdeXPdoStopDevice(), PciIdeXQueryInterface(), PciIdeXStartMiniport(), PciIdeXUnload(), PciInsertEntryAtHead(), PciInsertEntryAtTail(), PciIsDeviceOnDebugPath(), PciIsSlotPresentInParentMethod(), PciOpenKey(), PciPdoCreate(), PciPdoIrpQueryBusInformation(), PciPdoIrpQueryCapabilities(), PciPdoIrpQueryDeviceRelations(), PciPdoIrpQueryDeviceText(), PciPdoIrpQueryId(), PciPdoIrpQueryResourceRequirements(), PciPdoIrpQueryResources(), PciPdoIrpStartDevice(), PcipGetFunctionLimits(), PcipLinkSecondaryExtension(), PciProcessBus(), PciQueryDeviceRelations(), PciQueryForPciBusInterface(), PciQueryId(), PciQueryRequirements(), PciQueryResources(), PciQueryTargetDeviceRelations(), PciSaveBiosConfig(), PciSendIoctl(), Peek(), PeekByte(), PeekCached(), PhyInit(), PhyInitCicadaSemiconductor(), PhyInitRealtek8201(), PhyInitRealtek8211b(), PhyInitRealtek8211c(), PhyInitVitesseSemiconductor(), PhyReset(), PiAttachFilterDrivers(), PiAttachFilterDriversCallback(), PiCallDriverAddDevice(), PiCallNotifyProc(), PiDereferencePnpNotifyEntry(), PiGetDeviceRegistryProperty(), PiIrpCancelStopDevice(), PiIrpQueryDeviceRelations(), PiIrpQueryDeviceText(), PiIrpQueryPnPDeviceState(), PiIrpQueryResourceRequirements(), PiIrpQueryResources(), PiIrpQueryStopDevice(), PiIrpStartDevice(), PiIrpStopDevice(), PiNotifyDeviceInterfaceChange(), PiNotifyHardwareProfileChange(), PiNotifyTargetDeviceChange(), PipAllocateDeviceNode(), PipDumpCmResourceDescriptor(), PipDumpCmResourceList(), PipDumpIoResourceDescriptor(), PipDumpResourceRequirementsList(), PiReferencePnpNotifyEntry(), PiSetDevNodeText(), PnpDeviceObjectToDeviceInstance(), PoInitializeDeviceObject(), PopGetDope(), PopInitShutdownList(), PoRemoveVolumeDevice(), PoRequestShutdownEvent(), PoRequestShutdownWait(), PoVolumeDevice(), CAC97AdapterCommon::PowerUpCodec(), PpInitGetGroupOrderIndex(), PreloadGlobalMessageTable(), CMiniportWaveStreamCMI::prepareStream(), CAC97AdapterCommon::PrimaryCodecReady(), ProbeForRead(), ProbeForWrite(), CAC97AdapterCommon::ProbeHWConfig(), CMiniportDMusUART::ProcessResources(), CMiniport::ProcessResources(), CAC97MiniportWaveRT::ProcessResources(), CMiniportWaveCMI::processResources(), ProcessResources(), CMiniport::PropertyChannelConfig(), CAC97MiniportTopology::PropertyHandler_CpuResources(), CAC97MiniportTopology::PropertyHandler_Level(), CAC97MiniportTopology::PropertyHandler_OnOff(), PropertyHandler_Private(), CAC97MiniportTopology::PropertyHandler_Tone(), CAC97MiniportTopology::PropertyHandler_Ulong(), PsAssignImpersonationToken(), PsChangeQuantumTable(), PsConvertToGuiThread(), PsCreateSystemThread(), PsDereferenceImpersonationToken(), PsDereferencePrimaryToken(), PsDisableImpersonation(), PsExitSpecialApc(), PsGetNextProcess(), PsGetNextProcessThread(), PsImpersonateClient(), PsLookupProcessByProcessId(), PsLookupProcessThreadByCid(), PsLookupThreadByThreadId(), PsOpenTokenOfProcess(), PspAssignPrimaryToken(), PspCatchCriticalBreak(), PspComputeQuantumAndPriority(), PspCreateProcess(), PspCreateThread(), PspDeleteProcess(), PspDeleteProcessSecurity(), PspDeleteThread(), PspDeleteThreadSecurity(), PspExitApcRundown(), PspExitNormalApc(), PspExitProcess(), PspExitThread(), PspGetContext(), PspGetOrSetContextKernelRoutine(), PspInitializeProcessSecurity(), PspQueryDescriptorThread(), PspSetContext(), PspTerminateProcess(), PspTerminateThreadByPointer(), PspUserThreadStartup(), PspWriteTebImpersonationInfo(), PsReferenceEffectiveToken(), PsReferenceImpersonationToken(), PsReferencePrimaryToken(), PsReferenceProcessFilePointer(), PsRemoveCreateThreadNotifyRoutine(), PsRemoveLoadImageNotifyRoutine(), PsRestoreImpersonation(), PsResumeProcess(), PsResumeThread(), PsRevertThreadToSelf(), PsRevertToSelf(), PsSetCreateProcessNotifyRoutine(), PsSetCreateThreadNotifyRoutine(), PsSetLoadImageNotifyRoutine(), PsSuspendProcess(), PsSuspendThread(), QSI_DEF(), CCMIAdapter::queryChip(), QueryInteger(), CMiniportDMusUART::QueryInterface(), CMiniportDMusUARTStream::QueryInterface(), QueueThread(), RawCleanup(), RawClose(), RawCreate(), RawDispatch(), RawFileSystemControl(), RawInitializeVcb(), RawMountVolume(), RawQueryFsAttributeInfo(), RawQueryFsDeviceInfo(), RawQueryFsSizeInfo(), RawQueryFsVolumeInfo(), RawQueryInformation(), RawQueryVolumeInformation(), RawReadWriteDeviceControl(), RawSetInformation(), RawUserFsCtrl(), ReadCurrentResources(), ReadTags(), ReadWritePassive(), ReadWriteWorkItemRoutine(), ReassembleDatagram(), Recalibrate(), ResetChangeFlag(), CCMIAdapter::resetController(), ResetHardware(), RtlFindExportedRoutineByName(), RtlGetNtProductType(), RtlGetVersion(), RtlLengthSidAndAttributes(), RtlpFindExportedRoutineByName(), RWDetermineMediaType(), RWSeekToCylinder(), RxAcquireFcbForLazyWrite(), RxAcquireFcbForReadAhead(), RxAddVirtualNetRootToNetRoot(), RxAdjustFileTimesAndSize(), RxAllocateCanonicalNameBuffer(), RxAllocateFcbObject(), RxAllocateObject(), RxBootstrapWorkerThreadDispatcher(), RxCancelBlockingOperation(), RxCanonicalizeFileNameByServerSpecs(), RxCanonicalizeNameAndObtainNetRoot(), RxChangeBufferingState(), RxCheckFcbStructuresForAlignment(), RxCheckShareAccessPerSrvOpens(), RxCheckVNetRootCredentials(), RxCloseAssociatedSrvOpen(), RxCollapseOrCreateSrvOpen(), RxCommonCleanup(), RxCommonClose(), RxCommonCreate(), RxCommonDevFCBCleanup(), RxCommonDevFCBClose(), RxCommonDevFCBIoCtl(), RxCommonDeviceControl(), RxCommonDirectoryControl(), RxCommonFileSystemControl(), RxCommonQueryInformation(), RxCommonQueryVolumeInformation(), RxCommonRead(), RxCommonSetInformation(), RxCommonWrite(), RxCompleteMdl(), RxCompleteRequest(), RxConjureOriginalName(), RxConstructNetRoot(), RxConstructSrvCall(), RxConstructVirtualNetRoot(), RxCreateFromNetRoot(), RxCreateNetFcb(), RxCreateNetFobx(), RxCreateNetRoot(), RxCreateNetRootCallBack(), RxCreateSrvCall(), RxCreateSrvOpen(), RxCreateTreeConnect(), RxCreateVNetRoot(), RxDereference(), RxExclusivePrefixTableLockToShared(), RxExtractServerName(), RxFastIoCheckIfPossible(), RxFastIoRead(), RxFastIoWrite(), RxFcbTableInsertFcb(), RxFcbTableLookupFcb(), RxFcbTableRemoveFcb(), RxFinalizeConnection(), RxFinalizeFcbTable(), RxFinalizeNetFcb(), RxFinalizeNetFobx(), RxFinalizeNetRoot(), RxFinalizeSrvCall(), RxFinalizeSrvOpen(), RxFinalizeVNetRoot(), RxFindOrConstructVirtualNetRoot(), RxFindOrCreateConnections(), RxFindOrCreateFcb(), RxFinishFcbInitialization(), RxFirstCanonicalize(), RxFlushFcbInSystemCache(), RxFreeFcbObject(), RxFreeObject(), RxFsdDispatch(), RxFspDispatch(), RxGetDeviceObjectOfInstance(), RxGetFileSizeWithLock(), RxGetNetworkProviderPriority(), RxGetRegistryParameters(), RxGetSessionId(), RxGetStringRegistryParameter(), RxGetUid(), RxInitializeDispatcher(), RxInitializeDispatchVectors(), RxInitializeFcbTable(), RxInitializeLowIoContext(), RxInitializeLowIoPerFcbInfo(), RxInitializeMinirdrDispatchTable(), RxInitializeMRxDispatcher(), RxInitializePrefixTable(), RxInitializePurgeSyncronizationContext(), RxInitializeRegistrationStructures(), RxInitializeRxTimer(), RxInitializeSrvCallParameters(), RxInitializeVNetRootParameters(), RxInitializeWorkQueue(), RxInitializeWorkQueueDispatcher(), RxInitiateSrvOpenKeyAssociation(), RxLockUserBuffer(), RxLowIoCompletionTail(), RxLowIoIoCtlShellCompletion(), RxLowIoNotifyChangeDirectoryCompletion(), RxLowIoPopulateFsctlInfo(), RxLowIoReadShell(), RxLowIoReadShellCompletion(), RxLowIoSubmit(), RxLowIoWriteShell(), RxLowIoWriteShellCompletion(), RxMapSystemBuffer(), RxMarkFobxOnCleanup(), RxMarkFobxOnClose(), RxNewMapUserBuffer(), RxNotifyChangeDirectory(), RxOrphanSrvOpens(), RxpAcquirePrefixTableLockExclusive(), RxpAcquirePrefixTableLockShared(), RxpCancelRoutine(), RxpDereferenceAndFinalizeNetFcb(), RxpDereferenceNetFcb(), RxpDiscardChangeBufferingStateRequests(), RxpLookupSrvOpenForRequestLite(), RxpMarkInstanceForScavengedFinalization(), RxPostStackOverflowRead(), RxpReferenceNetFcb(), RxPrefixClaim(), RxPrefixTableInsertName(), RxPrefixTableLookupName(), RxpReleasePrefixTableLock(), RxPrepareContextForReuse(), RxPrepareRequestForReuse(), RxpTrackDereference(), RxpUndoScavengerFinalizationMarking(), RxPurgeChangeBufferingStateRequestsForSrvOpen(), RxPurgeFcb(), RxPurgeFcbInSystemCache(), RxPurgeFobx(), RxPurgeFobxFromCache(), RxPurgeNetFcb(), RxPurgeRelatedFobxs(), RxQueryBasicInfo(), RxQueryDirectory(), RxQueryNameInfo(), RxQueryStandardInfo(), RxReadRegistryParameters(), RxReference(), RxRegisterMinirdr(), RxReinitializeContext(), RxReleaseFcbFromLazyWrite(), RxReleaseFcbFromReadAhead(), RxRemoveNameNetFcb(), RxRemovePrefixTableEntry(), RxRemoveShareAccessPerSrvOpens(), RxRemoveVirtualNetRootFromNetRoot(), RxResumeBlockedOperations_ALL(), RxResumeBlockedOperations_Serially(), RxScavengeFobxsForNetRoot(), RxScavengeRelatedFobxs(), RxScavengerTimerRoutine(), RxSearchForCollapsibleOpen(), RxSetBasicInfo(), RxSetDispositionInfo(), RxSetFileSizeWithLock(), RxSetRenameInfo(), RxSetupNetFileObject(), RxSpinUpWorkerThread(), RxTableComputeHashValue(), RxTableComputePathHashValue(), RxTableLookupName(), RxTableLookupName_ExactLengthMatch(), RxTearDownBufferingManager(), RxTryToBecomeTheTopLevelIrp(), RxUninitializeCacheMap(), RxUninitializeVNetRootParameters(), RxUpdateCondition(), RxUpdateShareAccessPerSrvOpens(), RxVerifyOperationIsLegal(), RxWaitForStableCondition(), RxXXXControlFileCallthru(), ScsiFlopAddDevice(), ScsiFlopRemoveDevice(), ScsiFlopStartDevice(), ScsiFlopUnload(), SeAccessCheck(), SeAppendPrivileges(), SeAssignPrimaryToken(), SeCaptureLuidAndAttributesArray(), SeCaptureObjectTypeList(), SeCaptureSidAndAttributesArray(), SeCaptureSubjectContextEx(), SeCheckAuditPrivilege(), SeCheckPrivilegedObject(), SeCopyClientToken(), SeCreateAccessState(), SeCreateAccessStateEx(), SeCreateClientSecurity(), SeCreateClientSecurityFromSubjectContext(), SeDefaultObjectMethod(), SeDeleteAccessState(), SeExchangePrimaryToken(), SeFastTraverseCheck(), SeFilterToken(), SeFreePrivileges(), SeGetLogonIdDeviceMap(), SeGetTokenControlInformation(), SeImpersonateClient(), SeImpersonateClientEx(), SeInitializeProcessAuditName(), SeLocateProcessImageName(), SeLockSubjectContext(), SeMarkLogonSessionForTerminationNotification(), Send_Byte(), SenseInfoInterpretRefineByIoControl(), SeOpenObjectAuditAlarm(), SepAccessCheck(), SepAccessCheckAndAuditAlarm(), SepAccessCheckWorker(), SepAdjustGroups(), SepAdjustPrivileges(), SepAdtInitializeBounds(), SepAllowAccessObjectTypeList(), SepAllowAccessObjectTypeResultList(), SepAnalyzeAcesFromDacl(), SepCaptureAcl(), SepCaptureSecurityQualityOfService(), SepCaptureSid(), SepCleanupLUIDDeviceMapDirectory(), SepComparePrivilegeAndAttributesFromTokens(), SepCompareSidAndAttributesFromTokens(), SepCompareTokens(), SepComputeAvailableDynamicSpace(), SepCreateClientSecurity(), SepCreateImpersonationTokenDacl(), SepCreateToken(), SepCreateTokenLock(), SepDeleteTokenLock(), SepDenyAccessObjectTypeList(), SepDenyAccessObjectTypeResultList(), SepDuplicateToken(), SepGetObjectTypeGuidFromAce(), SepGetSidFromAce(), SepImpersonateAnonymousToken(), SepInitializationPhase0(), SepInitializationPhase1(), SepObjectTypeGuidInList(), SepOpenThreadToken(), SepPerformTokenFiltering(), SepPrivilegeCheck(), SepRebuildDynamicPartOfToken(), SepRegQueryHelper(), SepReleaseAcl(), SepReleaseSecurityQualityOfService(), SepReleaseSid(), SePrivilegeCheck(), SePrivilegedServiceAuditAlarm(), SePrivilegePolicyCheck(), SepRmCreateLogonSession(), SepRmDeleteLogonSession(), SepRmInsertLogonSessionIntoToken(), SepRmReferenceLogonSession(), SepRmRemoveLogonSessionFromToken(), SepRmSetAuditEvent(), SepSidInTokenEx(), SepSinglePrivilegeCheck(), SeQueryAuthenticationIdToken(), SeQueryInformationToken(), SeQuerySessionIdToken(), SeRegisterLogonSessionTerminatedRoutine(), SeReleaseLuidAndAttributesArray(), SeReleaseObjectTypeList(), SeReleaseSecurityDescriptor(), SeReleaseSidAndAttributesArray(), SeReleaseSubjectContext(), SeSetAccessStateGenericMapping(), SeSinglePrivilegeCheck(), CAC97AdapterCommon::SetAC97Default(), CMiniportWaveStreamCMI::setDACChannels(), CAC97MiniportTopology::SetMultichannelMute(), CAC97MiniportTopology::SetMultichannelVolume(), SeTokenCanImpersonate(), SeTokenImpersonationLevel(), SeTokenIsAdmin(), SeTokenIsInert(), SeTokenIsRestricted(), SeTokenIsWriteRestricted(), SeTokenType(), CMiniportWaveStreamCMI::setupAC3Passthru(), SetupEjectionTransferPacket(), SetupModeSenseTransferPacket(), CMiniportWaveStreamCMI::setupSPDIFPlayback(), SeUnlockSubjectContext(), SeUnregisterLogonSessionTerminatedRoutine(), SidebandUnitAcquireSemaphore(), SidebandUnitGetVersion(), SRomAcquireListMutex(), SRomChecksumValid(), SRomDecodeBlockGpr(), SRomDecodeBlockHmr(), SRomDecodeBlockMii(), SRomDecodeBlockReset(), SRomDecodeBlockSia(), SRomDecodeBlockSym(), SRomDetectAddressBusWidth(), SRomFindMasterAdapter(), SRomIsAdapterInList(), SRomIsEmpty(), SRomNWayAdvertise(), SRomParse(), SRomParse21041Block(), SRomParseExtendedBlock(), SRomParseHeader(), SRomRead(), SRomReadMacAddress(), SRomReadSRom(), SRomRegisterMasterAdapter(), SRomReleaseListMutex(), SRomShiftIn(), SRomShiftOut(), StartDevice(), StartMotor(), STDMETHODIMP_(), CMiniportWaveCMI::storeChannelConfigToRegistry(), SystemProcessTest(), SystemProcessTestWorker(), CMiniport::TestDataFormat(), TestDirectoryControl(), TestDispatch(), TestEntry(), TestFilterUnload(), TestHidPDescription(), TestIrpHandler(), TestMessageHandler(), TestQueryInformation(), TestSetInformation(), TestUnload(), UDFCommonQueryVolInfo(), UDFCommonSetVolInfo(), UDFQueryFsAttributeInfo(), UDFQueryFsDeviceInfo(), UDFQueryFsFullSizeInfo(), UDFQueryFsSizeInfo(), UDFQueryFsVolumeInfo(), UDFSetLabelInfo(), Unload(), CAC97MiniportTopology::UpdateRecordMute(), USBFlopFormatTracks(), USBFlopGetMediaTypes(), CMiniportWaveCMI::validateFormat(), ValidateResources(), VdmDispatchPageFault(), VdmEndExecution(), VdmpGetVdmTib(), VdmpStartExecution(), WaitForControllerInterrupt(), WmipIoControl(), WmipOpenCloseCleanup(), WmipOpenGuidObjectByName(), WmipSecurityMethod(), WriteResources(), xHalAllocateMapRegisters(), xHalEndOfBoot(), xHalGetInterruptTranslator(), xHalIoAssignDriveLetters(), xHalIoReadPartitionTable(), xHalIoSetPartitionInformation(), xHalIoWritePartitionTable(), xHalQueryBusSlots(), xHalQuerySystemInformation(), xHalRegisterBusHandler(), xHalSetSystemInformation(), xHalStartMirroring(), CAC97AdapterCommon::~CAC97AdapterCommon(), CAC97MiniportTopology::~CAC97MiniportTopology(), CAC97MiniportWaveRTStream::~CAC97MiniportWaveRTStream(), CCMIAdapter::~CCMIAdapter(), CCMITopology::~CCMITopology(), CMiniport::~CMiniport(), CMiniportDMusUART::~CMiniportDMusUART(), CMiniportDMusUARTStream::~CMiniportDMusUARTStream(), CMiniportWaveCMI::~CMiniportWaveCMI(), CMiniportWaveCyclicStream::~CMiniportWaveCyclicStream(), CMiniportWaveICHStream::~CMiniportWaveICHStream(), and CMiniportWaveStreamCMI::~CMiniportWaveStreamCMI().

◆ PRT_PACKAGE_ENTRY_SIZE

#define PRT_PACKAGE_ENTRY_SIZE
Value:
ACPI_METHOD_ARGUMENT_LENGTH(sizeof("LNKB")))

◆ STM_ID_BLOCK_SIZE

#define STM_ID_BLOCK_SIZE   512

Definition at line 170 of file Bus_PDO_EvalMethod.c.

◆ STM_MAX_BUFFER_SIZE

#define STM_MAX_BUFFER_SIZE
Value:
struct _IDE_ACPI_TIMING_MODE_BLOCK IDE_ACPI_TIMING_MODE_BLOCK
#define STM_ID_BLOCK_SIZE

Definition at line 610 of file Bus_PDO_EvalMethod.c.

◆ STM_TEST_FLAG_BAD_ARG_TYPE

#define STM_TEST_FLAG_BAD_ARG_TYPE   (1 << 11)

Definition at line 61 of file Bus_PDO_EvalMethod.c.

◆ STM_TEST_FLAG_CHANGE_ARG_COUNT

#define STM_TEST_FLAG_CHANGE_ARG_COUNT   (1 << 6 )

Definition at line 56 of file Bus_PDO_EvalMethod.c.

◆ STM_TEST_FLAG_INVALID_ARG_3_1

#define STM_TEST_FLAG_INVALID_ARG_3_1   (1 << 0 )

Definition at line 50 of file Bus_PDO_EvalMethod.c.

◆ STM_TEST_FLAG_INVALID_ARG_3_2

#define STM_TEST_FLAG_INVALID_ARG_3_2   (1 << 1 )

Definition at line 51 of file Bus_PDO_EvalMethod.c.

◆ STM_TEST_FLAG_INVALID_ARG_3_4

#define STM_TEST_FLAG_INVALID_ARG_3_4   (1 << 2 )

Definition at line 52 of file Bus_PDO_EvalMethod.c.

◆ STM_TEST_FLAG_INVALID_ARG_3_5

#define STM_TEST_FLAG_INVALID_ARG_3_5   (1 << 3 )

Definition at line 53 of file Bus_PDO_EvalMethod.c.

◆ STM_TEST_FLAG_INVALID_SIZE_1

#define STM_TEST_FLAG_INVALID_SIZE_1   (1 << 4 )

Definition at line 54 of file Bus_PDO_EvalMethod.c.

◆ STM_TEST_FLAG_LARGE_ARG_BUFFER

#define STM_TEST_FLAG_LARGE_ARG_BUFFER   (1 << 5 )

Definition at line 55 of file Bus_PDO_EvalMethod.c.

◆ STM_TEST_FLAG_SET_IN_BUFFER

#define STM_TEST_FLAG_SET_IN_BUFFER   (1 << 9 )

Definition at line 59 of file Bus_PDO_EvalMethod.c.

◆ STM_TEST_FLAG_SET_IRP_BUFFER

#define STM_TEST_FLAG_SET_IRP_BUFFER   (1 << 10)

Definition at line 60 of file Bus_PDO_EvalMethod.c.

◆ STM_TEST_FLAG_SUB_IN_BUFFER

#define STM_TEST_FLAG_SUB_IN_BUFFER   (1 << 7 )

Definition at line 57 of file Bus_PDO_EvalMethod.c.

◆ STM_TEST_FLAG_SUB_IRP_BUFFER

#define STM_TEST_FLAG_SUB_IRP_BUFFER   (1 << 8 )

Definition at line 58 of file Bus_PDO_EvalMethod.c.

◆ UNIT_TEST

#define UNIT_TEST

Definition at line 15 of file Bus_PDO_EvalMethod.c.

◆ WIN32_NO_STATUS

#define WIN32_NO_STATUS

Definition at line 12 of file Bus_PDO_EvalMethod.c.

Typedef Documentation

◆ BIF_OBJECT_BUFFER

◆ EVAL_TEST_ENTRY

◆ GTM_OBJECT_BUFFER

◆ IDE_ACPI_TIMING_MODE_BLOCK

◆ IO_STACK_LOCATION

◆ IRP

typedef struct _IRP IRP

◆ PBIF_OBJECT_BUFFER

◆ PCL_OBJECT_BUFFER

◆ PDO_DEVICE_DATA

◆ PGTM_OBJECT_BUFFER

◆ PIDE_ACPI_TIMING_MODE_BLOCK

◆ PIO_STACK_LOCATION

◆ PIRP

typedef struct _IRP * PIRP

◆ PPCL_OBJECT_BUFFER

◆ PPDO_DEVICE_DATA

◆ PPRT_OBJECT_BUFFER

◆ PRT_OBJECT_BUFFER

Function Documentation

◆ AcpiEvaluateObject()

ACPI_STATUS AcpiEvaluateObject ( ACPI_HANDLE  Object,
ACPI_STRING  Pathname,
ACPI_OBJECT_LIST ParameterObjects,
ACPI_BUFFER ReturnObjectBuffer 
)

Definition at line 276 of file Bus_PDO_EvalMethod.c.

281{
283
284 /* We don't support anything else */
285 ok(ReturnObjectBuffer->Length == ACPI_ALLOCATE_BUFFER,
286 "Unexpected call to %s\n", __FUNCTION__);
287
288 if (strcmp(Pathname, "_STM") == 0)
289 {
290 ACPI_OBJECT* Arg;
292
293 if (ParameterObjects->Count > 3)
295
296 if (ParameterObjects->Count != 3)
297 return AE_OK;
298
299 /* Argument 1 */
300 {
301 Arg = ParameterObjects->Pointer;
302
304 ok_eq_uint_ex(DrvpEvalTestEntry, Arg->Buffer.Length, sizeof(*TimingMode));
305
306 TimingMode = (PIDE_ACPI_TIMING_MODE_BLOCK)Arg->Buffer.Pointer;
307
308 ok_eq_ulong_ex(DrvpEvalTestEntry, TimingMode->Drive[0].PioSpeed, 508LU);
309 ok_eq_ulong_ex(DrvpEvalTestEntry, TimingMode->Drive[0].DmaSpeed, 120LU);
310 ok_eq_ulong_ex(DrvpEvalTestEntry, TimingMode->Drive[1].PioSpeed, 240LU);
311 ok_eq_ulong_ex(DrvpEvalTestEntry, TimingMode->Drive[1].DmaSpeed, 180LU);
312 ok_eq_hex_ex(DrvpEvalTestEntry, TimingMode->ModeFlags, 0x10LU);
313 }
314 /* Argument 2 */
315 {
316 ++Arg;
317
320 }
321 /* Argument 3 */
322 {
323 ++Arg;
324
327 }
328
329 return AE_OK;
330 }
331 else if (strcmp(Pathname, "_GTM") == 0)
332 {
333 PGTM_OBJECT_BUFFER ReturnObject;
335
336 ReturnObject = AcpiOsAllocate(sizeof(*ReturnObject));
337 if (!ReturnObject)
338 return AE_NO_MEMORY;
339
340 /*
341 * VPC 2007 output
342 * AcpiGetHandle(NULL, "\\_SB.PCI0.IDE0.CHN1", &ObjHandle);
343 * AcpiEvaluateObject(ObjHandle, "_GTM", NULL, &ReturnObj);
344 */
345 TimingMode = &ReturnObject->TimingMode;
346 TimingMode->Drive[0].PioSpeed = 900;
347 TimingMode->Drive[0].DmaSpeed = 900;
348 TimingMode->Drive[1].PioSpeed = 120;
349 TimingMode->Drive[1].DmaSpeed = 120;
350 TimingMode->ModeFlags = 0x12;
351
352 ReturnObject->Obj.Type = ACPI_TYPE_BUFFER;
353 ReturnObject->Obj.Buffer.Length = sizeof(*TimingMode);
354 ReturnObject->Obj.Buffer.Pointer = (PUCHAR)TimingMode;
355
356 ReturnObjectBuffer->Pointer = ReturnObject;
357 ReturnObjectBuffer->Length = sizeof(*ReturnObject);
358 return AE_OK;
359 }
360 else if (strcmp(Pathname, "_BIF") == 0)
361 {
362 PBIF_OBJECT_BUFFER ReturnObject;
364 ULONG i;
365
366 ReturnObject = AcpiOsAllocate(sizeof(*ReturnObject));
367 if (!ReturnObject)
368 return AE_NO_MEMORY;
369
370 /*
371 * Vbox 7.0 output
372 * AcpiGetHandle(NULL, "\\_SB.PCI0.BAT0", &ObjHandle);
373 * AcpiEvaluateObject(ObjHandle, "_BIF", NULL, &ReturnObj);
374 */
375 BatteryInformation = &ReturnObject->BatteryInformation[0];
376 for (i = 0; i < RTL_NUMBER_OF(DrvpBifIntegerFields); ++i)
377 {
378 BatteryInformation[i].Integer.Type = ACPI_TYPE_INTEGER;
379 BatteryInformation[i].Integer.Value = DrvpBifIntegerFields[i];
380 }
382 BatteryInformation[i].String.Length = 1; /* Excluding the trailing null */
383 BatteryInformation[i].String.Pointer = &ReturnObject->Buffer1[0];
384 RtlCopyMemory(BatteryInformation[i].String.Pointer, "1", sizeof("1"));
385 ++i;
387 BatteryInformation[i].String.Length = 1;
388 BatteryInformation[i].String.Pointer = &ReturnObject->Buffer2[0];
389 RtlCopyMemory(BatteryInformation[i].String.Pointer, "0", sizeof("0"));
390 ++i;
392 BatteryInformation[i].String.Length = 4;
393 BatteryInformation[i].String.Pointer = &ReturnObject->Buffer3[0];
394 RtlCopyMemory(BatteryInformation[i].String.Pointer, "VBOX", sizeof("VBOX"));
395 ++i;
397 BatteryInformation[i].String.Length = 7;
398 BatteryInformation[i].String.Pointer = &ReturnObject->Buffer4[0];
399 RtlCopyMemory(BatteryInformation[i].String.Pointer, "innotek", sizeof("innotek"));
400
401 ReturnObject->Obj.Type = ACPI_TYPE_PACKAGE;
402 ReturnObject->Obj.Package.Count = 13;
403 ReturnObject->Obj.Package.Elements = BatteryInformation;
404
405 ReturnObjectBuffer->Pointer = ReturnObject;
406 ReturnObjectBuffer->Length = sizeof(*ReturnObject);
407 return AE_OK;
408 }
409 else if (strcmp(Pathname, "_PCL") == 0)
410 {
411 PPCL_OBJECT_BUFFER ReturnObject;
412
413 ReturnObject = AcpiOsAllocate(sizeof(*ReturnObject));
414 if (!ReturnObject)
415 return AE_NO_MEMORY;
416
417 /*
418 * Vbox 7.0 output
419 * AcpiGetHandle(NULL, "\\_SB.PCI0.AC", &ObjHandle);
420 * AcpiEvaluateObject(ObjHandle, "_PCL", NULL, &ReturnObj);
421 */
422 ReturnObject->Obj.Reference.Type = ACPI_TYPE_LOCAL_REFERENCE;
423 ReturnObject->Obj.Reference.ActualType = ACPI_TYPE_DEVICE;
425
426 ReturnObjectBuffer->Pointer = ReturnObject;
427 ReturnObjectBuffer->Length = sizeof(*ReturnObject);
428 return AE_OK;
429 }
430 else if (strcmp(Pathname, "_PRT") == 0)
431 {
432 PPRT_OBJECT_BUFFER ReturnObject;
433 ULONG i;
434
435 ReturnObject = AcpiOsAllocate(sizeof(*ReturnObject));
436 if (!ReturnObject)
437 return AE_NO_MEMORY;
438
439 /*
440 * Vbox 7.0 output
441 * AcpiGetHandle(NULL, "\\_SB.PCI0", &ObjHandle);
442 * AcpiEvaluateObject(ObjHandle, "_PRT", NULL, &ReturnObj);
443 *
444 * NOTE: To avoid similar copies of code executed and tested over and over again
445 * we return 2 packages. The original method returns 120 packages.
446 */
447 ReturnObject->Obj.Type = ACPI_TYPE_PACKAGE;
448 ReturnObject->Obj.Package.Count = 2;
449 ReturnObject->Obj.Package.Elements = &ReturnObject->PackageContainer[0];
450
451 i = 0;
452 ReturnObject->PackageContainer[i].Type = ACPI_TYPE_PACKAGE;
453 ReturnObject->PackageContainer[i].Package.Count = 4;
454 ReturnObject->PackageContainer[i].Package.Elements = &ReturnObject->Package1[0];
455 ++i;
456 ReturnObject->PackageContainer[i].Type = ACPI_TYPE_PACKAGE;
457 ReturnObject->PackageContainer[i].Package.Count = 4;
458 ReturnObject->PackageContainer[i].Package.Elements = &ReturnObject->Package2[0];
459
460 /* Package 1 */
461 i = 0;
462 ReturnObject->Package1[i].Integer.Type = ACPI_TYPE_INTEGER;
463 ReturnObject->Package1[i].Integer.Value = 0x0002FFFF;
464 ++i;
465 ReturnObject->Package1[i].Integer.Type = ACPI_TYPE_INTEGER;
466 ReturnObject->Package1[i].Integer.Value = 0x00000000;
467 ++i;
468 ReturnObject->Package1[i].Reference.Type = ACPI_TYPE_LOCAL_REFERENCE;
469 ReturnObject->Package1[i].Reference.ActualType = ACPI_TYPE_DEVICE;
471 ++i;
472 ReturnObject->Package1[i].Integer.Type = ACPI_TYPE_INTEGER;
473 ReturnObject->Package1[i].Integer.Value = 0x00000000;
474
475 /* Package 2 */
476 i = 0;
477 ReturnObject->Package2[i].Integer.Type = ACPI_TYPE_INTEGER;
478 ReturnObject->Package2[i].Integer.Value = 0x0002FFFF;
479 ++i;
480 ReturnObject->Package2[i].Integer.Type = ACPI_TYPE_INTEGER;
481 ReturnObject->Package2[i].Integer.Value = 0x00000001;
482 ++i;
483 ReturnObject->Package2[i].Reference.Type = ACPI_TYPE_LOCAL_REFERENCE;
484 ReturnObject->Package2[i].Reference.ActualType = ACPI_TYPE_DEVICE;
486 ++i;
487 ReturnObject->Package2[i].Integer.Type = ACPI_TYPE_INTEGER;
488 ReturnObject->Package2[i].Integer.Value = 0x00000000;
489
490 ReturnObjectBuffer->Pointer = ReturnObject;
491 ReturnObjectBuffer->Length = sizeof(*ReturnObject);
492 return AE_OK;
493 }
494 else if (strcmp(Pathname, "_DSM") == 0)
495 {
496 ACPI_OBJECT* Arg;
497
498 /* Assumed object count per the spec */
499 ok_eq_uint(ParameterObjects->Count, 4);
500
501 if (ParameterObjects->Count != 4)
503
504 /* Argument 1 */
505 {
506 Arg = ParameterObjects->Pointer;
507
509 ok_eq_uint_ex(DrvpEvalTestEntry, Arg->Buffer.Length, sizeof(GUID));
510 }
511
512 /* NOTE: This UUID doesn't exist, for testing purposes only */
513 if (IsEqualGUID(Arg->Buffer.Pointer, &MY_DSM_GUID))
514 {
515 /* Argument 2 */
516 {
517 ++Arg;
518
521 }
522 /* Argument 3 */
523 {
524 ++Arg;
525
528 }
529 /* Argument 4 */
530 {
531 ++Arg;
532
534
536 {
539 }
540 else
541 {
542 ACPI_OBJECT* PackageArg;
543 ACPI_OBJECT* PackageArg2;
544 ULONG i;
545
548
549 if (!Arg->Package.Elements)
551
552 /* Package 1 Arguments 1-2 */
553 PackageArg = Arg->Package.Elements;
554 for (i = 0; i < RTL_NUMBER_OF(DrvpMyDsmIntegerFields) - 1; i++)
555 {
558 PackageArg->Integer.Value,
560
561 ++PackageArg;
562 }
563
564 /* Package 1 Argument 3 */
565 {
566 Arg = PackageArg;
567
570
571 /* Package 2 Argument 1 */
572 PackageArg2 = Arg->Package.Elements;
573
575
576 /* Excluding the trailing null */
578 PackageArg2->String.Length,
579 (sizeof("1_TESTDATATESTDATA_2") - 1));
581 memcmp(PackageArg2->String.Pointer,
582 "1_TESTDATATESTDATA_2",
583 sizeof("1_TESTDATATESTDATA_2") - 1),
584 0);
585 }
586 /* Package 1 Argument 4 */
587 {
588 ++PackageArg;
589
592 PackageArg->Integer.Value,
594 }
595 }
596 }
597
598 return AE_OK;
599 }
600 }
601
602 return AE_NOT_FOUND;
603}
#define FAKE_INTB_ACPI_HANDLE
#define ok_eq_uint_ex(entry, value, expected)
#define FAKE_INTC_ACPI_HANDLE
struct _IDE_ACPI_TIMING_MODE_BLOCK * PIDE_ACPI_TIMING_MODE_BLOCK
#define ok_eq_ulong_ex(entry, value, expected)
void * AcpiOsAllocate(ACPI_SIZE Size)
#define ok_eq_int_ex(entry, value, expected)
#define ok_eq_ulonglong_ex(entry, value, expected)
#define DSM_TEST_FLAG_EMPTY_PACKAGE
static const ULONG DrvpMyDsmIntegerFields[3]
#define ok_eq_pointer_ex(entry, value, expected)
static const EVAL_TEST_ENTRY * DrvpEvalTestEntry
#define ok_eq_hex_ex(entry, value, expected)
#define FAKE_SB_NAMESPACE_ACPI_HANDLE
#define ok_not_pointer_ex(entry, value, expected)
static const ULONG DrvpBifIntegerFields[9]
#define RTL_NUMBER_OF(x)
Definition: RtlRegistry.c:12
int memcmp(void *Buffer1, void *Buffer2, ACPI_SIZE Count)
Definition: utclib.c:112
#define AE_NOT_FOUND
Definition: acexcep.h:113
#define AE_AML_UNINITIALIZED_ARG
Definition: acexcep.h:185
#define AE_NO_MEMORY
Definition: acexcep.h:112
#define AE_OK
Definition: acexcep.h:97
ACPI_PHYSICAL_ADDRESS ACPI_SIZE BOOLEAN Warn UINT32 *TableIdx UINT32 ACPI_TABLE_HEADER *OutTableHeader ACPI_TABLE_HEADER **OutTable ACPI_HANDLE UINT32 ACPI_WALK_CALLBACK ACPI_WALK_CALLBACK void void **ReturnValue UINT32 ACPI_BUFFER *RetPathPtr ACPI_OBJECT_HANDLER void *Data ACPI_OBJECT_HANDLER void **Data ACPI_STRING ACPI_OBJECT_LIST * ParameterObjects
Definition: acpixf.h:705
ACPI_PHYSICAL_ADDRESS ACPI_SIZE BOOLEAN Warn UINT32 *TableIdx UINT32 ACPI_TABLE_HEADER *OutTableHeader ACPI_TABLE_HEADER **OutTable ACPI_HANDLE UINT32 ACPI_WALK_CALLBACK ACPI_WALK_CALLBACK void void **ReturnValue UINT32 ACPI_BUFFER *RetPathPtr ACPI_OBJECT_HANDLER void *Data ACPI_OBJECT_HANDLER void **Data ACPI_STRING Pathname
Definition: acpixf.h:704
#define ACPI_TYPE_LOCAL_REFERENCE
Definition: actypes.h:719
#define ACPI_TYPE_STRING
Definition: actypes.h:689
#define ACPI_ALLOCATE_BUFFER
Definition: actypes.h:1046
#define ACPI_TYPE_BUFFER
Definition: actypes.h:690
#define ACPI_TYPE_INTEGER
Definition: actypes.h:688
#define ACPI_TYPE_DEVICE
Definition: actypes.h:693
void * ACPI_HANDLE
Definition: actypes.h:463
#define ACPI_TYPE_PACKAGE
Definition: actypes.h:691
#define ok_eq_uint(value, expected)
Definition: apitest.h:61
#define U(x)
Definition: wordpad.c:45
@ BatteryInformation
Definition: batclass.h:97
#define NULL
Definition: types.h:112
#define __FUNCTION__
Definition: types.h:116
GLsizei GLenum const GLvoid GLsizei GLenum GLbyte GLbyte GLbyte GLdouble GLdouble GLdouble GLfloat GLfloat GLfloat GLint GLint GLint GLshort GLshort GLshort GLubyte GLubyte GLubyte GLuint GLuint GLuint GLushort GLushort GLushort GLbyte GLbyte GLbyte GLbyte GLdouble GLdouble GLdouble GLdouble GLfloat GLfloat GLfloat GLfloat GLint GLint GLint GLint GLshort GLshort GLshort GLshort GLubyte GLubyte GLubyte GLubyte GLuint GLuint GLuint GLuint GLushort GLushort GLushort GLushort GLboolean const GLdouble const GLfloat const GLint const GLshort const GLbyte const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLdouble const GLfloat const GLfloat const GLint const GLint const GLshort const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort GLenum GLenum GLenum GLfloat GLenum GLint GLenum GLenum GLenum GLfloat GLenum GLenum GLint GLenum GLfloat GLenum GLint GLint GLushort GLenum GLenum GLfloat GLenum GLenum GLint GLfloat const GLubyte GLenum GLenum GLenum const GLfloat GLenum GLenum const GLint GLenum GLint GLint GLsizei GLsizei GLint GLenum GLenum const GLvoid GLenum GLenum const GLfloat GLenum GLenum const GLint GLenum GLenum const GLdouble GLenum GLenum const GLfloat GLenum GLenum const GLint GLsizei GLuint GLfloat GLuint GLbitfield GLfloat GLint GLuint GLboolean GLenum GLfloat GLenum GLbitfield GLenum GLfloat GLfloat GLint GLint const GLfloat GLenum GLfloat GLfloat GLint GLint GLfloat GLfloat GLint GLint const GLfloat GLint GLfloat GLfloat GLint GLfloat GLfloat GLint GLfloat GLfloat const GLdouble const GLfloat const GLdouble const GLfloat GLint i
Definition: glfuncs.h:248
unsigned __int64 ULONG64
Definition: imports.h:198
#define UNREFERENCED_PARAMETER(P)
Definition: ntbasedef.h:317
#define IsEqualGUID(rguid1, rguid2)
Definition: guiddef.h:147
ACPI_OBJECT BatteryInformation[13]
ULONG Flags
IDE_ACPI_TIMING_MODE_BLOCK TimingMode
struct _IDE_ACPI_TIMING_MODE_BLOCK::@1567 Drive[2]
ACPI_OBJECT Package1[4]
ACPI_OBJECT PackageContainer[2]
ACPI_OBJECT Package2[4]
void * Pointer
Definition: actypes.h:1054
ACPI_SIZE Length
Definition: actypes.h:1053
#define RtlCopyMemory(Destination, Source, Length)
Definition: typedefs.h:263
uint32_t ULONG_PTR
Definition: typedefs.h:65
unsigned char * PUCHAR
Definition: typedefs.h:53
struct acpi_object::@615 String
struct acpi_object::@618 Reference
ACPI_OBJECT_TYPE Type
Definition: actypes.h:970
struct acpi_object::@614 Integer
struct acpi_object::@616 Buffer
struct acpi_object::@617 Package
_Must_inspect_result_ _In_ WDFCOLLECTION _In_ WDFOBJECT Object
_Must_inspect_result_ _In_ WDFDEVICE _In_ WDFSTRING String
Definition: wdfdevice.h:2433

◆ AcpiGetName()

ACPI_STATUS AcpiGetName ( ACPI_HANDLE  Handle,
UINT32  NameType,
ACPI_BUFFER Buffer 
)

Definition at line 242 of file Bus_PDO_EvalMethod.c.

246{
247 /* We don't support anything else */
248 ok(NameType == ACPI_SINGLE_NAME, "Unexpected call to %s\n", __FUNCTION__);
249
250 /* Return a NULL-terminated string */
251 if (Buffer->Length < (4 + 1))
252 return AE_BUFFER_OVERFLOW;
253
254 switch ((ULONG_PTR)Handle)
255 {
257 RtlCopyMemory(Buffer->Pointer, "_SB_", sizeof("_SB_"));
258 break;
259
261 RtlCopyMemory(Buffer->Pointer, "LNKB", sizeof("LNKB"));
262 break;
263
265 RtlCopyMemory(Buffer->Pointer, "LNKC", sizeof("LNKC"));
266 break;
267
268 default:
269 return AE_BAD_PARAMETER;
270 }
271
272 return AE_OK;
273}
#define AE_BAD_PARAMETER
Definition: acexcep.h:151
#define AE_BUFFER_OVERFLOW
Definition: acexcep.h:119
ACPI_PHYSICAL_ADDRESS ACPI_SIZE BOOLEAN Warn UINT32 *TableIdx UINT32 ACPI_TABLE_HEADER *OutTableHeader ACPI_TABLE_HEADER **OutTable ACPI_HANDLE UINT32 ACPI_WALK_CALLBACK ACPI_WALK_CALLBACK void void **ReturnValue UINT32 NameType
Definition: acpixf.h:658
#define ACPI_SINGLE_NAME
Definition: actypes.h:1063
Definition: bufpool.h:45
ULONG Handle
Definition: gdb_input.c:15

◆ AcpiOsAllocate()

void * AcpiOsAllocate ( ACPI_SIZE  Size)

Definition at line 228 of file Bus_PDO_EvalMethod.c.

230{
231 return ExAllocatePoolWithTag(NonPagedPool, Size, 'FFUB');
232}
#define NonPagedPool
#define ExAllocatePoolWithTag(hernya, size, tag)
Definition: env_spec_w32.h:350
_Must_inspect_result_ _In_ WDFDEVICE _In_ PWDF_DEVICE_PROPERTY_DATA _In_ DEVPROPTYPE _In_ ULONG Size
Definition: wdfdevice.h:4533

Referenced by AcpiEvaluateObject(), AcpiOsAllocateZeroed(), and AcpiUtInitializeBuffer().

◆ AcpiOsFree()

void AcpiOsFree ( void Memory)

Definition at line 235 of file Bus_PDO_EvalMethod.c.

237{
238 ExFreePoolWithTag(Memory, 'FFUB');
239}
#define ExFreePoolWithTag(_P, _T)
Definition: module.h:1109
_Must_inspect_result_ _In_opt_ PWDF_OBJECT_ATTRIBUTES _In_ _Strict_type_match_ POOL_TYPE _In_opt_ ULONG _In_ _Out_ WDFMEMORY * Memory
Definition: wdfmemory.h:169

Referenced by acpi_evaluate_reference(), AcpiEvaluateObjectTyped(), AcpiUtDeleteCaches(), and Bus_PDO_EvalMethod().

◆ DEFINE_GUID()

DEFINE_GUID ( MY_DSM_GUID  ,
0xB76E0B40  ,
0x3EC6  ,
0x4DBD  ,
0x8A  ,
0xCB  ,
0x8B  ,
0xCA  ,
0x65  ,
0xB8  ,
0xBC  ,
0x70   
)

◆ DrvCallAcpiDriver()

static NTSTATUS DrvCallAcpiDriver ( _In_ PVOID  InputBuffer,
_In_ ULONG  InputBufferLength,
_Out_opt_ PACPI_EVAL_OUTPUT_BUFFER  OutputBuffer,
_In_ ULONG  OutputBufferLength 
)
static

Definition at line 730 of file Bus_PDO_EvalMethod.c.

735{
737 IRP Irp;
738
739 DeviceData.AcpiHandle = NULL;
740
741 Irp.AssociatedIrp.SystemBuffer = InputBuffer;
742 Irp.OutputBuffer = OutputBuffer;
743
744 Irp.MyStack.Parameters.DeviceIoControl.InputBufferLength = InputBufferLength;
745 Irp.MyStack.Parameters.DeviceIoControl.OutputBufferLength = OutputBufferLength;
746
748}
_In_ PIRP Irp
Definition: csq.h:116
NTSTATUS NTAPI Bus_PDO_EvalMethod(_In_ PPDO_DEVICE_DATA DeviceData, _Inout_ PIRP Irp)
Definition: eval.c:796
_In_ WDFREQUEST _In_ size_t OutputBufferLength
Definition: wdfio.h:320
_In_ WDFREQUEST _In_ size_t _In_ size_t InputBufferLength
Definition: wdfio.h:322
_Must_inspect_result_ _In_ WDFIOTARGET _In_opt_ WDFREQUEST _In_opt_ PWDF_MEMORY_DESCRIPTOR OutputBuffer
Definition: wdfiotarget.h:863
_Must_inspect_result_ _In_ WDFIOTARGET _In_opt_ WDFREQUEST _In_opt_ PWDF_MEMORY_DESCRIPTOR InputBuffer
Definition: wdfiotarget.h:953

Referenced by DrvEvaluateBifObject(), DrvEvaluateDsmObject(), DrvEvaluateGtmObject(), DrvEvaluatePclObject(), DrvEvaluatePrtObject(), DrvEvaluateStmObject(), and DrvTestUnknownMethod().

◆ DrvEvaluateBifObject()

static VOID DrvEvaluateBifObject ( _In_ const EVAL_TEST_ENTRY TestEntry,
_In_ PACPI_EVAL_OUTPUT_BUFFER  OutputBuffer 
)
static

Definition at line 988 of file Bus_PDO_EvalMethod.c.

991{
993 ULONG i, OutputBufferSize;
995 PACPI_METHOD_ARGUMENT Argument;
996
997 InputBuffer.MethodNameAsUlong = 'FIB_'; // _BIF
999
1000 OutputBufferSize = FIELD_OFFSET(ACPI_EVAL_OUTPUT_BUFFER, Argument) +
1001 ACPI_METHOD_ARGUMENT_LENGTH(sizeof(ULONG)) * 9 +
1002 ACPI_METHOD_ARGUMENT_LENGTH(sizeof("1")) +
1003 ACPI_METHOD_ARGUMENT_LENGTH(sizeof("0")) +
1004 ACPI_METHOD_ARGUMENT_LENGTH(sizeof("VBOX")) +
1005 ACPI_METHOD_ARGUMENT_LENGTH(sizeof("innotek"));
1006
1007 /* Evaluate the _BIF method */
1008 Status = DrvCallAcpiDriver(&InputBuffer, sizeof(InputBuffer), OutputBuffer, OutputBufferSize);
1009
1013 ok_eq_ulong_ex(TestEntry, OutputBuffer->Length, OutputBufferSize);
1014
1015 /* Arguments 1-9 */
1016 Argument = OutputBuffer->Argument;
1017 for (i = 0; i < RTL_NUMBER_OF(DrvpBifIntegerFields); ++i)
1018 {
1020 ok_eq_uint_ex(TestEntry, Argument->DataLength, sizeof(ULONG));
1021 ok_eq_ulong_ex(TestEntry, Argument->Argument, DrvpBifIntegerFields[i]);
1022
1023 Argument = ACPI_METHOD_NEXT_ARGUMENT(Argument);
1024 }
1025 /* Argument 10 */
1026 {
1028 ok_eq_uint_ex(TestEntry, Argument->DataLength, sizeof("1")); // Including the trailing null
1029 ok_eq_str_ex(TestEntry, (PCSTR)Argument->Data, "1");
1030 }
1031 /* Argument 11 */
1032 {
1033 Argument = ACPI_METHOD_NEXT_ARGUMENT(Argument);
1034
1036 ok_eq_uint_ex(TestEntry, Argument->DataLength, sizeof("0"));
1037 ok_eq_str_ex(TestEntry, (PCSTR)Argument->Data, "0");
1038 }
1039 /* Argument 12 */
1040 {
1041 Argument = ACPI_METHOD_NEXT_ARGUMENT(Argument);
1042
1044 ok_eq_uint_ex(TestEntry, Argument->DataLength, sizeof("VBOX"));
1045 ok_eq_str_ex(TestEntry, (PCSTR)Argument->Data, "VBOX");
1046 }
1047 /* Argument 13 */
1048 {
1049 Argument = ACPI_METHOD_NEXT_ARGUMENT(Argument);
1050
1052 ok_eq_uint_ex(TestEntry, Argument->DataLength, sizeof("innotek"));
1053 ok_eq_str_ex(TestEntry, (PCSTR)Argument->Data, "innotek");
1054 }
1055}
#define ok_eq_str_ex(entry, value, expected)
static NTSTATUS DrvCallAcpiDriver(_In_ PVOID InputBuffer, _In_ ULONG InputBufferLength, _Out_opt_ PACPI_EVAL_OUTPUT_BUFFER OutputBuffer, _In_ ULONG OutputBufferLength)
static void TestEntry(const ENTRY *pEntry)
ACPI_METHOD_ARGUMENT UNALIGNED * PACPI_METHOD_ARGUMENT
Definition: acpiioct.h:71
#define ACPI_METHOD_NEXT_ARGUMENT(Argument)
Definition: acpiioct.h:150
#define ACPI_METHOD_ARGUMENT_STRING
Definition: acpiioct.h:22
#define ACPI_METHOD_ARGUMENT_INTEGER
Definition: acpiioct.h:21
#define ACPI_EVAL_INPUT_BUFFER_SIGNATURE
Definition: acpiioct.h:7
#define ACPI_EVAL_OUTPUT_BUFFER_SIGNATURE
Definition: acpiioct.h:11
LONG NTSTATUS
Definition: precomp.h:26
Status
Definition: gdiplustypes.h:25
const char * PCSTR
Definition: typedefs.h:52

Referenced by DrvTestPackageReturnValueAndStringData().

◆ DrvEvaluateDsmObject()

static VOID DrvEvaluateDsmObject ( _In_ const EVAL_TEST_ENTRY TestEntry)
static

Definition at line 1212 of file Bus_PDO_EvalMethod.c.

1214{
1215#define MY_DSM_SUB_PACKAGE_ENTRY_SIZE \
1216 (ACPI_METHOD_ARGUMENT_LENGTH(sizeof("1_TESTDATATESTDATA_2")))
1217
1218#define MY_DSM_PACKAGE_ENTRY_SIZE \
1219 (ACPI_METHOD_ARGUMENT_LENGTH(sizeof(ULONG)) * 3 + \
1220 ACPI_METHOD_ARGUMENT_LENGTH(MY_DSM_SUB_PACKAGE_ENTRY_SIZE))
1221
1222#define MY_DSM_BUFFER_SIZE \
1223 (FIELD_OFFSET(ACPI_EVAL_INPUT_BUFFER_COMPLEX, Argument) + \
1224 ACPI_METHOD_ARGUMENT_LENGTH(sizeof(GUID)) + \
1225 ACPI_METHOD_ARGUMENT_LENGTH(sizeof(ULONG)) + \
1226 ACPI_METHOD_ARGUMENT_LENGTH(sizeof(ULONG)) + \
1227 ACPI_METHOD_ARGUMENT_LENGTH(MY_DSM_PACKAGE_ENTRY_SIZE))
1228
1230 ULONG InputSize;
1232 PACPI_METHOD_ARGUMENT Argument, PackageArgument, PackageArgument2;
1234
1235 RtlZeroMemory(Buffer, sizeof(Buffer));
1236
1237 InputSize = MY_DSM_BUFFER_SIZE;
1239 {
1242 }
1243
1244 InputBuffer->MethodNameAsUlong = 'MSD_'; // _DSM
1246 InputBuffer->ArgumentCount = 4;
1247 InputBuffer->Size = InputSize;
1248
1249 /* Argument 1: The UUID */
1250 Argument = InputBuffer->Argument;
1251 ACPI_METHOD_SET_ARGUMENT_BUFFER(Argument, &MY_DSM_GUID, sizeof(GUID));
1252
1253 /* Argument 2: The Revision ID */
1254 Argument = ACPI_METHOD_NEXT_ARGUMENT(Argument);
1256
1257 /* Argument 3: The Function Index */
1258 Argument = ACPI_METHOD_NEXT_ARGUMENT(Argument);
1260
1261 /* Argument 4: The device-specific package */
1262 Argument = ACPI_METHOD_NEXT_ARGUMENT(Argument);
1263 Argument->Type = ACPI_METHOD_ARGUMENT_PACKAGE;
1265 {
1266 /* Empty package */
1267 Argument->DataLength = ACPI_METHOD_ARGUMENT_LENGTH(0);
1268 Argument->Argument = 0;
1269 }
1270 else
1271 {
1272 Argument->DataLength = MY_DSM_PACKAGE_ENTRY_SIZE;
1273
1274 /* Package 1 Argument 1: Some test data */
1275 PackageArgument = (PACPI_METHOD_ARGUMENT)Argument->Data;
1277
1278 /* Package 1 Argument 2: Some test data */
1279 PackageArgument = ACPI_METHOD_NEXT_ARGUMENT(PackageArgument);
1281
1282 /* Package 1 Argument 3: Start a new subpackage */
1283 PackageArgument = ACPI_METHOD_NEXT_ARGUMENT(PackageArgument);
1284 PackageArgument->Type = ACPI_METHOD_ARGUMENT_PACKAGE;
1285 PackageArgument->DataLength = MY_DSM_SUB_PACKAGE_ENTRY_SIZE;
1286
1287 /* Package 2 Argument 1: Some test data */
1288 PackageArgument2 = (PACPI_METHOD_ARGUMENT)PackageArgument->Data;
1289 ACPI_METHOD_SET_ARGUMENT_STRING(PackageArgument2, "1_TESTDATATESTDATA_2");
1290
1292 {
1293 PackageArgument2->DataLength = 32768;
1294 }
1295 else
1296 {
1297 /* Package 1 Argument 4: Some test data */
1298 PackageArgument = ACPI_METHOD_NEXT_ARGUMENT(PackageArgument);
1300 }
1301 }
1302
1303 /* Evaluate the _DSM method */
1305 Status = DrvCallAcpiDriver(InputBuffer, InputSize, NULL, 0);
1306
1308}
#define DSM_TEST_FLAG_LARGE_SUB_PACKAGE_BUFFER
#define MY_DSM_BUFFER_SIZE
struct _ACPI_EVAL_INPUT_BUFFER_COMPLEX * PACPI_EVAL_INPUT_BUFFER_COMPLEX
#define ACPI_EVAL_INPUT_BUFFER_COMPLEX_SIGNATURE
Definition: acpiioct.h:10
#define ACPI_METHOD_SET_ARGUMENT_INTEGER(MethodArgument, IntData)
Definition: acpiioct.h:155
#define ACPI_METHOD_SET_ARGUMENT_STRING(Argument, StrData)
Definition: acpiioct.h:160
#define ACPI_METHOD_SET_ARGUMENT_BUFFER(Argument, BuffData, BuffLength)
Definition: acpiioct.h:165
#define ACPI_METHOD_ARGUMENT_PACKAGE
Definition: acpiioct.h:24
#define RtlZeroMemory(Destination, Length)
Definition: typedefs.h:262
unsigned char UCHAR
Definition: xmlstorage.h:181

Referenced by DrvTestPackageInputValue().

◆ DrvEvaluateGtmObject()

static VOID DrvEvaluateGtmObject ( _In_ const EVAL_TEST_ENTRY TestEntry,
_In_ PACPI_EVAL_OUTPUT_BUFFER  OutputBuffer 
)
static

Definition at line 883 of file Bus_PDO_EvalMethod.c.

886{
888 ULONG OutputBufferSize;
890 PACPI_METHOD_ARGUMENT Argument;
894
895 InputBuffer.MethodNameAsUlong = 'MTG_'; // _GTM
897 InputBuffer.Signature = 'BAD0';
898 else
900
901 OutputBufferSize = FIELD_OFFSET(ACPI_EVAL_OUTPUT_BUFFER, Argument) +
902 ACPI_METHOD_ARGUMENT_LENGTH(sizeof(*TimingMode));
903
905 {
906 OutputBufferSize += TestEntry->Value;
907 }
908 else if (TestEntry->Flags & GTM_TEST_FLAG_DEC_OUT_BUFFER)
909 {
910 OutputBufferSize -= TestEntry->Value;
911 }
912 else if (TestEntry->Flags & GTM_TEST_FLAG_SET_OUT_BUFFER)
913 {
914 OutputBufferSize = TestEntry->Value;
915 }
916
917 /* Evaluate the _GTM method */
918 Status = DrvCallAcpiDriver(&InputBuffer, sizeof(InputBuffer), OutputBuffer, OutputBufferSize);
919
921
924 else
925 Signature = 0;
927
929 Count = 1;
930 else
931 Count = 0;
933
935 {
937 ACPI_METHOD_ARGUMENT_LENGTH(sizeof(*TimingMode));
938 }
939 else
940 {
941 Length = 0;
942 }
944
945 Argument = OutputBuffer->Argument;
948 else
950 ok_eq_uint_ex(TestEntry, Argument->Type, Type);
951
954 else
955 DataLength = 0;
956 ok_eq_uint_ex(TestEntry, Argument->DataLength, DataLength);
957
959 {
960 TimingMode = (PIDE_ACPI_TIMING_MODE_BLOCK)Argument->Data;
961
962 ok_eq_ulong_ex(TestEntry, TimingMode->Drive[0].PioSpeed, 900LU);
963 ok_eq_ulong_ex(TestEntry, TimingMode->Drive[0].DmaSpeed, 900LU);
964 ok_eq_ulong_ex(TestEntry, TimingMode->Drive[1].PioSpeed, 120LU);
965 ok_eq_ulong_ex(TestEntry, TimingMode->Drive[1].DmaSpeed, 120LU);
966 ok_eq_hex_ex(TestEntry, TimingMode->ModeFlags, 0x12LU);
967 }
968}
#define GTM_TEST_FLAG_BAD_SIGNARUTE
#define GTM_TEST_FLAG_SET_OUT_BUFFER
#define GTM_TEST_FLAG_DEC_OUT_BUFFER
#define GTM_TEST_FLAG_INC_OUT_BUFFER
Type
Definition: Type.h:7
struct _ACPI_EVAL_OUTPUT_BUFFER ACPI_EVAL_OUTPUT_BUFFER
#define ACPI_METHOD_ARGUMENT_BUFFER
Definition: acpiioct.h:23
_In_ ULONG _In_opt_ WDFREQUEST _In_opt_ PVOID _In_ size_t _In_ PVOID _In_ size_t _Out_ size_t * DataLength
Definition: cdrom.h:1444
#define NT_SUCCESS(StatCode)
Definition: apphelp.c:32
static const WCHAR Signature[]
Definition: parser.c:141
int Count
Definition: noreturn.cpp:7
_In_ ULONG _In_ ULONG _In_ ULONG Length
Definition: ntddpcm.h:102
unsigned short USHORT
Definition: pedump.c:61

Referenced by DrvTestInputBuffer().

◆ DrvEvaluatePclObject()

static VOID DrvEvaluatePclObject ( _In_ const EVAL_TEST_ENTRY TestEntry,
_In_ PACPI_EVAL_OUTPUT_BUFFER  OutputBuffer 
)
static

Definition at line 1075 of file Bus_PDO_EvalMethod.c.

1078{
1080 ULONG OutputBufferSize;
1082 PACPI_METHOD_ARGUMENT Argument;
1083
1084 InputBuffer.MethodNameAsUlong = 'LCP_'; // _PCL
1086
1087 OutputBufferSize = FIELD_OFFSET(ACPI_EVAL_OUTPUT_BUFFER, Argument) +
1088 ACPI_METHOD_ARGUMENT_LENGTH(sizeof("ABCD")); // ACPI name for the object
1089
1090 /* Evaluate the _PCL method */
1091 Status = DrvCallAcpiDriver(&InputBuffer, sizeof(InputBuffer), OutputBuffer, OutputBufferSize);
1092
1096 ok_eq_ulong_ex(TestEntry, OutputBuffer->Length, OutputBufferSize);
1097
1098 Argument = OutputBuffer->Argument;
1099
1101 ok_eq_uint_ex(TestEntry, Argument->DataLength, sizeof("ABCD"));
1102 ok_eq_str_ex(TestEntry, (PCSTR)Argument->Data, "_SB_");
1103}

Referenced by DrvTestReferenceReturnValue().

◆ DrvEvaluatePrtObject()

static VOID DrvEvaluatePrtObject ( _In_ const EVAL_TEST_ENTRY TestEntry,
_In_ PACPI_EVAL_OUTPUT_BUFFER  OutputBuffer 
)
static

Definition at line 1123 of file Bus_PDO_EvalMethod.c.

1126{
1128 ULONG PackageNum, ArgNum, OutputBufferSize;
1130 PACPI_METHOD_ARGUMENT Argument, PackageArgument;
1131
1132 InputBuffer.MethodNameAsUlong = 'TRP_'; // _PRT
1134
1135#define PRT_PACKAGE_ENTRY_SIZE \
1136 (ACPI_METHOD_ARGUMENT_LENGTH(sizeof(ULONG)) * 3 + \
1137 ACPI_METHOD_ARGUMENT_LENGTH(sizeof("LNKB")))
1138
1139 OutputBufferSize = FIELD_OFFSET(ACPI_EVAL_OUTPUT_BUFFER, Argument) +
1141
1142 /* Evaluate the _PRT method */
1143 Status = DrvCallAcpiDriver(&InputBuffer, sizeof(InputBuffer), OutputBuffer, OutputBufferSize);
1144
1148 ok_eq_ulong_ex(TestEntry, OutputBuffer->Length, OutputBufferSize);
1149
1150 Argument = OutputBuffer->Argument;
1151 for (PackageNum = 0; PackageNum < 2; PackageNum++)
1152 {
1154 ok_eq_uint_ex(TestEntry, Argument->DataLength, (USHORT)PRT_PACKAGE_ENTRY_SIZE);
1155
1156 PackageArgument = (PACPI_METHOD_ARGUMENT)Argument->Data;
1157 for (ArgNum = 0; ArgNum < 4; ArgNum++)
1158 {
1159 if (ArgNum != 2)
1160 {
1161 ULONG ExpectedValue;
1162
1163 ok_eq_uint_ex(TestEntry, PackageArgument->Type, ACPI_METHOD_ARGUMENT_INTEGER);
1164 ok_eq_uint_ex(TestEntry, PackageArgument->DataLength, sizeof(ULONG));
1165
1166 if (ArgNum == 0)
1167 {
1168 ExpectedValue = 0x0002FFFF;
1169 }
1170 else
1171 {
1172 if ((PackageNum == 1) && (ArgNum == 1))
1173 ExpectedValue = 0x00000001;
1174 else
1175 ExpectedValue = 0x00000000;
1176 }
1177 ok_eq_ulong_ex(TestEntry, PackageArgument->Argument, ExpectedValue);
1178 }
1179 else
1180 {
1181 ok_eq_uint_ex(TestEntry, PackageArgument->Type, ACPI_METHOD_ARGUMENT_STRING);
1182 ok_eq_uint_ex(TestEntry, PackageArgument->DataLength, sizeof("ABCD"));
1183 ok_eq_str_ex(TestEntry, (PCSTR)PackageArgument->Data,
1184 (PackageNum == 0) ? "LNKB" : "LNKC");
1185 }
1186
1187 PackageArgument = ACPI_METHOD_NEXT_ARGUMENT(PackageArgument);
1188 }
1189
1190 Argument = ACPI_METHOD_NEXT_ARGUMENT(Argument);
1191 }
1192}
#define PRT_PACKAGE_ENTRY_SIZE
#define for
Definition: utility.h:88

Referenced by DrvTestNestedPackageReturnValue().

◆ DrvEvaluateStmObject()

static VOID DrvEvaluateStmObject ( _In_ const EVAL_TEST_ENTRY TestEntry,
_In_ PIDE_ACPI_TIMING_MODE_BLOCK  TimingMode,
_In_ PUCHAR  IdBlock,
_In_ PACPI_EVAL_INPUT_BUFFER_COMPLEX  InputBuffer 
)
static

Definition at line 752 of file Bus_PDO_EvalMethod.c.

757{
758 PACPI_METHOD_ARGUMENT Argument, Argument2, Argument3;
760 ULONG InputBufferSize, IrpBufferSize;
761
762 InputBufferSize = FIELD_OFFSET(ACPI_EVAL_INPUT_BUFFER_COMPLEX, Argument) +
763 ACPI_METHOD_ARGUMENT_LENGTH(sizeof(*TimingMode)) +
766
768 {
771 }
772
773 InputBuffer->MethodNameAsUlong = 'MTS_'; // _STM
776 {
777 InputBuffer->Size = InputBufferSize - TestEntry->Value;
778 }
779 else if (TestEntry->Flags & STM_TEST_FLAG_SET_IN_BUFFER)
780 {
781 InputBuffer->Size = TestEntry->Value;
782 }
783 else
784 {
785 InputBuffer->Size = InputBufferSize;
786 }
787
789 {
790 InputBuffer->ArgumentCount = TestEntry->Value;
791 }
792 else
793 {
794 InputBuffer->ArgumentCount = 3;
795 }
796
797 /* Argument 1: The channel timing information block */
798 Argument = InputBuffer->Argument;
799 ACPI_METHOD_SET_ARGUMENT_BUFFER(Argument, TimingMode, sizeof(*TimingMode));
800
801 /* Argument 2: The ATA drive ID block */
804
805 /* Argument 3: The ATA drive ID block */
808
810 {
811 Argument3->Type = 0xFFFF;
812 }
813
815 {
816 Argument2->DataLength = STM_ID_BLOCK_SIZE * 2;
817 Argument3->DataLength = STM_ID_BLOCK_SIZE * 2;
818 }
819
821 {
822 ACPI_METHOD_SET_ARGUMENT_STRING(Argument3, IdBlock);
823 }
825 {
826 ACPI_METHOD_SET_ARGUMENT_INTEGER(Argument3, 0xDEADBEEF);
827 }
829 {
830 Argument3->DataLength += 5;
831 }
833 {
834 Argument3->DataLength -= 5;
835 }
836
838 {
839 IrpBufferSize = InputBufferSize - TestEntry->Value;
840 }
841 else if (TestEntry->Flags & STM_TEST_FLAG_SET_IRP_BUFFER)
842 {
843 IrpBufferSize = TestEntry->Value;
844 }
845 else
846 {
847 IrpBufferSize = InputBufferSize;
848 }
849
850 /* Evaluate the _STM method */
852 Status = DrvCallAcpiDriver(InputBuffer, IrpBufferSize, NULL, 0);
853
855}
#define STM_TEST_FLAG_SET_IRP_BUFFER
#define STM_TEST_FLAG_CHANGE_ARG_COUNT
#define STM_TEST_FLAG_LARGE_ARG_BUFFER
#define STM_TEST_FLAG_BAD_ARG_TYPE
#define STM_TEST_FLAG_SUB_IRP_BUFFER
#define STM_TEST_FLAG_SET_IN_BUFFER
#define STM_TEST_FLAG_SUB_IN_BUFFER
#define STM_TEST_FLAG_INVALID_ARG_3_5
#define STM_TEST_FLAG_INVALID_ARG_3_1
#define STM_TEST_FLAG_INVALID_ARG_3_4
#define STM_TEST_FLAG_INVALID_ARG_3_2
#define STM_TEST_FLAG_INVALID_SIZE_1
_In_ PVOID Argument2
Definition: classpnp.h:721

Referenced by DrvTestComplexBuffer().

◆ DrvTestComplexBuffer()

static VOID DrvTestComplexBuffer ( VOID  )
static

Definition at line 859 of file Bus_PDO_EvalMethod.c.

860{
862 UCHAR IdBlock[STM_ID_BLOCK_SIZE];
863 ULONG i;
866
867 /* Initialize method arguments */
868 RtlZeroMemory(IdBlock, sizeof(IdBlock));
869 TimingMode.Drive[0].PioSpeed = 508;
870 TimingMode.Drive[0].DmaSpeed = 120;
871 TimingMode.Drive[1].PioSpeed = 240;
872 TimingMode.Drive[1].DmaSpeed = 180;
873 TimingMode.ModeFlags = 0x10;
874
875 for (i = 0; i < RTL_NUMBER_OF(DrvpSmtTests); ++i)
876 {
877 DrvEvaluateStmObject(&DrvpSmtTests[i], &TimingMode, IdBlock, InputBuffer);
878 }
879}
#define STM_MAX_BUFFER_SIZE
static VOID DrvEvaluateStmObject(_In_ const EVAL_TEST_ENTRY *TestEntry, _In_ PIDE_ACPI_TIMING_MODE_BLOCK TimingMode, _In_ PUCHAR IdBlock, _In_ PACPI_EVAL_INPUT_BUFFER_COMPLEX InputBuffer)
static const EVAL_TEST_ENTRY DrvpSmtTests[]

Referenced by START_TEST().

◆ DrvTestInputBuffer()

static VOID DrvTestInputBuffer ( VOID  )
static

Definition at line 972 of file Bus_PDO_EvalMethod.c.

973{
975 ULONG i;
977
978 for (i = 0; i < RTL_NUMBER_OF(DrvpGtmTests); ++i)
979 {
980 RtlZeroMemory(Buffer, sizeof(Buffer));
981
983 }
984}
static VOID DrvEvaluateGtmObject(_In_ const EVAL_TEST_ENTRY *TestEntry, _In_ PACPI_EVAL_OUTPUT_BUFFER OutputBuffer)
static const EVAL_TEST_ENTRY DrvpGtmTests[]
#define GTM_MAX_BUFFER_SIZE
ACPI_EVAL_OUTPUT_BUFFER UNALIGNED * PACPI_EVAL_OUTPUT_BUFFER
Definition: acpiioct.h:90

Referenced by START_TEST().

◆ DrvTestNestedPackageReturnValue()

static VOID DrvTestNestedPackageReturnValue ( VOID  )
static

Definition at line 1196 of file Bus_PDO_EvalMethod.c.

1197{
1198 UCHAR Buffer[0x100];
1199 ULONG i;
1201
1202 for (i = 0; i < RTL_NUMBER_OF(DrvpPclTests); ++i)
1203 {
1204 RtlZeroMemory(Buffer, sizeof(Buffer));
1205
1207 }
1208}
static VOID DrvEvaluatePrtObject(_In_ const EVAL_TEST_ENTRY *TestEntry, _In_ PACPI_EVAL_OUTPUT_BUFFER OutputBuffer)
static const EVAL_TEST_ENTRY DrvpPrtTests[]
static const EVAL_TEST_ENTRY DrvpPclTests[]

Referenced by START_TEST().

◆ DrvTestPackageInputValue()

static VOID DrvTestPackageInputValue ( VOID  )
static

Definition at line 1312 of file Bus_PDO_EvalMethod.c.

1313{
1314 ULONG i;
1315
1316 for (i = 0; i < RTL_NUMBER_OF(DrvpDsmTests); ++i)
1317 {
1319 }
1320}
static const EVAL_TEST_ENTRY DrvpDsmTests[]
static VOID DrvEvaluateDsmObject(_In_ const EVAL_TEST_ENTRY *TestEntry)

Referenced by START_TEST().

◆ DrvTestPackageReturnValueAndStringData()

static VOID DrvTestPackageReturnValueAndStringData ( VOID  )
static

Definition at line 1059 of file Bus_PDO_EvalMethod.c.

1060{
1061 UCHAR Buffer[0x100];
1062 ULONG i;
1064
1065 for (i = 0; i < RTL_NUMBER_OF(DrvpBifTests); ++i)
1066 {
1067 RtlZeroMemory(Buffer, sizeof(Buffer));
1068
1070 }
1071}
static const EVAL_TEST_ENTRY DrvpBifTests[]
static VOID DrvEvaluateBifObject(_In_ const EVAL_TEST_ENTRY *TestEntry, _In_ PACPI_EVAL_OUTPUT_BUFFER OutputBuffer)

Referenced by START_TEST().

◆ DrvTestReferenceReturnValue()

static VOID DrvTestReferenceReturnValue ( VOID  )
static

Definition at line 1107 of file Bus_PDO_EvalMethod.c.

1108{
1109 UCHAR Buffer[0x100];
1110 ULONG i;
1112
1113 for (i = 0; i < RTL_NUMBER_OF(DrvpPclTests); ++i)
1114 {
1115 RtlZeroMemory(Buffer, sizeof(Buffer));
1116
1118 }
1119}
static VOID DrvEvaluatePclObject(_In_ const EVAL_TEST_ENTRY *TestEntry, _In_ PACPI_EVAL_OUTPUT_BUFFER OutputBuffer)

Referenced by START_TEST().

◆ DrvTestUnknownMethod()

static VOID DrvTestUnknownMethod ( VOID  )
static

Definition at line 1324 of file Bus_PDO_EvalMethod.c.

1325{
1328
1329 InputBuffer.MethodNameAsUlong = 'FFF_'; // _FFF
1331
1332 /* Try to evaluate some unsupported control method */
1334
1336}
#define ok_eq_hex(value, expected)
Definition: apitest.h:77
#define STATUS_OBJECT_NAME_NOT_FOUND
Definition: udferr_usr.h:149

Referenced by START_TEST().

◆ ExAllocatePoolWithTag()

static PVOID ExAllocatePoolWithTag ( ULONG  PoolType,
SIZE_T  NumberOfBytes,
ULONG  Tag 
)
static

Definition at line 122 of file Bus_PDO_EvalMethod.c.

123{
124 PULONG_PTR Mem;
125
126 Mem = HeapAlloc(GetProcessHeap(), 0, NumberOfBytes + 2 * sizeof(PVOID));
127 Mem[0] = NumberOfBytes;
128 Mem[1] = Tag;
129
131
132 return (PVOID)(Mem + 2);
133}
static LONG DrvpBlocksAllocated
#define GetProcessHeap()
Definition: compat.h:736
#define HeapAlloc
Definition: compat.h:733
uint32_t * PULONG_PTR
Definition: typedefs.h:65
_Must_inspect_result_ _In_ WDFDEVICE _In_ BOOLEAN _In_opt_ PVOID Tag
Definition: wdfdevice.h:4065
_Must_inspect_result_ typedef _In_ PHYSICAL_ADDRESS _Inout_ PLARGE_INTEGER NumberOfBytes
Definition: iotypes.h:1036

◆ ExFreePoolWithTag()

static VOID ExFreePoolWithTag ( PVOID  MemPtr,
ULONG  Tag 
)
static

Definition at line 137 of file Bus_PDO_EvalMethod.c.

138{
139 PULONG_PTR Mem = MemPtr;
140
141 Mem -= 2;
142 ok(Mem[1] == Tag, "Tag is %lx, expected %lx\n", Tag, Mem[1]);
143 HeapFree(GetProcessHeap(), 0, Mem);
144
146}
#define HeapFree(x, y, z)
Definition: compat.h:735

◆ IoGetCurrentIrpStackLocation()

static PIO_STACK_LOCATION IoGetCurrentIrpStackLocation ( PIRP  Irp)
static

Definition at line 150 of file Bus_PDO_EvalMethod.c.

151{
152 return &Irp->MyStack;
153}

Referenced by __attribute__(), FxWmiIrpHandler::_ChangeSingleInstance(), FxWmiIrpHandler::_ChangeSingleItem(), _Dispatch_type_(), FxWmiIrpHandler::_EnableDisableEventsAndCollection(), FxWmiIrpHandler::_ExecuteMethod(), _Function_class_(), _IRQL_requires_max_(), FxWmiIrpHandler::_QueryAllData(), FxWmiIrpHandler::_QuerySingleInstance(), FxWmiIrpHandler::_RegInfo(), _Requires_lock_held_(), _Success_(), ACPIDispatchDeviceControl(), AdapterDispatchPnp(), add_device(), add_thread_job(), AfdCancelHandler(), AfdConnectedSocketWriteData(), AfdDisconnect(), AfdDispatch(), AfdPacketSocketWriteData(), BatteryClassIoctl(), BdaPropertyNodeTypes(), BdaPropertyPinTypes(), BdaPropertyTemplateConnections(), BeepDeviceControl(), BeepStartIo(), BlasterDeviceControl(), BlasterWrite(), BroadcastOpen(), BuildAndSubmitIrp(), Bus_FDO_Power(), Bus_PDO_EvalMethod(), Bus_PDO_Power(), Bus_PDO_QueryDeviceCaps(), Bus_PDO_QueryDeviceId(), Bus_PDO_QueryDeviceRelations(), Bus_PDO_QueryDeviceText(), Bus_PDO_QueryInterface(), bus_pnp(), Bus_PnP(), Bus_Power(), bus_query_capabilities(), CdAddToWorkque(), CdAllowExtendedDasdIo(), CdCommonDevControl(), CdCommonLockControl(), CdCompleteMdl(), CdCreateIrpContext(), CdFspDispatch(), CdHijackIrpAndFlushDevice(), CdIsVolumeDirty(), CdIsVolumeMounted(), CdMultipleXAAsync(), CdOperationIsDasdOpen(), CdVerifyFcbOperation(), CdVerifyVcb(), ClassCheckVerifyComplete(), ClassCreateClose(), ClassDeviceControl(), ClassDeviceGetLBProvisioningResources(), ClassDeviceHwFirmwareActivateProcess(), ClassDeviceHwFirmwareDownloadProcess(), ClassDeviceHwFirmwareGetInfoProcess(), ClassDispatchPnp(), ClassDispatchUnimplemented(), ClassGlobalDispatch(), ClassInternalIoControl(), ClassIoComplete(), ClassIoCompleteAssociated(), ClassMinimalPowerHandler(), ClasspAccessAlignmentProperty(), ClasspBuildRequestEx(), ClasspCreateClose(), ClasspDeviceGetLBAStatus(), ClasspDeviceLBProvisioningProperty(), ClasspDeviceLockFailurePowerIrpCompletion(), ClasspDeviceMediaTypeProperty(), ClasspDeviceSeekPenaltyProperty(), ClasspDeviceTrimProperty(), ClasspDuidGetDeviceIdProperty(), ClasspDuidGetDeviceProperty(), ClasspDuidGetDriveLayout(), ClasspDuidQueryProperty(), ClasspEjectionControl(), ClasspMcnControl(), ClasspMediaChangeDetectionCompletion(), ClassPnp(), ClassPower(), ClasspPersistentReserve(), ClasspPowerDownCompletion(), ClasspPowerHandler(), ClasspPowerUpCompletion(), ClasspPrepareMcnIrp(), ClasspPriorityHint(), ClasspRetryRequestDpc(), ClasspStorageEventNotification(), ClasspWriteCacheProperty(), ClassRead(), ClassReadWrite(), ClassSystemControl(), ClassWmiCompleteRequest(), ClockPropertyCorrelatedPhysicalTime(), ClockPropertyCorrelatedTime(), ClockPropertyPhysicalTime(), ClockPropertyResolution(), ClockPropertyState(), ClockPropertyTime(), CmBattIoctl(), CmBattOpenClose(), CmBattPnpDispatch(), CmBattPowerDispatch(), CmBattSystemControl(), CompBattPnpDispatch(), FxWmiIrpHandler::CompleteWmiExecuteMethodRequest(), FxWmiIrpHandler::CompleteWmiQueryAllDataRequest(), FxWmiIrpHandler::CompleteWmiQuerySingleInstanceRequest(), FxWmiIrpHandler::CompleteWmiRequest(), ConDrvDispatch(), control_ioctl(), ControlSoundBlaster(), create_stream(), CreatePin(), CreateRedirectedFile(), delete_reparse_point(), DeviceIoctlPassive(), DisconnectComplete(), DiskDetermineMediaTypes(), DiskDeviceControl(), DiskFlushDispatch(), DiskInfoExceptionCheck(), DiskInfoExceptionComplete(), DiskIoctlEnableFailurePrediction(), DiskIoctlGetCacheInformation(), DiskIoctlGetCacheSetting(), DiskIoctlGetDriveGeometry(), DiskIoctlGetDriveGeometryEx(), DiskIoctlGetLengthInfo(), DiskIoctlGetMediaTypesEx(), DiskIoctlGetVolumeDiskExtents(), DiskIoctlPredictFailure(), DiskIoctlReassignBlocks(), DiskIoctlReassignBlocksEx(), DiskIoctlSetCacheInformation(), DiskIoctlSetCacheSetting(), DiskIoctlSmartGetVersion(), DiskIoctlSmartReceiveDriveData(), DiskIoctlSmartSendDriveCommand(), DiskIoctlUpdateDriveSize(), DiskIoctlVerify(), DiskReadWriteVerification(), DiskShutdownFlush(), FxWmiIrpHandler::Dispatch(), Dispatch(), Dispatch_fnClose(), Dispatch_fnDeviceIoControl(), Dispatch_fnFlush(), Dispatch_fnQuerySecurity(), Dispatch_fnRead(), Dispatch_fnSetSecurity(), Dispatch_fnWrite(), DispatchCreateCloseCleanup(), DispatchCreateSysAudioPin(), DispCancelListenRequest(), DispCancelRequest(), DispPrepareIrpForCancel(), DispTdiAssociateAddress(), DispTdiConnect(), DispTdiDisassociateAddress(), DispTdiDisconnect(), DispTdiListen(), DispTdiQueryInformation(), DispTdiReceive(), DispTdiReceiveDatagram(), DispTdiSend(), DispTdiSendDatagram(), DispTdiSetEventHandler(), do_read(), do_read_job(), DriverCleanup(), DriverCreate(), DriverDispatch(), DriverIoControl(), EndRequestHandler(), Ext2AllocateIrpContext(), Ext2AllowExtendedDasdIo(), Ext2Create(), Ext2CreateFile(), Ext2CreateVolume(), Ext2DeviceControl(), Ext2DeviceControlNormal(), Ext2ExceptionHandler(), Ext2Flush(), Ext2GetReparsePoint(), Ext2GetRetrievalPointerBase(), Ext2GetRetrievalPointers(), Ext2InvalidateVolumes(), Ext2IsVolumeDirty(), Ext2LockIrp(), Ext2LockVolume(), Ext2MountVolume(), Ext2NotifyChangeDirectory(), Ext2OplockRequest(), Ext2OverwriteEa(), Ext2QueryDirectory(), Ext2QueryEa(), Ext2QueryFileInformation(), Ext2QueryRetrievalPointers(), Ext2QueryVolumeInformation(), Ext2ReadFile(), Ext2ReadVolume(), Ext2ReadWriteBlockAsyncCompletionRoutine(), Ext2ReadWriteBlocks(), Ext2SetDispositionInfo(), Ext2SetEa(), Ext2SetFileInformation(), Ext2SetLinkInfo(), Ext2SetRenameInfo(), Ext2SetReparsePoint(), Ext2SetVolumeInformation(), Ext2UnlockVolume(), Ext2UserFsRequest(), Ext2VerifyVcb(), Ext2WriteComplete(), Ext2WriteFile(), Ext2WriteVolume(), FatAddToWorkque(), FatAllowExtendedDasdIo(), FatCheckSystemSecurityAccess(), FatCommonQueryEa(), FatCommonSetEa(), FatCompleteMdl(), FatCreateIrpContext(), FatFspDispatch(), FatGetStatistics(), FatIsVolumeDirty(), FatIsVolumeMounted(), FatMultiAsyncCompletionRoutine(), FatMultipleAsync(), FatPagingFileErrorHandler(), FatPagingFileIo(), FatPrePostIrp(), FatQueryBpb(), FatQuickVerifyVcb(), FatSetPositionInfo(), FatSetRenameInfo(), FatSetZeroOnDeallocate(), FatSingleAsyncCompletionRoutine(), FatSwapVpb(), FatUnlockVolume(), FatUnpinRepinnedBcbs(), FatVerifyOperationIsLegal(), FatVerifyVcb(), FdcFdoPnp(), FdcPdoPnp(), FdcPower(), FDO_DeviceRelations(), FDO_Dispatch(), FDO_HandleInternalDeviceControl(), FDO_HandlePnp(), FDO_HandleResetCyclePort(), FdoCreate(), FdoDispatchPnp(), FdoHandleDeviceRelations(), FdoHandleQueryProperty(), FdoIoctlDiskGetDriveGeometryEx(), FdoPnp(), FdoPnpControl(), FdoStartDevice(), file_create(), file_create2(), FilterGeneralComponentIdHandler(), FilterPinPropertyHandler(), FinishDevPoDnIrp(), FltpDeviceControlHandler(), FltpDispatch(), FltpDispatchHandler(), FltpFastIoQueryOpen(), FltpGetNextMessageWaiter(), FltpMsgCreate(), FltpMsgDispatch(), FreeBT_DispatchClean(), FreeBT_DispatchClose(), FreeBT_DispatchCreate(), FreeBT_DispatchDevCtrl(), FreeBT_DispatchPnP(), FreeBT_DispatchPower(), FreeBT_DispatchRead(), FreeBT_DispatchSysCtrl(), FreeBT_DispatchWrite(), fsctl_oplock(), fsctl_request(), FsdClose(), FsdCreate(), FsdFileSystemControl(), FsdRead(), FsRecBtrfsFsControl(), FsRecCdfsFsControl(), FsRecCreate(), FsRecExt2FsControl(), FsRecFatxFsControl(), FsRecFfsFsControl(), FsRecNtfsFsControl(), FsRecReiserfsFsControl(), FsRecUdfsFsControl(), FsRecVfatFsControl(), FsRtlCancelNotify(), FsRtlCheckLockForReadAccess(), FsRtlCheckLockForWriteAccess(), FsRtlCheckOplock(), FsRtlNotifyCompleteIrp(), FsRtlNotifyFilterChangeDirectory(), FsRtlNotifyFilterReportChange(), FsRtlOplockCleanup(), FsRtlOplockFsctrl(), FsRtlProcessFileLock(), FsRtlRemoveAndCompleteIrp(), FsRtlUninitializeOplock(), FxLibraryDispatch(), get_compression(), GetConnectRequest(), GetNfsVolumeData(), GetNtfsFileRecord(), GetVolumeBitmap(), GreenDispatch(), GreenPnp(), GreenPower(), GreenQueryId(), HalpDispatchPnp(), HandleDeviceQueryPower(), HandleDeviceSetPower(), CPortPinWavePci::HandleKsProperty(), CPortPinWaveRT::HandleKsProperty(), HandleLoadUnloadIoctl(), HandleQueryCapabilities(), HandleReadIrp(), HandleSysAudioFilterPinProperties(), HandleSystemQueryPower(), HandleSystemSetPower(), HDA_FdoPnp(), HDA_FDOStartDevice(), HDA_PDOHandleQueryDeviceText(), HDA_PDOHandleQueryInterface(), HDA_PdoPnp(), HDA_PDOQueryBusDeviceCapabilities(), HDA_PDOQueryId(), HidClass_Close(), HidClass_Create(), HidClass_DeviceControl(), HidClass_Read(), HidClass_Write(), HidClassDispatch(), HidClassFDO_DeviceRelations(), HidClassFDO_DispatchRequest(), HidClassFDO_DispatchRequestSynchronous(), HidClassFDO_PnP(), HidClassPDO_PnP(), HidCreate(), HidInternalDeviceControl(), HidPnp(), HidUsb_GetReportDescriptor(), HidUsb_ReadReport(), i8042InternalDeviceControl(), i8042KbdDeviceControl(), i8042KbdInternalDeviceControl(), i8042KbdStartIo(), i8042MouInternalDeviceControl(), i8042Pnp(), if(), IKsAllocator_DispatchClose(), IKsAllocator_DispatchDeviceIoControl(), IKsAllocator_fnDeviceIoControl(), IKsClock_DispatchDeviceIoControl(), IKsDevice_Create(), IKsDevice_Pnp(), IKsDevice_PnpStartDevice(), IKsFilter_DispatchDeviceIoControl(), IKsFilter_GetFilterFromIrp(), IKsPin_Close(), IKsPin_DispatchDeviceIoControl(), IKsPin_DispatchKsStream(), IKsPin_PinAllocatorFramingPropertyHandler(), IKsPin_PinDataFormatPropertyHandler(), IKsPin_PinMasterClock(), IKsPin_PinStatePropertyHandler(), InitializeFilterWithKs(), InPortCreateClose(), InPortInternalDeviceControl(), InPortPnp(), InPortPower(), InPortStartDevice(), InPortWmi(), InterpretTransferPacketError(), IntVideoPortDispatchDeviceControl(), IntVideoPortDispatchFdoPnp(), IntVideoPortDispatchPdoPnp(), IntVideoPortDispatchPower(), IntVideoPortPnPStartDevice(), invalidate_volumes(), IoCancelIrp(), IofCompleteRequest(), IoIsOperationSynchronous(), IopDisassociateThreadIrp(), IrpStub(), is_volume_dirty(), FxIoQueue::IsPagingIo(), IsRequestValid(), KbdHid_Create(), KbdHid_InternalDeviceControl(), KbdHid_Pnp(), KeyboardInternalDeviceControl(), KMix_Pnp(), KopDispatchClose(), KopDispatchCreate(), KsAcquireResetValue(), KsAddIrpToCancelableQueue(), KsAllocateExtraData(), KsAllocateObjectHeader(), KsCancelIo(), KsCompletePendingRequest(), KsDefaultAddEventHandler(), KsDefaultDeviceIoCompletion(), KsDefaultDispatchPnp(), KsDisableEvent(), KsDispatchIrp(), KsDispatchQuerySecurity(), KsDispatchSetSecurity(), KsDispatchSpecificProperty(), KsecDdDispatch(), KsGetBusEnumIdentifier(), KsGetFilterFromIrp(), KsGetObjectTypeFromIrp(), KsGetPinFromIrp(), KsHandleSizedListQuery(), KsInstallBusEnumInterface(), KsoGetIrpTargetFromIrp(), KspCopyCreateRequest(), KspCreate(), KspCreateFilter(), KspCreatePin(), KspDisableEvent(), KspDispatchIrp(), KspDoReparseForIrp(), KspEnableEvent(), KspHandleDataIntersection(), KsPinDataIntersection(), KspInstallBusEnumInterface(), KspMethodHandlerWithAllocator(), KspPinPropertyHandler(), KspPropertyHandler(), KspQueryBusDeviceCapabilities(), KspQueryBusDeviceInterface(), KspQueryId(), KsProbeStreamIrp(), KsReleaseIrpOnCancelableQueue(), KsRemoveBusEnumInterface(), KsServiceBusEnumCreateRequest(), KsServiceBusEnumPnpRequest(), KsTopologyPropertyHandler(), LanDispatch(), ListenComplete(), lock_volume(), LockOrUnlockVolume(), LockPeekNextIrp(), LostSocket(), MouHid_Create(), MouHid_InternalDeviceControl(), MouHid_Pnp(), mount_vol(), mountdev_query_stable_guid(), MountMgrChangeNotify(), MountMgrCleanup(), MountMgrCreateClose(), MountMgrCreatePoint(), MountMgrDeletePoints(), MountMgrDeviceControl(), MountMgrKeepLinksWhenOffline(), MountMgrNextDriveLetter(), MountMgrQueryAutoMount(), MountMgrQueryDosVolumePath(), MountMgrQueryDosVolumePaths(), MountMgrQueryPoints(), MountMgrSetAutoMount(), MountMgrVolumeArrivalNotification(), MountMgrVolumeMountPointChanged(), MPU401DeviceControl(), MsfsClose(), MsfsCreate(), MsfsCreateMailslot(), MsfsFileSystemControl(), MsfsPeekNextIrp(), MsfsQueryInformation(), MsfsRead(), MsfsSetInformation(), MsfsWrite(), MupCleanup(), MupCleanupVcb(), MupClose(), MupCreate(), MupDereferenceMasterIoContext(), MupForwardIoRequest(), MupFsControl(), NdisGenericIrpHandler(), NdisIDeviceIoControl(), NdisIDispatchPnp(), NdisIPnPStartDevice(), NdisIPwrQueryPower(), NdisIPwrSetPower(), NduDispatchClose(), NduDispatchCreate(), NduDispatchDeviceControl(), NduDispatchRead(), NduDispatchWrite(), NewDispatchObject(), nfs41_FsdDispatch(), notify_change_directory(), NpAddWaiter(), NpCommonCleanup(), NpCommonClose(), NpCommonFileSystemControl(), NpCommonFlushBuffers(), NpCommonQueryInformation(), NpCommonQuerySecurityInfo(), NpCommonQueryVolumeInformation(), NpCommonSetInformation(), NpCommonSetSecurityInfo(), NpDisconnect(), NpFsdCreate(), NpFsdCreateNamedPipe(), NpFsdRead(), NpFsdWrite(), NpImpersonate(), NpListen(), NpPeek(), NpQueryClientProcess(), NpSetClientProcess(), NpTransceive(), NpWaitForNamedPipe(), NpWriteDataQueue(), NtfsAllocateIrpContext(), NtfsCreateFile(), NtfsMountVolume(), NtfsQueryDirectory(), NtfsUserFsRequest(), NullDispatch(), open_file(), open_file2(), open_file3(), oplock_complete(), PacketSocketRecvComplete(), PacketSocketSendComplete(), PartitionHandleDeviceControl(), PartitionHandleDeviceRelations(), PartitionHandlePnp(), PartitionHandleQueryCapabilities(), PartitionHandleQueryId(), PartMgrDeviceControl(), PartMgrPnp(), PartMgrPower(), PartMgrReadWrite(), PcDispatchIrp(), PcHandlePropertyWithTable(), PciDispatchDeviceControl(), PciDispatchIrp(), PciIdeXFdoDispatchPnp(), PciIdeXFdoQueryDeviceUsageNotification(), PciIdeXFdoStartDevice(), PciIdeXPdoDispatchPnp(), PciIdeXPdoDispatchPower(), PciIdeXPdoQueryCapabilities(), PciIdeXPdoQueryDeviceText(), PciIdeXPdoQueryDeviceUsageNotification(), PciIdeXPdoQueryId(), PciIdeXPdoRepeatRequest(), PciPassIrpFromFdoToPdo(), PcmciaDeviceControl(), PcmciaPower(), pdo_device_usage_notification(), PDO_Dispatch(), PDO_HandleInternalDeviceControl(), PDO_HandlePnp(), PDO_HandlePower(), pdo_pnp(), pdo_query_device_relations(), pdo_query_id(), PdoCreate(), PdoDispatchPnp(), PdoHandleDeviceRelations(), PdoHandleQueryDeviceText(), PdoHandleQueryProperty(), PdoPnpControl(), PdoPower(), PdoPowerControl(), PdoWrite(), Pin_fnClose(), Pin_fnDeviceIoControl(), Pin_fnWrite(), PinPropertyHandler(), pnp_device_usage_notification(), PnpRootFdoPnpControl(), PnpRootPdoPnpControl(), PnpRootPowerControl(), PopRequestPowerIrpCompletion(), PortClsPnp(), PortClsPower(), PortFdoPnp(), PortFdoStartDevice(), ProcessorPnp(), PropertyItemDispatch(), query_dir_item(), query_directory(), query_info(), QueryPointsFromMemory(), QueryPointsFromSymbolicLinkName(), QueueThread(), QueueUserModeIrp(), RamdiskCreateRamdisk(), RamdiskDeviceControl(), RamdiskGetPartitionInfo(), RamdiskPnp(), RamdiskPower(), RamdiskQueryCapabilities(), RamdiskQueryDeviceText(), RamdiskQueryId(), RamdiskReadWrite(), RamdiskReadWriteReal(), RamdiskSetPartitionInfo(), RamdiskWorkerThread(), RawCompletionRoutine(), RawDispatch(), ReadBytes(), ReadIrpCancel(), ReadWritePassive(), ReceiveActivity(), ReceiveComplete(), RegisterUncProvider(), RequestedPowerCompletion(), RequestGetCurrentStackLocationFlags(), RequestHandleReadWrite(), RequestIssueShutdownFlush(), RequestProcessInternalDeviceControl(), RequestProcessPowerIrpCompletion(), RequestProcessSetPower(), RequestProcessShutdownFlush(), RequestSetupMcnSyncIrp(), RequestValidateRawRead(), RequestValidateReadWrite(), RetryRequest(), RxCommonWrite(), RxCompleteRequest_Real(), RxFsdDispatch(), RxInitializeContext(), SatisfyPacketRecvRequest(), SatisfyPreAccept(), ScrCreateClose(), ScrDispatch(), ScreenDeviceControl(), ScreenWrite(), ScrIoControl(), ScrWrite(), ScsiFlopDeviceControl(), ScsiFlopReadWriteVerification(), ScsiPortDeviceControl(), ScsiPortDispatchPower(), ScsiPortDispatchScsi(), ScsiPortGetPhysicalAddress(), ScsiPortNotification(), ScsiPortStartIo(), ScsiPortStartPacket(), SendComplete(), SendDeviceIrp(), SenseInfoRequestGetInformation(), SequentialQueueEvtIoReadWrite(), SerenumFdoPnp(), SerenumPdoPnp(), SerenumPdoQueryId(), SerialCreate(), SerialDeviceControl(), SerialGetPerfStats(), SerialGetUserBuffers(), SerialPnp(), SerialQueryInformation(), SerialRead(), SerialWrite(), SermouseInternalDeviceControl(), SermousePnp(), ServiceTransferRequest(), set_case_sensitive_information(), set_compression(), set_reparse_point(), set_valid_data_length_information(), SetDeviceFunctional(), SetupReadWriteTransferPacket(), SignalSocket(), SpiAdapterControl(), SpiGetInquiryData(), SpiGetNextRequestFromLun(), SpiHandleAttachRelease(), SpiProcessCompletedRequest(), SpiSaveInterruptData(), StreamClassPnp(), StreamClassStartDevice(), StreamSocketConnectComplete(), SubmitTransferPacket(), SwDispatchDeviceControl(), SwDispatchPnp(), SwDispatchPower(), SysAudio_Pnp(), SysAudioHandleProperty(), SysAudioOpenVirtualDevice(), SysPoCompletionRoutine(), TCPAcceptEventHandler(), TestDispatch(), TiCloseFileObject(), TiCreateFileObject(), TiDispatch(), TiDispatchInternal(), TiDispatchOpenClose(), TransferPktComplete(), UDFAllocateIrpContext(), UDFCleanup(), UDFCommonCleanup(), UDFCommonClose(), UDFCommonCreate(), UDFCommonDeviceControl(), UDFCommonDirControl(), UDFCommonFileInfo(), UDFCommonFlush(), UDFCommonFSControl(), UDFCommonLockControl(), UDFCommonPnp(), UDFCommonQueryVolInfo(), UDFCommonRead(), UDFCommonSetVolInfo(), UDFCommonShutdown(), UDFCommonWrite(), UDFDismountVolume(), UDFExceptionHandler(), UDFGetFileAllocModeFromICB(), UDFGetRetrievalPointers(), UDFGetStatistics(), UDFGetVolumeBitmap(), UDFInvalidateVolumes(), UDFIsPathnameValid(), UDFIsVolumeDirty(), UDFIsVolumeMounted(), UDFLockVolume(), UDFMountVolume(), UDFPerformVerify(), UDFSetFileAllocModeFromICB(), UDFUnlockCallersBuffer(), UDFUnlockVolume(), UDFUserFsCtrlRequest(), UDFVerifyVolume(), unlock_volume(), UnlockAndMaybeComplete(), USBCCGP_BuildConfigurationDescriptor(), USBCCGP_Dispatch(), USBCCGP_PdoHandleDeviceRelations(), USBCCGP_PdoHandleQueryDeviceText(), USBCCGP_PdoHandleQueryId(), USBCCGP_PDOSelectConfiguration(), USBFlopFormatTracks(), USBFlopGetMediaTypes(), USBH_DeviceControl(), USBH_FdoDeferPoRequestCompletion(), USBH_FdoDispatch(), USBH_FdoIdleNotificationCallback(), USBH_FdoPnP(), USBH_FdoPower(), USBH_HubDispatch(), USBH_IoctlGetDescriptor(), USBH_IoctlGetHubCapabilities(), USBH_IoctlGetNodeConnectionAttributes(), USBH_IoctlGetNodeConnectionDriverKeyName(), USBH_IoctlGetNodeConnectionInformation(), USBH_IoctlGetNodeInformation(), USBH_IoctlGetNodeName(), USBH_PdoDispatch(), USBH_PdoInternalControl(), USBH_PdoIoctlGetPortStatus(), USBH_PdoPnP(), USBH_PdoQueryDeviceText(), USBH_PdoQueryId(), USBH_PortIdleNotificationRequest(), USBH_PowerIrpCompletion(), USBH_QueryCapsComplete(), USBPORT_Dispatch(), USBPORT_DoIdleNotificationCallback(), USBPORT_FdoDeviceControl(), USBPORT_FdoPnP(), USBPORT_FdoPower(), USBPORT_GetUnicodeName(), USBPORT_ParseResources(), USBPORT_PdoDevicePowerState(), USBPORT_PdoInternalDeviceControl(), USBPORT_PdoPnP(), USBPORT_PdoPower(), USBPORT_PdoQueryInterface(), USBPORT_QueryCapabilities(), USBSTOR_CBWCompletionRoutine(), USBSTOR_CSWCompletionRoutine(), USBSTOR_DataCompletionRoutine(), USBSTOR_FdoHandleDeviceRelations(), USBSTOR_FdoHandlePnp(), USBSTOR_HandleDeviceControl(), USBSTOR_HandleExecuteSCSI(), USBSTOR_HandleInternalDeviceControl(), USBSTOR_HandleQueryProperty(), USBSTOR_HandleTransferError(), USBSTOR_IssueRequestSense(), USBSTOR_PdoHandleDeviceRelations(), USBSTOR_PdoHandlePnp(), USBSTOR_PdoHandleQueryDeviceText(), USBSTOR_QueueAddIrp(), USBSTOR_QueueNextRequest(), USBSTOR_QueueRelease(), USBSTOR_QueueTerminateRequest(), USBSTOR_SendCBWRequest(), USBSTOR_SendFormatCapacity(), USBSTOR_SendInquiry(), USBSTOR_SendModeSense(), USBSTOR_SendReadWrite(), USBSTOR_SendTestUnit(), USBSTOR_SendUnknownRequest(), USBSTOR_StartIo(), VcdDeviceControl(), VcdRead(), VerifyIrpInBufferSize(), VerifyIrpOutBufferSize(), VfatAllocateIrpContext(), VfatCreateFile(), VfdCreateClose(), VfdDeviceControl(), VfdDeviceThread(), VfdReadWrite(), ViCheckVerify(), ViCreateDevice(), VideoPortForwardDeviceControl(), ViEnumerateDrives(), ViGetDriveGeometry(), ViGetImagePath(), ViGetLastSession(), ViReadToc(), ViReadTocEx(), vol_device_control(), vol_get_device_number(), vol_get_disk_extents(), vol_get_drive_geometry(), vol_get_gpt_attributes(), vol_get_length(), vol_ioctl_passthrough(), vol_is_dynamic(), vol_query_device_name(), vol_query_stable_guid(), vol_query_unique_id(), vol_read(), vol_write(), WdmAudCleanup(), WdmAudCreate(), WdmAudDeviceControl(), WdmAudPnp(), WdmAudReadWrite(), and WmipIoControl().

◆ START_TEST()

START_TEST ( Bus_PDO_EvalMethod  )

Definition at line 1338 of file Bus_PDO_EvalMethod.c.

1339{
1347
1348 ok(DrvpBlocksAllocated == 0, "Leaking memory %ld blocks\n", DrvpBlocksAllocated);
1349}
static VOID DrvTestPackageReturnValueAndStringData(VOID)
static VOID DrvTestNestedPackageReturnValue(VOID)
static VOID DrvTestInputBuffer(VOID)
static VOID DrvTestComplexBuffer(VOID)
static VOID DrvTestPackageInputValue(VOID)
static VOID DrvTestUnknownMethod(VOID)
static VOID DrvTestReferenceReturnValue(VOID)

Variable Documentation

◆ DrvpBifIntegerFields

const ULONG DrvpBifIntegerFields[9]
static
Initial value:
=
{
0, 50000, 50000, 1, 10000, 100, 50, 1, 1
}

Definition at line 215 of file Bus_PDO_EvalMethod.c.

Referenced by AcpiEvaluateObject(), and DrvEvaluateBifObject().

◆ DrvpBifTests

const EVAL_TEST_ENTRY DrvpBifTests[]
static
Initial value:
=
{
{ __LINE__, 0, STATUS_SUCCESS },
}
#define STATUS_SUCCESS
Definition: shellext.h:65

Definition at line 704 of file Bus_PDO_EvalMethod.c.

Referenced by DrvTestPackageReturnValueAndStringData().

◆ DrvpBlocksAllocated

LONG DrvpBlocksAllocated = 0
static

Definition at line 116 of file Bus_PDO_EvalMethod.c.

Referenced by ExAllocatePoolWithTag(), ExFreePoolWithTag(), and START_TEST().

◆ DrvpDsmTests

const EVAL_TEST_ENTRY DrvpDsmTests[]
static
Initial value:
=
{
{ __LINE__, 0, STATUS_SUCCESS },
}
#define STATUS_ACPI_INVALID_ARGTYPE
Definition: ntstatus.h:1299

Definition at line 719 of file Bus_PDO_EvalMethod.c.

Referenced by DrvTestPackageInputValue().

◆ DrvpEvalTestEntry

const EVAL_TEST_ENTRY* DrvpEvalTestEntry
static

◆ DrvpGtmTests

const EVAL_TEST_ENTRY DrvpGtmTests[]
static

Definition at line 662 of file Bus_PDO_EvalMethod.c.

Referenced by DrvTestInputBuffer().

◆ DrvpMyDsmIntegerFields

const ULONG DrvpMyDsmIntegerFields[3]
static
Initial value:
=
{
0xAAAAAAAA, 0xBBBBBBBB, 0xDDDDDDDD
}

Definition at line 220 of file Bus_PDO_EvalMethod.c.

Referenced by AcpiEvaluateObject(), and DrvEvaluateDsmObject().

◆ DrvpPclTests

const EVAL_TEST_ENTRY DrvpPclTests[]
static
Initial value:
=
{
{ __LINE__, 0, STATUS_SUCCESS },
}

Definition at line 709 of file Bus_PDO_EvalMethod.c.

Referenced by DrvTestNestedPackageReturnValue(), and DrvTestReferenceReturnValue().

◆ DrvpPrtTests

const EVAL_TEST_ENTRY DrvpPrtTests[]
static
Initial value:
=
{
{ __LINE__, 0, STATUS_SUCCESS },
}

Definition at line 714 of file Bus_PDO_EvalMethod.c.

Referenced by DrvTestNestedPackageReturnValue().

◆ DrvpSmtTests

const EVAL_TEST_ENTRY DrvpSmtTests[]
static

Definition at line 618 of file Bus_PDO_EvalMethod.c.

Referenced by DrvTestComplexBuffer().