ReactOS 0.4.16-dev-91-g764881a
|
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 2511 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 2496 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 649 of file iomgr.c.
Referenced by NtCreatePagingFile().
BOOLEAN NTAPI IoInitSystem | ( | IN PLOADER_PARAMETER_BLOCK | LoaderBlock | ) |
Definition at line 465 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 2450 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 2178 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.