#include "iop.h"
Go to the source code of this file.
Functions | |
VOID | IopFreeMiniPacket (PIOP_MINI_COMPLETION_PACKET MiniPacket) |
NTSTATUS | NtCreateIoCompletion (IN PHANDLE IoCompletionHandle, IN ACCESS_MASK DesiredAccess, IN POBJECT_ATTRIBUTES ObjectAttributes OPTIONAL, IN ULONG Count OPTIONAL) |
NTSTATUS | NtOpenIoCompletion (OUT PHANDLE IoCompletionHandle, IN ACCESS_MASK DesiredAccess, IN POBJECT_ATTRIBUTES ObjectAttributes) |
NTSTATUS | NtQueryIoCompletion (IN HANDLE IoCompletionHandle, IN IO_COMPLETION_INFORMATION_CLASS IoCompletionInformationClass, OUT PVOID IoCompletionInformation, IN ULONG IoCompletionInformationLength, OUT PULONG ReturnLength OPTIONAL) |
NTSTATUS | NtSetIoCompletion (IN HANDLE IoCompletionHandle, IN PVOID KeyContext, IN PVOID ApcContext, IN NTSTATUS IoStatus, IN ULONG_PTR IoStatusInformation) |
NTSTATUS | NtRemoveIoCompletion (IN HANDLE IoCompletionHandle, OUT PVOID *KeyContext, OUT PVOID *ApcContext, OUT PIO_STATUS_BLOCK IoStatusBlock, IN PLARGE_INTEGER Timeout OPTIONAL) |
NTKERNELAPI NTSTATUS | IoSetIoCompletion (IN PVOID IoCompletion, IN PVOID KeyContext, IN PVOID ApcContext, IN NTSTATUS IoStatus, IN ULONG_PTR IoStatusInformation, IN BOOLEAN Quota) |
VOID | IopDeleteIoCompletion (IN PVOID Object) |
|
Definition at line 864 of file complete.c. References IoFreeIrp(), IopCompletionPacketIrp, IopFreeMiniPacket(), Irp, KeRundownQueue(), _IOP_MINI_COMPLETION_PACKET::ListEntry, NULL, and _IOP_MINI_COMPLETION_PACKET::PacketType. Referenced by IopCreateObjectTypes().
|
|
Definition at line 797 of file complete.c. References _GENERAL_LOOKASIDE::Depth, ExFreePool(), ExInterlockedPushEntrySList(), ExQueryDepthSList, ExReturnPoolQuota(), _GENERAL_LOOKASIDE::FreeMisses, IopCompletionPacketQuota, KeGetCurrentPrcb, _NPAGED_LOOKASIDE_LIST::L, _GENERAL_LOOKASIDE::ListHead, _NPAGED_LOOKASIDE_LIST::Lock, LookasideCompletionList, _IOP_MINI_COMPLETION_PACKET::PacketType, and _GENERAL_LOOKASIDE::TotalFrees. Referenced by IopDeleteIoCompletion(), and NtRemoveIoCompletion().
|
|
Definition at line 671 of file complete.c. References _GENERAL_LOOKASIDE::AllocateMisses, _IOP_MINI_COMPLETION_PACKET::ApcContext, ExAllocatePoolWithQuotaTag, ExAllocatePoolWithTag, EXCEPTION_EXECUTE_HANDLER, ExInterlockedPopEntrySList(), FALSE, IopCompletionPacketMini, IopCompletionPacketQuota, _IOP_MINI_COMPLETION_PACKET::IoStatus, _IOP_MINI_COMPLETION_PACKET::IoStatusInformation, KeGetCurrentPrcb, KeInsertQueue(), _IOP_MINI_COMPLETION_PACKET::KeyContext, _NPAGED_LOOKASIDE_LIST::L, _IOP_MINI_COMPLETION_PACKET::ListEntry, _GENERAL_LOOKASIDE::ListHead, _NPAGED_LOOKASIDE_LIST::Lock, LookasideCompletionList, NonPagedPool, NTSTATUS(), NULL, _IOP_MINI_COMPLETION_PACKET::PacketType, PAGED_CODE, PNPAGED_LOOKASIDE_LIST, Status, and _GENERAL_LOOKASIDE::TotalAllocates. Referenced by IopXxxControlFile(), NtLockFile(), NtSetInformationJobObject(), NtSetIoCompletion(), PsChangeJobMemoryUsage(), PsEnforceExecutionTimeLimits(), PspAddProcessToJob(), PspCreateThread(), PspExitProcess(), PspFoldProcessAccountingIntoJob(), and PsReportProcessMemoryLimitViolation().
|
|
Definition at line 51 of file complete.c. References Count, ExSystemExceptionFilter(), Handle, IoCompletionObjectType, KeInitializeQueue(), KernelMode, KPROCESSOR_MODE, KQUEUE, NT_SUCCESS, NTSTATUS(), NULL, ObCreateObject(), ObInsertObject(), ObjectAttributes, ProbeForWriteHandle, and Status. Referenced by RtlpInitializeWorkerThreadPool().
|
|
Definition at line 178 of file complete.c. References ExSystemExceptionFilter(), Handle, IoCompletionObjectType, KernelMode, KPROCESSOR_MODE, NT_SUCCESS, NTSTATUS(), NULL, ObjectAttributes, ObOpenObjectByName(), ProbeForWriteHandle, and Status.
|
|
Definition at line 282 of file complete.c. References ExSystemExceptionFilter(), IoCompletionObjectType, KeReadStateQueue(), KernelMode, KPROCESSOR_MODE, NT_SUCCESS, NTSTATUS(), NULL, ObDereferenceObject, ObReferenceObjectByHandle(), ProbeForWrite(), ProbeForWriteUlong, and Status. Referenced by RtlpWorkerThreadTimerCallback().
|
|
Definition at line 485 of file complete.c. References _IOP_MINI_COMPLETION_PACKET::ApcContext, ExSystemExceptionFilter(), IoCompletionObjectType, IoFreeIrp(), IOP_MINI_COMPLETION_PACKET, IopCompletionPacketIrp, IopFreeMiniPacket(), _IOP_MINI_COMPLETION_PACKET::IoStatus, _IRP::IoStatus, _IOP_MINI_COMPLETION_PACKET::IoStatusInformation, IRP, Irp, KeRemoveQueue(), KernelMode, _IOP_MINI_COMPLETION_PACKET::KeyContext, KPROCESSOR_MODE, NT_SUCCESS, NTSTATUS(), NULL, ObDereferenceObject, ObReferenceObjectByHandle(), _IRP::Overlay, _IOP_MINI_COMPLETION_PACKET::PacketType, ProbeAndReadLargeInteger, ProbeForWriteIoStatus, ProbeForWriteUlong_ptr, Status, and _IRP::Tail. Referenced by RtlpWorkerThread().
|
|
Definition at line 417 of file complete.c. References IoCompletionObjectType, IoSetIoCompletion(), NT_SUCCESS, NTSTATUS(), NULL, ObDereferenceObject, ObReferenceObjectByHandle(), PAGED_CODE, Status, and TRUE. Referenced by RtlpQueueWorkerRequest(), and RtlThreadPoolCleanup().
|