ReactOS 0.4.16-dev-1972-gf20c09f
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 STM_TEST_FLAG_IS_TODO   (1 << 12)
 
#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_IS_TODO   (1 << 9)
 
#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 90 of file Bus_PDO_EvalMethod.c.

◆ DPRINT

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

Definition at line 91 of file Bus_PDO_EvalMethod.c.

◆ DPRINT1

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

Definition at line 92 of file Bus_PDO_EvalMethod.c.

◆ DSM_TEST_FLAG_EMPTY_PACKAGE

#define DSM_TEST_FLAG_EMPTY_PACKAGE   (1 << 0)

Definition at line 80 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 81 of file Bus_PDO_EvalMethod.c.

◆ ExAllocatePoolUninitialized

#define ExAllocatePoolUninitialized   ExAllocatePoolWithTag

Definition at line 120 of file Bus_PDO_EvalMethod.c.

◆ FAKE_INTB_ACPI_HANDLE

#define FAKE_INTB_ACPI_HANDLE   0xFF0F0002

Definition at line 177 of file Bus_PDO_EvalMethod.c.

◆ FAKE_INTC_ACPI_HANDLE

#define FAKE_INTC_ACPI_HANDLE   0xFF0F0003

Definition at line 178 of file Bus_PDO_EvalMethod.c.

◆ FAKE_SB_NAMESPACE_ACPI_HANDLE

#define FAKE_SB_NAMESPACE_ACPI_HANDLE   0xFF0F0001

Definition at line 176 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 616 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 68 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 69 of file Bus_PDO_EvalMethod.c.

◆ GTM_TEST_FLAG_BAD_SIGNARUTE

#define GTM_TEST_FLAG_BAD_SIGNARUTE   (1 << 0)

Definition at line 64 of file Bus_PDO_EvalMethod.c.

◆ GTM_TEST_FLAG_BUFFER_HAS_COUNT

#define GTM_TEST_FLAG_BUFFER_HAS_COUNT   (1 << 2)

Definition at line 66 of file Bus_PDO_EvalMethod.c.

◆ GTM_TEST_FLAG_BUFFER_HAS_LENGTH

#define GTM_TEST_FLAG_BUFFER_HAS_LENGTH   (1 << 3)

Definition at line 67 of file Bus_PDO_EvalMethod.c.

◆ GTM_TEST_FLAG_BUFFER_HAS_SIGNARUTE

#define GTM_TEST_FLAG_BUFFER_HAS_SIGNARUTE   (1 << 1)

Definition at line 65 of file Bus_PDO_EvalMethod.c.

◆ GTM_TEST_FLAG_DEC_OUT_BUFFER

#define GTM_TEST_FLAG_DEC_OUT_BUFFER   (1 << 7)

Definition at line 71 of file Bus_PDO_EvalMethod.c.

◆ GTM_TEST_FLAG_INC_OUT_BUFFER

#define GTM_TEST_FLAG_INC_OUT_BUFFER   (1 << 6)

Definition at line 70 of file Bus_PDO_EvalMethod.c.

◆ GTM_TEST_FLAG_IS_TODO

#define GTM_TEST_FLAG_IS_TODO   (1 << 9)

Definition at line 73 of file Bus_PDO_EvalMethod.c.

◆ GTM_TEST_FLAG_METHOD_SUCCESS

#define GTM_TEST_FLAG_METHOD_SUCCESS
Value:

Definition at line 75 of file Bus_PDO_EvalMethod.c.

◆ GTM_TEST_FLAG_SET_OUT_BUFFER

#define GTM_TEST_FLAG_SET_OUT_BUFFER   (1 << 8)

Definition at line 72 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 121 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:2000
Definition: ncftp.h:79
Definition: pdh_main.c:96

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 89 of file Bus_PDO_EvalMethod.c.

Referenced by __drv_allocatesMem(), __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_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(), CmBattCallAcpiPackage(), CmBattCreateFdo(), CmBattDestroyFdo(), CmBattDisableStatusNotify(), CmBattGetBatteryStatus(), CmBattGetBifData(), CmBattGetBixData(), CmBattGetBstData(), CmBattGetPsrData(), CmBattGetStaData(), CmBattGetUniqueId(), CmBattIoctl(), CmBattOpenClose(), CmBattPnpDispatch(), CmBattQueryInformation(), CmBattQueryStatus(), CmBattQueryTag(), CmBattSendDownStreamIrp(), CmBattSetStatusNotify(), CmBattSetTripPoint(), 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(), ExAllocateCacheAwareRundownProtection(), ExChangeHandle(), ExCreateCallback(), ExCreateHandle(), ExCreateHandleTable(), ExDestroyHandle(), ExDestroyHandleTable(), ExDupHandleTable(), ExEnumHandleTable(), ExFreeCacheAwareRundownProtection(), ExfReInitializeRundownProtection(), ExfRundownCompleted(), ExfWaitForRundownProtectionRelease(), ExInitializeRundownProtectionCacheAware(), 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(), FsRecExtFsControl(), 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(), IopArbBusNumberInitialize(), IopArbBusNumberPackResource(), IopArbBusNumberScoreRequirement(), IopArbBusNumberUnpackRequirements(), IopArbBusNumberUnpackResource(), IopArbDmaInitialize(), IopArbDmaPackResource(), IopArbDmaScoreRequirement(), IopArbDmaUnpackRequirements(), IopArbDmaUnpackResource(), IopArbIrqInitialize(), IopArbIrqPackResource(), IopArbIrqScoreRequirement(), IopArbIrqUnpackRequirements(), IopArbIrqUnpackResource(), IopArbMemInitialize(), IopArbMemPackResource(), IopArbMemScoreRequirement(), IopArbMemUnpackRequirements(), IopArbMemUnpackResource(), IopArbPortInitialize(), IopCheckBackupRestorePrivilege(), IopCleanupAfterException(), IopCleanupFailedIrp(), IopConnectInterruptExFullySpecific(), IopCreateDefaultDeviceSecurityDescriptor(), IopCreateEvent(), IopCreateFile(), IopCreateRegistryKeyEx(), IopDeleteDevice(), IopDeleteDriver(), IopDeviceFsIoControl(), IopDoNameTransmogrify(), IopFinalizeAsynchronousIo(), IopFreeApc(), IopGetBasicInformationFile(), IopGetDriverNames(), IopGetFileInformation(), IopGetRegistryValue(), IopGetSetSecurityObject(), IopInitializeDriverModule(), IopLoadFileSystemDriver(), IopLogWorker(), IopMountVolume(), IopOpenLinkOrRenameTarget(), IopOpenRegistryKeyEx(), IopPerformSynchronousRequest(), IopPortMemPackResource(), IopPortMemScoreRequirement(), IopPortMemUnpackRequirements(), IopPortMemUnpackResource(), 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(), IsaConvertIrqRequirement(), IsaConvertMemRange32Requirement(), IsaConvertMemRangeRequirement(), IsaFdoPnp(), IsaFdoQueryBusRelations(), IsaFdoQueryInterface(), IsaFdoRemoveDevice(), IsaFdoStartDevice(), IsaHwActivateDevice(), IsaHwConfigureDevice(), IsaHwDeactivateDevice(), IsaHwTryReadDataPort(), IsaHwWaitForKey(), IsaHwWakeDevice(), IsaPdoFilterResourceRequirements(), IsaPdoPnp(), IsaPdoQueryBusInformation(), IsaPdoQueryCapabilities(), IsaPdoQueryDeviceRelations(), IsaPdoQueryDeviceText(), IsaPdoQueryDeviceUsageNotification(), IsaPdoQueryId(), IsaPdoQueryPnpDeviceState(), IsaPdoQueryResourceRequirements(), IsaPdoQueryResources(), IsaPdoRemoveDevice(), IsaPdoStartReadPort(), IsaPnpChecksum(), IsaPnpCreateLogicalDeviceRequirements(), IsaPnpCreateLogicalDeviceResources(), IsaPnpCreateReadPortDO(), IsaPnpCreateReadPortDORequirements(), IsaPnpCreateReadPortDOResources(), IsaPnpExtractAscii(), IsaPnpFillDeviceRelations(), IsaPnpRemoveLogicalDeviceDO(), IsaPnpRemoveReadPortDO(), IsaProgramDmaSelect(), IsaProgramIoDecoder(), IsaProgramIrqSelect(), IsaProgramMemoryDecoder(), IsaReadPortQueryId(), IsaReadPortRemoveDevice(), CMiniportWaveCMI::isFormatAllowed(), IssueSyncIoControlRequest(), KeAddSystemServiceTable(), 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(), MiSnapThunk(), MiUnmapViewInSystemSpace(), MiUnmapViewOfSection(), MmAddVerifierThunks(), MmCallDllInitialize(), MmCheckSystemImage(), MmCommitSessionMappedView(), MmFlushVirtualMemory(), MmGetSessionLocaleId(), MmLoadSystemImage(), MmMapVideoDisplay(), MmMapViewInSessionSpace(), MmMapViewInSystemSpaceEx(), MmMapViewOfArm3Section(), MmPageEntireDriver(), MmUnmapViewInSessionSpace(), MmUnmapViewInSystemSpace(), 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(), PartMgrIsDiskSuperFloppy(), 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(), 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(), ReadByte(), 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(), SendKey(), 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(), SptiCallDriver(), SptiHandleAtaPassthru(), SptiHandleScsiPassthru(), SptiInitializeApt(), SptiInitializeOutputBuffer(), SptiInitializeSpt(), SptiTranslateAptToSrb(), SptiTranslateAtaStatusReturnToTaskFile(), SptiTranslateSptToSrb(), SptiTranslateTaskFileToCdb(), 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(), VolumeDeleteMountPoints(), WaitForControllerInterrupt(), WdfRegisterClassLibrary(), WdfRegisterLibrary(), WdfVersionBind(), WdfVersionUnbind(), WmipIoControl(), WmipOpenCloseCleanup(), WmipOpenGuidObjectByName(), WmipSecurityMethod(), WriteByte(), 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 172 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 612 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_IS_TODO

#define STM_TEST_FLAG_IS_TODO   (1 << 12)

Definition at line 62 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 278 of file Bus_PDO_EvalMethod.c.

283{
285
286 /* We don't support anything else */
287 ok(ReturnObjectBuffer->Length == ACPI_ALLOCATE_BUFFER,
288 "Unexpected call to %s\n", __FUNCTION__);
289
290 if (strcmp(Pathname, "_STM") == 0)
291 {
292 ACPI_OBJECT* Arg;
294
295 if (ParameterObjects->Count > 3)
297
298 if (ParameterObjects->Count != 3)
299 return AE_OK;
300
301 /* Argument 1 */
302 {
303 Arg = ParameterObjects->Pointer;
304
306 ok_eq_uint_ex(DrvpEvalTestEntry, Arg->Buffer.Length, sizeof(*TimingMode));
307
308 TimingMode = (PIDE_ACPI_TIMING_MODE_BLOCK)Arg->Buffer.Pointer;
309
310 ok_eq_ulong_ex(DrvpEvalTestEntry, TimingMode->Drive[0].PioSpeed, 508LU);
311 ok_eq_ulong_ex(DrvpEvalTestEntry, TimingMode->Drive[0].DmaSpeed, 120LU);
312 ok_eq_ulong_ex(DrvpEvalTestEntry, TimingMode->Drive[1].PioSpeed, 240LU);
313 ok_eq_ulong_ex(DrvpEvalTestEntry, TimingMode->Drive[1].DmaSpeed, 180LU);
314 ok_eq_hex_ex(DrvpEvalTestEntry, TimingMode->ModeFlags, 0x10LU);
315 }
316 /* Argument 2 */
317 {
318 ++Arg;
319
322 }
323 /* Argument 3 */
324 {
325 ++Arg;
326
329 }
330
331 return AE_OK;
332 }
333 else if (strcmp(Pathname, "_GTM") == 0)
334 {
335 PGTM_OBJECT_BUFFER ReturnObject;
337
338 ReturnObject = AcpiOsAllocate(sizeof(*ReturnObject));
339 if (!ReturnObject)
340 return AE_NO_MEMORY;
341
342 /*
343 * VPC 2007 output
344 * AcpiGetHandle(NULL, "\\_SB.PCI0.IDE0.CHN1", &ObjHandle);
345 * AcpiEvaluateObject(ObjHandle, "_GTM", NULL, &ReturnObj);
346 */
347 TimingMode = &ReturnObject->TimingMode;
348 TimingMode->Drive[0].PioSpeed = 900;
349 TimingMode->Drive[0].DmaSpeed = 900;
350 TimingMode->Drive[1].PioSpeed = 120;
351 TimingMode->Drive[1].DmaSpeed = 120;
352 TimingMode->ModeFlags = 0x12;
353
354 ReturnObject->Obj.Type = ACPI_TYPE_BUFFER;
355 ReturnObject->Obj.Buffer.Length = sizeof(*TimingMode);
356 ReturnObject->Obj.Buffer.Pointer = (PUCHAR)TimingMode;
357
358 ReturnObjectBuffer->Pointer = ReturnObject;
359 ReturnObjectBuffer->Length = sizeof(*ReturnObject);
360 return AE_OK;
361 }
362 else if (strcmp(Pathname, "_BIF") == 0)
363 {
364 PBIF_OBJECT_BUFFER ReturnObject;
366 ULONG i;
367
368 ReturnObject = AcpiOsAllocate(sizeof(*ReturnObject));
369 if (!ReturnObject)
370 return AE_NO_MEMORY;
371
372 /*
373 * Vbox 7.0 output
374 * AcpiGetHandle(NULL, "\\_SB.PCI0.BAT0", &ObjHandle);
375 * AcpiEvaluateObject(ObjHandle, "_BIF", NULL, &ReturnObj);
376 */
377 BatteryInformation = &ReturnObject->BatteryInformation[0];
378 for (i = 0; i < RTL_NUMBER_OF(DrvpBifIntegerFields); ++i)
379 {
380 BatteryInformation[i].Integer.Type = ACPI_TYPE_INTEGER;
381 BatteryInformation[i].Integer.Value = DrvpBifIntegerFields[i];
382 }
384 BatteryInformation[i].String.Length = 1; /* Excluding the trailing null */
385 BatteryInformation[i].String.Pointer = &ReturnObject->Buffer1[0];
386 RtlCopyMemory(BatteryInformation[i].String.Pointer, "1", sizeof("1"));
387 ++i;
389 BatteryInformation[i].String.Length = 1;
390 BatteryInformation[i].String.Pointer = &ReturnObject->Buffer2[0];
391 RtlCopyMemory(BatteryInformation[i].String.Pointer, "0", sizeof("0"));
392 ++i;
394 BatteryInformation[i].String.Length = 4;
395 BatteryInformation[i].String.Pointer = &ReturnObject->Buffer3[0];
396 RtlCopyMemory(BatteryInformation[i].String.Pointer, "VBOX", sizeof("VBOX"));
397 ++i;
399 BatteryInformation[i].String.Length = 7;
400 BatteryInformation[i].String.Pointer = &ReturnObject->Buffer4[0];
401 RtlCopyMemory(BatteryInformation[i].String.Pointer, "innotek", sizeof("innotek"));
402
403 ReturnObject->Obj.Type = ACPI_TYPE_PACKAGE;
404 ReturnObject->Obj.Package.Count = 13;
405 ReturnObject->Obj.Package.Elements = BatteryInformation;
406
407 ReturnObjectBuffer->Pointer = ReturnObject;
408 ReturnObjectBuffer->Length = sizeof(*ReturnObject);
409 return AE_OK;
410 }
411 else if (strcmp(Pathname, "_PCL") == 0)
412 {
413 PPCL_OBJECT_BUFFER ReturnObject;
414
415 ReturnObject = AcpiOsAllocate(sizeof(*ReturnObject));
416 if (!ReturnObject)
417 return AE_NO_MEMORY;
418
419 /*
420 * Vbox 7.0 output
421 * AcpiGetHandle(NULL, "\\_SB.PCI0.AC", &ObjHandle);
422 * AcpiEvaluateObject(ObjHandle, "_PCL", NULL, &ReturnObj);
423 */
424 ReturnObject->Obj.Reference.Type = ACPI_TYPE_LOCAL_REFERENCE;
425 ReturnObject->Obj.Reference.ActualType = ACPI_TYPE_DEVICE;
427
428 ReturnObjectBuffer->Pointer = ReturnObject;
429 ReturnObjectBuffer->Length = sizeof(*ReturnObject);
430 return AE_OK;
431 }
432 else if (strcmp(Pathname, "_PRT") == 0)
433 {
434 PPRT_OBJECT_BUFFER ReturnObject;
435 ULONG i;
436
437 ReturnObject = AcpiOsAllocate(sizeof(*ReturnObject));
438 if (!ReturnObject)
439 return AE_NO_MEMORY;
440
441 /*
442 * Vbox 7.0 output
443 * AcpiGetHandle(NULL, "\\_SB.PCI0", &ObjHandle);
444 * AcpiEvaluateObject(ObjHandle, "_PRT", NULL, &ReturnObj);
445 *
446 * NOTE: To avoid similar copies of code executed and tested over and over again
447 * we return 2 packages. The original method returns 120 packages.
448 */
449 ReturnObject->Obj.Type = ACPI_TYPE_PACKAGE;
450 ReturnObject->Obj.Package.Count = 2;
451 ReturnObject->Obj.Package.Elements = &ReturnObject->PackageContainer[0];
452
453 i = 0;
454 ReturnObject->PackageContainer[i].Type = ACPI_TYPE_PACKAGE;
455 ReturnObject->PackageContainer[i].Package.Count = 4;
456 ReturnObject->PackageContainer[i].Package.Elements = &ReturnObject->Package1[0];
457 ++i;
458 ReturnObject->PackageContainer[i].Type = ACPI_TYPE_PACKAGE;
459 ReturnObject->PackageContainer[i].Package.Count = 4;
460 ReturnObject->PackageContainer[i].Package.Elements = &ReturnObject->Package2[0];
461
462 /* Package 1 */
463 i = 0;
464 ReturnObject->Package1[i].Integer.Type = ACPI_TYPE_INTEGER;
465 ReturnObject->Package1[i].Integer.Value = 0x0002FFFF;
466 ++i;
467 ReturnObject->Package1[i].Integer.Type = ACPI_TYPE_INTEGER;
468 ReturnObject->Package1[i].Integer.Value = 0x00000000;
469 ++i;
470 ReturnObject->Package1[i].Reference.Type = ACPI_TYPE_LOCAL_REFERENCE;
471 ReturnObject->Package1[i].Reference.ActualType = ACPI_TYPE_DEVICE;
473 ++i;
474 ReturnObject->Package1[i].Integer.Type = ACPI_TYPE_INTEGER;
475 ReturnObject->Package1[i].Integer.Value = 0x00000000;
476
477 /* Package 2 */
478 i = 0;
479 ReturnObject->Package2[i].Integer.Type = ACPI_TYPE_INTEGER;
480 ReturnObject->Package2[i].Integer.Value = 0x0002FFFF;
481 ++i;
482 ReturnObject->Package2[i].Integer.Type = ACPI_TYPE_INTEGER;
483 ReturnObject->Package2[i].Integer.Value = 0x00000001;
484 ++i;
485 ReturnObject->Package2[i].Reference.Type = ACPI_TYPE_LOCAL_REFERENCE;
486 ReturnObject->Package2[i].Reference.ActualType = ACPI_TYPE_DEVICE;
488 ++i;
489 ReturnObject->Package2[i].Integer.Type = ACPI_TYPE_INTEGER;
490 ReturnObject->Package2[i].Integer.Value = 0x00000000;
491
492 ReturnObjectBuffer->Pointer = ReturnObject;
493 ReturnObjectBuffer->Length = sizeof(*ReturnObject);
494 return AE_OK;
495 }
496 else if (strcmp(Pathname, "_DSM") == 0)
497 {
498 ACPI_OBJECT* Arg;
499
500 /* Assumed object count per the spec */
501 ok_eq_uint(ParameterObjects->Count, 4);
502
503 if (ParameterObjects->Count != 4)
505
506 /* Argument 1 */
507 {
508 Arg = ParameterObjects->Pointer;
509
511 ok_eq_uint_ex(DrvpEvalTestEntry, Arg->Buffer.Length, sizeof(GUID));
512 }
513
514 /* NOTE: This UUID doesn't exist, for testing purposes only */
515 if (IsEqualGUID(Arg->Buffer.Pointer, &MY_DSM_GUID))
516 {
517 /* Argument 2 */
518 {
519 ++Arg;
520
523 }
524 /* Argument 3 */
525 {
526 ++Arg;
527
530 }
531 /* Argument 4 */
532 {
533 ++Arg;
534
536
538 {
541 }
542 else
543 {
544 ACPI_OBJECT* PackageArg;
545 ACPI_OBJECT* PackageArg2;
546 ULONG i;
547
550
551 if (!Arg->Package.Elements)
553
554 /* Package 1 Arguments 1-2 */
555 PackageArg = Arg->Package.Elements;
556 for (i = 0; i < RTL_NUMBER_OF(DrvpMyDsmIntegerFields) - 1; i++)
557 {
560 PackageArg->Integer.Value,
562
563 ++PackageArg;
564 }
565
566 /* Package 1 Argument 3 */
567 {
568 Arg = PackageArg;
569
572
573 /* Package 2 Argument 1 */
574 PackageArg2 = Arg->Package.Elements;
575
577
578 /* Excluding the trailing null */
580 PackageArg2->String.Length,
581 (sizeof("1_TESTDATATESTDATA_2") - 1));
583 memcmp(PackageArg2->String.Pointer,
584 "1_TESTDATATESTDATA_2",
585 sizeof("1_TESTDATATESTDATA_2") - 1),
586 0);
587 }
588 /* Package 1 Argument 4 */
589 {
590 ++PackageArg;
591
594 PackageArg->Integer.Value,
596 }
597 }
598 }
599
600 return AE_OK;
601 }
602 }
603
604 return AE_NOT_FOUND;
605}
#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:118
#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:329
#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::@1697 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::@682 Package
struct acpi_object::@681 Buffer
struct acpi_object::@679 Integer
ACPI_OBJECT_TYPE Type
Definition: actypes.h:970
struct acpi_object::@680 String
struct acpi_object::@683 Reference
_Must_inspect_result_ _In_ WDFCOLLECTION _In_ WDFOBJECT Object
_Must_inspect_result_ _In_ WDFDEVICE _In_ WDFSTRING String
Definition: wdfdevice.h:2439

◆ AcpiGetName()

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

Definition at line 244 of file Bus_PDO_EvalMethod.c.

248{
249 /* We don't support anything else */
250 ok(NameType == ACPI_SINGLE_NAME, "Unexpected call to %s\n", __FUNCTION__);
251
252 /* Return a NULL-terminated string */
253 if (Buffer->Length < (4 + 1))
254 return AE_BUFFER_OVERFLOW;
255
256 switch ((ULONG_PTR)Handle)
257 {
259 RtlCopyMemory(Buffer->Pointer, "_SB_", sizeof("_SB_"));
260 break;
261
263 RtlCopyMemory(Buffer->Pointer, "LNKB", sizeof("LNKB"));
264 break;
265
267 RtlCopyMemory(Buffer->Pointer, "LNKC", sizeof("LNKC"));
268 break;
269
270 default:
271 return AE_BAD_PARAMETER;
272 }
273
274 return AE_OK;
275}
#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 230 of file Bus_PDO_EvalMethod.c.

232{
233 return ExAllocatePoolWithTag(NonPagedPool, Size, 'FFUB');
234}
#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:4539

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

◆ AcpiOsFree()

void AcpiOsFree ( void Memory)

Definition at line 237 of file Bus_PDO_EvalMethod.c.

239{
240 ExFreePoolWithTag(Memory, 'FFUB');
241}
#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 732 of file Bus_PDO_EvalMethod.c.

737{
739 IRP Irp;
740
741 DeviceData.AcpiHandle = NULL;
742
743 Irp.AssociatedIrp.SystemBuffer = InputBuffer;
744 Irp.OutputBuffer = OutputBuffer;
745
746 Irp.MyStack.Parameters.DeviceIoControl.InputBufferLength = InputBufferLength;
747 Irp.MyStack.Parameters.DeviceIoControl.OutputBufferLength = OutputBufferLength;
748
750}
_In_ PIRP Irp
Definition: csq.h:116
NTSTATUS NTAPI Bus_PDO_EvalMethod(_In_ PPDO_DEVICE_DATA DeviceData, _Inout_ PIRP Irp)
Definition: eval.c:765
_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 994 of file Bus_PDO_EvalMethod.c.

997{
999 ULONG i, OutputBufferSize;
1001 PACPI_METHOD_ARGUMENT Argument;
1002
1003 InputBuffer.MethodNameAsUlong = 'FIB_'; // _BIF
1005
1006 OutputBufferSize = FIELD_OFFSET(ACPI_EVAL_OUTPUT_BUFFER, Argument) +
1007 ACPI_METHOD_ARGUMENT_LENGTH(sizeof(ULONG)) * 9 +
1008 ACPI_METHOD_ARGUMENT_LENGTH(sizeof("1")) +
1009 ACPI_METHOD_ARGUMENT_LENGTH(sizeof("0")) +
1010 ACPI_METHOD_ARGUMENT_LENGTH(sizeof("VBOX")) +
1011 ACPI_METHOD_ARGUMENT_LENGTH(sizeof("innotek"));
1012
1013 /* Evaluate the _BIF method */
1014 Status = DrvCallAcpiDriver(&InputBuffer, sizeof(InputBuffer), OutputBuffer, OutputBufferSize);
1015
1019 ok_eq_ulong_ex(TestEntry, OutputBuffer->Length, OutputBufferSize);
1020
1021 /* Arguments 1-9 */
1022 Argument = OutputBuffer->Argument;
1023 for (i = 0; i < RTL_NUMBER_OF(DrvpBifIntegerFields); ++i)
1024 {
1026 ok_eq_uint_ex(TestEntry, Argument->DataLength, sizeof(ULONG));
1027 ok_eq_ulong_ex(TestEntry, Argument->Argument, DrvpBifIntegerFields[i]);
1028
1029 Argument = ACPI_METHOD_NEXT_ARGUMENT(Argument);
1030 }
1031 /* Argument 10 */
1032 {
1034 ok_eq_uint_ex(TestEntry, Argument->DataLength, sizeof("1")); // Including the trailing null
1035 ok_eq_str_ex(TestEntry, (PCSTR)Argument->Data, "1");
1036 }
1037 /* Argument 11 */
1038 {
1039 Argument = ACPI_METHOD_NEXT_ARGUMENT(Argument);
1040
1042 ok_eq_uint_ex(TestEntry, Argument->DataLength, sizeof("0"));
1043 ok_eq_str_ex(TestEntry, (PCSTR)Argument->Data, "0");
1044 }
1045 /* Argument 12 */
1046 {
1047 Argument = ACPI_METHOD_NEXT_ARGUMENT(Argument);
1048
1050 ok_eq_uint_ex(TestEntry, Argument->DataLength, sizeof("VBOX"));
1051 ok_eq_str_ex(TestEntry, (PCSTR)Argument->Data, "VBOX");
1052 }
1053 /* Argument 13 */
1054 {
1055 Argument = ACPI_METHOD_NEXT_ARGUMENT(Argument);
1056
1058 ok_eq_uint_ex(TestEntry, Argument->DataLength, sizeof("innotek"));
1059 ok_eq_str_ex(TestEntry, (PCSTR)Argument->Data, "innotek");
1060 }
1061}
#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)
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
static void TestEntry(const ENTRY *pEntry)
const char * PCSTR
Definition: typedefs.h:52

Referenced by DrvTestPackageReturnValueAndStringData().

◆ DrvEvaluateDsmObject()

static VOID DrvEvaluateDsmObject ( _In_ const EVAL_TEST_ENTRY TestEntry)
static

Definition at line 1218 of file Bus_PDO_EvalMethod.c.

1220{
1221#define MY_DSM_SUB_PACKAGE_ENTRY_SIZE \
1222 (ACPI_METHOD_ARGUMENT_LENGTH(sizeof("1_TESTDATATESTDATA_2")))
1223
1224#define MY_DSM_PACKAGE_ENTRY_SIZE \
1225 (ACPI_METHOD_ARGUMENT_LENGTH(sizeof(ULONG)) * 3 + \
1226 ACPI_METHOD_ARGUMENT_LENGTH(MY_DSM_SUB_PACKAGE_ENTRY_SIZE))
1227
1228#define MY_DSM_BUFFER_SIZE \
1229 (FIELD_OFFSET(ACPI_EVAL_INPUT_BUFFER_COMPLEX, Argument) + \
1230 ACPI_METHOD_ARGUMENT_LENGTH(sizeof(GUID)) + \
1231 ACPI_METHOD_ARGUMENT_LENGTH(sizeof(ULONG)) + \
1232 ACPI_METHOD_ARGUMENT_LENGTH(sizeof(ULONG)) + \
1233 ACPI_METHOD_ARGUMENT_LENGTH(MY_DSM_PACKAGE_ENTRY_SIZE))
1234
1236 ULONG InputSize;
1238 PACPI_METHOD_ARGUMENT Argument, PackageArgument, PackageArgument2;
1240
1241 RtlZeroMemory(Buffer, sizeof(Buffer));
1242
1243 InputSize = MY_DSM_BUFFER_SIZE;
1245 {
1248 }
1249
1250 InputBuffer->MethodNameAsUlong = 'MSD_'; // _DSM
1252 InputBuffer->ArgumentCount = 4;
1253 InputBuffer->Size = InputSize;
1254
1255 /* Argument 1: The UUID */
1256 Argument = InputBuffer->Argument;
1257 ACPI_METHOD_SET_ARGUMENT_BUFFER(Argument, &MY_DSM_GUID, sizeof(GUID));
1258
1259 /* Argument 2: The Revision ID */
1260 Argument = ACPI_METHOD_NEXT_ARGUMENT(Argument);
1262
1263 /* Argument 3: The Function Index */
1264 Argument = ACPI_METHOD_NEXT_ARGUMENT(Argument);
1266
1267 /* Argument 4: The device-specific package */
1268 Argument = ACPI_METHOD_NEXT_ARGUMENT(Argument);
1269 Argument->Type = ACPI_METHOD_ARGUMENT_PACKAGE;
1271 {
1272 /* Empty package */
1273 Argument->DataLength = ACPI_METHOD_ARGUMENT_LENGTH(0);
1274 Argument->Argument = 0;
1275 }
1276 else
1277 {
1278 Argument->DataLength = MY_DSM_PACKAGE_ENTRY_SIZE;
1279
1280 /* Package 1 Argument 1: Some test data */
1281 PackageArgument = (PACPI_METHOD_ARGUMENT)Argument->Data;
1283
1284 /* Package 1 Argument 2: Some test data */
1285 PackageArgument = ACPI_METHOD_NEXT_ARGUMENT(PackageArgument);
1287
1288 /* Package 1 Argument 3: Start a new subpackage */
1289 PackageArgument = ACPI_METHOD_NEXT_ARGUMENT(PackageArgument);
1290 PackageArgument->Type = ACPI_METHOD_ARGUMENT_PACKAGE;
1291 PackageArgument->DataLength = MY_DSM_SUB_PACKAGE_ENTRY_SIZE;
1292
1293 /* Package 2 Argument 1: Some test data */
1294 PackageArgument2 = (PACPI_METHOD_ARGUMENT)PackageArgument->Data;
1295 ACPI_METHOD_SET_ARGUMENT_STRING(PackageArgument2, "1_TESTDATATESTDATA_2");
1296
1298 {
1299 PackageArgument2->DataLength = 32768;
1300 }
1301 else
1302 {
1303 /* Package 1 Argument 4: Some test data */
1304 PackageArgument = ACPI_METHOD_NEXT_ARGUMENT(PackageArgument);
1306 }
1307 }
1308
1309 /* Evaluate the _DSM method */
1311 Status = DrvCallAcpiDriver(InputBuffer, InputSize, NULL, 0);
1312
1314}
#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 886 of file Bus_PDO_EvalMethod.c.

889{
891 ULONG OutputBufferSize;
893 PACPI_METHOD_ARGUMENT Argument;
897
898 InputBuffer.MethodNameAsUlong = 'MTG_'; // _GTM
900 InputBuffer.Signature = 'BAD0';
901 else
903
904 OutputBufferSize = FIELD_OFFSET(ACPI_EVAL_OUTPUT_BUFFER, Argument) +
905 ACPI_METHOD_ARGUMENT_LENGTH(sizeof(*TimingMode));
906
908 {
909 OutputBufferSize += TestEntry->Value;
910 }
911 else if (TestEntry->Flags & GTM_TEST_FLAG_DEC_OUT_BUFFER)
912 {
913 OutputBufferSize -= TestEntry->Value;
914 }
915 else if (TestEntry->Flags & GTM_TEST_FLAG_SET_OUT_BUFFER)
916 {
917 OutputBufferSize = TestEntry->Value;
918 }
919
920 /* Evaluate the _GTM method */
921 Status = DrvCallAcpiDriver(&InputBuffer, sizeof(InputBuffer), OutputBuffer, OutputBufferSize);
922
923 todo_if(!is_reactos() && (TestEntry->Flags & GTM_TEST_FLAG_IS_TODO) && (Status != TestEntry->Status))
925
928 else
929 Signature = 0;
931
933 Count = 1;
934 else
935 Count = 0;
937
939 {
941 ACPI_METHOD_ARGUMENT_LENGTH(sizeof(*TimingMode));
942 }
943 else
944 {
945 Length = 0;
946 }
948
949 Argument = OutputBuffer->Argument;
952 else
954 todo_if(!is_reactos() && (TestEntry->Flags & GTM_TEST_FLAG_IS_TODO) && (Type != Argument->Type))
955 ok_eq_uint_ex(TestEntry, Argument->Type, Type);
956
959 else
960 DataLength = 0;
963
965 {
966 TimingMode = (PIDE_ACPI_TIMING_MODE_BLOCK)Argument->Data;
967
968 ok_eq_ulong_ex(TestEntry, TimingMode->Drive[0].PioSpeed, 900LU);
969 ok_eq_ulong_ex(TestEntry, TimingMode->Drive[0].DmaSpeed, 900LU);
970 ok_eq_ulong_ex(TestEntry, TimingMode->Drive[1].PioSpeed, 120LU);
971 ok_eq_ulong_ex(TestEntry, TimingMode->Drive[1].DmaSpeed, 120LU);
972 ok_eq_hex_ex(TestEntry, TimingMode->ModeFlags, 0x12LU);
973 }
974}
#define GTM_TEST_FLAG_BAD_SIGNARUTE
#define GTM_TEST_FLAG_IS_TODO
#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
#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:33
static const WCHAR Signature[]
Definition: parser.c:141
if(dx< 0)
Definition: linetemp.h:194
#define todo_if(is_todo)
Definition: minitest.h:70
int Count
Definition: noreturn.cpp:7
_In_ ULONG _In_ ULONG _In_ ULONG Length
Definition: ntddpcm.h:102
unsigned short USHORT
Definition: pedump.c:61
#define is_reactos()
Definition: test.h:1041
else
Definition: tritemp.h:161
_Must_inspect_result_ _In_ ULONG Flags
Definition: wsk.h:170
ActualNumberDriverObjects * sizeof(PDRIVER_OBJECT)) PDRIVER_OBJECT *DriverObjectList

Referenced by DrvTestInputBuffer().

◆ DrvEvaluatePclObject()

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

Definition at line 1081 of file Bus_PDO_EvalMethod.c.

1084{
1086 ULONG OutputBufferSize;
1088 PACPI_METHOD_ARGUMENT Argument;
1089
1090 InputBuffer.MethodNameAsUlong = 'LCP_'; // _PCL
1092
1093 OutputBufferSize = FIELD_OFFSET(ACPI_EVAL_OUTPUT_BUFFER, Argument) +
1094 ACPI_METHOD_ARGUMENT_LENGTH(sizeof("ABCD")); // ACPI name for the object
1095
1096 /* Evaluate the _PCL method */
1097 Status = DrvCallAcpiDriver(&InputBuffer, sizeof(InputBuffer), OutputBuffer, OutputBufferSize);
1098
1102 ok_eq_ulong_ex(TestEntry, OutputBuffer->Length, OutputBufferSize);
1103
1104 Argument = OutputBuffer->Argument;
1105
1107 ok_eq_uint_ex(TestEntry, Argument->DataLength, sizeof("ABCD"));
1108 ok_eq_str_ex(TestEntry, (PCSTR)Argument->Data, "_SB_");
1109}

Referenced by DrvTestReferenceReturnValue().

◆ DrvEvaluatePrtObject()

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

Definition at line 1129 of file Bus_PDO_EvalMethod.c.

1132{
1134 ULONG PackageNum, ArgNum, OutputBufferSize;
1136 PACPI_METHOD_ARGUMENT Argument, PackageArgument;
1137
1138 InputBuffer.MethodNameAsUlong = 'TRP_'; // _PRT
1140
1141#define PRT_PACKAGE_ENTRY_SIZE \
1142 (ACPI_METHOD_ARGUMENT_LENGTH(sizeof(ULONG)) * 3 + \
1143 ACPI_METHOD_ARGUMENT_LENGTH(sizeof("LNKB")))
1144
1145 OutputBufferSize = FIELD_OFFSET(ACPI_EVAL_OUTPUT_BUFFER, Argument) +
1147
1148 /* Evaluate the _PRT method */
1149 Status = DrvCallAcpiDriver(&InputBuffer, sizeof(InputBuffer), OutputBuffer, OutputBufferSize);
1150
1154 ok_eq_ulong_ex(TestEntry, OutputBuffer->Length, OutputBufferSize);
1155
1156 Argument = OutputBuffer->Argument;
1157 for (PackageNum = 0; PackageNum < 2; PackageNum++)
1158 {
1160 ok_eq_uint_ex(TestEntry, Argument->DataLength, (USHORT)PRT_PACKAGE_ENTRY_SIZE);
1161
1162 PackageArgument = (PACPI_METHOD_ARGUMENT)Argument->Data;
1163 for (ArgNum = 0; ArgNum < 4; ArgNum++)
1164 {
1165 if (ArgNum != 2)
1166 {
1167 ULONG ExpectedValue;
1168
1169 ok_eq_uint_ex(TestEntry, PackageArgument->Type, ACPI_METHOD_ARGUMENT_INTEGER);
1170 ok_eq_uint_ex(TestEntry, PackageArgument->DataLength, sizeof(ULONG));
1171
1172 if (ArgNum == 0)
1173 {
1174 ExpectedValue = 0x0002FFFF;
1175 }
1176 else
1177 {
1178 if ((PackageNum == 1) && (ArgNum == 1))
1179 ExpectedValue = 0x00000001;
1180 else
1181 ExpectedValue = 0x00000000;
1182 }
1183 ok_eq_ulong_ex(TestEntry, PackageArgument->Argument, ExpectedValue);
1184 }
1185 else
1186 {
1187 ok_eq_uint_ex(TestEntry, PackageArgument->Type, ACPI_METHOD_ARGUMENT_STRING);
1188 ok_eq_uint_ex(TestEntry, PackageArgument->DataLength, sizeof("ABCD"));
1189 ok_eq_str_ex(TestEntry, (PCSTR)PackageArgument->Data,
1190 (PackageNum == 0) ? "LNKB" : "LNKC");
1191 }
1192
1193 PackageArgument = ACPI_METHOD_NEXT_ARGUMENT(PackageArgument);
1194 }
1195
1196 Argument = ACPI_METHOD_NEXT_ARGUMENT(Argument);
1197 }
1198}
#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 754 of file Bus_PDO_EvalMethod.c.

759{
760 PACPI_METHOD_ARGUMENT Argument, Argument2, Argument3;
762 ULONG InputBufferSize, IrpBufferSize;
763
764 InputBufferSize = FIELD_OFFSET(ACPI_EVAL_INPUT_BUFFER_COMPLEX, Argument) +
765 ACPI_METHOD_ARGUMENT_LENGTH(sizeof(*TimingMode)) +
768
770 {
773 }
774
775 InputBuffer->MethodNameAsUlong = 'MTS_'; // _STM
778 {
779 InputBuffer->Size = InputBufferSize - TestEntry->Value;
780 }
781 else if (TestEntry->Flags & STM_TEST_FLAG_SET_IN_BUFFER)
782 {
783 InputBuffer->Size = TestEntry->Value;
784 }
785 else
786 {
787 InputBuffer->Size = InputBufferSize;
788 }
789
791 {
792 InputBuffer->ArgumentCount = TestEntry->Value;
793 }
794 else
795 {
796 InputBuffer->ArgumentCount = 3;
797 }
798
799 /* Argument 1: The channel timing information block */
800 Argument = InputBuffer->Argument;
801 ACPI_METHOD_SET_ARGUMENT_BUFFER(Argument, TimingMode, sizeof(*TimingMode));
802
803 /* Argument 2: The ATA drive ID block */
806
807 /* Argument 3: The ATA drive ID block */
810
812 {
813 Argument3->Type = 0xFFFF;
814 }
815
817 {
818 Argument2->DataLength = STM_ID_BLOCK_SIZE * 2;
819 Argument3->DataLength = STM_ID_BLOCK_SIZE * 2;
820 }
821
823 {
824 ACPI_METHOD_SET_ARGUMENT_STRING(Argument3, IdBlock);
825 }
827 {
828 ACPI_METHOD_SET_ARGUMENT_INTEGER(Argument3, 0xDEADBEEF);
829 }
831 {
832 Argument3->DataLength += 5;
833 }
835 {
836 Argument3->DataLength -= 5;
837 }
838
840 {
841 IrpBufferSize = InputBufferSize - TestEntry->Value;
842 }
843 else if (TestEntry->Flags & STM_TEST_FLAG_SET_IRP_BUFFER)
844 {
845 IrpBufferSize = TestEntry->Value;
846 }
847 else
848 {
849 IrpBufferSize = InputBufferSize;
850 }
851
852 /* Evaluate the _STM method */
854 Status = DrvCallAcpiDriver(InputBuffer, IrpBufferSize, NULL, 0);
855
858}
#define STM_TEST_FLAG_SET_IRP_BUFFER
#define STM_TEST_FLAG_CHANGE_ARG_COUNT
#define STM_TEST_FLAG_IS_TODO
#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 862 of file Bus_PDO_EvalMethod.c.

863{
865 UCHAR IdBlock[STM_ID_BLOCK_SIZE];
866 ULONG i;
869
870 /* Initialize method arguments */
871 RtlZeroMemory(IdBlock, sizeof(IdBlock));
872 TimingMode.Drive[0].PioSpeed = 508;
873 TimingMode.Drive[0].DmaSpeed = 120;
874 TimingMode.Drive[1].PioSpeed = 240;
875 TimingMode.Drive[1].DmaSpeed = 180;
876 TimingMode.ModeFlags = 0x10;
877
878 for (i = 0; i < RTL_NUMBER_OF(DrvpSmtTests); ++i)
879 {
880 DrvEvaluateStmObject(&DrvpSmtTests[i], &TimingMode, IdBlock, InputBuffer);
881 }
882}
#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 978 of file Bus_PDO_EvalMethod.c.

979{
981 ULONG i;
983
984 for (i = 0; i < RTL_NUMBER_OF(DrvpGtmTests); ++i)
985 {
986 RtlZeroMemory(Buffer, sizeof(Buffer));
987
989 }
990}
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 1202 of file Bus_PDO_EvalMethod.c.

1203{
1204 UCHAR Buffer[0x100];
1205 ULONG i;
1207
1208 for (i = 0; i < RTL_NUMBER_OF(DrvpPclTests); ++i)
1209 {
1210 RtlZeroMemory(Buffer, sizeof(Buffer));
1211
1213 }
1214}
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 1318 of file Bus_PDO_EvalMethod.c.

1319{
1320 ULONG i;
1321
1322 for (i = 0; i < RTL_NUMBER_OF(DrvpDsmTests); ++i)
1323 {
1325 }
1326}
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 1065 of file Bus_PDO_EvalMethod.c.

1066{
1067 UCHAR Buffer[0x100];
1068 ULONG i;
1070
1071 for (i = 0; i < RTL_NUMBER_OF(DrvpBifTests); ++i)
1072 {
1073 RtlZeroMemory(Buffer, sizeof(Buffer));
1074
1076 }
1077}
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 1113 of file Bus_PDO_EvalMethod.c.

1114{
1115 UCHAR Buffer[0x100];
1116 ULONG i;
1118
1119 for (i = 0; i < RTL_NUMBER_OF(DrvpPclTests); ++i)
1120 {
1121 RtlZeroMemory(Buffer, sizeof(Buffer));
1122
1124 }
1125}
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 1330 of file Bus_PDO_EvalMethod.c.

1331{
1334
1335 InputBuffer.MethodNameAsUlong = 'FFF_'; // _FFF
1337
1338 /* Try to evaluate some unsupported control method */
1340
1342}
#define ok_eq_hex(value, expected)
Definition: apitest.h:134
#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 124 of file Bus_PDO_EvalMethod.c.

125{
126 PULONG_PTR Mem;
127
128 Mem = HeapAlloc(GetProcessHeap(), 0, NumberOfBytes + 2 * sizeof(PVOID));
129 Mem[0] = NumberOfBytes;
130 Mem[1] = Tag;
131
133
134 return (PVOID)(Mem + 2);
135}
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:4071
_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 139 of file Bus_PDO_EvalMethod.c.

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

◆ IoGetCurrentIrpStackLocation()

static PIO_STACK_LOCATION IoGetCurrentIrpStackLocation ( PIRP  Irp)
static

Definition at line 152 of file Bus_PDO_EvalMethod.c.

153{
154 return &Irp->MyStack;
155}

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(), CompBattMonitorIrpComplete(), CompBattMonitorIrpCompleteWorker(), 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(), FsRecExtFsControl(), 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(), PdoHandleScsiPassthrough(), 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(), SptiHandleAtaPassthru(), SptiHandleScsiPassthru(), SptiInitializeOutputBuffer(), 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 1344 of file Bus_PDO_EvalMethod.c.

1345{
1353
1354 ok(DrvpBlocksAllocated == 0, "Leaking memory %ld blocks\n", DrvpBlocksAllocated);
1355}
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 217 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 706 of file Bus_PDO_EvalMethod.c.

Referenced by DrvTestPackageReturnValueAndStringData().

◆ DrvpBlocksAllocated

LONG DrvpBlocksAllocated = 0
static

Definition at line 118 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:1655

Definition at line 721 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 664 of file Bus_PDO_EvalMethod.c.

Referenced by DrvTestInputBuffer().

◆ DrvpMyDsmIntegerFields

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

Definition at line 222 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 711 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 716 of file Bus_PDO_EvalMethod.c.

Referenced by DrvTestNestedPackageReturnValue().

◆ DrvpSmtTests

const EVAL_TEST_ENTRY DrvpSmtTests[]
static

Definition at line 620 of file Bus_PDO_EvalMethod.c.

Referenced by DrvTestComplexBuffer().