ReactOS  0.4.15-dev-1033-gd7d716a
Bus_PDO_QueryResourceRequirements.c File Reference
#include <apitest.h>
#include <ndk/rtlfuncs.h>
#include <acpi.h>
#include "../../../../drivers/bus/acpi/buspdo.c"
Include dependency graph for Bus_PDO_QueryResourceRequirements.c:

Go to the source code of this file.

Classes

struct  _IO_RESOURCE_DESCRIPTOR
 
struct  _IO_RESOURCE_LIST
 
struct  _IO_RESOURCE_REQUIREMENTS_LIST
 
struct  _IRP
 
struct  _PDO_DEVICE_DATA
 

Macros

#define WIN32_NO_STATUS
 
#define UNIT_TEST
 
#define IO_RESOURCE_PREFERRED   0x01
 
#define IO_RESOURCE_DEFAULT   0x02
 
#define IO_RESOURCE_ALTERNATIVE   0x08
 
#define PAGED_CODE()
 
#define DPRINT1(...)   do { if (0) DbgPrint(__VA_ARGS__); } while (0)
 
#define PagedPool   1
 
#define MAKE_IRQ(Resource, _DescriptorLength, _Triggering, _Polarity, _Shareable, _WakeCapable)
 
#define expect_irq(Desc, ExpectedOption, ExpectedShare, ExpectedMin, ExpectedMax)
 
#define expect_port(Desc, ExpectedOption, ExpectedShare, ExpectedLength, ExpectedAlign, ExpectedMin, ExpectedMax)
 

Typedefs

typedef struct _IO_RESOURCE_DESCRIPTOR IO_RESOURCE_DESCRIPTOR
 
typedef struct _IO_RESOURCE_DESCRIPTORPIO_RESOURCE_DESCRIPTOR
 
typedef struct _IO_RESOURCE_LIST IO_RESOURCE_LIST
 
typedef struct _IO_RESOURCE_LISTPIO_RESOURCE_LIST
 
typedef struct _IO_RESOURCE_REQUIREMENTS_LIST IO_RESOURCE_REQUIREMENTS_LIST
 
typedef struct _IO_RESOURCE_REQUIREMENTS_LISTPIO_RESOURCE_REQUIREMENTS_LIST
 
typedef struct _IRP IRP
 
typedef struct _IRPPIRP
 
typedef struct _PDO_DEVICE_DATA PDO_DEVICE_DATA
 
typedef struct _PDO_DEVICE_DATAPPDO_DEVICE_DATA
 

Functions

static PVOID ExAllocatePoolWithTag (ULONG PoolType, SIZE_T NumberOfBytes, ULONG Tag)
 
static VOID ExFreePoolWithTag (PVOID MemPtr, ULONG Tag)
 
static SIZE_T GetPoolAllocSize (PVOID MemPtr)
 
ACPI_STATUS AcpiGetCurrentResources (ACPI_HANDLE Device, ACPI_BUFFER *RetBuffer)
 
ACPI_STATUS AcpiGetPossibleResources (ACPI_HANDLE Device, ACPI_BUFFER *RetBuffer)
 
 START_TEST (Bus_PDO_QueryResourceRequirements)
 

Variables

static BOOLEAN AcpiCallExpected
 
static ACPI_HANDLE CorrectHandle = &CorrectHandle
 
static ACPI_BUFFER CurrentBuffer
 
static ACPI_BUFFER PossibleBuffer
 

Macro Definition Documentation

◆ DPRINT1

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

Definition at line 90 of file Bus_PDO_QueryResourceRequirements.c.

◆ expect_irq

#define expect_irq (   Desc,
  ExpectedOption,
  ExpectedShare,
  ExpectedMin,
  ExpectedMax 
)
Value:
do { \
ok((Desc)->Option == ExpectedOption, "Desc->Option = %u\n", (Desc)->Option); \
ok((Desc)->Type == CmResourceTypeInterrupt, "Desc->Type = %u\n", (Desc)->Type); \
ok((Desc)->ShareDisposition == ExpectedShare, "Desc->ShareDisposition = %u\n", (Desc)->ShareDisposition); \
ok((Desc)->u.Interrupt.MinimumVector == ExpectedMin, "Desc->u.Interrupt.MinimumVector = %lu\n", (Desc)->u.Interrupt.MinimumVector); \
ok((Desc)->u.Interrupt.MaximumVector == ExpectedMax, "Desc->u.Interrupt.MaximumVector = %lu\n", (Desc)->u.Interrupt.MaximumVector); \
} while (0)
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 * u
Definition: glfuncs.h:240
Type
Definition: Type.h:6
#define CmResourceTypeInterrupt
Definition: hwresource.cpp:124

Definition at line 191 of file Bus_PDO_QueryResourceRequirements.c.

◆ expect_port

#define expect_port (   Desc,
  ExpectedOption,
  ExpectedShare,
  ExpectedLength,
  ExpectedAlign,
  ExpectedMin,
  ExpectedMax 
)
Value:
do { \
ok((Desc)->Option == ExpectedOption, "Desc->Option = %u\n", (Desc)->Option); \
ok((Desc)->Type == CmResourceTypePort, "Desc->Type = %u\n", (Desc)->Type); \
ok((Desc)->ShareDisposition == ExpectedShare, "Desc->ShareDisposition = %u\n", (Desc)->ShareDisposition); \
ok((Desc)->u.Port.Length == ExpectedLength, "Desc->u.Port.Length = %lu\n", (Desc)->u.Port.Length); \
ok((Desc)->u.Port.Alignment == ExpectedAlign, "Desc->u.Port.Alignment = %lu\n", (Desc)->u.Port.Alignment); \
ok((Desc)->u.Port.MinimumAddress.QuadPart == ExpectedMin, "Desc->u.Port.MinimumAddress = 0x%I64x\n", (Desc)->u.Port.MinimumAddress.QuadPart); \
ok((Desc)->u.Port.MaximumAddress.QuadPart == ExpectedMax, "Desc->u.Port.MaximumAddress = 0x%I64x\n", (Desc)->u.Port.MaximumAddress.QuadPart); \
} while (0)
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 * u
Definition: glfuncs.h:240
Type
Definition: Type.h:6
#define CmResourceTypePort
Definition: hwresource.cpp:123

Definition at line 200 of file Bus_PDO_QueryResourceRequirements.c.

◆ IO_RESOURCE_ALTERNATIVE

#define IO_RESOURCE_ALTERNATIVE   0x08

Definition at line 18 of file Bus_PDO_QueryResourceRequirements.c.

◆ IO_RESOURCE_DEFAULT

#define IO_RESOURCE_DEFAULT   0x02

Definition at line 17 of file Bus_PDO_QueryResourceRequirements.c.

◆ IO_RESOURCE_PREFERRED

#define IO_RESOURCE_PREFERRED   0x01

Definition at line 16 of file Bus_PDO_QueryResourceRequirements.c.

◆ MAKE_IRQ

#define MAKE_IRQ (   Resource,
  _DescriptorLength,
  _Triggering,
  _Polarity,
  _Shareable,
  _WakeCapable 
)
Value:
do { \
Resource->Data.Irq.DescriptorLength = _DescriptorLength; \
Resource->Data.Irq.Triggering = _Triggering; \
Resource->Data.Irq.Polarity = _Polarity; \
Resource->Data.Irq.Shareable = _Shareable; \
Resource->Data.Irq.WakeCapable = _WakeCapable; \
} while (0)

Definition at line 181 of file Bus_PDO_QueryResourceRequirements.c.

◆ PAGED_CODE

PAGED_CODE ( )

Definition at line 89 of file Bus_PDO_QueryResourceRequirements.c.

Referenced by __RxAcquireFcb(), __RxWriteReleaseResources(), _At_(), _Function_class_(), _Inout_updates_bytes_(), _IRQL_requires_(), _IRQL_requires_max_(), _NavigateToLeafNode(), _Requires_lock_held_(), _Success_(), _When_(), ACPIDispatchDeviceControl(), AdapterDispatchPnp(), AddControllers(), AddDevice(), arbusno_Constructor(), arbusno_Initializer(), ario_Constructor(), armem_Constructor(), ARPReceive(), BasicSupportHandler(), BatteryIoctl(), 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(), CalculateMbrCheckSum(), 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(), CheckForLoudOperations(), ClassAddDevice(), ClassDispatchPnp(), ClassFindGuid(), ClassFindInternalGuid(), ClassGetPdoId(), ClassInitializeDispatchTables(), ClassModeSense(), ClassModeSenseEx(), ClasspAllocateReleaseRequest(), ClasspDisableGesn(), ClasspFreeReleaseRequest(), ClasspInitializeCScanList(), ClasspInitializeGesn(), ClasspInitializeHotplugInfo(), ClasspInitializePolling(), ClasspIsMediaChangeDisabledDueToHardwareLimitation(), ClasspIsMediaChangeDisabledForClass(), ClasspIsPortable(), ClasspMcnControl(), ClasspMediaChangeDeviceInstanceOverride(), ClasspModeSense(), ClasspMyStringMatches(), ClassPnpQueryFdoRelations(), ClassPnpStartDevice(), ClasspRegisterMountedDeviceInterface(), ClasspScanForClassHacks(), ClasspScanForSpecialInRegistry(), ClassQueryPnpCapabilities(), ClassRetrieveDeviceRelations(), ClassSendDeviceIoControlSynchronous(), ClassSystemControl(), ClassUnload(), CleanupTransferPacketToWorkingSetSizeWorker(), CmBattAddAcAdapter(), CmBattAddBattery(), CmBattAddDevice(), CmBattCreateFdo(), CmBattDestroyFdo(), CmBattDisableStatusNotify(), CmBattGetBatteryStatus(), CmBattGetPsrData(), CmBattGetStaData(), CmBattGetUniqueId(), CmBattIoctl(), CmBattOpenClose(), CmBattPnpDispatch(), CmBattQueryInformation(), CmBattQueryStatus(), CmBattQueryTag(), CmBattSendDownStreamIrp(), CmBattSetStatusNotify(), CmBattSetTripPpoint(), CmBattSystemControl(), CmBattWmiDeRegistration(), CmBattWmiRegistration(), CmEnumerateValueKey(), CmGetSystemDriverList(), CmiCallRegisteredCallbacks(), CmInitSystem1(), CmpAddSubKey(), CmpAddToDelayedClose(), CmpAddValueToList(), CmpAllocateDelayItem(), CmpAllocateKeyControlBlock(), CmpArmDelayedCloseTimer(), CmpCleanUpKcbCacheWithLock(), CmpCloseKeyObject(), CmpCmdHiveOpen(), CmpCmdInit(), CmpCompareNewValueDataAgainstKCBCache(), CmpCopyCell(), CmpCopyKeyValueList(), CmpCopyValue(), CmpCreateControlSet(), CmpCreateObjectTypes(), CmpCreateRegistryRoot(), CmpCreateRootNode(), CmpDeepCopyKeyInternal(), CmpDelayDerefKeyControlBlock(), CmpDeleteKeyObject(), CmpFreeDelayItem(), CmpFreeDriverList(), CmpFreeKeyControlBlock(), CmpFreeSecurityDescriptor(), CmpFreeValue(), CmpFreeValueData(), CmpGetValueData(), CmpHiveRootSecurityDescriptor(), CmpInitCallback(), CmpInitHiveFromFile(), CmpInitializeHiveList(), CmpInitializeSystemHive(), CmpIsHiveAlreadyLoaded(), CmpLazyFlush(), CmpLinkHiveToMaster(), CmpLinkKeyToHive(), CmpMarkValueDataDirty(), CmpParseKey(), CmpQueryKeyDataFromCache(), CmpRemoveFromDelayedClose(), CmpRemoveSecurityCellList(), CmpRemoveValueFromList(), CmpSetValueDataNew(), CmpShutdownWorkers(), CmpValueToData(), CmQueryValueKey(), CmRegisterCallback(), CmSaveKey(), CmSaveMergedKeys(), CmUnRegisterCallback(), CompareKeys(), CompareKeysWithoutOffset(), CompareShortKeys(), CompBattAddNewBattery(), CompBattGetDeviceObjectPointer(), CompBattOpenClose(), CompBattQueryInformation(), CompBattQueryTag(), CompBattSystemControl(), ConfigCallback(), CopyResourceDescriptor(), CreateDiskDeviceObject(), CreateFlopDeviceObject(), CreateMiniportTopologyCMI(), CreateMiniportWaveCMI(), 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(), DestroyAllTransferPackets(), DetermineDriveType(), DetermineMediaType(), DetermineOnDiskKeyFormat(), devpresent_Constructor(), 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(), DriverIoControl(), DriverUnload(), EnumerateBusKey(), ExAllocateCacheAwareRundownProtection(), ExChangeHandle(), ExCreateCallback(), ExCreateHandle(), ExCreateHandleTable(), ExDestroyHandle(), ExDestroyHandleTable(), ExDupHandleTable(), ExEnumHandleTable(), ExFreeCacheAwareRundownProtection(), ExfReInitializeRundownProtection(), ExfRundownCompleted(), ExfWaitForRundownProtectionRelease(), ExInitializeRundownProtectionCacheAware(), ExLockUserBuffer(), ExMapHandleToPointer(), ExpAllocateHandleTable(), ExpAllocateHandleTableEntrySlow(), ExpAllocateUuids(), ExpFreeHandleTable(), ExpFreeHandleTableEntry(), ExpGetCurrentUserUILanguage(), ExpRaiseHardError(), ExpSetCurrentUserUILanguage(), ExpUuidGetValues(), ExpUuidLoadSequenceNumber(), ExpUuidSaveSequenceNumber(), ExpUuidSaveSequenceNumberIf(), ExpWorkerThreadBalanceManager(), ExRaiseHardError(), ExRemoveHandleTable(), ExSizeOfRundownProtectionCacheAware(), ExSwapinWorkerThreads(), ExSweepHandleTable(), ExUnlockHandleTableEntry(), ExUuidCreate(), FatAddMcbEntry(), FatAllocateCloseContext(), FatAllowExtendedDasdIo(), FatAppendPackedEa(), FatBufferUserBuffer(), FatCheckDirtyBit(), FatCheckFileAccess(), FatCheckManageVolumeAccess(), 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(), FatSetPositionInfo(), FatSetRenameInfo(), FatSetupAllocationSupport(), FatSetZeroOnDeallocate(), FatSingleAsync(), FatSingleNonAlignedSync(), FatSyncUninitializeCacheMap(), FatTearDownAllocationSupport(), FatTearDownVcb(), FatUnlockVolume(), FatUnpinEaRange(), FatUnpinRepinnedBcbs(), FatVerifyLookupFatEntry(), FatVerifyOperationIsLegal(), FatVerifyVcb(), FatWaitSync(), FatZeroData(), FFSAcquireForLazyWrite(), FFSAcquireForReadAhead(), FFSAddEntry(), FFSAddMcbEntry(), FFSAddMcbNode(), FFSAllocateCcb(), FFSAllocateIrpContext(), FFSAllocateMcb(), FFSAllowExtendedDasdIo(), FFSBuildRequest(), FFSCheckBitmapConsistency(), FFSCheckDismount(), FFSCheckSetBlock(), FFSCleanup(), FFSClose(), FFSCompleteIrpContext(), FFSCopyRead(), FFSCreateFcbFromMcb(), FFSDeleteFile(), FFSDeleteMcbNode(), FFSDeQueueCloseRequest(), FFSDeQueueRequest(), FFSDeviceControl(), FFSDeviceControlNormal(), FFSDirectoryControl(), FFSDiskIoControl(), FFSDiskShutDown(), FFSDismountVolume(), FFSDispatchRequest(), FFSExpandBlock(), FFSExpandFile(), FFSExpandInode(), FFSFastIoCheckIfPossible(), FFSFastIoLock(), FFSFastIoQueryBasicInfo(), FFSFastIoQueryNetworkOpenInfo(), FFSFastIoQueryStandardInfo(), FFSFastIoUnlockAll(), FFSFastIoUnlockAllByKey(), FFSFastIoUnlockSingle(), FFSFileSystemControl(), FFSFloppyFlush(), FFSFlush(), FFSFlushFile(), FFSFlushFiles(), FFSFlushVolume(), FFSFreeBlock(), FFSFreeCcb(), FFSFreeFcb(), FFSFreeInode(), FFSFreeIrpContext(), FFSFreeMcb(), FFSFreeMcbTree(), FFSFreeVcb(), FFSGetFullFileName(), FFSGetInfoLength(), FFSGetPartition(), FFSGetUserBuffer(), FFSInitializeVcb(), FFSInodeTime(), FFSIsDirectoryEmpty(), FFSIsHandleCountZero(), FFSIsMediaWriteProtected(), FFSIsVolumeMounted(), FFSLoadDiskLabel(), FFSLoadSuper(), FFSLockControl(), FFSLockUserBuffer(), FFSLockVcb(), FFSLockVolume(), FFSLog2(), FFSLookupMcbEntry(), FFSMediaEjectControl(), FFSMountVolume(), FFSNewBlock(), FFSNewInode(), FFSNoOpAcquire(), FFSNoOpRelease(), FFSNotifyChangeDirectory(), FFSOEMToUnicode(), FFSProcessDirEntry(), FFSPurgeFile(), FFSPurgeVolume(), FFSQueryDirectory(), FFSQueryInformation(), FFSQueryVolumeInformation(), FFSQueueCloseRequest(), FFSQueueRequest(), FFSRead(), FFSReadComplete(), FFSReadDisk(), FFSReadFile(), FFSReadSync(), FFSReadVolume(), FFSReadWriteBlocks(), FFSRefreshMcb(), FFSReleaseFromLazyWrite(), FFSReleaseFromReadAhead(), FFSRemoveEntry(), FFSRemoveMcbEntry(), FFSSaveBlock(), FFSSaveBuffer(), FFSSaveSuper(), FFSSearchMcb(), FFSSearchMcbTree(), FFSSetDispositionInfo(), FFSSetInformation(), FFSSetRenameInfo(), FFSSetVolumeInformation(), FFSShutDown(), FFSStartFloppyFlushDpc(), FFSSyncUninitializeCacheMap(), FFSSysTime(), FFSTruncateBlock(), FFSTruncateFile(), FFSTruncateInode(), FFSUnicodeToOEM(), FFSUnlockVcb(), FFSUnlockVolume(), FFSUserFsRequest(), FFSv1AllocateFcb(), FFSv1BlockMap(), FFSv1BuildBDL(), FFSv1GetBlock(), FFSv1GetInodeLba(), FFSv1LoadBlock(), FFSv1LoadInode(), FFSv1ReadInode(), FFSv1SaveInode(), FFSv1WriteInode(), FFSv2AllocateFcb(), FFSv2BlockMap(), FFSv2BuildBDL(), FFSv2GetBlock(), FFSv2GetInodeLba(), FFSv2LoadBlock(), FFSv2LoadInode(), FFSv2ReadInode(), FFSv2SaveInode(), FFSVerifyVolume(), FFSWrite(), FFSWriteComplete(), FFSWriteFile(), FFSWriteVolume(), FFSZeroHoles(), FillInMemoryKey(), FilterInstanceSetup(), FilterQueryTeardown(), FilterUnload(), FindScsiDisks(), 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(), FsRecBtrfsFsControl(), FsRecCdfsFsControl(), FsRecClose(), FsRecCreate(), FsRecExt2FsControl(), FsRecFfsFsControl(), FsRecFsControl(), FsRecGetDeviceSectors(), FsRecGetDeviceSectorSize(), FsRecIsCdfsVolume(), FsRecIsFatVolume(), FsRecIsNtfsVolume(), FsRecIsUdfsVolume(), FsRecLoadFileSystem(), FsRecNtfsFsControl(), FsRecReadBlock(), FsRecReiserfsFsControl(), FsRecUdfsFsControl(), FsRecUnload(), FsRecVfatFsControl(), FsRtlAcquireFileExclusive(), FsRtlAcquireFileForCcFlush(), 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(), CMiniportDMusUART::GetDescription(), GetDeviceId(), HalAdjustResourceList(), HalAssignSlotResources(), HalGetInterruptVector(), HaliAcpiTimerInit(), HaliInitPnpDriver(), HalpAcpiDetectResourceListSize(), HalpAssignSlotResources(), HalpBuildAcpiResourceList(), HalpCalculateChsValues(), HalpGetFullGeometry(), HalpIsOldStyleFloppy(), HalpIsValidPartitionEntry(), HalpQueryAcpiResourceRequirements(), HalpQueryCapabilities(), HalpQueryDriveLayout(), HalpQueryPartitionType(), HalpQueryResourceRequirements(), HalpQueryResources(), HalpRegisterPciDebuggingDeviceInfo(), CMiniportDMusUARTStream::HandlePortParams(), HvReleaseFreeCellRefArray(), HvTrackCellRef(), HwConfigure(), HwFormatTrack(), HwGetVersion(), HwReadId(), HwReadIdResult(), HwReadWriteData(), HwReadWriteResult(), HwRecalibrate(), HwRecalibrateResult(), HwSeek(), HwSenseDriveStatus(), HwSenseDriveStatusResult(), HwSenseInterruptStatus(), HwTurnOnMotor(), InitController(), InitializeDeviceData(), InitializeGlobalData(), CMiniportDMusUART::InitializeHardware(), InitializeTransferPackets(), InstallSubdevice(), IoCancelThreadIo(), IoCheckDesiredAccess(), IoCheckEaBufferValidity(), IoCheckShareAccess(), IoConnectInterrupt(), IoCreateController(), IoCreateDevice(), IoCreateDisk(), IoCreateFile(), IoCreateFileSpecifyDeviceObjectHint(), IoCreateStreamFileObjectEx(), IoCreateStreamFileObjectLite(), IoCreateSymbolicLink(), IoCreateUnprotectedSymbolicLink(), IoDeleteSymbolicLink(), IoDisconnectInterrupt(), IoFastQueryNetworkAttributes(), IoGetBootDiskInformation(), IoGetDeviceInterfaces(), IoInitializeRemoveLockEx(), IoInitializeTimer(), IopAbortInterruptedIrp(), IopAcquireFileObjectLock(), IopCheckBackupRestorePrivilege(), IopCleanupAfterException(), IopCleanupFailedIrp(), IopCreateDefaultDeviceSecurityDescriptor(), IopCreateEvent(), IopCreateFile(), IopCreateRegistryKeyEx(), IopDeleteDevice(), IopDeleteDriver(), IopDeviceFsIoControl(), IopDoNameTransmogrify(), IopFinalizeAsynchronousIo(), IopGetBasicInformationFile(), IopGetFileInformation(), IopGetRegistryValue(), IopGetSetSecurityObject(), IopLoadFileSystemDriver(), IopLogWorker(), IopMountVolume(), IopOpenLinkOrRenameTarget(), IopOpenRegistryKeyEx(), IopPerformSynchronousRequest(), IopQueryAttributesFile(), IopQueryDeviceInformation(), IopReadyDeviceObjects(), IopSetDeviceSecurityDescriptor(), IopSetDeviceSecurityDescriptors(), IopStartAndEnumerateDevice(), IopSynchronousCall(), IopUnloadDriver(), IopValidateID(), IopWorkItemCallback(), IoReadDiskSignature(), IoReadPartitionTableEx(), IoRegisterFileSystem(), IoRegisterFsRegistrationChange(), IoRegisterPlugPlayNotification(), IoReleaseRemoveLockAndWaitEx(), IoRemoveShareAccess(), IoSetInformation(), IoSetPartitionInformationEx(), IoSetShareAccess(), IoSynchronousInvalidateDeviceRelations(), IoUnregisterFileSystem(), IoUnregisterFsRegistrationChange(), IoUnregisterPlugPlayNotification(), IoUpdateShareAccess(), IoVerifyPartitionTable(), IoVolumeDeviceToDosName(), IoWritePartitionTableEx(), IsFloppyDevice(), CMiniportWaveCMI::isFormatAllowed(), KeAddSystemServiceTable(), KeFlushQueuedDpcs(), KeQueryActiveProcessors(), KeRemoveSystemServiceTable(), KmtCleanUsermodeCallbacks(), KmtFreeCallbackResponse(), KmtInitTestContext(), KmtUserModeCallback(), CMiniportWaveCMI::loadChannelConfigFromRegistry(), LpcpCopyRequestData(), LpcpDeletePort(), LpcpDestroyPortQueue(), LpcpFindDataInfoMessage(), LpcpFreeToPortZone(), LpcpPrepareToWakeClient(), LpcpSaveDataInfoMessage(), LpcRequestPort(), LpcRequestWaitReplyPort(), MiCacheImageSymbols(), MiCallDllUnloadAndUnloadDll(), MiClearImports(), MiCreatePagingFileMap(), MiDereferenceImports(), MiDoMappedCopy(), MiDoPoolCopy(), MiFillSystemPageDirectory(), MiFindContiguousMemory(), MiFindContiguousPages(), MiFindExportedRoutineByName(), MiFreeContiguousMemory(), MiGetExceptionInfo(), MiGetPageProtection(), MiInitializeNonPagedPool(), MiInitializeSessionPool(), MiInsertInSystemSpace(), MiIsEntireRangeCommitted(), MiLoadImageSection(), MiLocateExportName(), MiLookupDataTableEntry(), MiMapLockedPagesInUserSpace(), MiMapViewInSystemSpace(), MiRemoveFromSystemSpace(), MiResolveImageReferences(), MiSetPagingOfDriver(), MiSetProtectionOnSection(), MiSnapThunk(), MiUnmapViewInSystemSpace(), MiUnmapViewOfSection(), MmAddVerifierThunks(), MmCheckSystemImage(), MmCommitSessionMappedView(), MmFlushVirtualMemory(), MmGetSessionLocaleId(), MmLoadSystemImage(), MmMapVideoDisplay(), MmMapViewInSessionSpace(), MmMapViewInSystemSpace(), MmMapViewOfArm3Section(), MmPageEntireDriver(), MmUnmapViewInSessionSpace(), MmUnmapViewInSystemSpace(), MmVerifyImageIsOkForMpUse(), NavigateToLeafNode(), NdisAnsiStringToUnicodeString(), NdisEqualString(), NdisInitializeString(), NdisInitializeTimer(), NdisMInitializeTimer(), NdisMMapIoSpace(), NdisMQueryAdapterResources(), NdisMSleep(), NdisMUnmapIoSpace(), NdisUnicodeStringToAnsiString(), NdisUpcaseUnicodeString(), NewCMIAdapter(), CMiniportWaveCMI::newDMAChannel(), NpCommonCleanup(), NpCommonClose(), NpCommonFileSystemControl(), NpCommonFlushBuffers(), NpCommonQueryInformation(), NpCommonQuerySecurityInfo(), NpCommonQueryVolumeInformation(), NpCommonRead(), NpCommonSetInformation(), NpCommonSetSecurityInfo(), NpCommonWrite(), NpCompleteTransceiveIrp(), NpCopyClientContext(), NpCreateCcb(), NpCreateFcb(), 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(), NpPeek(), NpQueryClientProcess(), NpReadDataQueue(), NpSetBasicInfo(), NpSetClientProcess(), NpSetFileObject(), NpSetPipeInfo(), NpTransceive(), NpUninitializeDataQueue(), NpUninitializeSecurity(), NpWaitForNamedPipe(), NpWriteDataQueue(), NtAcceptConnectPort(), NtAccessCheck(), NtAddAtom(), NtAdjustPrivilegesToken(), NtAllocateLocallyUniqueId(), NtAllocateUuids(), NtAllocateVirtualMemory(), NtAssignProcessToJobObject(), NtCancelIoFile(), NtCancelTimer(), NtClearEvent(), NtCloseObjectAuditAlarm(), NtCompareTokens(), NtCompleteConnectPort(), NtCreateDebugObject(), NtCreateDirectoryObject(), NtCreateEvent(), NtCreateEventPair(), NtCreateIoCompletion(), NtCreateJobObject(), NtCreateKey(), NtCreateMailslotFile(), NtCreateMutant(), NtCreateNamedPipeFile(), NtCreatePagingFile(), NtCreateProcessEx(), NtCreateProfile(), NtCreateSection(), NtCreateSemaphore(), NtCreateSymbolicLinkObject(), NtCreateThread(), NtCreateTimer(), NtCreateToken(), NtDebugActiveProcess(), NtDebugContinue(), NtDeleteAtom(), NtDeleteFile(), NtDeleteKey(), NtDeleteValueKey(), NtDisplayString(), NtDuplicateToken(), NtEnumerateKey(), NtEnumerateValueKey(), NtFindAtom(), NtFlushBuffersFile(), NtFlushInstructionCache(), NtFlushKey(), NtFlushVirtualMemory(), NtFlushWriteBuffer(), NtFreeVirtualMemory(), NtGetContextThread(), NtGetWriteWatch(), 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(), 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(), ObQueryObjectAuditingByHandle(), ObQuerySecurityDescriptorInfo(), ObReferenceObjectByHandle(), ObReferenceObjectByName(), ObReleaseObjectSecurity(), ObSetHandleAttributes(), ObSetSecurityDescriptorInfo(), ObSetSecurityObjectByPointer(), 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(), 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(), PiGetDeviceRegistryProperty(), PipAllocateDeviceNode(), PipDumpCmResourceDescriptor(), PipDumpCmResourceList(), PipDumpIoResourceDescriptor(), PipDumpResourceRequirementsList(), PnpDeviceObjectToDeviceInstance(), PoInitializeDeviceObject(), PopGetDope(), PopInitShutdownList(), PoRemoveVolumeDevice(), PoRequestShutdownEvent(), PoRequestShutdownWait(), PoVolumeDevice(), PpInitGetGroupOrderIndex(), PreloadGlobalMessageTable(), ProbeForRead(), ProbeForWrite(), CMiniportWaveCMI::processResources(), ProcessResources(), CMiniportDMusUART::ProcessResources(), PropertyHandler_ComponentId(), PropertyHandler_CpuResources(), PropertyHandler_Level(), PropertyHandler_OnOff(), PropertyHandler_Private(), PropertyHandler_Synth(), 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(), CMiniportDMusUART::QueryInterface(), CMiniportDMusUARTStream::QueryInterface(), QueueThread(), RawCleanup(), RawClose(), RawCreate(), RawDispatch(), RawFileSystemControl(), RawInitializeVcb(), RawMountVolume(), RawQueryFsAttributeInfo(), RawQueryFsDeviceInfo(), RawQueryFsSizeInfo(), RawQueryFsVolumeInfo(), RawQueryInformation(), RawQueryVolumeInformation(), RawReadWriteDeviceControl(), RawSetInformation(), RawUserFsCtrl(), ReadWritePassive(), ReassembleDatagram(), Recalibrate(), ResetChangeFlag(), CCMIAdapter::resetController(), ResetHardware(), RfsdAcquireForLazyWrite(), RfsdAcquireForReadAhead(), RfsdAddMcbNode(), RfsdAllocateAndLoadBlock(), RfsdAllocateCcb(), RfsdAllocateFcb(), RfsdAllocateIrpContext(), RfsdAllocateMcb(), RfsdAllowExtendedDasdIo(), RfsdBuildBDL2(), RfsdBuildRequest(), RfsdCheckBitmapConsistency(), RfsdCheckDismount(), RfsdCheckSetBlock(), RfsdCleanup(), RfsdClose(), RfsdCopyRead(), RfsdCreateFcbFromMcb(), RfsdDeleteFile(), RfsdDeleteMcbNode(), RfsdDeQueueCloseRequest(), RfsdDeQueueRequest(), RfsdDeviceControl(), RfsdDeviceControlNormal(), RfsdDirectoryCallback(), RfsdDirectoryControl(), RfsdDiskIoControl(), RfsdDiskShutDown(), RfsdDismountVolume(), RfsdDispatchRequest(), RfsdExpandFile(), RfsdFastIoCheckIfPossible(), RfsdFastIoLock(), RfsdFastIoQueryBasicInfo(), RfsdFastIoQueryNetworkOpenInfo(), RfsdFastIoQueryStandardInfo(), RfsdFastIoUnlockAll(), RfsdFastIoUnlockAllByKey(), RfsdFastIoUnlockSingle(), RfsdFileSystemControl(), RfsdFindItemHeaderInBlock(), RfsdFloppyFlush(), RfsdFlush(), RfsdFlushFile(), RfsdFlushFiles(), RfsdFlushVolume(), RfsdFreeCcb(), RfsdFreeFcb(), RfsdFreeIrpContext(), RfsdFreeMcbTree(), RfsdFreeVcb(), RfsdGetFullFileName(), RfsdGetInfoLength(), RfsdGetUserBuffer(), RfsdInitializeVcb(), RfsdInodeTime(), RfsdIsDirectoryEmpty(), RfsdIsHandleCountZero(), RfsdIsMediaWriteProtected(), RfsdIsVolumeMounted(), RfsdLoadBlock(), RfsdLoadInode(), RfsdLoadItem(), RfsdLoadSuper(), RfsdLockControl(), RfsdLockUserBuffer(), RfsdLockVcb(), RfsdLockVolume(), RfsdLog2(), RfsdMediaEjectControl(), RfsdMountVolume(), RfsdNoOpAcquire(), RfsdNoOpRelease(), RfsdNotifyChangeDirectory(), RfsdOEMToUnicode(), RfsdParseFilesystemTree(), RfsdProcessDirEntry(), RfsdPurgeFile(), RfsdPurgeVolume(), RfsdQueryDirectory(), RfsdQueryInformation(), RfsdQueryVolumeInformation(), RfsdQueueCloseRequest(), RfsdQueueRequest(), RfsdRead(), RfsdReadComplete(), RfsdReadDisk(), RfsdReadFile(), RfsdReadInode(), RfsdReadSync(), RfsdReadVolume(), RfsdReadWriteBlocks(), RfsdRefreshMcb(), RfsdReleaseFromLazyWrite(), RfsdReleaseFromReadAhead(), RfsdSearchMcb(), RfsdSearchMcbTree(), RfsdSetDispositionInfo(), RfsdSetInformation(), RfsdSetRenameInfo(), RfsdSetVolumeInformation(), RfsdShutDown(), RfsdStartFloppyFlushDpc(), RfsdSyncUninitializeCacheMap(), RfsdSysTime(), RfsdTruncateFile(), RfsdUnicodeToOEM(), RfsdUnlockVcb(), RfsdUnlockVolume(), RfsdUserFsRequest(), RfsdVerifyVolume(), RfsdWrite(), RfsdWriteComplete(), RfsdWriteFile(), RfsdWriteInode(), RfsdWriteVolume(), RfsdZeroHoles(), RtlGetNtProductType(), RtlGetVersion(), RtlLengthSidAndAttributes(), 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(), ScsiClassClaimDevice(), ScsiClassGetCapabilities(), ScsiClassGetInquiryData(), ScsiClassSendSrbAsynchronous(), ScsiClassSendSrbSynchronous(), ScsiDiskDeviceControl(), ScsiDiskModeSelect(), ScsiFlopAddDevice(), ScsiFlopRemoveDevice(), ScsiFlopStartDevice(), ScsiFlopUnload(), SeAccessCheck(), SeAppendPrivileges(), SeAssignPrimaryToken(), SeCaptureLuidAndAttributesArray(), SeCaptureSidAndAttributesArray(), SeCaptureSubjectContextEx(), SeCheckAuditPrivilege(), SeCheckPrivilegedObject(), SeCopyClientToken(), SeCreateAccessState(), SeCreateAccessStateEx(), SeCreateClientSecurity(), SeCreateClientSecurityFromSubjectContext(), SeDefaultObjectMethod(), SeDeleteAccessState(), SeExchangePrimaryToken(), SeFastTraverseCheck(), SeFreePrivileges(), SeGetLogonIdDeviceMap(), SeGetTokenControlInformation(), SeImpersonateClient(), SeImpersonateClientEx(), SeInitializeProcessAuditName(), SeLocateProcessImageName(), SeLockSubjectContext(), Send_Byte(), SeOpenObjectAuditAlarm(), SepAccessCheck(), SepAccessCheckAndAuditAlarm(), SepAdtInitializeBounds(), SepCaptureAcl(), SepCaptureSecurityQualityOfService(), SepCaptureSid(), SepCleanupLUIDDeviceMapDirectory(), SepCreateClientSecurity(), SepCreateImpersonationTokenDacl(), SepCreateToken(), SepDuplicateToken(), SepInitializationPhase0(), SepInitializationPhase1(), SepPrivilegeCheck(), SepRegQueryHelper(), SepReleaseAcl(), SepReleaseSecurityQualityOfService(), SepReleaseSid(), SePrivilegeCheck(), SePrivilegedServiceAuditAlarm(), SePrivilegePolicyCheck(), SepRmCreateLogonSession(), SepRmReferenceLogonSession(), SepRmSetAuditEvent(), SepSidInTokenEx(), SepSinglePrivilegeCheck(), SeQueryAuthenticationIdToken(), SeQueryInformationToken(), SeQuerySessionIdToken(), SeRegisterLogonSessionTerminatedRoutine(), SeReleaseLuidAndAttributesArray(), SeReleaseSecurityDescriptor(), SeReleaseSidAndAttributesArray(), SeReleaseSubjectContext(), SeSetAccessStateGenericMapping(), SeSinglePrivilegeCheck(), SeTokenImpersonationLevel(), SeTokenIsAdmin(), SeTokenIsRestricted(), SeTokenIsWriteRestricted(), SeTokenType(), SetupEjectionTransferPacket(), SetupModeSenseTransferPacket(), SeUnlockSubjectContext(), SeUnregisterLogonSessionTerminatedRoutine(), StartDevice(), StartMotor(), STDMETHODIMP_(), CMiniportWaveCMI::storeChannelConfigToRegistry(), SuperblockContainsMagicKey(), SystemProcessTest(), SystemProcessTestWorker(), TestDirectoryControl(), TestDispatch(), TestEntry(), TestFilterUnload(), TestHidPDescription(), TestIrpHandler(), TestMessageHandler(), TestQueryInformation(), TestSetInformation(), TestUnload(), UDFCommonQueryVolInfo(), UDFCommonSetVolInfo(), UDFQueryFsAttributeInfo(), UDFQueryFsDeviceInfo(), UDFQueryFsFullSizeInfo(), UDFQueryFsSizeInfo(), UDFQueryFsVolumeInfo(), UDFSetLabelInfo(), Unload(), UpdateGeometry(), USBFlopFormatTracks(), USBFlopGetMediaTypes(), CMiniportWaveCMI::validateFormat(), VdmDispatchPageFault(), VdmEndExecution(), VdmpGetVdmTib(), VdmpStartExecution(), WaitForControllerInterrupt(), WmipIoControl(), WmipOpenCloseCleanup(), WmipOpenGuidObjectByName(), WmipSecurityMethod(), xHalAllocateMapRegisters(), xHalEndOfBoot(), xHalGetInterruptTranslator(), xHalIoAssignDriveLetters(), xHalIoReadPartitionTable(), xHalIoSetPartitionInformation(), xHalIoWritePartitionTable(), xHalQueryBusSlots(), xHalQuerySystemInformation(), xHalRegisterBusHandler(), xHalSetSystemInformation(), xHalStartMirroring(), CCMIAdapter::~CCMIAdapter(), CCMITopology::~CCMITopology(), CMiniportDMusUART::~CMiniportDMusUART(), CMiniportDMusUARTStream::~CMiniportDMusUARTStream(), and CMiniportWaveCMI::~CMiniportWaveCMI().

◆ PagedPool

#define PagedPool   1

Definition at line 97 of file Bus_PDO_QueryResourceRequirements.c.

◆ UNIT_TEST

#define UNIT_TEST

Definition at line 12 of file Bus_PDO_QueryResourceRequirements.c.

◆ WIN32_NO_STATUS

#define WIN32_NO_STATUS

Definition at line 10 of file Bus_PDO_QueryResourceRequirements.c.

Typedef Documentation

◆ IO_RESOURCE_DESCRIPTOR

◆ IO_RESOURCE_LIST

◆ IO_RESOURCE_REQUIREMENTS_LIST

◆ IRP

typedef struct _IRP IRP

◆ PDO_DEVICE_DATA

◆ PIO_RESOURCE_DESCRIPTOR

◆ PIO_RESOURCE_LIST

◆ PIO_RESOURCE_REQUIREMENTS_LIST

◆ PIRP

typedef struct _IRP * PIRP

◆ PPDO_DEVICE_DATA

Function Documentation

◆ AcpiGetCurrentResources()

ACPI_STATUS AcpiGetCurrentResources ( ACPI_HANDLE  Device,
ACPI_BUFFER RetBuffer 
)

Definition at line 145 of file Bus_PDO_QueryResourceRequirements.c.

148 {
149  ok(AcpiCallExpected, "Unexpected call to AcpiGetCurrentResources\n");
150  ok(Device == CorrectHandle, "Device = %p, expected %p\n", Device, CorrectHandle);
151  if (RetBuffer->Length < CurrentBuffer.Length)
152  {
153  RetBuffer->Length = CurrentBuffer.Length;
154  return AE_BUFFER_OVERFLOW;
155  }
156  RetBuffer->Length = CurrentBuffer.Length;
158  return AE_OK;
159 }
static ACPI_BUFFER CurrentBuffer
_In_ PIRP _In_ PDEVICE_OBJECT Device
Definition: fatprocs.h:2029
ACPI_SIZE Length
Definition: actypes.h:1044
void * Pointer
Definition: actypes.h:1045
static BOOLEAN AcpiCallExpected
#define AE_BUFFER_OVERFLOW
Definition: acexcep.h:119
#define CopyMemory
Definition: winbase.h:1646
#define ok(value,...)
Definition: atltest.h:57
static ACPI_HANDLE CorrectHandle
#define AE_OK
Definition: acexcep.h:97

◆ AcpiGetPossibleResources()

ACPI_STATUS AcpiGetPossibleResources ( ACPI_HANDLE  Device,
ACPI_BUFFER RetBuffer 
)

Definition at line 162 of file Bus_PDO_QueryResourceRequirements.c.

165 {
166  ok(AcpiCallExpected, "Unexpected call to AcpiGetPossibleResources\n");
167  ok(Device == CorrectHandle, "Device = %p, expected %p\n", Device, CorrectHandle);
168  if (RetBuffer->Length < PossibleBuffer.Length)
169  {
170  RetBuffer->Length = PossibleBuffer.Length;
171  return AE_BUFFER_OVERFLOW;
172  }
173  RetBuffer->Length = PossibleBuffer.Length;
175  return AE_OK;
176 }
_In_ PIRP _In_ PDEVICE_OBJECT Device
Definition: fatprocs.h:2029
ACPI_SIZE Length
Definition: actypes.h:1044
void * Pointer
Definition: actypes.h:1045
static BOOLEAN AcpiCallExpected
#define AE_BUFFER_OVERFLOW
Definition: acexcep.h:119
#define CopyMemory
Definition: winbase.h:1646
static ACPI_BUFFER PossibleBuffer
#define ok(value,...)
Definition: atltest.h:57
static ACPI_HANDLE CorrectHandle
#define AE_OK
Definition: acexcep.h:97

◆ ExAllocatePoolWithTag()

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

Definition at line 100 of file Bus_PDO_QueryResourceRequirements.c.

101 {
102  PVOID *Mem;
103 
104  Mem = HeapAlloc(GetProcessHeap(), 0, NumberOfBytes + 2 * sizeof(PVOID));
105  Mem[0] = (PVOID)NumberOfBytes;
106  Mem[1] = (PVOID)(ULONG_PTR)Tag;
107  return Mem + 2;
108 }
uint32_t ULONG_PTR
Definition: typedefs.h:65
void * PVOID
Definition: retypes.h:9
#define GetProcessHeap()
Definition: compat.h:484
PVOID WINAPI HeapAlloc(HANDLE, DWORD, SIZE_T)
IN ULONG IN ULONG Tag
Definition: evtlib.h:159
_Must_inspect_result_ typedef _In_ PHYSICAL_ADDRESS _Inout_ PLARGE_INTEGER NumberOfBytes
Definition: iotypes.h:1002

◆ ExFreePoolWithTag()

static VOID ExFreePoolWithTag ( PVOID  MemPtr,
ULONG  Tag 
)
static

Definition at line 112 of file Bus_PDO_QueryResourceRequirements.c.

113 {
114  PVOID *Mem = MemPtr;
115 
116  Mem -= 2;
117  ok(Mem[1] == (PVOID)(ULONG_PTR)Tag, "Tag is %lx, expected %p\n", Tag, Mem[1]);
118  HeapFree(GetProcessHeap(), 0, Mem);
119 }
uint32_t ULONG_PTR
Definition: typedefs.h:65
#define GetProcessHeap()
Definition: compat.h:484
#define ok(value,...)
Definition: atltest.h:57
IN ULONG IN ULONG Tag
Definition: evtlib.h:159
#define HeapFree(x, y, z)
Definition: compat.h:483

Referenced by START_TEST().

◆ GetPoolAllocSize()

static SIZE_T GetPoolAllocSize ( PVOID  MemPtr)
static

Definition at line 123 of file Bus_PDO_QueryResourceRequirements.c.

124 {
125  PVOID *Mem = MemPtr;
126 
127  Mem -= 2;
128  return (SIZE_T)Mem[0];
129 }
ULONG_PTR SIZE_T
Definition: typedefs.h:80

Referenced by START_TEST().

◆ START_TEST()

Definition at line 211 of file Bus_PDO_QueryResourceRequirements.c.

212 {
215  IRP Irp;
216  ACPI_RESOURCE ResourcesBuffer[20];
219  PIO_RESOURCE_LIST ReqList2;
220 
221  /* Invalid AcpiHandle */
223  Irp.IoStatus.Status = STATUS_WAIT_0 + 17;
224  DeviceData.AcpiHandle = NULL;
226  ok(Status == STATUS_WAIT_0 + 17, "Status = 0x%lx\n", Status);
227 
228  /* PCI Bus device */
230  Irp.IoStatus.Status = STATUS_WAIT_0 + 17;
231  DeviceData.AcpiHandle = CorrectHandle;
232  DeviceData.HardwareIDs = L"PNP0A03\0";
234  ok(Status == STATUS_WAIT_0 + 17, "Status = 0x%lx\n", Status);
235 
236  /* PCI Bus device #2 */
238  Irp.IoStatus.Status = STATUS_WAIT_0 + 17;
239  DeviceData.AcpiHandle = CorrectHandle;
240  DeviceData.HardwareIDs = L"PNP0A08\0";
242  ok(Status == STATUS_WAIT_0 + 17, "Status = 0x%lx\n", Status);
243 
244  /* Empty buffer */
246  Irp.IoStatus.Status = STATUS_WAIT_0 + 17;
247  DeviceData.AcpiHandle = CorrectHandle;
248  DeviceData.HardwareIDs = L"PNP0501\0";
250  ok(Status == STATUS_WAIT_0 + 17, "Status = 0x%lx\n", Status);
251 
252  /* Simple single-resource list */
254  Irp.IoStatus.Status = STATUS_WAIT_0 + 17;
255  Irp.IoStatus.Information = 0;
256  DeviceData.AcpiHandle = CorrectHandle;
257  DeviceData.HardwareIDs = L"PNP0501\0";
258  Resource = ResourcesBuffer;
260  Resource->Length = sizeof(*Resource);
262  Resource->Data.Irq.InterruptCount = 1;
263  Resource->Data.Irq.Interrupts[0] = 7;
266  Resource->Length = 0;
267  Resource++;
268  PossibleBuffer.Pointer = ResourcesBuffer;
269  PossibleBuffer.Length = (ULONG_PTR)Resource - (ULONG_PTR)ResourcesBuffer;
271  ok(Status == STATUS_SUCCESS, "Status = 0x%lx\n", Status);
272  ok(Irp.IoStatus.Status == STATUS_WAIT_0 + 17, "IoStatus.Status = 0x%lx\n", Irp.IoStatus.Status);
273  ReqList = (PVOID)Irp.IoStatus.Information;
274  ok(ReqList != NULL, "ReqList is NULL\n");
275  if (ReqList == NULL)
276  {
277  skip("No ReqList\n");
278  return;
279  }
280  ok(ReqList->InterfaceType == Internal, "InterfaceType = %u\n", ReqList->InterfaceType);
281  ok(ReqList->BusNumber == 0, "BusNumber = %lu\n", ReqList->BusNumber);
282  ok(ReqList->SlotNumber == 0, "SlotNumber = %lu\n", ReqList->SlotNumber);
283  ok(ReqList->AlternativeLists == 1, "AlternativeLists = %lu\n", ReqList->AlternativeLists);
284  ok(ReqList->List[0].Version == 1, "List[0].Version = %u\n", ReqList->List[0].Version);
285  ok(ReqList->List[0].Revision == 1, "List[0].Revision = %u\n", ReqList->List[0].Revision);
286  ok(ReqList->List[0].Count == 1, "List[0].Count = %lu\n", ReqList->List[0].Count);
288  ok_int(ReqList->ListSize, GetPoolAllocSize(ReqList));
289  ok_int(ReqList->ListSize, (ULONG_PTR)&ReqList->List[0].Descriptors[1] - (ULONG_PTR)ReqList);
290  ExFreePoolWithTag(ReqList, 'RpcA');
291 
292  /* Two IRQs */
294  Irp.IoStatus.Status = STATUS_WAIT_0 + 17;
295  Irp.IoStatus.Information = 0;
296  DeviceData.AcpiHandle = CorrectHandle;
297  DeviceData.HardwareIDs = L"PNP0501\0";
298  Resource = ResourcesBuffer;
302  Resource->Data.Irq.InterruptCount = 2;
303  Resource->Data.Irq.Interrupts[0] = 3;
304  Resource->Data.Irq.Interrupts[1] = 7;
307  Resource->Length = 0;
308  Resource++;
309  PossibleBuffer.Pointer = ResourcesBuffer;
310  PossibleBuffer.Length = (ULONG_PTR)Resource - (ULONG_PTR)ResourcesBuffer;
312  ok(Status == STATUS_SUCCESS, "Status = 0x%lx\n", Status);
313  ok(Irp.IoStatus.Status == STATUS_WAIT_0 + 17, "IoStatus.Status = 0x%lx\n", Irp.IoStatus.Status);
314  ReqList = (PVOID)Irp.IoStatus.Information;
315  ok(ReqList != NULL, "ReqList is NULL\n");
316  if (ReqList == NULL)
317  {
318  skip("No ReqList\n");
319  return;
320  }
321  ok(ReqList->InterfaceType == Internal, "InterfaceType = %u\n", ReqList->InterfaceType);
322  ok(ReqList->BusNumber == 0, "BusNumber = %lu\n", ReqList->BusNumber);
323  ok(ReqList->SlotNumber == 0, "SlotNumber = %lu\n", ReqList->SlotNumber);
324  ok(ReqList->AlternativeLists == 1, "AlternativeLists = %lu\n", ReqList->AlternativeLists);
325  ok(ReqList->List[0].Version == 1, "List[0].Version = %u\n", ReqList->List[0].Version);
326  ok(ReqList->List[0].Revision == 1, "List[0].Revision = %u\n", ReqList->List[0].Revision);
327  ok(ReqList->List[0].Count == 2, "List[0].Count = %lu\n", ReqList->List[0].Count);
330  ok_int(ReqList->ListSize, GetPoolAllocSize(ReqList));
331  ok_int(ReqList->ListSize, (ULONG_PTR)&ReqList->List[0].Descriptors[2] - (ULONG_PTR)ReqList);
332  ExFreePoolWithTag(ReqList, 'RpcA');
333 
334  /* Port */
336  Irp.IoStatus.Status = STATUS_WAIT_0 + 17;
337  Irp.IoStatus.Information = 0;
338  DeviceData.AcpiHandle = CorrectHandle;
339  DeviceData.HardwareIDs = L"PNP0501\0";
340  Resource = ResourcesBuffer;
342  Resource->Length = sizeof(*Resource);
343  Resource->Data.Io.IoDecode = ACPI_DECODE_16;
344  Resource->Data.Io.Alignment = 8;
345  Resource->Data.Io.AddressLength = 8;
346  Resource->Data.Io.Minimum = 0x3F8;
347  Resource->Data.Io.Maximum = 0x3F8;
350  Resource->Length = 0;
351  Resource++;
352  PossibleBuffer.Pointer = ResourcesBuffer;
353  PossibleBuffer.Length = (ULONG_PTR)Resource - (ULONG_PTR)ResourcesBuffer;
355  ok(Status == STATUS_SUCCESS, "Status = 0x%lx\n", Status);
356  ok(Irp.IoStatus.Status == STATUS_WAIT_0 + 17, "IoStatus.Status = 0x%lx\n", Irp.IoStatus.Status);
357  ReqList = (PVOID)Irp.IoStatus.Information;
358  ok(ReqList != NULL, "ReqList is NULL\n");
359  if (ReqList == NULL)
360  {
361  skip("No ReqList\n");
362  return;
363  }
364  ok(ReqList->InterfaceType == Internal, "InterfaceType = %u\n", ReqList->InterfaceType);
365  ok(ReqList->BusNumber == 0, "BusNumber = %lu\n", ReqList->BusNumber);
366  ok(ReqList->SlotNumber == 0, "SlotNumber = %lu\n", ReqList->SlotNumber);
367  ok(ReqList->AlternativeLists == 1, "AlternativeLists = %lu\n", ReqList->AlternativeLists);
368  ok(ReqList->List[0].Version == 1, "List[0].Version = %u\n", ReqList->List[0].Version);
369  ok(ReqList->List[0].Revision == 1, "List[0].Revision = %u\n", ReqList->List[0].Revision);
370  ok(ReqList->List[0].Count == 1, "List[0].Count = %lu\n", ReqList->List[0].Count);
372  ok_int(ReqList->ListSize, GetPoolAllocSize(ReqList));
373  ok_int(ReqList->ListSize, (ULONG_PTR)&ReqList->List[0].Descriptors[1] - (ULONG_PTR)ReqList);
374  ExFreePoolWithTag(ReqList, 'RpcA');
375 
376  /* Port + two IRQs */
378  Irp.IoStatus.Status = STATUS_WAIT_0 + 17;
379  Irp.IoStatus.Information = 0;
380  DeviceData.AcpiHandle = CorrectHandle;
381  DeviceData.HardwareIDs = L"PNP0501\0";
382  Resource = ResourcesBuffer;
384  Resource->Length = sizeof(*Resource);
385  Resource->Data.Io.IoDecode = ACPI_DECODE_16;
386  Resource->Data.Io.Alignment = 8;
387  Resource->Data.Io.AddressLength = 8;
388  Resource->Data.Io.Minimum = 0x3F8;
389  Resource->Data.Io.Maximum = 0x3F8;
394  Resource->Data.Irq.InterruptCount = 2;
395  Resource->Data.Irq.Interrupts[0] = 3;
396  Resource->Data.Irq.Interrupts[1] = 7;
399  Resource->Length = 0;
400  Resource++;
401  PossibleBuffer.Pointer = ResourcesBuffer;
402  PossibleBuffer.Length = (ULONG_PTR)Resource - (ULONG_PTR)ResourcesBuffer;
404  ok(Status == STATUS_SUCCESS, "Status = 0x%lx\n", Status);
405  ok(Irp.IoStatus.Status == STATUS_WAIT_0 + 17, "IoStatus.Status = 0x%lx\n", Irp.IoStatus.Status);
406  ReqList = (PVOID)Irp.IoStatus.Information;
407  ok(ReqList != NULL, "ReqList is NULL\n");
408  if (ReqList == NULL)
409  {
410  skip("No ReqList\n");
411  return;
412  }
413  ok(ReqList->InterfaceType == Internal, "InterfaceType = %u\n", ReqList->InterfaceType);
414  ok(ReqList->BusNumber == 0, "BusNumber = %lu\n", ReqList->BusNumber);
415  ok(ReqList->SlotNumber == 0, "SlotNumber = %lu\n", ReqList->SlotNumber);
416  ok(ReqList->AlternativeLists == 1, "AlternativeLists = %lu\n", ReqList->AlternativeLists);
417  ok(ReqList->List[0].Version == 1, "List[0].Version = %u\n", ReqList->List[0].Version);
418  ok(ReqList->List[0].Revision == 1, "List[0].Revision = %u\n", ReqList->List[0].Revision);
419  ok(ReqList->List[0].Count == 3, "List[0].Count = %lu\n", ReqList->List[0].Count);
423  ok_int(ReqList->ListSize, GetPoolAllocSize(ReqList));
424  ok_int(ReqList->ListSize, (ULONG_PTR)&ReqList->List[0].Descriptors[3] - (ULONG_PTR)ReqList);
425  ExFreePoolWithTag(ReqList, 'RpcA');
426 
427  /* Multiple alternatives for ports + IRQs (VMware COM port, simplified) */
429  Irp.IoStatus.Status = STATUS_WAIT_0 + 17;
430  Irp.IoStatus.Information = 0;
431  DeviceData.AcpiHandle = CorrectHandle;
432  DeviceData.HardwareIDs = L"PNP0501\0";
433  Resource = ResourcesBuffer;
435  Resource->Length = sizeof(*Resource);
436 
439  Resource->Length = sizeof(*Resource);
440  Resource->Data.Io.IoDecode = ACPI_DECODE_16;
441  Resource->Data.Io.Alignment = 8;
442  Resource->Data.Io.AddressLength = 8;
443  Resource->Data.Io.Minimum = 0x3E8;
444  Resource->Data.Io.Maximum = 0x3E8;
445 
450  Resource->Data.Irq.InterruptCount = 5;
451  Resource->Data.Irq.Interrupts[0] = 3;
452  Resource->Data.Irq.Interrupts[1] = 4;
453  Resource->Data.Irq.Interrupts[2] = 5;
454  Resource->Data.Irq.Interrupts[3] = 6;
455  Resource->Data.Irq.Interrupts[4] = 7;
456 
459  Resource->Length = sizeof(*Resource);
460 
463  Resource->Length = sizeof(*Resource);
464  Resource->Data.Io.IoDecode = ACPI_DECODE_16;
465  Resource->Data.Io.Alignment = 8;
466  Resource->Data.Io.AddressLength = 8;
467  Resource->Data.Io.Minimum = 0x2E8;
468  Resource->Data.Io.Maximum = 0x2E8;
469 
474  Resource->Data.Irq.InterruptCount = 5;
475  Resource->Data.Irq.Interrupts[0] = 3;
476  Resource->Data.Irq.Interrupts[1] = 4;
477  Resource->Data.Irq.Interrupts[2] = 5;
478  Resource->Data.Irq.Interrupts[3] = 6;
479  Resource->Data.Irq.Interrupts[4] = 7;
480 
483  Resource->Length = sizeof(*Resource);
484 
487  Resource->Length = 0;
488  Resource++;
489  PossibleBuffer.Pointer = ResourcesBuffer;
490  PossibleBuffer.Length = (ULONG_PTR)Resource - (ULONG_PTR)ResourcesBuffer;
492  ok(Status == STATUS_SUCCESS, "Status = 0x%lx\n", Status);
493  ok(Irp.IoStatus.Status == STATUS_WAIT_0 + 17, "IoStatus.Status = 0x%lx\n", Irp.IoStatus.Status);
494  ReqList = (PVOID)Irp.IoStatus.Information;
495  ok(ReqList != NULL, "ReqList is NULL\n");
496  if (ReqList == NULL)
497  {
498  skip("No ReqList\n");
499  return;
500  }
501  ok(ReqList->InterfaceType == Internal, "InterfaceType = %u\n", ReqList->InterfaceType);
502  ok(ReqList->BusNumber == 0, "BusNumber = %lu\n", ReqList->BusNumber);
503  ok(ReqList->SlotNumber == 0, "SlotNumber = %lu\n", ReqList->SlotNumber);
504  ok(ReqList->AlternativeLists == 2, "AlternativeLists = %lu\n", ReqList->AlternativeLists);
505  ok(ReqList->List[0].Version == 1, "List[0].Version = %u\n", ReqList->List[0].Version);
506  ok(ReqList->List[0].Revision == 1, "List[0].Revision = %u\n", ReqList->List[0].Revision);
507  ok(ReqList->List[0].Count == 6, "List[0].Count = %lu\n", ReqList->List[0].Count);
514  ReqList2 = (PVOID)&ReqList->List[0].Descriptors[6];
515  if (ReqList->ListSize > (ULONG_PTR)ReqList2 - (ULONG_PTR)ReqList)
516  {
517  ok(ReqList2->Version == 1, "List[1].Version = %u\n", ReqList->List[0].Version);
518  ok(ReqList2->Revision == 1, "List[1].Revision = %u\n", ReqList->List[0].Revision);
519  ok(ReqList2->Count == 6, "List[1].Count = %lu\n", ReqList->List[0].Count);
526  }
527  ok_int(ReqList->ListSize, GetPoolAllocSize(ReqList));
528  ok_int(ReqList->ListSize, (ULONG_PTR)&ReqList2->Descriptors[6] - (ULONG_PTR)ReqList);
529  ExFreePoolWithTag(ReqList, 'RpcA');
530 }
#define ACPI_RESOURCE_TYPE_START_DEPENDENT
Definition: acrestyp.h:716
#define IO_RESOURCE_PREFERRED
_In_ PIRP Irp
Definition: csq.h:116
#define TRUE
Definition: types.h:120
#define ACPI_RESOURCE_TYPE_END_DEPENDENT
Definition: acrestyp.h:717
#define expect_irq(Desc, ExpectedOption, ExpectedShare, ExpectedMin, ExpectedMax)
ACPI_SIZE Length
Definition: actypes.h:1044
#define ACPI_RESOURCE_TYPE_IRQ
Definition: acrestyp.h:714
LONG NTSTATUS
Definition: precomp.h:26
#define ACPI_RESOURCE_TYPE_END_TAG
Definition: acrestyp.h:721
void * Pointer
Definition: actypes.h:1045
static SIZE_T GetPoolAllocSize(PVOID MemPtr)
NTSTATUS Bus_PDO_QueryResourceRequirements(PPDO_DEVICE_DATA DeviceData, PIRP Irp)
Definition: buspdo.c:1301
static BOOLEAN AcpiCallExpected
uint32_t ULONG_PTR
Definition: typedefs.h:65
#define ACPI_NOT_WAKE_CAPABLE
Definition: acrestyp.h:109
#define ACPI_RESOURCE_TYPE_IO
Definition: acrestyp.h:718
#define STATUS_WAIT_0
Definition: ntstatus.h:237
_Acquires_exclusive_lock_ Resource _Acquires_shared_lock_ Resource _Inout_ PERESOURCE Resource
Definition: cdprocs.h:843
#define FALSE
Definition: types.h:117
smooth NULL
Definition: ftsmooth.c:416
#define ok_int(expression, result)
Definition: atltest.h:134
void * PVOID
Definition: retypes.h:9
static VOID ExFreePoolWithTag(PVOID MemPtr, ULONG Tag)
IO_RESOURCE_DESCRIPTOR Descriptors[1]
if(!(yy_init))
Definition: macro.lex.yy.c:714
static ACPI_BUFFER PossibleBuffer
#define IO_RESOURCE_ALTERNATIVE
Status
Definition: gdiplustypes.h:24
static const WCHAR L[]
Definition: oid.c:1250
#define ACPI_NEXT_RESOURCE(Res)
Definition: acrestyp.h:802
#define ok(value,...)
Definition: atltest.h:57
#define FIELD_OFFSET(t, f)
Definition: typedefs.h:255
#define skip(...)
Definition: atltest.h:64
static ACPI_HANDLE CorrectHandle
#define ACPI_DECODE_16
Definition: acrestyp.h:85
#define ACPI_EXCLUSIVE
Definition: acrestyp.h:104
#define ULONG_PTR
Definition: config.h:101
#define ACPI_ACTIVE_HIGH
Definition: acrestyp.h:98
return STATUS_SUCCESS
Definition: btrfs.c:3014
#define ACPI_LEVEL_SENSITIVE
Definition: acrestyp.h:93
#define expect_port(Desc, ExpectedOption, ExpectedShare, ExpectedLength, ExpectedAlign, ExpectedMin, ExpectedMax)
#define MAKE_IRQ(Resource, _DescriptorLength, _Triggering, _Polarity, _Shareable, _WakeCapable)

Variable Documentation

◆ AcpiCallExpected

BOOLEAN AcpiCallExpected
static

◆ CorrectHandle

ACPI_HANDLE CorrectHandle = &CorrectHandle
static

◆ CurrentBuffer

◆ PossibleBuffer

ACPI_BUFFER PossibleBuffer
static

Definition at line 142 of file Bus_PDO_QueryResourceRequirements.c.

Referenced by AcpiGetPossibleResources(), and START_TEST().