ReactOS 0.4.16-dev-983-g23ad936
|
Go to the source code of this file.
Classes | |
struct | _FILE_OBJECT_EXTENSION |
struct | _IOP_MINI_COMPLETION_PACKET |
struct | _IO_UNLOAD_SAFE_COMPLETION_CONTEXT |
struct | _IO_WORKITEM |
struct | _IO_INTERRUPT |
struct | _ERROR_LOG_ENTRY |
struct | _EXTENDED_IO_REMOVE_LOCK |
struct | _DUMMY_FILE_OBJECT |
struct | _OPEN_PACKET |
struct | _DRIVER_INFORMATION |
struct | _IO_BUS_TYPE_GUID_LIST |
struct | _SHUTDOWN_ENTRY |
struct | _FS_CHANGE_NOTIFY_ENTRY |
struct | _DRIVER_REINIT_ITEM |
struct | _DEVICETREE_TRAVERSE_CONTEXT |
struct | _RESERVE_IRP_ALLOCATOR |
Enumerations | |
enum | _IOP_DEVICE_LIST_OPERATION { IopRemove , IopAdd } |
enum | _IOP_TRANSFER_TYPE { IopReadTransfer , IopWriteTransfer , IopOtherTransfer } |
enum | _COMPLETION_PACKET_TYPE { IopCompletionPacketIrp , IopCompletionPacketMini , IopCompletionPacketQuota } |
enum | _SECURITY_DESCRIPTOR_TYPE { RestrictedPublic = 1 , UnrestrictedPublic , RestrictedPublicOpen , UnrestrictedPublicOpen , SystemDefault } |
enum | _DEVICE_ACTION { PiActionEnumDeviceTree , PiActionEnumRootDevices , PiActionResetDevice , PiActionAddBootDevices , PiActionStartDevice , PiActionQueryState } |
#define ENUM_ROOT L"\\Registry\\Machine\\System\\CurrentControlSet\\Enum" |
#define IoGetDevObjExtension | ( | DeviceObject | ) |
#define IoGetDrvObjExtension | ( | DriverObject | ) |
#define IopAllocateMdlFromLookaside ObpAllocateObjectCreateInfoBuffer |
#define IopDeviceNodeClearFlag | ( | DeviceNode, | |
Flag | |||
) | ((DeviceNode)->Flags &= ~(Flag)) |
#define IopDeviceNodeClearProblem | ( | DeviceNode, | |
Problem | |||
) | ((DeviceNode)->Problem &= ~(Problem)) |
#define IopDeviceNodeClearUserFlag | ( | DeviceNode, | |
UserFlag | |||
) | ((DeviceNode)->UserFlags &= ~(UserFlag)) |
#define IopDeviceNodeHasFlag | ( | DeviceNode, | |
Flag | |||
) | (((DeviceNode)->Flags & (Flag)) > 0) |
#define IopDeviceNodeHasProblem | ( | DeviceNode, | |
Problem | |||
) | (((DeviceNode)->Problem & (Problem)) > 0) |
#define IopDeviceNodeHasUserFlag | ( | DeviceNode, | |
UserFlag | |||
) | (((DeviceNode)->UserFlags & (UserFlag)) > 0) |
#define IopDeviceNodeSetFlag | ( | DeviceNode, | |
Flag | |||
) | ((DeviceNode)->Flags |= (Flag)) |
#define IopDeviceNodeSetProblem | ( | DeviceNode, | |
Problem | |||
) | ((DeviceNode)->Problem |= (Problem)) |
#define IopDeviceNodeSetUserFlag | ( | DeviceNode, | |
UserFlag | |||
) | ((DeviceNode)->UserFlags |= (UserFlag)) |
#define IopFreeMdlFromLookaside ObpFreeCapturedAttributes |
#define IopInitDeviceTreeTraverseContext | ( | _DeviceTreeTraverseContext, | |
_DeviceNode, | |||
_Action, | |||
_Context | |||
) |
#define IopIsValidPhysicalDeviceObject | ( | PhysicalDeviceObject | ) |
#define IsIrpSynchronous | ( | Irp, | |
FileObject | |||
) |
typedef enum _DEVICE_ACTION DEVICE_ACTION |
typedef NTSTATUS(* DEVICETREE_TRAVERSE_ROUTINE) (IN PDEVICE_NODE DeviceNode, IN PVOID Context) |
typedef struct _ERROR_LOG_ENTRY ERROR_LOG_ENTRY |
typedef struct _IO_INTERRUPT IO_INTERRUPT |
typedef struct _IO_WORKITEM IO_WORKITEM |
typedef enum _IOP_TRANSFER_TYPE IOP_TRANSFER_TYPE |
typedef struct _OPEN_PACKET OPEN_PACKET |
typedef struct _DRIVER_INFORMATION * PDRIVER_INFORMATION |
typedef struct _DRIVER_REINIT_ITEM * PDRIVER_REINIT_ITEM |
typedef struct _DUMMY_FILE_OBJECT * PDUMMY_FILE_OBJECT |
typedef struct _ERROR_LOG_ENTRY * PERROR_LOG_ENTRY |
typedef struct _IO_INTERRUPT * PIO_INTERRUPT |
typedef enum _IOP_TRANSFER_TYPE * PIOP_TRANSFER_TYPE |
typedef struct _OPEN_PACKET * POPEN_PACKET |
typedef struct _SHUTDOWN_ENTRY * PSHUTDOWN_ENTRY |
typedef struct _SHUTDOWN_ENTRY SHUTDOWN_ENTRY |
Enumerator | |
---|---|
PiActionEnumDeviceTree | |
PiActionEnumRootDevices | |
PiActionResetDevice | |
PiActionAddBootDevices | |
PiActionStartDevice | |
PiActionQueryState |
Definition at line 524 of file io.h.
Enumerator | |
---|---|
IopReadTransfer | |
IopWriteTransfer | |
IopOtherTransfer |
Definition at line 259 of file io.h.
Enumerator | |
---|---|
RestrictedPublic | |
UnrestrictedPublic | |
RestrictedPublicOpen | |
UnrestrictedPublicOpen | |
SystemDefault |
Definition at line 512 of file io.h.
Definition at line 1146 of file irp.c.
Referenced by PspExitThread().
NTSTATUS NTAPI IoChangeFileObjectFilterContext | ( | IN PFILE_OBJECT | FileObject, |
IN PVOID | FilterContext, | ||
IN BOOLEAN | Define | ||
) |
Definition at line 2512 of file file.c.
Referenced by FsRtlInsertPerFileObjectContext(), and FsRtlPTeardownPerFileObjectContexts().
NTSTATUS NTAPI IoComputeDesiredAccessFileObject | ( | IN PFILE_OBJECT | FileObject, |
IN PACCESS_MASK | DesiredAccess | ||
) |
Definition at line 26 of file util.c.
Referenced by ObReferenceFileObjectForWrite().
PVOID NTAPI IoGetFileObjectFilterContext | ( | IN PFILE_OBJECT | FileObject | ) |
Definition at line 2497 of file file.c.
Referenced by FsRtlInsertPerFileObjectContext(), FsRtlLookupPerFileObjectContext(), FsRtlPTeardownPerFileObjectContexts(), and FsRtlRemovePerFileObjectContext().
NTSTATUS NTAPI IoGetRelatedTargetDevice | ( | IN PFILE_OBJECT | FileObject, |
OUT PDEVICE_OBJECT * | DeviceObject | ||
) |
Definition at line 1607 of file device.c.
Referenced by FsRtlNotifyVolumeEvent(), and NtSetVolumeInformationFile().
Definition at line 650 of file iomgr.c.
Referenced by NtCreatePagingFile().
BOOLEAN NTAPI IoInitSystem | ( | IN PLOADER_PARAMETER_BLOCK | LoaderBlock | ) |
Definition at line 466 of file iomgr.c.
Referenced by Phase1InitializationDiscard().
Definition at line 67 of file irp.c.
Referenced by IopFinalizeAsynchronousIo(), IopPerformSynchronousRequest(), IopQueryDeviceInformation(), IoSetInformation(), NtQueryInformationFile(), and NtSetInformationFile().
NTSTATUS NTAPI IopAcquireFileObjectLock | ( | _In_ PFILE_OBJECT | FileObject, |
_In_ KPROCESSOR_MODE | AccessMode, | ||
_In_ BOOLEAN | Alertable, | ||
_Out_ PBOOLEAN | LockFailed | ||
) |
Definition at line 2451 of file file.c.
Referenced by IopLockFileObject().
Definition at line 716 of file irp.c.
Referenced by IoCancelFileOpen(), IopCloseFile(), and IopDeleteFile().
Definition at line 573 of file irp.c.
Referenced by IoPageRead().
NTSTATUS NTAPI IopAssignDeviceResources | ( | IN PDEVICE_NODE | DeviceNode | ) |
Definition at line 1116 of file pnpres.c.
Referenced by IoReportDetectedDevice(), and PiDevNodeStateMachine().
NTSTATUS FASTCALL IopAttachFilterDrivers | ( | IN PDEVICE_NODE | DeviceNode, |
IN HANDLE | EnumSubKey, | ||
IN HANDLE | ClassKey, | ||
IN BOOLEAN | Lower | ||
) |
VOID IopBootLog | ( | IN PUNICODE_STRING | DriverName, |
IN BOOLEAN | Success | ||
) |
PVPB NTAPI IopCheckVpbMounted | ( | IN POPEN_PACKET | OpenPacket, |
IN PDEVICE_OBJECT | DeviceObject, | ||
IN PUNICODE_STRING | RemainingName, | ||
OUT PNTSTATUS | Status | ||
) |
Definition at line 76 of file volume.c.
Referenced by IopParseDevice().
NTSTATUS NTAPI IopCleanupFailedIrp | ( | IN PFILE_OBJECT | FileObject, |
IN PKEVENT | EventObject, | ||
IN PVOID Buffer | OPTIONAL | ||
) |
Definition at line 45 of file irp.c.
Referenced by IopDeviceFsIoControl(), IopGetSetSecurityObject(), IopQueryDeviceInformation(), IoSetInformation(), NtFlushBuffersFile(), NtLockFile(), NtNotifyChangeDirectoryFile(), NtQueryDirectoryFile(), NtQueryInformationFile(), NtQueryVolumeInformationFile(), NtReadFile(), NtSetInformationFile(), NtSetVolumeInformationFile(), NtUnlockFile(), and NtWriteFile().
VOID NTAPI IopCloseFile | ( | IN PEPROCESS Process | OPTIONAL, |
IN PVOID | Object, | ||
IN ACCESS_MASK | GrantedAccess, | ||
IN ULONG | ProcessHandleCount, | ||
IN ULONG | SystemHandleCount | ||
) |
Definition at line 2179 of file file.c.
Referenced by IopCreateObjectTypes(), and IopDeleteFile().
VOID NTAPI IopCompleteRequest | ( | IN PKAPC | Apc, |
IN PKNORMAL_ROUTINE * | NormalRoutine, | ||
IN PVOID * | NormalContext, | ||
IN PVOID * | SystemArgument1, | ||
IN PVOID * | SystemArgument2 | ||
) |
Definition at line 238 of file irp.c.
Referenced by IofCompleteRequest(), IopPerformSynchronousRequest(), NtQueryInformationFile(), and NtSetInformationFile().
NTSTATUS NTAPI IopCreateArcNames | ( | IN PLOADER_PARAMETER_BLOCK | LoaderBlock | ) |
Definition at line 39 of file arcname.c.
Referenced by IoInitSystem().
NTSTATUS NTAPI IopCreateDeviceKeyPath | ( | IN PCUNICODE_STRING | RegistryPath, |
IN ULONG | CreateOptions, | ||
OUT PHANDLE | Handle | ||
) |
Definition at line 522 of file pnpmgr.c.
Referenced by IopInstallCriticalDevice(), IopQueryDeviceCapabilities(), IoReportDetectedDevice(), PiControlInitializeDevice(), and PiInitializeDevNode().
NTSTATUS NTAPI IopCreateRegistryKeyEx | ( | OUT PHANDLE | Handle, |
IN HANDLE BaseHandle | OPTIONAL, | ||
IN PUNICODE_STRING | KeyName, | ||
IN ACCESS_MASK | DesiredAccess, | ||
IN ULONG | CreateOptions, | ||
OUT PULONG Disposition | OPTIONAL | ||
) |
NTSTATUS NTAPI IopCreateVpb | ( | IN PDEVICE_OBJECT | DeviceObject | ) |
Definition at line 158 of file volume.c.
Referenced by IoCreateDevice(), and IoVerifyVolume().
Definition at line 52 of file device.c.
Referenced by IopCreateObjectTypes().
Definition at line 77 of file driver.c.
Referenced by IopCreateObjectTypes().
Definition at line 1355 of file file.c.
Referenced by IopCreateObjectTypes(), and IopParseDevice().
Definition at line 100 of file iocomp.c.
Referenced by IopCreateObjectTypes().
Definition at line 462 of file device.c.
Referenced by IoCreateStreamFileObjectEx(), IoCreateStreamFileObjectLite(), IopCheckVpbMounted(), IopDeleteFile(), and IopParseDevice().
Definition at line 186 of file volume.c.
Referenced by IopParseDevice(), and IoVerifyVolume().
NTSTATUS NTAPI IopDetectResourceConflict | ( | IN PCM_RESOURCE_LIST | ResourceList, |
IN BOOLEAN | Silent, | ||
OUT OPTIONAL PCM_PARTIAL_RESOURCE_DESCRIPTOR | ConflictingDescriptor | ||
) |
Definition at line 1255 of file pnpres.c.
Referenced by IopAssignDeviceResources(), IopCheckDescriptorForConflict(), IoReportResourceForDetection(), and IoReportResourceUsage().
VOID NTAPI IopDoNameTransmogrify | ( | IN PIRP | Irp, |
IN PFILE_OBJECT | FileObject, | ||
IN PREPARSE_DATA_BUFFER | DataBuffer | ||
) |
Definition at line 170 of file file.c.
Referenced by IopCompleteRequest(), and IopParseDevice().
NTSTATUS IopFetchConfigurationInformation | ( | _Out_ PWSTR * | SymbolicLinkList, |
_In_ GUID | Guid, | ||
_In_ ULONG | ExpectedInterfaces, | ||
_Out_ PULONG | Interfaces | ||
) |
Definition at line 821 of file iorsrce.c.
Referenced by IopCreateArcNamesCd(), and IopCreateArcNamesDisk().
NTSTATUS NTAPI IopFixupResourceListWithRequirements | ( | IN PIO_RESOURCE_REQUIREMENTS_LIST | RequirementsList, |
OUT PCM_RESOURCE_LIST * | ResourceList | ||
) |
Definition at line 219 of file pnpres.c.
Referenced by IopAssignDeviceResources(), and IopLegacyResourceAllocation().
NTSTATUS IopFreeDeviceNode | ( | IN PDEVICE_NODE | DeviceNode | ) |
Referenced by IopDeleteDevice(), and PiControlInitializeDevice().
PDEVICE_OBJECT NTAPI IopGetDeviceAttachmentBase | ( | IN PDEVICE_OBJECT | DeviceObject | ) |
Definition at line 1486 of file file.c.
Referenced by IopGetDevicePDO(), and IopVerifyDriverObjectOnStack().
PDEVICE_NODE FASTCALL IopGetDeviceNode | ( | IN PDEVICE_OBJECT | DeviceObject | ) |
Referenced by IoAssignResources(), IoGetDeviceProperty(), IoOpenDeviceRegistryKey(), IopDeleteDevice(), IopDeviceStatus(), IopGetDeviceDepth(), IopGetDeviceRelations(), IopGetRelatedTargetDevice(), IopPrepareDeviceForRemoval(), IopQueryRemoveDevice(), IopSendRemoveDevice(), IopSendSurpriseRemoval(), IoRequestDeviceEject(), PiEnumerateDevice(), PiInitializeDevNode(), PiNotifyTargetDeviceChange(), PipDeviceActionWorker(), PnpDeviceObjectToDeviceInstance(), PnpRootPnpControl(), and PnpRootRegisterDevice().
NTSTATUS IopGetDriverNames | ( | _In_ HANDLE | ServiceHandle, |
_Out_ PUNICODE_STRING | DriverName, | ||
_Out_opt_ PUNICODE_STRING | ServiceName | ||
) |
Definition at line 123 of file driver.c.
Referenced by IopInitializeDriverModule(), and PiAttachFilterDriversCallback().
NTSTATUS NTAPI IopGetFileInformation | ( | IN PFILE_OBJECT | FileObject, |
IN ULONG | Length, | ||
IN FILE_INFORMATION_CLASS | FileInfoClass, | ||
OUT PVOID | Buffer, | ||
OUT PULONG | ReturnedLength | ||
) |
Definition at line 777 of file iofunc.c.
Referenced by IopGetBasicInformationFile(), and IopQueryNameInternal().
NTSTATUS NTAPI IopGetRegistryValue | ( | IN HANDLE | Handle, |
IN PWSTR | ValueName, | ||
OUT PKEY_VALUE_FULL_INFORMATION * | Information | ||
) |
Definition at line 1036 of file pnpmgr.c.
Referenced by IoGetDeviceInterfaceAlias(), IopGetDriverNames(), IopInitializeBuiltinDriver(), IopLoadDriver(), IopSetServiceEnumData(), PiAttachFilterDriversCallback(), PiCallDriverAddDevice(), PiGetDeviceRegistryProperty(), PiInitCacheGroupInformation(), PipGetDriverTagPriority(), and PpInitGetGroupOrderIndex().
NTSTATUS NTAPI IopGetRelatedTargetDevice | ( | IN PFILE_OBJECT | FileObject, |
OUT PDEVICE_NODE * | DeviceNode | ||
) |
Definition at line 653 of file device.c.
Referenced by IoGetRelatedTargetDevice(), and IoRegisterPlugPlayNotification().
NTSTATUS NTAPI IopGetSetSecurityObject | ( | IN PVOID | ObjectBody, |
IN SECURITY_OPERATION_CODE | OperationCode, | ||
IN PSECURITY_INFORMATION | SecurityInformation, | ||
IN OUT PSECURITY_DESCRIPTOR | SecurityDescriptor, | ||
IN OUT PULONG | BufferLength, | ||
OUT PSECURITY_DESCRIPTOR * | OldSecurityDescriptor, | ||
IN POOL_TYPE | PoolType, | ||
IN OUT PGENERIC_MAPPING | GenericMapping | ||
) |
Referenced by IopCreateObjectTypes().
NTSTATUS IopGetSystemPowerDeviceObject | ( | IN PDEVICE_OBJECT * | DeviceObject | ) |
Referenced by PopSetSystemPowerState().
Definition at line 1023 of file driver.c.
Referenced by IoInitSystem().
NTSTATUS IopInitializeDriverModule | ( | _In_ PLDR_DATA_TABLE_ENTRY | ModuleObject, |
_In_ HANDLE | ServiceHandle, | ||
_Out_ PDRIVER_OBJECT * | OutDriverObject, | ||
_Out_ NTSTATUS * | DriverEntryStatus | ||
) |
Initialize a loaded driver.
[in] | ModuleObject | Module object representing the driver. It can be retrieved by IopLoadServiceModule. Freed on failure, so in a such case this should not be accessed anymore |
[in] | ServiceHandle | Handle to a driver's CCS/Services/<ServiceName> key |
[out] | DriverObject | This contains the driver object if it was created (even with unsuccessfull result) |
[out] | DriverEntryStatus | This contains the status value returned by the driver's DriverEntry routine (will not be valid of the return value is not STATUS_SUCCESS or STATUS_FAILED_DRIVER_ENTRY) |
Definition at line 443 of file driver.c.
Referenced by IopInitializeBuiltinDriver(), and IopLoadDriver().
Definition at line 287 of file pnpinit.c.
Referenced by IoInitSystem().
BOOLEAN NTAPI IopInitializeReserveIrp | ( | IN PRESERVE_IRP_ALLOCATOR | ReserveIrpAllocator | ) |
Definition at line 549 of file irp.c.
Referenced by IoInitSystem().
Definition at line 1210 of file driver.c.
Referenced by IoInitSystem().
NTSTATUS NTAPI IopInitiatePnpIrp | ( | IN PDEVICE_OBJECT | DeviceObject, |
IN PIO_STATUS_BLOCK | IoStatusBlock, | ||
IN UCHAR | MinorFunction, | ||
IN PIO_STACK_LOCATION | Stack | ||
) |
Referenced by IoGetDmaAdapter(), IopCancelPrepareDeviceForRemoval(), IopCreateDeviceInstancePath(), IopFilterResourceRequirements(), IopGetDeviceProperty(), IopGetDeviceRelations(), IopPrepareDeviceForRemoval(), IopQueryCompatibleIds(), IopQueryDeviceCapabilities(), IopQueryHardwareIds(), IoRequestDeviceEject(), PiInitializeDevNode(), and VideoPortCheckForDeviceExistence().
Definition at line 40 of file plugplay.c.
Referenced by IopInitializePlugPlayServices().
NTSTATUS IopLoadDriver | ( | _In_ HANDLE | ServiceHandle, |
_Out_ PDRIVER_OBJECT * | DriverObject | ||
) |
Definition at line 1938 of file driver.c.
Referenced by IopLoadUnloadDriverWorker(), and PiAttachFilterDriversCallback().
Definition at line 148 of file error.c.
Referenced by IopLogDpcRoutine(), and IoWriteErrorLogEntry().
NTSTATUS NTAPI IopMountVolume | ( | IN PDEVICE_OBJECT | DeviceObject, |
IN BOOLEAN | AllowRawMount, | ||
IN BOOLEAN | DeviceIsLocked, | ||
IN BOOLEAN | Alertable, | ||
OUT PVPB * | Vpb | ||
) |
Definition at line 462 of file volume.c.
Referenced by IopCheckVpbMounted(), and IoVerifyVolume().
NTSTATUS NTAPI IopOpenRegistryKeyEx | ( | PHANDLE | KeyHandle, |
HANDLE | ParentKey, | ||
PUNICODE_STRING | Name, | ||
ACCESS_MASK | DesiredAccess | ||
) |
Definition at line 885 of file pnpmgr.c.
Referenced by CreateDeviceFromRegistry(), EnumerateDevices(), IoOpenDeviceRegistryKey(), IopCreateDeviceKeyPath(), IopEnumerateDetectedDevices(), IopGetParentIdPrefix(), IopInitializeBootDrivers(), IopInitializeBuiltinDriver(), IopInitializePlugPlayServices(), IopLoadUnloadDriverWorker(), IopOpenOrCreateSymbolicLinkSubKeys(), IopSetServiceEnumData(), IopStoreSystemPartitionInformation(), IopUpdateControlKeyWithResources(), IopUpdateRootKey(), IoSetSystemPartition(), OpenRegistryHandlesFromSymbolicLink(), PiAttachFilterDriversCallback(), PiCallDriverAddDevice(), PiGetDeviceRegistryProperty(), PiInitCacheGroupInformation(), PipGetDriverTagPriority(), PiStartDeviceFinal(), PnpDeviceObjectToDeviceInstance(), and PnpRootCreateDevice().
NTSTATUS NTAPI IopParseDevice | ( | IN PVOID | ParseObject, |
IN PVOID | ObjectType, | ||
IN OUT PACCESS_STATE | AccessState, | ||
IN KPROCESSOR_MODE | AccessMode, | ||
IN ULONG | Attributes, | ||
IN OUT PUNICODE_STRING | CompleteName, | ||
IN OUT PUNICODE_STRING | RemainingName, | ||
IN OUT PVOID | Context, | ||
IN PSECURITY_QUALITY_OF_SERVICE SecurityQos | OPTIONAL, | ||
OUT PVOID * | Object | ||
) |
Definition at line 324 of file file.c.
Referenced by IopCreateObjectTypes(), and IopParseFile().
NTSTATUS NTAPI IopParseFile | ( | IN PVOID | ParseObject, |
IN PVOID | ObjectType, | ||
IN OUT PACCESS_STATE | AccessState, | ||
IN KPROCESSOR_MODE | AccessMode, | ||
IN ULONG | Attributes, | ||
IN OUT PUNICODE_STRING | CompleteName, | ||
IN OUT PUNICODE_STRING | RemainingName, | ||
IN OUT PVOID Context | OPTIONAL, | ||
IN PSECURITY_QUALITY_OF_SERVICE SecurityQos | OPTIONAL, | ||
OUT PVOID * | Object | ||
) |
Definition at line 1319 of file file.c.
Referenced by IopCreateObjectTypes().
NTSTATUS NTAPI IopQueryDeviceCapabilities | ( | PDEVICE_NODE | DeviceNode, |
PDEVICE_CAPABILITIES | DeviceCaps | ||
) |
Definition at line 854 of file devaction.c.
Referenced by IoGetDeviceProperty(), IopCreateDeviceInstancePath(), IoRequestDeviceEject(), and PiStartDeviceFinal().
NTSTATUS NTAPI IopQueryName | ( | IN PVOID | ObjectBody, |
IN BOOLEAN | HasName, | ||
OUT POBJECT_NAME_INFORMATION | ObjectNameInfo, | ||
IN ULONG | Length, | ||
OUT PULONG | ReturnLength, | ||
IN KPROCESSOR_MODE | PreviousMode | ||
) |
Definition at line 1926 of file file.c.
Referenced by IopCreateObjectTypes().
NTSTATUS NTAPI IopQueryNameInternal | ( | IN PVOID | ObjectBody, |
IN BOOLEAN | HasName, | ||
IN BOOLEAN | QueryDosName, | ||
OUT POBJECT_NAME_INFORMATION | ObjectNameInfo, | ||
IN ULONG | Length, | ||
OUT PULONG | ReturnLength, | ||
IN KPROCESSOR_MODE | PreviousMode | ||
) |
Definition at line 1944 of file file.c.
Referenced by IopQueryName(), and IoQueryFileDosDeviceName().
NTSTATUS IopQueueDeviceChangeEvent | ( | _In_ const GUID * | EventGuid, |
_In_ const GUID * | InterfaceClassGuid, | ||
_In_ PUNICODE_STRING | SymbolicLinkName | ||
) |
Definition at line 52 of file plugplay.c.
Referenced by IoSetDeviceInterfaceState().
Definition at line 97 of file plugplay.c.
Referenced by PiControlInitializeDevice(), and PiInitializeDevNode().
Referenced by IopQueryRemoveDevice(), IopRemoveDevice(), IoRequestDeviceEject(), and PiStartDeviceFinal().
VOID NTAPI IopReadyDeviceObjects | ( | IN PDRIVER_OBJECT | Driver | ) |
Definition at line 34 of file device.c.
Referenced by IopInitializeDriverModule().
NTSTATUS NTAPI IopReassignSystemRoot | ( | IN PLOADER_PARAMETER_BLOCK | LoaderBlock, |
OUT PANSI_STRING | NtBootPath | ||
) |
Definition at line 842 of file arcname.c.
Referenced by IoInitSystem().
NTSTATUS NTAPI IopReferenceDeviceObject | ( | IN PDEVICE_OBJECT | DeviceObject | ) |
Definition at line 1532 of file driver.c.
Referenced by IoInitSystem().
Definition at line 1496 of file driver.c.
Referenced by IoInitSystem(), and IopInitializeDriverModule().
Definition at line 70 of file iotimer.c.
Referenced by IoDeleteDevice().
Definition at line 288 of file bootlog.c.
VOID NTAPI IopShutdownBaseFileSystems | ( | IN PLIST_ENTRY | ListHead | ) |
Definition at line 349 of file volume.c.
Referenced by IoShutdownSystem().
NTSTATUS NTAPI IopStartRamdisk | ( | IN PLOADER_PARAMETER_BLOCK | LoaderBlock | ) |
Definition at line 26 of file ramdisk.c.
Referenced by IoInitSystem().
VOID IopStoreSystemPartitionInformation | ( | _In_ PUNICODE_STRING | NtSystemPartitionDeviceName, |
_In_ PUNICODE_STRING | OsLoaderPathName | ||
) |
Definition at line 860 of file iorsrce.c.
Referenced by IopCreateArcNames(), and IopCreateArcNamesDisk().
NTSTATUS IopSynchronousCall | ( | IN PDEVICE_OBJECT | DeviceObject, |
IN PIO_STACK_LOCATION | IoStackLocation, | ||
OUT PVOID * | Information | ||
) |
Referenced by IopGetRelatedTargetDevice(), IopInitiatePnpIrp(), IopSendEject(), and PiIrpSendRemoveCheckVpb().
NTSTATUS IopTraverseDeviceTree | ( | PDEVICETREE_TRAVERSE_CONTEXT | Context | ) |
Referenced by IopGetDeviceObjectFromDeviceInstance(), and PopSetSystemPowerState().
VOID NTAPI IopUnloadDevice | ( | IN PDEVICE_OBJECT | DeviceObject | ) |
Definition at line 390 of file device.c.
Referenced by IoDeleteDevice(), IoDetachDevice(), IopDecrementDeviceObjectRef(), and IopDereferenceDeviceObject().
Definition at line 670 of file pnpmap.c.
Referenced by IopInitializePlugPlayServices().
BOOLEAN NTAPI IopVerifyDeviceObjectOnStack | ( | IN PDEVICE_OBJECT | BaseDeviceObject, |
IN PDEVICE_OBJECT | TopDeviceObjectHint | ||
) |
Definition at line 695 of file device.c.
Referenced by IoGetRelatedDeviceObject(), and IopCheckTopDeviceHint().
BOOLEAN IopVerifyDiskSignature | ( | _In_ PDRIVE_LAYOUT_INFORMATION_EX | DriveLayout, |
_In_ PARC_DISK_SIGNATURE | ArcDiskSignature, | ||
_Out_ PULONG | Signature | ||
) |
Definition at line 949 of file arcname.c.
Referenced by IoGetBootDiskInformation(), and IopCreateArcNamesDisk().
NTSTATUS NTAPI IoSetIoCompletion | ( | IN PVOID | IoCompletion, |
IN PVOID | KeyContext, | ||
IN PVOID | ApcContext, | ||
IN NTSTATUS | IoStatus, | ||
IN ULONG_PTR | IoStatusInformation, | ||
IN BOOLEAN | Quota | ||
) |
Definition at line 147 of file iocomp.c.
Referenced by IopDeviceFsIoControl(), NtLockFile(), and NtSetIoCompletion().
Definition at line 133 of file device.c.
Referenced by PopGracefulShutdown().
VOID PiClearDevNodeProblem | ( | _In_ PDEVICE_NODE | DeviceNode | ) |
Definition at line 94 of file pnpinit.c.
Referenced by IopInitializePlugPlayServices().
Definition at line 55 of file pnpnotify.c.
Referenced by IoInitSystem().
VOID PiInsertDevNode | ( | _In_ PDEVICE_NODE | DeviceNode, |
_In_ PDEVICE_NODE | ParentNode | ||
) |
Definition at line 80 of file devnode.c.
Referenced by IoReportDetectedDevice(), PiControlInitializeDevice(), and PiEnumerateDevice().
NTSTATUS PiIrpCancelStopDevice | ( | _In_ PDEVICE_NODE | DeviceNode | ) |
Definition at line 154 of file pnpirp.c.
Referenced by PiDevNodeStateMachine().
NTSTATUS PiIrpQueryDeviceRelations | ( | _In_ PDEVICE_NODE | DeviceNode, |
_In_ DEVICE_RELATION_TYPE | Type | ||
) |
Definition at line 176 of file pnpirp.c.
Referenced by PiDevNodeStateMachine().
NTSTATUS PiIrpQueryDeviceText | ( | _In_ PDEVICE_NODE | DeviceNode, |
_In_ LCID | LocaleId, | ||
_In_ DEVICE_TEXT_TYPE | Type, | ||
_Out_ PWSTR * | DeviceText | ||
) |
Definition at line 253 of file pnpirp.c.
Referenced by PiSetDevNodeText().
NTSTATUS PiIrpQueryPnPDeviceState | ( | _In_ PDEVICE_NODE | DeviceNode, |
_Out_ PPNP_DEVICE_STATE | DeviceState | ||
) |
Definition at line 284 of file pnpirp.c.
Referenced by PiUpdateDeviceState().
NTSTATUS PiIrpQueryResourceRequirements | ( | _In_ PDEVICE_NODE | DeviceNode, |
_Out_ PIO_RESOURCE_REQUIREMENTS_LIST * | Resources | ||
) |
Definition at line 227 of file pnpirp.c.
Referenced by PiFakeResourceRebalance().
NTSTATUS PiIrpQueryResources | ( | _In_ PDEVICE_NODE | DeviceNode, |
_Out_ PCM_RESOURCE_LIST * | Resources | ||
) |
Definition at line 201 of file pnpirp.c.
Referenced by PiFakeResourceRebalance().
NTSTATUS PiIrpQueryStopDevice | ( | _In_ PDEVICE_NODE | DeviceNode | ) |
Definition at line 133 of file pnpirp.c.
Referenced by PiDevNodeStateMachine().
NTSTATUS PiIrpStartDevice | ( | _In_ PDEVICE_NODE | DeviceNode | ) |
Definition at line 87 of file pnpirp.c.
Referenced by PiDevNodeStateMachine().
NTSTATUS PiIrpStopDevice | ( | _In_ PDEVICE_NODE | DeviceNode | ) |
Definition at line 111 of file pnpirp.c.
Referenced by PiDevNodeStateMachine().
VOID PiNotifyDeviceInterfaceChange | ( | _In_ LPCGUID | Event, |
_In_ LPCGUID | InterfaceClassGuid, | ||
_In_ PUNICODE_STRING | SymbolicLinkName | ||
) |
Delivers the event to all drivers subscribed to EventCategoryDeviceInterfaceChange.
[in] | Event | The PnP event GUID |
[in] | InterfaceClassGuid | The GUID of an interface class |
[in] | SymbolicLinkName | Pointer to a string identifying the device interface name |
Definition at line 161 of file pnpnotify.c.
Referenced by IoSetDeviceInterfaceState().
Delivers the event to all drivers subscribed to EventCategoryHardwareProfileChange PnP event.
Definition at line 214 of file pnpnotify.c.
VOID PiNotifyTargetDeviceChange | ( | _In_ LPCGUID | Event, |
_In_ PDEVICE_OBJECT | DeviceObject, | ||
_In_opt_ PTARGET_DEVICE_CUSTOM_NOTIFICATION | CustomNotification | ||
) |
Delivers the event to all drivers subscribed to EventCategoryTargetDeviceChange PnP event.
[in] | Event | The PnP event GUID |
[in] | DeviceObject | The (target) device object |
[in] | CustomNotification | Pointer to a custom notification for GUID_PNP_CUSTOM_NOTIFICATION |
Definition at line 258 of file pnpnotify.c.
Referenced by IopCancelRemoveDevice(), IopQueryRemoveDevice(), IopSendRemoveDevice(), and PpSetCustomTargetEvent().
PDEVICE_NODE PipAllocateDeviceNode | ( | IN PDEVICE_OBJECT | PhysicalDeviceObject | ) |
NTSTATUS NTAPI PipCallDriverAddDevice | ( | IN PDEVICE_NODE | DeviceNode, |
IN BOOLEAN | LoadDriver, | ||
IN PDRIVER_OBJECT | DriverObject | ||
) |
NTSTATUS PiPerformSyncDeviceAction | ( | _In_ PDEVICE_OBJECT | DeviceObject, |
_In_ DEVICE_ACTION | Action | ||
) |
Perfom a device operation synchronously via PiQueueDeviceAction.
[in] | DeviceObject | The device object |
[in] | Action | The action |
Definition at line 2718 of file devaction.c.
Referenced by IopInitializeSystemDrivers(), IoSynchronousInvalidateDeviceRelations(), and PiControlSyncDeviceAction().
Definition at line 192 of file pnpinit.c.
Referenced by IopInitializeBootDrivers().
VOID PiQueueDeviceAction | ( | _In_ PDEVICE_OBJECT | DeviceObject, |
_In_ DEVICE_ACTION | Action, | ||
_In_opt_ PKEVENT | CompletionEvent, | ||
_Out_opt_ NTSTATUS * | CompletionStatus | ||
) |
Queue a device operation to a worker thread.
[in] | DeviceObject | The device object |
[in] | Action | The action |
[in] | CompletionEvent | The completion event object (optional) |
[out] | CompletionStatus | Status returned be the action will be written here |
Definition at line 2659 of file devaction.c.
Referenced by IoInitSystem(), IoInvalidateDeviceRelations(), IoInvalidateDeviceState(), IopInitializeBootDrivers(), IopInitializeBuiltinDriver(), IopInitializePlugPlayServices(), IopInitializeSystemDrivers(), IoReportDetectedDevice(), and PiPerformSyncDeviceAction().
VOID PiSetDevNodeProblem | ( | _In_ PDEVICE_NODE | DeviceNode, |
_In_ UINT32 | Problem | ||
) |
Definition at line 132 of file devnode.c.
Referenced by PiAttachFilterDriversCallback(), PiCallDriverAddDevice(), PiDevNodeStateMachine(), and PiUpdateDeviceState().
PNP_DEVNODE_STATE PiSetDevNodeState | ( | _In_ PDEVICE_NODE | DeviceNode, |
_In_ PNP_DEVNODE_STATE | NewState | ||
) |
Definition at line 108 of file devnode.c.
Referenced by IopAssignDeviceResources(), IopInitializePlugPlayServices(), IopQueryRemoveChildDevices(), IopSendRemoveDevice(), IoReportDetectedDevice(), PiCallDriverAddDevice(), PiControlInitializeDevice(), PiDevNodeStateMachine(), PiEnumerateDevice(), PiInitializeDevNode(), PiStartDeviceFinal(), and PiUpdateDeviceState().
VOID PiSetDevNodeText | ( | _In_ PDEVICE_NODE | DeviceNode, |
_In_ HANDLE | InstanceKey | ||
) |
Sets the DeviceNode's DeviceDesc and LocationInformation registry values.
Definition at line 1089 of file devaction.c.
Referenced by IoReportDetectedDevice(), and PiInitializeDevNode().
ULONG NTAPI PnpDetermineResourceListSize | ( | IN PCM_RESOURCE_LIST | ResourceList | ) |
Definition at line 1237 of file pnpmgr.c.
Referenced by IoGetDeviceProperty(), IopAssignDeviceResources(), IopFixupResourceListWithRequirements(), IopSetDeviceInstanceData(), IopTranslateDeviceResources(), IopUpdateControlKeyWithResources(), and IopUpdateResourceMap().
NTSTATUS NTAPI PnpRegMultiSzToUnicodeStrings | ( | IN PKEY_VALUE_FULL_INFORMATION | KeyValueInformation, |
OUT PUNICODE_STRING * | UnicodeStringList, | ||
OUT PULONG | UnicodeStringCount | ||
) |
Definition at line 47 of file pnputil.c.
Referenced by PiInitCacheGroupInformation().
BOOLEAN NTAPI PnpRegSzToString | ( | IN PWCHAR | RegSzData, |
IN ULONG | RegSzLength, | ||
OUT PUSHORT StringLength | OPTIONAL | ||
) |
Definition at line 171 of file pnputil.c.
Referenced by IoGetDeviceInterfaceAlias(), PipGetDriverTagPriority(), and PpInitGetGroupOrderIndex().
NTSTATUS PnpRootCreateDevice | ( | IN PUNICODE_STRING | ServiceName, |
OUT PDEVICE_OBJECT * | PhysicalDeviceObject, | ||
OUT PUNICODE_STRING | FullInstancePath | ||
) |
Definition at line 184 of file pnproot.c.
Referenced by IoReportDetectedDevice().
NTSTATUS PnpRootCreateDeviceObject | ( | OUT PDEVICE_OBJECT * | DeviceObject | ) |
Definition at line 167 of file pnproot.c.
Referenced by PiControlInitializeDevice(), PnpRootCreateDevice(), and PnpRootQueryDeviceRelations().
NTSTATUS NTAPI PnpRootDriverEntry | ( | IN PDRIVER_OBJECT | DriverObject, |
IN PUNICODE_STRING | RegistryPath | ||
) |
Definition at line 1488 of file pnproot.c.
Referenced by IopInitializePlugPlayServices().
Definition at line 1440 of file pnproot.c.
Referenced by IopInitializePlugPlayServices().
NTSTATUS PnpRootRegisterDevice | ( | IN PDEVICE_OBJECT | DeviceObject | ) |
Definition at line 107 of file pnproot.c.
Referenced by IoReportDetectedDevice(), and PiControlInitializeDevice().
Definition at line 149 of file pnpinit.c.
Referenced by IopInitializeBootDrivers().
Definition at line 1142 of file pnpmgr.c.
Referenced by ExpInitializeExecutive(), and Phase1InitializationDiscard().
NTSTATUS NTAPI RawFsDriverEntry | ( | IN PDRIVER_OBJECT | DriverObject, |
IN PUNICODE_STRING | RegistryPath | ||
) |
Definition at line 1193 of file rawfs.c.
Referenced by IopInitializeBootDrivers().
BOOLEAN RawFsIsRawFileSystemDeviceObject | ( | IN PDEVICE_OBJECT | DeviceObject | ) |
|
extern |
|
extern |
|
extern |
Definition at line 16 of file iocomp.c.
Referenced by IopCreateObjectTypes(), NtCreateIoCompletion(), NtOpenIoCompletion(), NtQueryIoCompletion(), NtRemoveIoCompletion(), NtSetInformationFile(), and NtSetIoCompletion().
|
extern |
Definition at line 46 of file iomgr.c.
Referenced by KeBugCheckWithTf().
|
extern |
|
extern |
Definition at line 20 of file iocomp.c.
Referenced by IopCreateObjectTypes().
|
extern |
Definition at line 49 of file devaction.c.
Referenced by IopInitializePlugPlayServices(), PipDeviceActionWorker(), and PiQueueDeviceAction().
|
extern |
Definition at line 46 of file devaction.c.
Referenced by IopInitializePlugPlayServices(), PipDeviceActionWorker(), and PiQueueDeviceAction().
|
extern |
Definition at line 19 of file devnode.c.
Referenced by IopCancelRemoveChildDevices(), IopFreeDeviceNode(), IopGetSystemPowerDeviceObject(), IopInitializePlugPlayServices(), IopQueryRemoveChildDevices(), IopSendRemoveChildDevices(), PiDevNodeStateMachine(), PiInsertDevNode(), and PiSetDevNodeState().
|
extern |
|
extern |
Definition at line 50 of file iomgr.c.
Referenced by IoGetFileObjectGenericMapping(), and IopCreateObjectTypes().
|
extern |
Definition at line 85 of file iomgr.c.
Referenced by IopInitLookasideLists().
|
extern |
Definition at line 19 of file irp.c.
Referenced by IofCompleteRequest(), IoInitSystem(), IopAllocateReserveIrp(), and IopFreeReserveIrp().
|
extern |
Definition at line 18 of file devnode.c.
Referenced by IoInitSystem(), IopGetDeviceNodeStatus(), IopGetDeviceObjectFromDeviceInstance(), IopGetRelatedDevice(), IopInitializeBootDrivers(), IopInitializePlugPlayServices(), IopInitializeSystemDrivers(), IoReportDetectedDevice(), PiControlInitializeDevice(), PnpRootPnpControl(), PoInitSystem(), PopQuerySystemPowerStateTraverse(), PopSetSystemPowerState(), and PopSetSystemPowerStateTraverse().
|
extern |
Definition at line 26 of file pnpmgr.c.
Referenced by IopInitializePlugPlayServices(), PnpRootCreateDeviceObject(), and PnpRootDriverEntry().
|
extern |
Definition at line 70 of file init.c.
Referenced by ExpInitializeExecutive(), IopCreateArcNames(), and xHalIoAssignDriveLetters().
|
extern |
Definition at line 27 of file pnpmgr.c.
Referenced by IopGetBusTypeGuidIndex(), IopInitializePlugPlayServices(), and PnpBusTypeGuidGet().