#include "iop.h"
Go to the source code of this file.
Defines | |
#define | ALIGN_LONG(Address) ( (ULONG) ((Address + 3) & ~3) ) |
#define | GET_OFFSET_LENGTH(CurrentEa, EaBase) |
#define | REQUIRED_QUOTA_ALIGNMENT sizeof( ULONGLONG ) |
#define | ALIGN_QUAD(Address) ( (ULONG) ((Address + 7) & ~7) ) |
#define | GET_OFFSET_LENGTH(CurrentEntry, QuotaBase) |
#define | ZeroIrpStackLocation(IrpSp) |
#define | ArePacketsEquivalent(P1, P2) |
Functions | |
VOID | IoAcquireCancelSpinLock (OUT PKIRQL Irql) |
VOID | IoAcquireVpbSpinLock (OUT PKIRQL Irql) |
NTSTATUS | IoAllocateAdapterChannel (IN PADAPTER_OBJECT AdapterObject, IN PDEVICE_OBJECT DeviceObject, IN ULONG NumberOfMapRegisters, IN PDRIVER_CONTROL ExecutionRoutine, IN PVOID Context) |
VOID | IoAllocateController (IN PCONTROLLER_OBJECT ControllerObject, IN PDEVICE_OBJECT DeviceObject, IN PDRIVER_CONTROL ExecutionRoutine, IN PVOID Context) |
NTSTATUS | IoAllocateDriverObjectExtension (IN PDRIVER_OBJECT DriverObject, IN PVOID ClientIdentificationAddress, IN ULONG DriverObjectExtensionSize, OUT PVOID *DriverObjectExtension) |
PVOID | IoAllocateErrorLogEntry (IN PVOID IoObject, IN UCHAR EntrySize) |
PVOID | IoAllocateGenericErrorLogEntry (IN UCHAR EntrySize) |
PVOID | IopAllocateErrorLogEntry (IN PDEVICE_OBJECT deviceObject, IN PDRIVER_OBJECT driverObject, IN UCHAR EntrySize) |
PIRP | IoAllocateIrp (IN CCHAR StackSize, IN BOOLEAN ChargeQuota) |
PIRP | IopAllocateIrpPrivate (IN CCHAR StackSize, IN BOOLEAN ChargeQuota) |
PMDL | IoAllocateMdl (IN PVOID VirtualAddress, IN ULONG Length, IN BOOLEAN SecondaryBuffer, IN BOOLEAN ChargeQuota, IN OUT PIRP Irp OPTIONAL) |
NTSTATUS | IoAsynchronousPageWrite (IN PFILE_OBJECT FileObject, IN PMDL MemoryDescriptorList, IN PLARGE_INTEGER StartingOffset, IN PIO_APC_ROUTINE ApcRoutine, IN PVOID ApcContext, OUT PIO_STATUS_BLOCK IoStatusBlock, OUT PIRP *Irp OPTIONAL) |
NTSTATUS | IoAttachDevice (IN PDEVICE_OBJECT SourceDevice, IN PUNICODE_STRING TargetDevice, OUT PDEVICE_OBJECT *AttachedDevice) |
NTSTATUS | IoAttachDeviceByPointer (IN PDEVICE_OBJECT SourceDevice, IN PDEVICE_OBJECT TargetDevice) |
PDEVICE_OBJECT | IoAttachDeviceToDeviceStack (IN PDEVICE_OBJECT SourceDevice, IN PDEVICE_OBJECT TargetDevice) |
PIRP | IoBuildAsynchronousFsdRequest (IN ULONG MajorFunction, IN PDEVICE_OBJECT DeviceObject, IN OUT PVOID Buffer OPTIONAL, IN ULONG Length OPTIONAL, IN PLARGE_INTEGER StartingOffset OPTIONAL, IN PIO_STATUS_BLOCK IoStatusBlock OPTIONAL) |
PIRP | IoBuildDeviceIoControlRequest (IN ULONG IoControlCode, IN PDEVICE_OBJECT DeviceObject, IN PVOID InputBuffer OPTIONAL, IN ULONG InputBufferLength, OUT PVOID OutputBuffer OPTIONAL, IN ULONG OutputBufferLength, IN BOOLEAN InternalDeviceIoControl, IN PKEVENT Event, OUT PIO_STATUS_BLOCK IoStatusBlock) |
VOID | IoBuildPartialMdl (IN PMDL SourceMdl, IN OUT PMDL TargetMdl, IN PVOID VirtualAddress, IN ULONG Length) |
PIRP | IoBuildSynchronousFsdRequest (IN ULONG MajorFunction, IN PDEVICE_OBJECT DeviceObject, IN OUT PVOID Buffer OPTIONAL, IN ULONG Length OPTIONAL, IN PLARGE_INTEGER StartingOffset OPTIONAL, IN PKEVENT Event, OUT PIO_STATUS_BLOCK IoStatusBlock) |
NTSTATUS FASTCALL | IopfCallDriver (IN PDEVICE_OBJECT DeviceObject, IN OUT PIRP Irp) |
NTSTATUS FASTCALL | IofCallDriver (IN PDEVICE_OBJECT DeviceObject, IN OUT PIRP Irp) |
BOOLEAN | IoCancelIrp (IN PIRP Irp) |
VOID | IoCancelThreadIo (IN PETHREAD Thread) |
NTSTATUS | IoCheckDesiredAccess (IN OUT PACCESS_MASK DesiredAccess, IN ACCESS_MASK GrantedAccess) |
NTSTATUS | IoCheckEaBufferValidity (IN PFILE_FULL_EA_INFORMATION EaBuffer, IN ULONG EaLength, OUT PULONG ErrorOffset) |
NTSTATUS | IoCheckFunctionAccess (IN ACCESS_MASK GrantedAccess, IN UCHAR MajorFunction, IN UCHAR MinorFunction, IN ULONG IoControlCode, IN PVOID Arg1 OPTIONAL, IN PVOID Arg2 OPTIONAL) |
NTKERNELAPI NTSTATUS | IoCheckQuerySetFileInformation (IN FILE_INFORMATION_CLASS FileInformationClass, IN ULONG Length, IN BOOLEAN SetOperation) |
NTKERNELAPI NTSTATUS | IoCheckQuerySetVolumeInformation (IN FS_INFORMATION_CLASS FsInformationClass, IN ULONG Length, IN BOOLEAN SetOperation) |
NTSTATUS | IoCheckQuotaBufferValidity (IN PFILE_QUOTA_INFORMATION QuotaBuffer, IN ULONG QuotaLength, OUT PULONG ErrorOffset) |
NTSTATUS | IoCheckShareAccess (IN ACCESS_MASK DesiredAccess, IN ULONG DesiredShareAccess, IN OUT PFILE_OBJECT FileObject, IN OUT PSHARE_ACCESS ShareAccess, IN BOOLEAN Update) |
VOID FASTCALL | IofCompleteRequest (IN PIRP Irp, IN CCHAR PriorityBoost) |
VOID FASTCALL | IopfCompleteRequest (IN PIRP Irp, IN CCHAR PriorityBoost) |
NTSTATUS | IoConnectInterrupt (OUT PKINTERRUPT *InterruptObject, IN PKSERVICE_ROUTINE ServiceRoutine, IN PVOID ServiceContext, IN PKSPIN_LOCK SpinLock OPTIONAL, IN ULONG Vector, IN KIRQL Irql, IN KIRQL SynchronizeIrql, IN KINTERRUPT_MODE InterruptMode, IN BOOLEAN ShareVector, IN KAFFINITY ProcessorEnableMask, IN BOOLEAN FloatingSave) |
PCONTROLLER_OBJECT | IoCreateController (IN ULONG Size) |
VOID | IopInsertRemoveDevice (IN PDRIVER_OBJECT DriverObject, IN PDEVICE_OBJECT DeviceObject, IN BOOLEAN Insert) |
VOID | IopCreateVpb (IN PDEVICE_OBJECT DeviceObject) |
NTSTATUS | IoCreateDevice (IN PDRIVER_OBJECT DriverObject, IN ULONG DeviceExtensionSize, IN PUNICODE_STRING DeviceName OPTIONAL, IN DEVICE_TYPE DeviceType, IN ULONG DeviceCharacteristics, IN BOOLEAN Exclusive, OUT PDEVICE_OBJECT *DeviceObject) |
NTSTATUS | IoCreateFile (OUT PHANDLE FileHandle, IN ACCESS_MASK DesiredAccess, IN POBJECT_ATTRIBUTES ObjectAttributes, OUT PIO_STATUS_BLOCK IoStatusBlock, IN PLARGE_INTEGER AllocationSize OPTIONAL, IN ULONG FileAttributes, IN ULONG ShareAccess, IN ULONG Disposition, IN ULONG CreateOptions, IN PVOID EaBuffer OPTIONAL, IN ULONG EaLength, IN CREATE_FILE_TYPE CreateFileType, IN PVOID ExtraCreateParameters OPTIONAL, IN ULONG Options) |
PKEVENT | IoCreateNotificationEvent (IN PUNICODE_STRING EventName, OUT PHANDLE EventHandle) |
PFILE_OBJECT | IoCreateStreamFileObject (IN PFILE_OBJECT FileObject OPTIONAL, IN PDEVICE_OBJECT DeviceObject OPTIONAL) |
PFILE_OBJECT | IoCreateStreamFileObjectLite (IN PFILE_OBJECT FileObject OPTIONAL, IN PDEVICE_OBJECT DeviceObject OPTIONAL) |
NTSTATUS | IoCreateSymbolicLink (IN PUNICODE_STRING SymbolicLinkName, IN PUNICODE_STRING DeviceName) |
PKEVENT | IoCreateSynchronizationEvent (IN PUNICODE_STRING EventName, OUT PHANDLE EventHandle) |
NTSTATUS | IoCreateUnprotectedSymbolicLink (IN PUNICODE_STRING SymbolicLinkName, IN PUNICODE_STRING DeviceName) |
VOID | IoDeleteController (IN PCONTROLLER_OBJECT ControllerObject) |
VOID | IopRemoveTimerFromTimerList (IN PIO_TIMER timer) |
VOID | IoDeleteDevice (IN PDEVICE_OBJECT DeviceObject) |
NTSTATUS | IopDeleteSessionSymLinks (IN PUNICODE_STRING LinkName) |
NTSTATUS | IoDeleteSymbolicLink (IN PUNICODE_STRING SymbolicLinkName) |
VOID | IoDetachDevice (IN OUT PDEVICE_OBJECT TargetDevice) |
VOID | IoDisconnectInterrupt (IN PKINTERRUPT InterruptObject) |
VOID | IoEnqueueIrp (IN PIRP Irp) |
BOOLEAN | IoFastQueryNetworkAttributes (IN POBJECT_ATTRIBUTES ObjectAttributes, IN ACCESS_MASK DesiredAccess, IN ULONG OpenOptions, OUT PIO_STATUS_BLOCK IoStatus, OUT PFILE_NETWORK_OPEN_INFORMATION Buffer) |
VOID | IoFreeController (IN PCONTROLLER_OBJECT ControllerObject) |
VOID | IoFreeIrp (IN PIRP Irp) |
VOID | IopFreeIrp (IN PIRP Irp) |
VOID | IoFreeMdl (IN PMDL Mdl) |
PDEVICE_OBJECT | IoGetAttachedDevice (IN PDEVICE_OBJECT DeviceObject) |
PDEVICE_OBJECT | IoGetAttachedDeviceReference (IN PDEVICE_OBJECT DeviceObject) |
PDEVICE_OBJECT | IoGetBaseFileSystemDeviceObject (IN PFILE_OBJECT FileObject) |
PCONFIGURATION_INFORMATION | IoGetConfigurationInformation (VOID) |
PEPROCESS | IoGetCurrentProcess (VOID) |
NTSTATUS | IoGetDeviceObjectPointer (IN PUNICODE_STRING ObjectName, IN ACCESS_MASK DesiredAccess, OUT PFILE_OBJECT *FileObject, OUT PDEVICE_OBJECT *DeviceObject) |
PDEVICE_OBJECT | IoGetDeviceToVerify (IN PETHREAD Thread) |
NTKERNELAPI PVOID | IoGetDriverObjectExtension (IN PDRIVER_OBJECT DriverObject, IN PVOID ClientIdentificationAddress) |
PGENERIC_MAPPING | IoGetFileObjectGenericMapping (VOID) |
PVOID | IoGetInitialStack (VOID) |
PDEVICE_OBJECT | IoGetRelatedDeviceObject (IN PFILE_OBJECT FileObject) |
ULONG | IoGetRequestorProcessId (IN PIRP Irp) |
PEPROCESS | IoGetRequestorProcess (IN PIRP Irp) |
PIRP | IoGetTopLevelIrp (VOID) |
VOID | IoInitializeIrp (IN OUT PIRP Irp, IN USHORT PacketSize, IN CCHAR StackSize) |
VOID | IoReuseIrp (PIRP Irp, NTSTATUS Status) |
NTSTATUS | IoInitializeTimer (IN PDEVICE_OBJECT DeviceObject, IN PIO_TIMER_ROUTINE TimerRoutine, IN PVOID Context) |
BOOLEAN | IoIsOperationSynchronous (IN PIRP Irp) |
BOOLEAN | IoIsSystemThread (IN PETHREAD Thread) |
BOOLEAN | IoIsValidNameGraftingBuffer (IN PIRP Irp, IN PREPARSE_DATA_BUFFER ReparseBuffer) |
VOID | IopDoNameTransmogrify (IN PIRP Irp, IN PFILE_OBJECT FileObject, IN PREPARSE_DATA_BUFFER ReparseBuffer) |
PIRP | IoMakeAssociatedIrp (IN PIRP Irp, IN CCHAR StackSize) |
BOOLEAN | IoPageFileCreated (IN HANDLE FileHandle) |
NTSTATUS | IoPageRead (IN PFILE_OBJECT FileObject, IN PMDL MemoryDescriptorList, IN PLARGE_INTEGER StartingOffset, IN PKEVENT Event, OUT PIO_STATUS_BLOCK IoStatusBlock) |
NTSTATUS | IoQueryFileInformation (IN PFILE_OBJECT FileObject, IN FILE_INFORMATION_CLASS FileInformationClass, IN ULONG Length, OUT PVOID FileInformation, OUT PULONG ReturnedLength) |
NTSTATUS | IoQueryVolumeInformation (IN PFILE_OBJECT FileObject, IN FS_INFORMATION_CLASS FsInformationClass, IN ULONG Length, OUT PVOID FsInformation, OUT PULONG ReturnedLength) |
VOID | IoQueueThreadIrp (IN PIRP Irp) |
VOID | IoRaiseHardError (IN PIRP Irp, IN PVPB Vpb OPTIONAL, IN PDEVICE_OBJECT RealDeviceObject) |
BOOLEAN | IoRaiseInformationalHardError (IN NTSTATUS ErrorStatus, IN PUNICODE_STRING String OPTIONAL, IN PKTHREAD Thread OPTIONAL) |
VOID | IoRegisterBootDriverReinitialization (IN PDRIVER_OBJECT DriverObject, IN PDRIVER_REINITIALIZE DriverReinitializationRoutine, IN PVOID Context) |
VOID | IoRegisterDriverReinitialization (IN PDRIVER_OBJECT DriverObject, IN PDRIVER_REINITIALIZE DriverReinitializationRoutine, IN PVOID Context) |
VOID | IoRegisterFileSystem (IN OUT PDEVICE_OBJECT DeviceObject) |
NTSTATUS | IoRegisterFsRegistrationChange (IN PDRIVER_OBJECT DriverObject, IN PDRIVER_FS_NOTIFICATION DriverNotificationRoutine) |
NTSTATUS | IoRegisterLastChanceShutdownNotification (IN PDEVICE_OBJECT DeviceObject) |
NTSTATUS | IoRegisterShutdownNotification (IN PDEVICE_OBJECT DeviceObject) |
VOID | IoReleaseCancelSpinLock (IN KIRQL Irql) |
VOID | IoReleaseVpbSpinLock (IN KIRQL Irql) |
VOID | IoRemoveShareAccess (IN PFILE_OBJECT FileObject, IN OUT PSHARE_ACCESS ShareAccess) |
VOID | IoSetDeviceToVerify (IN PETHREAD Thread, IN PDEVICE_OBJECT DeviceObject) |
VOID | IoSetHardErrorOrVerifyDevice (IN PIRP Irp, IN PDEVICE_OBJECT DeviceObject) |
NTSTATUS | IoSetInformation (IN PFILE_OBJECT FileObject, IN FILE_INFORMATION_CLASS FileInformationClass, IN ULONG Length, IN PVOID FileInformation) |
VOID | IoSetShareAccess (IN ACCESS_MASK DesiredAccess, IN ULONG DesiredShareAccess, IN OUT PFILE_OBJECT FileObject, OUT PSHARE_ACCESS ShareAccess) |
BOOLEAN | IoSetThreadHardErrorMode (IN BOOLEAN EnableHardErrors) |
VOID | IoSetTopLevelIrp (IN PIRP Irp) |
VOID | IoShutdownSystem (IN ULONG Phase) |
VOID | IoStartNextPacket (IN PDEVICE_OBJECT DeviceObject, IN BOOLEAN Cancelable) |
VOID | IoStartNextPacketByKey (IN PDEVICE_OBJECT DeviceObject, IN BOOLEAN Cancelable, IN ULONG Key) |
VOID | IoStartPacket (IN PDEVICE_OBJECT DeviceObject, IN PIRP Irp, IN PULONG Key OPTIONAL, IN PDRIVER_CANCEL CancelFunction OPTIONAL) |
VOID | IoStartTimer (IN PDEVICE_OBJECT DeviceObject) |
VOID | IoStopTimer (IN PDEVICE_OBJECT DeviceObject) |
NTSTATUS | IoSynchronousPageWrite (IN PFILE_OBJECT FileObject, IN PMDL MemoryDescriptorList, IN PLARGE_INTEGER StartingOffset, IN PKEVENT Event, OUT PIO_STATUS_BLOCK IoStatusBlock) |
PEPROCESS | IoThreadToProcess (IN PETHREAD Thread) |
VOID | IoUnregisterFileSystem (IN OUT PDEVICE_OBJECT DeviceObject) |
VOID | IoUnregisterFsRegistrationChange (IN PDRIVER_OBJECT DriverObject, IN PDRIVER_FS_NOTIFICATION DriverNotificationRoutine) |
VOID | IoUnregisterShutdownNotification (IN PDEVICE_OBJECT DeviceObject) |
VOID | IoUpdateShareAccess (IN OUT PFILE_OBJECT FileObject, IN OUT PSHARE_ACCESS ShareAccess) |
NTSTATUS | IoVerifyVolume (IN PDEVICE_OBJECT DeviceObject, IN BOOLEAN AllowRawMount) |
VOID | IoWriteErrorLogEntry (IN OUT PVOID ElEntry) |
NTSTATUS | IoGetBootDiskInformation (IN OUT PBOOTDISK_INFORMATION BootDiskInformation, IN ULONG Size) |
NTSTATUS | IoCallDriver (IN PDEVICE_OBJECT DeviceObject, IN OUT PIRP Irp) |
VOID | IoCompleteRequest (IN PIRP Irp, IN CCHAR PriorityBoost) |
PSECURITY_DESCRIPTOR | IopCreateDefaultDeviceSecurityDescriptor (IN DEVICE_TYPE DeviceType, IN ULONG DeviceCharacteristics, IN BOOLEAN DeviceHasName, IN PUCHAR Buffer, OUT PACL *AllocatedAcl, OUT PSECURITY_INFORMATION SecurityInformation OPTIONAL) |
NTSTATUS | IoGetRequestorSessionId (IN PIRP Irp, OUT PULONG pSessionId) |
VOID | IopUpdateOtherOperationCount (VOID) |
VOID | IopUpdateReadOperationCount (VOID) |
VOID | IopUpdateWriteOperationCount (VOID) |
VOID | IopUpdateOtherTransferCount (IN ULONG TransferCount) |
VOID | IopUpdateReadTransferCount (IN ULONG TransferCount) |
VOID | IopUpdateWriteTransferCount (IN ULONG TransferCount) |
VOID | IoCancelFileOpen (IN PDEVICE_OBJECT DeviceObject, IN PFILE_OBJECT FileObject) |
VOID | IoRetryIrpCompletions (VOID) |
Variables | |
CONFIGURATION_INFORMATION | ConfigurationInformation |
LOGICAL | IoCountOperations = TRUE |
|
Referenced by IoCheckEaBufferValidity(), and NtQueryQuotaInformationFile(). |
|
|
|
Value:
Referenced by IoRaiseInformationalHardError(). |
|
Value:
|
|
Value:
|
|
Referenced by IoCheckQuotaBufferValidity(). |
|
Value:
Referenced by IopfCompleteRequest(). |
|
Definition at line 100 of file iosubs.c. References IopCancelSpinLock. Referenced by FsRtlAcknowledgeOplockBreak(), FsRtlNotifySetCancelRoutine(), FsRtlOplockBreakToII(), FsRtlOplockBreakToNone(), FsRtlOplockCleanup(), FsRtlRemoveAndCompleteIrp(), FsRtlRemoveAndCompleteWaitIrp(), FsRtlRequestExclusiveOplock(), FsRtlRequestOplockII(), FsRtlUninitializeFileLock(), FsRtlUninitializeOplock(), FsRtlWaitOnIrp(), IoCancelIrp(), IoStartNextPacket(), IoStartNextPacketByKey(), and IoStartPacket().
|
|
Definition at line 134 of file iosubs.c. References IopVpbSpinLock. Referenced by IopLockMountedDeviceForRemove(), IopUnlockMountedDeviceForRemove(), UdfCheckForDismount(), UdfDismountVcb(), and UdfInvalidateVolumes().
|
|
Definition at line 169 of file iosubs.c. References _WAIT_CONTEXT_BLOCK::CurrentIrp, _WAIT_CONTEXT_BLOCK::DeviceContext, _WAIT_CONTEXT_BLOCK::DeviceObject, and HalAllocateAdapterChannel().
|
|
Definition at line 240 of file iosubs.c. References DeallocateObject, IO_ALLOCATION_ACTION, IoFreeController(), and KeInsertDeviceQueue().
|
|
Definition at line 328 of file iosubs.c. References _IO_CLIENT_EXTENSION::ClientIdentificationAddress, ExAllocatePoolWithTag, ExFreePool(), extension, FALSE, IO_CLIENT_EXTENSION, IopDatabaseLock, _IO_CLIENT_EXTENSION::NextExtension, NonPagedPool, NULL, and TRUE.
|
|
Definition at line 428 of file iosubs.c. References _DEVICE_OBJECT::DriverObject, IO_TYPE_DEVICE, IO_TYPE_DRIVER, IopAllocateErrorLogEntry(), NULL, and _DEVICE_OBJECT::Type. Referenced by CcLogError(), DriverEntry(), FsVgaLogError(), IopDisassociateThreadIrp(), IopLogErrorEvent(), and UserLogError().
|
|
Definition at line 506 of file iosubs.c. References IopAllocateErrorLogEntry(), and NULL.
|
|
|
Definition at line 805 of file iosubs.c. References ASSERT, COMPUTE_PAGES_SPANNED, ExAllocateFromPPNPagedLookasideList(), ExAllocatePoolWithTag, IOP_FIXED_SIZE_MDL_PFNS, Irp, KernelMode, LookasideMdlList, MDL_ALLOCATED_FIXED_SIZE, MDL_ALLOCATED_MUST_SUCCEED, _IRP::MdlAddress, _MDL::MdlFlags, MmInitializeMdl, _MDL::Next, NonPagedPool, NonPagedPoolMustSucceed, NULL, and USHORT. Referenced by BuildQueryDirectoryIrp(), CcMdlRead(), CcPrepareMdlWrite(), CcZeroData(), IoBuildAsynchronousFsdRequest(), IoBuildDeviceIoControlRequest(), IopSetEaOrQuotaInformationFile(), IopXxxControlFile(), NtNotifyChangeDirectoryFile(), NtQueryEaFile(), NtQueryQuotaInformationFile(), NtReadFile(), NtReadFileScatter(), NtSetEaFile(), NtWriteFile(), NtWriteFileGather(), UdfCreateUserMdl(), UdfMultipleAsync(), UdfPrepareBuffers(), and VdmQueryDirectoryFile().
|
|
Definition at line 934 of file iosubs.c. References FALSE, _IO_STACK_LOCATION::FileObject, _IRP::Flags, IoAllocateIrp(), IoCallDriver, IoGetNextIrpStackLocation, IoGetRelatedDeviceObject(), Irp, IRP_MJ_WRITE, IRP_NOCACHE, IRP_PAGING_IO, KernelMode, _IO_STACK_LOCATION::MajorFunction, _IRP::MdlAddress, NT_ERROR, NTSTATUS(), _IRP::Overlay, _IO_STACK_LOCATION::Parameters, PsGetCurrentThread, _IRP::RequestorMode, _DEVICE_OBJECT::StackSize, _IRP::Tail, _IRP::UserBuffer, and _IRP::UserIosb. Referenced by MiGatherMappedPages(), MiGatherPagefilePages(), and MiMappedPageWriter().
|
|
Definition at line 1067 of file iosubs.c. References IO_ATTACH_DEVICE_API, IoAttachDeviceToDeviceStack(), IoFileObjectType, IoGetRelatedDeviceObject(), KernelMode, NT_SUCCESS, NTSTATUS(), NULL, ObDereferenceObject, ObReferenceObjectByHandle(), PAGED_CODE, VOID(), and ZwOpenFile().
|
|
Definition at line 1193 of file iosubs.c. References IoAttachDeviceToDeviceStack(), NTSTATUS(), and NULL.
|
|
Definition at line 1243 of file iosubs.c. References _DEVICE_OBJECT::AlignmentRequirement, ASSERT, _DEVICE_OBJECT::AttachedDevice, _DEVOBJ_EXTENSION::AttachedTo, _DEVICE_OBJECT::DeviceObjectExtension, DO_DEVICE_INITIALIZING, DOE_DELETE_PENDING, DOE_REMOVE_PENDING, DOE_REMOVE_PROCESSED, DOE_START_PENDING, DOE_UNLOAD_PENDING, _DEVOBJ_EXTENSION::ExtensionFlags, _DEVICE_OBJECT::Flags, IoGetAttachedDevice(), IopDatabaseLock, IOV_ATTACH_DEVICE_TO_DEVICE_STACK, NULL, _DEVICE_OBJECT::SectorSize, _DEVICE_OBJECT::Spare1, and _DEVICE_OBJECT::StackSize. Referenced by IoAttachDevice(), and IoAttachDeviceByPointer().
|
|
Definition at line 1360 of file iosubs.c. References _IRP::AssociatedIrp, Buffer, DO_BUFFERED_IO, DO_DIRECT_IO, ExAllocatePoolWithTag, EXCEPTION_EXECUTE_HANDLER, FALSE, _IRP::Flags, IoAllocateIrp(), IoAllocateMdl(), IoFreeIrp(), IoFreeMdl(), IoGetNextIrpStackLocation, IoReadAccess, IoWriteAccess, IRP_BUFFERED_IO, IRP_DEALLOCATE_BUFFER, IRP_INPUT_OPERATION, IRP_MJ_FLUSH_BUFFERS, IRP_MJ_PNP, IRP_MJ_POWER, IRP_MJ_READ, IRP_MJ_SHUTDOWN, IRP_MJ_WRITE, KernelMode, LOCK_OPERATION, _IO_STACK_LOCATION::MajorFunction, _IRP::MdlAddress, MmProbeAndLockPages(), NonPagedPoolCacheAligned, NULL, _IO_STACK_LOCATION::Parameters, PsGetCurrentThread, _IRP::Tail, _IRP::UserBuffer, and _IRP::UserIosb. Referenced by IoBuildSynchronousFsdRequest(), and IovBuildAsynchronousFsdRequest().
|
|
Definition at line 1552 of file iosubs.c. References _IRP::AssociatedIrp, Event(), ExAllocatePoolWithTag, EXCEPTION_EXECUTE_HANDLER, ExFreePool(), FALSE, _IRP::Flags, IoAllocateIrp(), IoAllocateMdl(), IoFreeIrp(), IoFreeMdl(), IoGetNextIrpStackLocation, IopQueueThreadIrp, IoReadAccess, IoWriteAccess, IRP_BUFFERED_IO, IRP_DEALLOCATE_BUFFER, IRP_INPUT_OPERATION, IRP_MJ_DEVICE_CONTROL, IRP_MJ_INTERNAL_DEVICE_CONTROL, KernelMode, LOCK_OPERATION, _IO_STACK_LOCATION::MajorFunction, _IRP::MdlAddress, MmProbeAndLockPages(), NonPagedPoolCacheAligned, NULL, _IO_STACK_LOCATION::Parameters, PsGetCurrentThread, _IRP::Tail, _IRP::UserBuffer, _IRP::UserEvent, and _IRP::UserIosb. Referenced by FsRecGetDeviceSectors(), FsRecGetDeviceSectorSize(), FsRtlBalanceReads(), FsRtlSyncVolumes(), GetDeviceChangeInfo(), HalpEnableAutomaticDriveLetterAssignment(), HalpGetFullGeometry(), HalpIsOldStyleFloppy(), HalpNextMountLetter(), HalpQueryDriveLayout(), HalpQueryPartitionType(), HalpSetMountLetter(), IoFreeDumpStack(), IoGetBootDiskInformation(), IopCreateArcNames(), IopGetDumpStack(), IopGetSetObjectId(), IopGetVolumeId(), IopInvalidateVolumesForDevice(), IopLoadFileSystemDriver(), IopSetRemoteLink(), IovBuildDeviceIoControlRequest(), RtlVolumeDeviceToDosName(), UdfPerformDevIoCtrl(), and xHalGetPartialGeometry().
|
|
Definition at line 1804 of file iosubs.c. References BYTE_OFFSET, COMPUTE_PAGES_SPANNED, KeBugCheck(), MDL_ALLOCATED_FIXED_SIZE, MDL_ALLOCATED_MUST_SUCCEED, MDL_IO_PAGE_READ, MDL_MAPPED_TO_SYSTEM_VA, MDL_PARENT_MAPPED_SYSTEM_VA, MDL_PARTIAL, MDL_SOURCE_IS_NONPAGED_POOL, MmGetMdlBaseVa, MmGetMdlByteCount, MmGetMdlByteOffset, MmGetMdlPfnArray, PAGE_ALIGN, and PAGE_SHIFT. Referenced by UdfMultipleAsync().
|
|
Definition at line 1933 of file iosubs.c. References Buffer, Event(), IoBuildAsynchronousFsdRequest(), IopQueueThreadIrp, NULL, and _IRP::UserEvent. Referenced by FsRecReadBlock(), IoGetDmaAdapter(), IopCreateArcNames(), IoShutdownSystem(), UdfReadSectors(), xHalExamineMBR(), xHalIoClearPartitionTable(), xHalIoReadPartitionTable(), xHalIoSetPartitionInformation(), and xHalIoWritePartitionTable().
|
|
Definition at line 12073 of file iosubs.c. References IofCallDriver(), and Irp.
|
|
Definition at line 12535 of file iosubs.c. References APC_LEVEL, ASSERT, _IRP::AssociatedIrp, Executive, ExInterlockedAddUlong(), FALSE, _IO_STACK_LOCATION::FileObject, _IRP::Flags, FO_DIRECT_DEVICE_OPEN, FO_FILE_OPEN_CANCELLED, FO_HANDLE_CREATED, IoCallDriver, IoFreeIrp(), IoGetNextIrpStackLocation, IopAllocateIrpMustSucceed(), IopDequeueThreadIrp, IopQueueThreadIrp, IopVpbSpinLock, IoReuseIrp(), _IRP::IoStatus, IRP_CLOSE_OPERATION, IRP_MJ_CLEANUP, IRP_MJ_CLOSE, IRP_SYNCHRONOUS_API, KeClearEvent, KeInitializeEvent, KeLowerIrql(), KeRaiseIrql(), KernelMode, KeWaitForSingleObject(), _IO_STACK_LOCATION::MajorFunction, NTSTATUS(), NULL, _IRP::Overlay, PsGetCurrentThread, _VPB::ReferenceCount, _IRP::RequestorMode, _IRP::Tail, _IRP::UserEvent, _IRP::UserIosb, UserRequest, and VOID().
|
|
Definition at line 2149 of file iosubs.c. References ASSERT, _IRP::Cancel, _IRP::CancelIrql, _IRP::CancelRoutine, _IRP::CurrentLocation, FALSE, IO_TYPE_IRP, IoAcquireCancelSpinLock(), IopVerifierOn, IoReleaseCancelSpinLock(), IOV_CANCEL_IRP, Irp, KeBugCheckEx(), NULL, PDRIVER_CANCEL, _IRP::StackCount, _IRP::Tail, TRUE, and _IRP::Type. Referenced by IoCancelThreadIo(), IopCancelAlertedRequest(), IopProcessRelation(), IovpCancelIrp(), and NtCancelIoFile().
|
|
Definition at line 2242 of file iosubs.c. References APC_LEVEL, FALSE, IoCancelIrp(), IopDisassociateThreadIrp(), _ETHREAD::IrpList, KeDelayExecutionThread(), KeLowerIrql(), KeRaiseIrql(), KernelMode, PAGED_CODE, and PsGetCurrentThread. Referenced by PspExitThread().
|
|
Definition at line 2340 of file iosubs.c. References _OBJECT_TYPE_INITIALIZER::GenericMapping, IoFileObjectType, PAGED_CODE, RtlMapGenericMask(), SeComputeDeniedAccesses, and _OBJECT_TYPE::TypeInfo.
|
|
Definition at line 2392 of file iosubs.c. References ALIGN_LONG, GET_OFFSET_LENGTH, and PAGED_CODE. Referenced by IoCreateFile(), IopSetEaOrQuotaInformationFile(), and NtSetEaFile().
|
|
Definition at line 2547 of file iosubs.c. References IopQueryFsOperationAccess, IopQueryOperationAccess, IopSetFsOperationAccess, IopSetOperationAccess, IRP_MJ_CLOSE, IRP_MJ_CREATE, IRP_MJ_DEVICE_CONTROL, IRP_MJ_DIRECTORY_CONTROL, IRP_MJ_FILE_SYSTEM_CONTROL, IRP_MJ_FLUSH_BUFFERS, IRP_MJ_INTERNAL_DEVICE_CONTROL, IRP_MJ_LOCK_CONTROL, IRP_MJ_QUERY_EA, IRP_MJ_QUERY_INFORMATION, IRP_MJ_QUERY_SECURITY, IRP_MJ_QUERY_VOLUME_INFORMATION, IRP_MJ_READ, IRP_MJ_SET_EA, IRP_MJ_SET_INFORMATION, IRP_MJ_SET_SECURITY, IRP_MJ_SET_VOLUME_INFORMATION, IRP_MJ_WRITE, NTSTATUS(), PAGED_CODE, SeComputeDeniedAccesses, SeComputeGrantedAccesses, SeQuerySecurityAccessMask(), and SeSetSecurityAccessMask().
|
|
Definition at line 2760 of file iosubs.c. References IopQueryOperationLength, and IopSetOperationLength.
|
|
Definition at line 2820 of file iosubs.c. References IopQueryFsOperationLength, and IopSetFsOperationLength.
|
|
Definition at line 2874 of file iosubs.c. References GET_OFFSET_LENGTH, PAGED_CODE, REQUIRED_QUOTA_ALIGNMENT, RtlLengthSid(), and RtlValidSid(). Referenced by IopSetEaOrQuotaInformationFile().
|
|
Definition at line 3032 of file iosubs.c. References PAGED_CODE. Referenced by UdfCompleteFcbOpen().
|
|
Definition at line 12088 of file iosubs.c. References IofCompleteRequest(), Irp, and PriorityBoost.
|
|
Definition at line 3665 of file iosubs.c. References ExAllocatePoolWithTag, ExFreePool(), FALSE, _IO_INTERRUPT_STRUCTURE::InterruptArray, _IO_INTERRUPT_STRUCTURE::InterruptObject, InterruptObject, IoDisconnectInterrupt(), KeActiveProcessors, KeConnectInterrupt(), KeInitializeInterrupt(), NonPagedPool, NT_SUCCESS, NTSTATUS(), NULL, PAGED_CODE, _IO_INTERRUPT_STRUCTURE::SpinLock, and TRUE.
|
|
Definition at line 3917 of file iosubs.c. References CONTROLLER_OBJECT, IO_TYPE_CONTROLLER, IoControllerObjectType, KeInitializeDeviceQueue(), KernelMode, NT_SUCCESS, NtClose(), NTSTATUS(), NULL, ObCreateObject(), ObInsertObject(), PAGED_CODE, Size, USHORT, and VOID().
|
|
Definition at line 4073 of file iosubs.c. References _DEVICE_OBJECT::AlignmentRequirement, ASSERT, CHAR, _DEVICE_OBJECT::Characteristics, DEVICE_OBJECT, _DEVICE_OBJECT::DeviceExtension, _DEVICE_OBJECT::DeviceLock, _DEVOBJ_EXTENSION::DeviceObject, _DEVICE_OBJECT::DeviceObjectExtension, _DEVICE_OBJECT::DeviceQueue, _DEVICE_OBJECT::DeviceType, DO_DEVICE_HAS_NAME, DO_DEVICE_INITIALIZING, DO_EXCLUSIVE, DRVO_UNLOAD_INVOKED, ExFreePool(), FALSE, _DEVICE_OBJECT::Flags, IO_TYPE_DEVICE, IO_TYPE_DEVICE_OBJECT_EXTENSION, IoDeviceObjectType, IopCreateDefaultDeviceSecurityDescriptor(), IopCreateVpb(), IopInsertRemoveDevice(), IopUniqueDeviceObjectNumber, KeInitializeDeviceQueue(), KeInitializeEvent, KernelMode, L, NT_SUCCESS, NtClose(), NTSTATUS(), NULL, ObCreateObject(), ObInsertObject(), ObReferenceObject, PAGED_CODE, PoInitializeDeviceObject(), PoVolumeDevice(), _DEVICE_OBJECT::Queue, RtlInitUnicodeString(), _DEVICE_OBJECT::SectorSize, _DEVICE_OBJECT::Size, _DEVOBJ_EXTENSION::Size, _DEVICE_OBJECT::StackSize, TRUE, _DEVICE_OBJECT::Type, _DEVOBJ_EXTENSION::Type, USHORT, and VOID(). Referenced by DriverEntry(), FsRecCreateAndRegisterDO(), IopFindLegacyDeviceNode(), IopInitializeDeviceInstanceKey(), IopInitializePlugPlayServices(), IoReportDetectedDevice(), and UdfMountVolume().
|
|
Definition at line 4502 of file iosubs.c. References _OPEN_PACKET::AllocationSize, ASSERT, _NAMED_PIPE_CREATE_PARAMETERS::CompletionMode, _OPEN_PACKET::CreateFileType, CreateFileTypeMailslot, CreateFileTypeNamedPipe, CreateFileTypeNone, _OPEN_PACKET::CreateOptions, _OPEN_PACKET::DeleteOnly, _FILE_OBJECT::DeviceObject, _OPEN_PACKET::Disposition, _OPEN_PACKET::EaBuffer, _OPEN_PACKET::EaLength, ExAllocatePoolWithQuotaTag, ExAllocatePoolWithTag, EXCEPTION_EXECUTE_HANDLER, ExFreePool(), ExRaiseStatus(), _OPEN_PACKET::ExtraCreateParameters, FALSE, _OPEN_PACKET::FileAttributes, FileAttributes, _FILE_OBJECT::FileName, _OPEN_PACKET::FileObject, _OPEN_PACKET::FinalStatus, _FILE_OBJECT::Flags, FO_HANDLE_CREATED, _OPEN_PACKET::Information, IO_ATTACH_DEVICE, IO_ATTACH_DEVICE_API, IO_CHECK_CREATE_PARAMETERS, IO_NO_PARAMETER_CHECKING, IO_TYPE_FILE, IO_TYPE_OPEN_PACKET, IoCheckEaBufferValidity(), IopUpdateOtherOperationCount(), KernelMode, KPROCESSOR_MODE, L, _NAMED_PIPE_CREATE_PARAMETERS::NamedPipeType, NonPagedPool, NT_SUCCESS, NT_WARNING, NTSTATUS(), NULL, ObDereferenceObject, ObjectAttributes, ObOpenObjectByName(), OPEN_PACKET_PATTERN, _OPEN_PACKET::Options, _OPEN_PACKET::Override, PAGED_CODE, _OPEN_PACKET::ParseCheck, ProbeAndWriteHandle, ProbeForRead, ProbeForWriteIoStatus, _OPEN_PACKET::QueryOnly, _NAMED_PIPE_CREATE_PARAMETERS::ReadMode, _OPEN_PACKET::RelatedFileObject, _OPEN_PACKET::ShareAccess, _OPEN_PACKET::Size, _FILE_OBJECT::Type, _OPEN_PACKET::Type, and USHORT. Referenced by IopOpenLinkOrRenameTarget(), NtCreateFile(), NtCreateMailslotFile(), NtCreateNamedPipeFile(), NtCreatePagingFile(), and NtOpenFile().
|
|
Definition at line 5299 of file iosubs.c. References EventHandle, EventName, ExEventObjectType, KernelMode, NT_SUCCESS, NTSTATUS(), NULL, ObDereferenceObject, ObReferenceObjectByHandle(), PAGED_CODE, TRUE, and VOID().
|
|
Definition at line 5378 of file iosubs.c. References ASSERT, ExInterlockedAddUlong(), ExRaiseStatus(), FALSE, FILE_OBJECT, FO_HANDLE_CREATED, FO_STREAM_FILE, IO_TYPE_FILE, IoFileObjectType, IopDatabaseLock, IopDecrementDeviceObjectRef(), IopVpbSpinLock, KeInitializeEvent, KernelMode, NT_SUCCESS, NtClose(), NTSTATUS(), NULL, ObCreateObject(), ObInsertObject(), and PAGED_CODE. Referenced by UdfCreateInternalStream().
|
|
Definition at line 5535 of file iosubs.c. References ASSERT, ExInterlockedAddUlong(), ExRaiseStatus(), FALSE, FILE_OBJECT, FO_HANDLE_CREATED, FO_STREAM_FILE, IO_TYPE_FILE, IoFileObjectType, IopDatabaseLock, IopDecrementDeviceObjectRef(), IopVpbSpinLock, KeInitializeEvent, KernelMode, NT_SUCCESS, NTSTATUS(), NULL, ObCreateObject(), ObFreeObjectCreateInfoBuffer(), OBJECT_TO_OBJECT_HEADER, and PAGED_CODE. Referenced by IopInvalidateVolumesForDevice().
|
|
Definition at line 5675 of file iosubs.c. References NT_SUCCESS, NTSTATUS(), NULL, PAGED_CODE, and SePublicDefaultUnrestrictedSd. Referenced by FsRtlpSetSymbolicLink(), HalpNextDriveLetter(), IopAssignNetworkDriveLetter(), IopCreateArcNames(), IopProcessSetInterfaceState(), and xHalIoAssignDriveLetters().
|
|
Definition at line 5733 of file iosubs.c. References EventHandle, EventName, ExEventObjectType, KernelMode, NT_SUCCESS, NTSTATUS(), NULL, ObDereferenceObject, ObReferenceObjectByHandle(), PAGED_CODE, TRUE, and VOID().
|
|
Definition at line 5813 of file iosubs.c. References NT_SUCCESS, NTSTATUS(), NULL, PAGED_CODE, RtlCreateSecurityDescriptor(), RtlSetDaclSecurityDescriptor(), and TRUE.
|
|
Definition at line 5898 of file iosubs.c. References ObDereferenceObject, and PAGED_CODE.
|
|
Definition at line 5951 of file iosubs.c. References DO_DEVICE_HAS_NAME, DO_SHUTDOWN_REGISTERED, DOE_DELETE_PENDING, ExFreePool(), IopCompleteUnloadOrDelete(), IopDatabaseLock, IopRemoveTimerFromTimerList(), IoUnregisterShutdownNotification(), IOV_DELETE_DEVICE, ObMakeTemporaryObject(), and PoRunDownDeviceObject(). Referenced by DriverEntry(), FsRecUnload(), IopDeleteLegacyKey(), IopDriverLoadingFailed(), IopFindLegacyDeviceNode(), IopInitializeDeviceInstanceKey(), IopInitializePlugPlayServices(), IopRemoveLegacyDeviceNode(), IoReportDetectedDevice(), UdfDeleteVcb(), and UdfMountVolume().
|
|
Definition at line 6227 of file iosubs.c. References ExVerifySuite(), IopDeleteSessionSymLinks(), NT_SUCCESS, NTSTATUS(), NULL, PAGED_CODE, and TRUE. Referenced by FsRtlpSetSymbolicLink(), and IopProcessSetInterfaceState().
|
|
Definition at line 6298 of file iosubs.c. References ASSERT, _DEVICE_OBJECT::AttachedDevice, _DEVOBJ_EXTENSION::AttachedTo, _DEVICE_OBJECT::DeviceObjectExtension, DOE_DELETE_PENDING, DOE_REMOVE_PENDING, DOE_UNLOAD_PENDING, IopCompleteUnloadOrDelete(), IopDatabaseLock, IOV_DETACH_DEVICE, and NULL.
|
|
Definition at line 6364 of file iosubs.c. References ExFreePool(), _IO_INTERRUPT_STRUCTURE::InterruptArray, _IO_INTERRUPT_STRUCTURE::InterruptObject, InterruptObject, KeDisconnectInterrupt(), MAXIMUM_PROCESSORS, NULL, and PAGED_CODE. Referenced by IoConnectInterrupt().
|
|
Definition at line 6429 of file iosubs.c. References IopQueueThreadIrp, Irp, and PAGED_CODE.
|
|
Definition at line 6463 of file iosubs.c. References Buffer, _OPEN_PACKET::CreateOptions, _OPEN_PACKET::Disposition, _OPEN_PACKET::FinalStatus, _OPEN_PACKET::FullAttributes, _OPEN_PACKET::Information, IO_FORCE_ACCESS_CHECK, IO_TYPE_OPEN_PACKET, KernelMode, _OPEN_PACKET::LocalFileObject, _OPEN_PACKET::NetworkInformation, NTSTATUS(), NULL, ObjectAttributes, ObOpenObjectByName(), OPEN_PACKET, OPEN_PACKET_PATTERN, _OPEN_PACKET::Options, _OPEN_PACKET::ParseCheck, _OPEN_PACKET::QueryOnly, _OPEN_PACKET::ShareAccess, _OPEN_PACKET::Size, TRUE, and _OPEN_PACKET::Type.
|
|
Definition at line 2135 of file iosubs.c. References Irp, and pIofCallDriver. Referenced by IoCallDriver().
|
|
Definition at line 3166 of file iosubs.c. References Irp, pIofCompleteRequest, and PriorityBoost. Referenced by IoCompleteRequest().
|
|
Definition at line 6574 of file iosubs.c. References _DEVICE_OBJECT::CurrentIrp, DeallocateObject, IO_ALLOCATION_ACTION, KeRemoveDeviceQueue(), NULL, and _DEVICE_OBJECT::Queue. Referenced by IoAllocateController().
|
|
Definition at line 6632 of file iosubs.c. References Irp, and pIoFreeIrp. Referenced by IoBuildAsynchronousFsdRequest(), IoBuildDeviceIoControlRequest(), IoCancelFileOpen(), IopCloseFile(), IopCompletePageWrite(), IopCompleteRequest(), IopDeleteFile(), IopDeleteIoCompletion(), IopDeviceEjectComplete(), IopDeviceRelationsComplete(), IopDeviceStartComplete(), IopDropIrp(), IopExceptionCleanup(), IopFreeIrpAndMdls(), IopParseDevice(), IopUserCompletion(), IopUserRundown(), NtRemoveIoCompletion(), UdfFinishBuffers(), UdfMultiAsyncCompletionRoutine(), UdfMultiSyncCompletionRoutine(), and VdmQueryDirectoryFile().
|
|
Definition at line 6744 of file iosubs.c. References ExFreePool(), ExFreeToPPNPagedLookasideList(), LookasideMdlList, MDL_ALLOCATED_FIXED_SIZE, MDL_ALLOCATED_MUST_SUCCEED, and MmPrepareMdlForReuse. Referenced by CcMdlRead(), CcMdlReadComplete2(), CcMdlWriteComplete2(), CcPrepareMdlWrite(), CcZeroData(), IoBuildAsynchronousFsdRequest(), IoBuildDeviceIoControlRequest(), IopCompleteRequest(), IopDropIrp(), IopExceptionCleanup(), IopFreeIrpAndMdls(), UdfCreateUserMdl(), UdfFinishBuffers(), UdfMultiAsyncCompletionRoutine(), UdfMultiSyncCompletionRoutine(), and VdmQueryDirectoryFile().
|
|
Definition at line 6786 of file iosubs.c. References _DEVICE_OBJECT::AttachedDevice. Referenced by IoAttachDeviceToDeviceStack(), IoBuildPoDeviceNotifyList(), IoGetAttachedDeviceReference(), IoGetRelatedDeviceObject(), IopAsynchronousCall(), IopCallDriverAddDevice(), IopCloseFile(), IopDeleteFile(), IopEjectDevice(), IopFilterResourceRequirementsCall(), IopGetSetSecurityObject(), IopParseDevice(), IopSynchronousCall(), IopXxxControlFile(), IoShutdownSystem(), NtQueryInformationFile(), NtSetInformationFile(), and NtUnlockFile().
|
|
Definition at line 6829 of file iosubs.c. References IoGetAttachedDevice(), IopDatabaseLock, and ObReferenceObject. Referenced by HalpIsOldStyleFloppy(), HalpQueryDriveLayout(), HalpQueryPartitionType(), IoGetDmaAdapter(), and IovpThrowBogusSynchronousIrp().
|
|
Definition at line 6862 of file iosubs.c. References ASSERT, _VPB::DeviceObject, FO_DIRECT_DEVICE_OPEN, NULL, and _DEVICE_OBJECT::Vpb. Referenced by FsRtlAcquireFileExclusive(), FsRtlAcquireFileForCcFlush(), FsRtlAcquireFileForModWrite(), FsRtlMdlRead(), FsRtlMdlReadComplete(), FsRtlMdlWriteComplete(), FsRtlPrepareMdlWrite(), FsRtlReleaseFile(), FsRtlReleaseFileForCcFlush(), and FsRtlReleaseFileForModWrite().
|
|
Definition at line 11641 of file iosubs.c. References _LOADER_PARAMETER_BLOCK::ArcBootDeviceName, _LOADER_PARAMETER_BLOCK::ArcDiskInformation, _LOADER_PARAMETER_BLOCK::ArcHalDeviceName, _ARC_DISK_SIGNATURE::ArcName, _CONFIGURATION_INFORMATION::DiskCount, _ARC_DISK_INFORMATION::DiskSignatures, ExFreePool(), FALSE, IoBuildDeviceIoControlRequest(), IoCallDriver, IoGetConfigurationInformation(), IoGetDeviceObjectPointer(), IopLoaderBlock, IoReadPartitionTable(), KeInitializeEvent, KernelMode, KeWaitForSingleObject(), NT_SUCCESS, NTSTATUS(), NULL, ObDereferenceObject, RtlAnsiStringToUnicodeString(), RtlEqualString(), RtlFreeUnicodeString(), RtlInitAnsiString(), _ARC_DISK_SIGNATURE::Signature, Size, sprintf(), Suspended, TRUE, and _ARC_DISK_SIGNATURE::ValidPartitionTable.
|
|
Definition at line 6927 of file iosubs.c. References ConfigurationInformation, and PAGED_CODE. Referenced by IoGetBootDiskInformation(), IopCreateArcNames(), NtQuerySystemInformation(), and xHalIoAssignDriveLetters().
|
|
Definition at line 6960 of file iosubs.c. References PsGetCurrentProcess. Referenced by IopStartNetworkForRemoteBoot().
|
|
Definition at line 6998 of file iosubs.c. References IoFileObjectType, IoGetRelatedDeviceObject(), KernelMode, NT_SUCCESS, NTSTATUS(), NULL, ObReferenceObjectByHandle(), PAGED_CODE, VOID(), and ZwOpenFile(). Referenced by DeviceClassCDROMNotify(), GetDeviceChangeInfo(), HalpEnableAutomaticDriveLetterAssignment(), HalpIsOldStyleFloppy(), HalpNextMountLetter(), HalpQueryDriveLayout(), HalpQueryPartitionType(), HalpSetMountLetter(), IoGetBootDiskInformation(), IopCreateArcNames(), and OpenDeviceReparseIndex().
|
|
Definition at line 7093 of file iosubs.c. Referenced by UdfProcessException().
|
|
Definition at line 7131 of file iosubs.c. References extension, IopDatabaseLock, and NULL.
|
|
Definition at line 7183 of file iosubs.c. References IopFileMapping.
|
|
Definition at line 7212 of file iosubs.c. References PsGetCurrentThread.
|
|
Definition at line 7247 of file iosubs.c. References ASSERT, _DEVICE_OBJECT::AttachedDevice, _VPB::DeviceObject, FO_DIRECT_DEVICE_OPEN, IoGetAttachedDevice(), NULL, and _DEVICE_OBJECT::Vpb. Referenced by BuildQueryDirectoryIrp(), CcMdlReadComplete(), CcMdlWriteComplete(), CcSetValidData(), CcZeroData(), FsRtlCopyRead(), FsRtlCopyWrite(), FsRtlGetFileSize(), FsRtlMdlRead(), FsRtlMdlReadComplete(), FsRtlMdlReadDev(), FsRtlMdlWriteComplete(), FsRtlPrepareMdlWrite(), FsRtlPrepareMdlWriteDev(), FsRtlSetFileSize(), IoAsynchronousPageWrite(), IoAttachDevice(), IoFreeDumpStack(), IoGetDeviceObjectPointer(), IoPageRead(), IopCloseFile(), IopDeleteFile(), IopGetDumpStack(), IopGetFileName(), IopGetRelatedTargetDevice(), IopGetSetObjectId(), IopGetSetSecurityObject(), IopGetVolumeId(), IopIsSameMachine(), IopOpenLinkOrRenameTarget(), IopParseDevice(), IopParseFile(), IopQueryXxxInformation(), IopSetEaOrQuotaInformationFile(), IopSetRemoteLink(), IopXxxControlFile(), IoSetInformation(), IoSynchronousPageWrite(), MiCheckPageFilePath(), NtCreatePagingFile(), NtFlushBuffersFile(), NtLockFile(), NtNotifyChangeDirectoryFile(), NtQueryEaFile(), NtQueryInformationFile(), NtQueryQuotaInformationFile(), NtQueryVolumeInformationFile(), NtReadFile(), NtReadFileScatter(), NtSetEaFile(), NtSetInformationFile(), NtSetVolumeInformationFile(), NtUnlockFile(), NtWriteFile(), NtWriteFileGather(), RemoteConnect(), and VdmQueryDirectoryFile().
|
|
Definition at line 7374 of file iosubs.c. References Irp, NULL, _IRP::Tail, and THREAD_TO_PROCESS. Referenced by FsRtlCheckLockForReadAccess(), FsRtlCheckLockForWriteAccess(), FsRtlPrivateCheckWaitingLocks(), FsRtlPrivateFastUnlockAll(), FsRtlProcessFileLock(), IoGetRequestorProcessId(), and UdfCommonCleanup().
|
|
Definition at line 7330 of file iosubs.c. References IoGetRequestorProcess(), Irp, NULL, and _EPROCESS::UniqueProcessId.
|
|
Definition at line 12301 of file iosubs.c. References Irp, _EPROCESS::SessionId, _IRP::Tail, and THREAD_TO_PROCESS.
|
|
Definition at line 7409 of file iosubs.c. References PsGetCurrentThread. Referenced by UdfAcquireForCache(), UdfFsdDispatch(), UdfReleaseFromCache(), and UdfSetThreadContext().
|
|
Definition at line 7444 of file iosubs.c. References _IRP::ApcEnvironment, _IRP::CurrentLocation, IO_TYPE_IRP, IOV_INITIALIZE_IRP, Irp, KeGetCurrentApcEnvironment, _IRP::Size, _IRP::StackCount, _IRP::Tail, _IRP::Type, and USHORT. Referenced by IopAllocateIrpMustSucceed().
|
|
Definition at line 7543 of file iosubs.c. References _IO_TIMER::Context, _IO_TIMER::DeviceObject, ExAllocatePoolWithTag, ExInterlockedInsertTailList(), IO_TIMER, IO_TYPE_TIMER, IopTimerLock, IopTimerQueueHead, NonPagedPool, PAGED_CODE, _DEVICE_OBJECT::Timer, _IO_TIMER::TimerList, _IO_TIMER::TimerRoutine, and _IO_TIMER::Type. Referenced by IovInitializeTimer().
|
|
Definition at line 7615 of file iosubs.c. References FALSE, _IRP::Flags, FO_SYNCHRONOUS_IO, IoGetCurrentIrpStackLocation, Irp, IRP_PAGING_IO, IRP_SYNCHRONOUS_API, IRP_SYNCHRONOUS_PAGING_IO, and TRUE. Referenced by FsRtlAcknowledgeOplockBreak(), and FsRtlOplockFsctrl().
|
|
Definition at line 7673 of file iosubs.c. References IS_SYSTEM_THREAD.
|
|
Definition at line 7705 of file iosubs.c. References ASSERT, ExAllocatePoolWithTag, ExFreePool(), FALSE, IoGetCurrentIrpStackLocation, Irp, L, NonPagedPool, NT_SUCCESS, NtClose(), NTSTATUS(), NULL, _IO_STACK_LOCATION::Parameters, RtlInitUnicodeString(), TRUE, and USHORT.
|
|
Definition at line 8338 of file iosubs.c. References _GENERAL_LOOKASIDE::AllocateMisses, _IRP::AllocationFlags, _IRP::AssociatedIrp, ExAllocatePoolWithTag, ExInterlockedPopEntrySList(), _IRP::Flags, IopInitializeIrp, IopLargeIrpStackLocations, IoSizeOfIrp, Irp, IRP_ALLOCATED_FIXED_SIZE, IRP_ALLOCATED_MUST_SUCCEED, IRP_ASSOCIATED_IRP, KeGetCurrentPrcb, KernelMode, _NPAGED_LOOKASIDE_LIST::L, _GENERAL_LOOKASIDE::ListHead, _NPAGED_LOOKASIDE_LIST::Lock, LookasideLargeIrpList, LookasideSmallIrpList, NonPagedPool, NonPagedPoolMustSucceed, NULL, PP_NPAGED_LOOKASIDE_NUMBER, _IRP::Tail, _GENERAL_LOOKASIDE::TotalAllocates, and USHORT. Referenced by UdfMultipleAsync().
|
|
Definition at line 8468 of file iosubs.c. References IopConfigureCrashDump(), NTSTATUS(), and PAGED_CODE. Referenced by NtCreatePagingFile().
|
|
Definition at line 8509 of file iosubs.c. References CcMissCounter, Event(), FALSE, _IO_STACK_LOCATION::FileObject, _IRP::Flags, IoAllocateIrp(), IoCallDriver, IoGetNextIrpStackLocation, IoGetRelatedDeviceObject(), IRP_INPUT_OPERATION, IRP_MJ_READ, IRP_NOCACHE, IRP_PAGING_IO, IRP_SYNCHRONOUS_PAGING_IO, KernelMode, _IO_STACK_LOCATION::MajorFunction, _IRP::MdlAddress, MmIsRecursiveIoFault, PAGE_SHIFT, PAGE_SIZE, _IO_STACK_LOCATION::Parameters, PsGetCurrentThread, _IRP::RequestorMode, _DEVICE_OBJECT::StackSize, _IRP::Tail, _IRP::UserBuffer, _IRP::UserEvent, and _IRP::UserIosb. Referenced by MiCheckForCrashDump(), MiCreateImageFileMap(), MiDispatchFault(), and MiMakeOutswappedPageResident().
|
|
Definition at line 542 of file iosubs.c. References _ERROR_LOG_ENTRY::DeviceObject, _ERROR_LOG_ENTRY::DriverObject, ExAllocatePoolWithTag, IO_TYPE_ERROR_LOG, IOP_MAXIMUM_LOG_ALLOCATION, IopErrorLogAllocation, IopErrorLogAllocationLock, NonPagedPool, NTSTATUS(), NULL, ObReferenceObject, _ERROR_LOG_ENTRY::Size, _ERROR_LOG_ENTRY::Type, and USHORT. Referenced by IoAllocateErrorLogEntry(), and IoAllocateGenericErrorLogEntry().
|
|
Definition at line 662 of file iosubs.c. References _GENERAL_LOOKASIDE::AllocateMisses, _IRP::AllocationFlags, ExAllocatePoolWithQuotaTag, ExAllocatePoolWithTag, EXCEPTION_EXECUTE_HANDLER, ExInterlockedPopEntrySList(), FALSE, IopInitializeIrp, IopLargeIrpStackLocations, IopLookasideIrpFloat, IopLookasideIrpLimit, IoSizeOfIrp, IRP_ALLOCATED_FIXED_SIZE, IRP_ALLOCATED_MUST_SUCCEED, IRP_LOOKASIDE_ALLOCATION, IRP_QUOTA_CHARGED, KeGetCurrentPrcb, KernelMode, _NPAGED_LOOKASIDE_LIST::L, _GENERAL_LOOKASIDE::ListHead, _NPAGED_LOOKASIDE_LIST::Lock, LookasideLargeIrpList, LookasideSmallIrpList, NonPagedPool, NonPagedPoolMustSucceed, NULL, PP_NPAGED_LOOKASIDE_NUMBER, _GENERAL_LOOKASIDE::TotalAllocates, and USHORT. Referenced by IopSetIoRoutines(), and IovAllocateIrp().
|
|
Definition at line 12098 of file iosubs.c. References ASSERT, Buffer, ExAllocatePoolWithTag, FALSE, NT_SUCCESS, NTSTATUS(), NULL, PagedPool, RtlCreateSecurityDescriptor(), RtlEqualSid(), RtlGetAce(), RtlSetDaclSecurityDescriptor(), SeAliasAdminsSid, SePublicDefaultUnrestrictedDacl, SePublicOpenUnrestrictedDacl, SeWorldSid, and TRUE. Referenced by IoCreateDevice(), and IopChangeDeviceObjectFromRegistryProperties().
|
|
Definition at line 4053 of file iosubs.c. References ExAllocatePoolWithTag, IO_TYPE_VPB, NonPagedPoolMustSucceed, _VPB::RealDevice, _VPB::Size, _VPB::Type, _DEVICE_OBJECT::Vpb, and VPB. Referenced by IoCreateDevice(), and IoVerifyVolume().
|
|
Definition at line 6037 of file iosubs.c. References DirectoryHandle, ExAllocatePoolWithTag, ExFreePool(), FALSE, L, NT_SUCCESS, NTSTATUS(), NULL, PagedPool, RtlAppendUnicodeStringToString(), RtlCompareUnicodeString(), RtlCopyUnicodeString(), RtlInitUnicodeString(), Size, Status, TRUE, and USHORT. Referenced by IoDeleteSymbolicLink().
|
|
Definition at line 8130 of file iosubs.c. References ASSERT, ExAllocatePoolWithTag, ExFreePool(), _IRP::IoStatus, Irp, NT_SUCCESS, NULL, PagedPool, _IRP::Tail, and USHORT. Referenced by IopCompleteRequest(), and IopParseDevice().
|
|
Definition at line 2063 of file iosubs.c. References ASSERT, _IRP::CurrentLocation, _IO_STACK_LOCATION::DeviceObject, IO_TYPE_IRP, IoGetNextIrpStackLocation, Irp, KeBugCheckEx(), _IO_STACK_LOCATION::MajorFunction, _DRIVER_OBJECT::MajorFunction, NTSTATUS(), PERFINFO_DRIVER_MAJORFUNCTION_CALL, PERFINFO_DRIVER_MAJORFUNCTION_RETURN, _IRP::Tail, and _IRP::Type. Referenced by IovCallDriver(), and IovSpecialIrpCallDriver().
|
|
Definition at line 3180 of file iosubs.c. References NULL, and ZeroIrpStackLocation. Referenced by IopSetIoRoutines(), and IovCompleteRequest().
|
|
Definition at line 6641 of file iosubs.c. References _IRP::AllocationFlags, ASSERT, _IRP::CurrentLocation, _GENERAL_LOOKASIDE::Depth, ExFreePool(), ExInterlockedPushEntrySList(), ExQueryDepthSList, ExReturnPoolQuota(), _GENERAL_LOOKASIDE::FreeMisses, IO_TYPE_IRP, IopLookasideIrpFloat, IopLookasideIrpLimit, Irp, IRP_ALLOCATED_FIXED_SIZE, IRP_ALLOCATED_MUST_SUCCEED, IRP_LOOKASIDE_ALLOCATION, IRP_QUOTA_CHARGED, KeBugCheckEx(), KeGetCurrentPrcb, _NPAGED_LOOKASIDE_LIST::L, _GENERAL_LOOKASIDE::ListHead, _NPAGED_LOOKASIDE_LIST::Lock, LookasideLargeIrpList, LookasideSmallIrpList, PP_NPAGED_LOOKASIDE_NUMBER, _IRP::StackCount, _GENERAL_LOOKASIDE::TotalFrees, and _IRP::Type. Referenced by IopSetIoRoutines(), and IovFreeIrpPrivate().
|
|
Definition at line 4026 of file iosubs.c. References _DRIVER_OBJECT::DeviceObject, _DEVICE_OBJECT::DriverObject, IopDatabaseLock, and _DEVICE_OBJECT::NextDevice. Referenced by IoCreateDevice(), and IopCompleteUnloadOrDelete().
|
|
Definition at line 5936 of file iosubs.c. References IopTimerCount, and IopTimerLock. Referenced by IoDeleteDevice().
|
|
Definition at line 12345 of file iosubs.c. References ExInterlockedAddLargeStatistic(), IoCountOperations, IoOtherOperationCount, PsGetCurrentThread, THREAD_TO_PROCESS, and TRUE. Referenced by IoCreateFile(), IopCloseFile(), IopGetSetSecurityObject(), IopSynchronousServiceTail(), NtCancelIoFile(), NtDeleteFile(), NtQueryAttributesFile(), NtQueryFullAttributesFile(), NtQueryInformationFile(), and NtSetInformationFile().
|
|
Definition at line 12441 of file iosubs.c. References ExInterlockedAddLargeStatistic(), IoCountOperations, IoOtherTransferCount, PsGetCurrentThread, THREAD_TO_PROCESS, and TRUE. Referenced by IopCompleteRequest(), and NtSetInformationFile().
|
|
Definition at line 12377 of file iosubs.c. References ExInterlockedAddLargeStatistic(), IoCountOperations, IoReadOperationCount, PsGetCurrentThread, THREAD_TO_PROCESS, and TRUE. Referenced by IopSynchronousServiceTail(), and NtReadFile().
|
|
Definition at line 12473 of file iosubs.c. References ExInterlockedAddLargeStatistic(), IoCountOperations, IoReadTransferCount, PsGetCurrentThread, THREAD_TO_PROCESS, and TRUE. Referenced by IopCompleteRequest(), and NtReadFile().
|
|
Definition at line 12410 of file iosubs.c. References ExInterlockedAddLargeStatistic(), IoCountOperations, IoWriteOperationCount, PsGetCurrentThread, THREAD_TO_PROCESS, and TRUE. Referenced by IopSynchronousServiceTail(), and NtWriteFile().
|
|
Definition at line 12504 of file iosubs.c. References ExInterlockedAddLargeStatistic(), IoCountOperations, IoWriteTransferCount, PsGetCurrentThread, THREAD_TO_PROCESS, and TRUE. Referenced by IopCompleteRequest(), and NtWriteFile().
|
|
Definition at line 8628 of file iosubs.c. References IopQueryXxxInformation(), PAGED_CODE, and TRUE. Referenced by IopParseDevice(), and IopQueryName().
|
|
Definition at line 8683 of file iosubs.c. References FALSE, IopQueryXxxInformation(), and PAGED_CODE. Referenced by MiAttemptPageFileExtension(), and NtCreatePagingFile().
|
|
Definition at line 8738 of file iosubs.c. References IopQueueThreadIrp, and Irp. Referenced by MiCheckPageFilePath().
|
|
Definition at line 8769 of file iosubs.c. References _IRP::ApcEnvironment, CriticalWorkQueue, ExAllocatePoolWithTag, ExInitializeWorkItem, ExQueueWorkItem(), _IRP::Flags, IO_DISK_INCREMENT, IoCompleteRequest, IoGetCurrentIrpStackLocation, IopAbortRequest(), IopDeallocateApc(), IopRaiseHardError(), IopStartApcHardError(), _IRP::IoStatus, _IOP_APC_HARD_ERROR_PACKET::Irp, Irp, IRP_INPUT_OPERATION, IRP_MJ_CLEANUP, IRP_NOCACHE, IRP_PAGING_IO, IRP_SYNCHRONOUS_PAGING_IO, _IOP_APC_HARD_ERROR_PACKET::Item, KeInitializeApc(), KeInsertQueueApc(), KernelMode, _IO_STACK_LOCATION::MajorFunction, NonPagedPool, NULL, _IOP_APC_HARD_ERROR_PACKET::RealDeviceObject, _IRP::Tail, VOID(), and _IOP_APC_HARD_ERROR_PACKET::Vpb. Referenced by UdfProcessException().
|
|
Definition at line 8909 of file iosubs.c. References ArePacketsEquivalent, CurrentApcEnvironment, DelayedWorkQueue, _IOP_HARD_ERROR_PACKET::ErrorStatus, ExAllocatePoolWithTag, ExFreePool(), ExQueueWorkItem(), _IOP_HARD_ERROR_QUEUE::ExWorkItem, FALSE, IOP_HARD_ERROR_PACKET, IOP_MAXIMUM_OUTSTANDING_HARD_ERRORS, IopCurrentHardError, IopDeallocateApc(), IopHardError, IopRaiseInformationalHardError(), KeInitializeApc(), KeInsertQueueApc(), KeReadStateSemaphore(), KeReleaseSemaphore(), KernelMode, L, NonPagedPool, NULL, _IOP_HARD_ERROR_QUEUE::NumPendingApcPopups, PsGetCurrentThread, _IOP_HARD_ERROR_PACKET::String, String, _IOP_HARD_ERROR_QUEUE::ThreadStarted, TRUE, VOID(), _IOP_HARD_ERROR_QUEUE::WorkQueue, _IOP_HARD_ERROR_PACKET::WorkQueueLinks, _IOP_HARD_ERROR_QUEUE::WorkQueueSemaphore, and _IOP_HARD_ERROR_QUEUE::WorkQueueSpinLock. Referenced by CcWriteBehind(), IoepHandleErrCase(), IoPnPDeliverServicePowerNotification(), MiCauseOverCommitPopup(), and MiWriteComplete().
|
|
Definition at line 9200 of file iosubs.c. References _REINIT_PACKET::Context, _REINIT_PACKET::DriverObject, _REINIT_PACKET::DriverReinitializationRoutine, DRVO_BOOTREINIT_REGISTERED, ExAllocatePoolWithTag, ExInterlockedInsertTailList(), IopBootDriverReinitializeQueueHead, IopDatabaseLock, _REINIT_PACKET::ListEntry, NonPagedPool, and PAGED_CODE.
|
|
Definition at line 9262 of file iosubs.c. References _REINIT_PACKET::Context, _REINIT_PACKET::DriverObject, _REINIT_PACKET::DriverReinitializationRoutine, DRVO_REINIT_REGISTERED, ExAllocatePoolWithTag, ExInterlockedInsertTailList(), IopDatabaseLock, IopDriverReinitializeQueueHead, _REINIT_PACKET::ListEntry, NonPagedPool, and PAGED_CODE.
|
|
Definition at line 9324 of file iosubs.c. References DO_DEVICE_INITIALIZING, DO_LOW_PRIORITY_FILESYSTEM, ExAcquireResourceExclusive, ExInterlockedAddUlong(), ExReleaseResource, IopCdRomFileSystemQueueHead, IopDatabaseLock, IopDatabaseResource, IopDiskFileSystemQueueHead, IopFsNotifyChangeQueueHead, IopNetworkFileSystemQueueHead, IopTapeFileSystemQueueHead, _NOTIFICATION_PACKET::NotificationRoutine, NULL, PAGED_CODE, TRUE, and VOID(). Referenced by FsRecCreateAndRegisterDO().
|
|
Definition at line 9422 of file iosubs.c. References _NOTIFICATION_PACKET::DriverObject, ExAcquireResourceExclusive, ExAllocatePoolWithTag, ExReleaseResource, IopDatabaseResource, IopFsNotifyChangeQueueHead, _NOTIFICATION_PACKET::ListEntry, _NOTIFICATION_PACKET::NotificationRoutine, ObReferenceObject, PAGED_CODE, PagedPool, and TRUE.
|
|
Definition at line 9487 of file iosubs.c. References _SHUTDOWN_PACKET::DeviceObject, DO_SHUTDOWN_REGISTERED, ExAllocatePoolWithTag, ExInterlockedInsertHeadList(), IopDatabaseLock, IopNotifyLastChanceShutdownQueueHead, _SHUTDOWN_PACKET::ListEntry, NonPagedPool, and PAGED_CODE.
|
|
Definition at line 9550 of file iosubs.c. References _SHUTDOWN_PACKET::DeviceObject, DO_SHUTDOWN_REGISTERED, ExAllocatePoolWithTag, ExInterlockedInsertHeadList(), IopDatabaseLock, IopNotifyShutdownQueueHead, _SHUTDOWN_PACKET::ListEntry, NonPagedPool, and PAGED_CODE.
|
|
Definition at line 9613 of file iosubs.c. References IopCancelSpinLock. Referenced by FsRtlAcknowledgeOplockBreak(), FsRtlCancelExclusiveIrp(), FsRtlCancelNotify(), FsRtlCancelOplockIIIrp(), FsRtlCancelWaitIrp(), FsRtlNotifySetCancelRoutine(), FsRtlOplockBreakToII(), FsRtlOplockBreakToNone(), FsRtlOplockCleanup(), FsRtlPrivateCancelFileLockIrp(), FsRtlRemoveAndCompleteIrp(), FsRtlRemoveAndCompleteWaitIrp(), FsRtlRequestExclusiveOplock(), FsRtlRequestOplockII(), FsRtlUninitializeFileLock(), FsRtlUninitializeOplock(), FsRtlWaitOnIrp(), IoCancelIrp(), IoStartNextPacket(), IoStartNextPacketByKey(), and IoStartPacket().
|
|
Definition at line 9644 of file iosubs.c. References IopVpbSpinLock. Referenced by IopLockMountedDeviceForRemove(), IopUnlockMountedDeviceForRemove(), UdfCheckForDismount(), UdfDismountVcb(), and UdfInvalidateVolumes().
|
|
Definition at line 9675 of file iosubs.c. References PAGED_CODE. Referenced by UdfCommonCleanup().
|
|
Definition at line 12782 of file iosubs.c. References APC_LEVEL, ASSERT, _IRP::Flags, IopCompleteRequest(), IRP_CREATE_OPERATION, IRP_RETRY_IO_COMPLETION, _ETHREAD::IrpList, NULL, PsGetCurrentThread, and _IRP::Tail. Referenced by MmAccessFault(), and MmCopyToCachedPage().
|
|
Definition at line 7497 of file iosubs.c. References _IRP::AllocationFlags, ASSERT, _IRP::CancelRoutine, IopInitializeIrp, IoSizeOfIrp, _IRP::IoStatus, Irp, NULL, _IRP::StackCount, Status, _IRP::ThreadListEntry, and USHORT. Referenced by IoCancelFileOpen().
|
|
Definition at line 9757 of file iosubs.c. Referenced by UdfProcessException().
|
|
Definition at line 9796 of file iosubs.c. References ASSERT, Irp, NULL, and _IRP::Tail. Referenced by UdfPerformVerify(), UdfVerifyFcbOperation(), and UdfVerifyVcb().
|
|
Definition at line 9835 of file iosubs.c. References _IRP::AssociatedIrp, Executive, FALSE, _IO_STACK_LOCATION::FileObject, _IRP::Flags, FO_ALERTABLE_IO, FO_NO_INTERMEDIATE_BUFFERING, FO_SEQUENTIAL_ONLY, FO_SYNCHRONOUS_IO, FO_WRITE_THROUGH, IoAllocateIrp(), IoCallDriver, IoCompleteRequest, IoGetNextIrpStackLocation, IoGetRelatedDeviceObject(), IopAcquireFastLock, IopAcquireFileObjectLock(), IopAllocateIrpCleanup(), IopCancelAlertedRequest(), IopOpenLinkOrRenameTarget(), IopQueueThreadIrp, IopReleaseFileObjectLock, IoSetNextIrpStackLocation, _IRP::IoStatus, IRP_BUFFERED_IO, IRP_MJ_SET_INFORMATION, IRP_SYNCHRONOUS_API, KeClearEvent, KeInitializeEvent, KernelMode, KeWaitForSingleObject(), _IO_STACK_LOCATION::MajorFunction, NT_SUCCESS, NtClose(), NTSTATUS(), NULL, ObDereferenceObject, ObReferenceObject, PAGED_CODE, _IO_STACK_LOCATION::Parameters, PsGetCurrentThread, _IRP::RequestorMode, _DEVICE_OBJECT::StackSize, _IRP::Tail, TRUE, _IRP::UserEvent, _IRP::UserIosb, and VOID(). Referenced by MiAttemptPageFileExtension(), and MiAttemptPageFileReduction().
|
|
Definition at line 10175 of file iosubs.c. References PAGED_CODE. Referenced by UdfCompleteFcbOpen().
|
|
Definition at line 10281 of file iosubs.c. References _ETHREAD::HardErrorsAreDisabled, and PsGetCurrentThread. Referenced by CmpDoFileSetSize(), HvSyncHive(), and ObKillProcess().
|
|
Definition at line 10321 of file iosubs.c. References Irp, and PsGetCurrentThread. Referenced by MiRemoveUnusedSegments(), MmCreateSection(), UdfAcquireForCache(), UdfReleaseFromCache(), UdfRestoreThreadContext(), and UdfSetThreadContext().
|
|
Definition at line 10359 of file iosubs.c. References _DEVICE_OBJECT::AttachedDevice, DbgPrint, _SHUTDOWN_PACKET::DeviceObject, ExAcquireResourceShared, Executive, ExFreePool(), ExInterlockedRemoveHeadList(), FALSE, IoBuildSynchronousFsdRequest(), IoCallDriver, IoGetAttachedDevice(), IopDatabaseLock, IopDatabaseResource, IopDiskFileSystemQueueHead, IopNotifyLastChanceShutdownQueueHead, IopNotifyShutdownQueueHead, IRP_MJ_SHUTDOWN, KeClearEvent, KeInitializeEvent, KernelMode, KeWaitForSingleObject(), NULL, PAGED_CODE, TRUE, and VOID().
|
|
Definition at line 10564 of file iosubs.c. References IoAcquireCancelSpinLock(), IoReleaseCancelSpinLock(), KeRemoveDeviceQueue(), and NULL.
|
|
Definition at line 10649 of file iosubs.c. References IoAcquireCancelSpinLock(), IoReleaseCancelSpinLock(), KeRemoveByKeyDeviceQueue(), Key, and NULL.
|
|
Definition at line 10735 of file iosubs.c. References _IRP::Cancel, _IRP::CancelIrql, _IRP::CancelRoutine, DISPATCH_LEVEL, IoAcquireCancelSpinLock(), IoReleaseCancelSpinLock(), Irp, KeInsertByKeyDeviceQueue(), KeInsertDeviceQueue(), KeLowerIrql(), KeRaiseIrql(), Key, NULL, PDRIVER_CANCEL, and _IRP::Tail.
|
|
Definition at line 10863 of file iosubs.c. References DOE_DELETE_PENDING, DOE_REMOVE_PENDING, DOE_REMOVE_PROCESSED, DOE_UNLOAD_PENDING, IopTimerCount, IopTimerLock, _IO_TIMER::TimerFlag, and TRUE.
|
|
Definition at line 10916 of file iosubs.c. References FALSE, IopTimerCount, IopTimerLock, and _IO_TIMER::TimerFlag.
|
|
Definition at line 10957 of file iosubs.c. References CcDataFlushes, CcDataPages, CcIsFileCached, Event(), FALSE, _IO_STACK_LOCATION::FileObject, _IRP::Flags, IoAllocateIrp(), IoCallDriver, IoGetNextIrpStackLocation, IoGetRelatedDeviceObject(), IRP_MJ_WRITE, IRP_NOCACHE, IRP_PAGING_IO, IRP_SYNCHRONOUS_PAGING_IO, KernelMode, _IO_STACK_LOCATION::MajorFunction, _IRP::MdlAddress, PAGE_SHIFT, PAGE_SIZE, _IO_STACK_LOCATION::Parameters, PsGetCurrentThread, _IRP::RequestorMode, _DEVICE_OBJECT::StackSize, _IRP::Tail, _IRP::UserBuffer, _IRP::UserEvent, and _IRP::UserIosb. Referenced by CcZeroData(), MiCheckForCrashDump(), MiCleanSection(), MiFlushSectionInternal(), MiMappedPageWriter(), and MmShutdownSystem().
|
|
Definition at line 11071 of file iosubs.c. References THREAD_TO_PROCESS.
|
|
Definition at line 11106 of file iosubs.c. References ExAcquireResourceExclusive, ExInterlockedAddUlong(), ExReleaseResource, FALSE, IopDatabaseLock, IopDatabaseResource, IopFsNotifyChangeQueueHead, _NOTIFICATION_PACKET::NotificationRoutine, PAGED_CODE, TRUE, and VOID(). Referenced by FsRecLoadFileSystem().
|
|
Definition at line 11178 of file iosubs.c. References _NOTIFICATION_PACKET::DriverObject, ExAcquireResourceExclusive, ExFreePool(), ExReleaseResource, IopDatabaseResource, IopFsNotifyChangeQueueHead, _NOTIFICATION_PACKET::NotificationRoutine, ObDereferenceObject, PAGED_CODE, and TRUE.
|
|
Definition at line 11239 of file iosubs.c. References _SHUTDOWN_PACKET::DeviceObject, DO_SHUTDOWN_REGISTERED, ExFreePool(), IopDatabaseLock, IopNotifyLastChanceShutdownQueueHead, IopNotifyShutdownQueueHead, IoUnregisterShutdownNotification(), MmUnlockPagableImageSection(), and PAGED_CODE. Referenced by IoDeleteDevice(), and IoUnregisterShutdownNotification().
|
|
Definition at line 11330 of file iosubs.c. References PAGED_CODE. Referenced by UdfCompleteFcbOpen().
|
|
Definition at line 11389 of file iosubs.c. References ASSERT, _DEVICE_OBJECT::AttachedDevice, _VPB::DeviceObject, DO_VERIFY_VOLUME, Executive, FALSE, _IO_STACK_LOCATION::Flags, _IRP::Flags, IoAllocateIrp(), IoCallDriver, IoGetNextIrpStackLocation, IopCreateVpb(), IopMountVolume(), IRP_MJ_FILE_SYSTEM_CONTROL, IRP_MN_VERIFY_VOLUME, IRP_MOUNT_COMPLETION, IRP_SYNCHRONOUS_PAGING_IO, KeInitializeEvent, KernelMode, KeSetEvent(), KeWaitForSingleObject(), _IO_STACK_LOCATION::MajorFunction, _IO_STACK_LOCATION::MinorFunction, NT_SUCCESS, NTSTATUS(), NULL, PAGED_CODE, _IO_STACK_LOCATION::Parameters, PoVolumeDevice(), PsGetCurrentThread, _IRP::RequestorMode, SL_ALLOW_RAW_MOUNT, _DEVICE_OBJECT::StackSize, _IRP::Tail, TRUE, _IRP::UserEvent, _IRP::UserIosb, VOID(), _DEVICE_OBJECT::Vpb, and VPB_MOUNTED. Referenced by UdfPerformVerify().
|
|
Definition at line 11556 of file iosubs.c. References DelayedWorkQueue, _ERROR_LOG_ENTRY::DeviceObject, _ERROR_LOG_ENTRY::DriverObject, ExFreePool(), ExInitializeWorkItem, ExQueueWorkItem(), IopErrorLogDisabledThisBoot, IopErrorLogListHead, IopErrorLogLock, IopErrorLogPortPending, IopErrorLogThread(), IopErrorLogWorkItem, KeQuerySystemTime(), _ERROR_LOG_ENTRY::ListEntry, NULL, ObDereferenceObject, _ERROR_LOG_ENTRY::TimeStamp, and TRUE. Referenced by CcLogError(), DriverEntry(), FsVgaLogError(), IopDisassociateThreadIrp(), IopLogErrorEvent(), and UserLogError().
|
|
Initial value: Definition at line 32 of file iosubs.c. Referenced by IoGetConfigurationInformation(). |
|
Definition at line 50 of file iosubs.c. Referenced by IopUpdateOtherOperationCount(), IopUpdateOtherTransferCount(), IopUpdateReadOperationCount(), IopUpdateReadTransferCount(), IopUpdateWriteOperationCount(), and IopUpdateWriteTransferCount(). |