ReactOS 0.4.15-dev-8621-g4b051b9
|
Go to the source code of this file.
Macros | |
#define | NDEBUG |
#define | CHECK_LENGTH(class, struct) |
Variables | |
volatile LONG | IoPageReadIrpAllocationFailure = 0 |
volatile LONG | IoPageReadNonPagefileIrpAllocationFailure = 0 |
NTSTATUS NTAPI IoPageRead | ( | IN PFILE_OBJECT | FileObject, |
IN PMDL | Mdl, | ||
IN PLARGE_INTEGER | Offset, | ||
IN PKEVENT | Event, | ||
IN PIO_STATUS_BLOCK | StatusBlock | ||
) |
Definition at line 1201 of file iofunc.c.
Referenced by MiReadFilePage(), MiReadPageFile(), and MmMakeSegmentResident().
VOID NTAPI IopCleanupAfterException | ( | IN PFILE_OBJECT | FileObject, |
IN PIRP Irp | OPTIONAL, | ||
IN PKEVENT Event | OPTIONAL, | ||
IN PKEVENT LocalEvent | OPTIONAL | ||
) |
Definition at line 27 of file iofunc.c.
Referenced by IopDeviceFsIoControl(), NtLockFile(), NtQueryDirectoryFile(), NtQueryInformationFile(), NtQueryVolumeInformationFile(), NtReadFile(), NtSetInformationFile(), NtSetVolumeInformationFile(), NtUnlockFile(), and NtWriteFile().
NTSTATUS NTAPI IopDeviceFsIoControl | ( | IN HANDLE | DeviceHandle, |
IN HANDLE Event | OPTIONAL, | ||
IN PIO_APC_ROUTINE UserApcRoutine | OPTIONAL, | ||
IN PVOID UserApcContext | OPTIONAL, | ||
OUT PIO_STATUS_BLOCK | IoStatusBlock, | ||
IN ULONG | IoControlCode, | ||
IN PVOID | InputBuffer, | ||
IN ULONG InputBufferLength | OPTIONAL, | ||
OUT PVOID | OutputBuffer, | ||
IN ULONG OutputBufferLength | OPTIONAL, | ||
IN BOOLEAN | IsDevIoCtl | ||
) |
Definition at line 197 of file iofunc.c.
Referenced by NtDeviceIoControlFile(), and NtFsControlFile().
NTSTATUS NTAPI IopFinalizeAsynchronousIo | ( | IN NTSTATUS | SynchStatus, |
IN PKEVENT | Event, | ||
IN PIRP | Irp, | ||
IN KPROCESSOR_MODE | PreviousMode, | ||
IN PIO_STATUS_BLOCK | KernelIosb, | ||
OUT PIO_STATUS_BLOCK | IoStatusBlock | ||
) |
Definition at line 70 of file iofunc.c.
Referenced by NtFlushBuffersFile(), NtQueryVolumeInformationFile(), NtSetVolumeInformationFile(), and NtUnlockFile().
NTSTATUS NTAPI IopGetBasicInformationFile | ( | IN PFILE_OBJECT | FileObject, |
OUT PFILE_BASIC_INFORMATION | BasicInfo | ||
) |
Definition at line 839 of file iofunc.c.
Referenced by IopOpenLinkOrRenameTarget().
|
static |
Definition at line 1084 of file iofunc.c.
Referenced by NtQueryVolumeInformationFile().
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().
|
static |
Definition at line 1004 of file iofunc.c.
Referenced by NtQueryInformationFile().
|
static |
Definition at line 1033 of file iofunc.c.
Referenced by NtQueryVolumeInformationFile().
NTSTATUS NTAPI IopOpenLinkOrRenameTarget | ( | OUT PHANDLE | Handle, |
IN PIRP | Irp, | ||
IN PFILE_RENAME_INFORMATION | RenameInfo, | ||
IN PFILE_OBJECT | FileObject | ||
) |
Definition at line 867 of file iofunc.c.
Referenced by NtSetInformationFile().
NTSTATUS NTAPI IopPerformSynchronousRequest | ( | IN PDEVICE_OBJECT | DeviceObject, |
IN PIRP | Irp, | ||
IN PFILE_OBJECT | FileObject, | ||
IN BOOLEAN | Deferred, | ||
IN KPROCESSOR_MODE | PreviousMode, | ||
IN BOOLEAN | SynchIo, | ||
IN IOP_TRANSFER_TYPE | TransferType | ||
) |
Definition at line 119 of file iofunc.c.
Referenced by IopDeviceFsIoControl(), NtFlushBuffersFile(), NtLockFile(), NtNotifyChangeDirectoryFile(), NtQueryDirectoryFile(), NtQueryVolumeInformationFile(), NtReadFile(), NtSetVolumeInformationFile(), NtUnlockFile(), and NtWriteFile().
NTSTATUS NTAPI IopQueryDeviceInformation | ( | IN PFILE_OBJECT | FileObject, |
IN ULONG | InformationClass, | ||
IN ULONG | Length, | ||
OUT PVOID | Information, | ||
OUT PULONG | ReturnedLength, | ||
IN BOOLEAN | File | ||
) |
Definition at line 652 of file iofunc.c.
Referenced by IoQueryFileInformation(), and IoQueryVolumeInformation().
|
static |
Definition at line 1059 of file iofunc.c.
Referenced by IopGetDriverPathInformation().
NTSTATUS NTAPI IoQueryFileInformation | ( | IN PFILE_OBJECT | FileObject, |
IN FILE_INFORMATION_CLASS | FileInformationClass, | ||
IN ULONG | Length, | ||
OUT PVOID | FileInformation, | ||
OUT PULONG | ReturnedLength | ||
) |
Definition at line 1274 of file iofunc.c.
Referenced by IopParseDevice(), and IopQueryNameInternal().
NTSTATUS NTAPI IoQueryVolumeInformation | ( | IN PFILE_OBJECT | FileObject, |
IN FS_INFORMATION_CLASS | FsInformationClass, | ||
IN ULONG | Length, | ||
OUT PVOID | FsInformation, | ||
OUT PULONG | ReturnedLength | ||
) |
Definition at line 1294 of file iofunc.c.
Referenced by NtCreatePagingFile().
NTSTATUS NTAPI IoSetInformation | ( | IN PFILE_OBJECT | FileObject, |
IN FILE_INFORMATION_CLASS | FileInformationClass, | ||
IN ULONG | Length, | ||
IN PVOID | FileInformation | ||
) |
Definition at line 1314 of file iofunc.c.
Referenced by MmCreateDataFileSection().
NTSTATUS NTAPI IoSynchronousPageWrite | ( | IN PFILE_OBJECT | FileObject, |
IN PMDL | Mdl, | ||
IN PLARGE_INTEGER | Offset, | ||
IN PKEVENT | Event, | ||
IN PIO_STATUS_BLOCK | StatusBlock | ||
) |
Definition at line 1146 of file iofunc.c.
Referenced by CcZeroData(), MiWritePage(), and MmWriteToSwapPage().
Definition at line 4631 of file iofunc.c.
Referenced by CancelDeviceWakeupRequest().
NTSTATUS NTAPI NtDeviceIoControlFile | ( | IN HANDLE | DeviceHandle, |
IN HANDLE Event | OPTIONAL, | ||
IN PIO_APC_ROUTINE UserApcRoutine | OPTIONAL, | ||
IN PVOID UserApcContext | OPTIONAL, | ||
OUT PIO_STATUS_BLOCK | IoStatusBlock, | ||
IN ULONG | IoControlCode, | ||
IN PVOID | InputBuffer, | ||
IN ULONG InputBufferLength | OPTIONAL, | ||
OUT PVOID | OutputBuffer, | ||
IN ULONG OutputBufferLength | OPTIONAL | ||
) |
Definition at line 1430 of file iofunc.c.
Definition at line 1487 of file iofunc.c.
Referenced by FlushFileBuffers(), LogfpFlushFile(), and START_TEST().
NTSTATUS NTAPI NtFsControlFile | ( | IN HANDLE | DeviceHandle, |
IN HANDLE Event | OPTIONAL, | ||
IN PIO_APC_ROUTINE UserApcRoutine | OPTIONAL, | ||
IN PVOID UserApcContext | OPTIONAL, | ||
OUT PIO_STATUS_BLOCK | IoStatusBlock, | ||
IN ULONG | IoControlCode, | ||
IN PVOID | InputBuffer, | ||
IN ULONG InputBufferLength | OPTIONAL, | ||
OUT PVOID | OutputBuffer, | ||
IN ULONG OutputBufferLength | OPTIONAL | ||
) |
Definition at line 1460 of file iofunc.c.
NTSTATUS NTAPI NtLockFile | ( | IN HANDLE | FileHandle, |
IN HANDLE EventHandle | OPTIONAL, | ||
IN PIO_APC_ROUTINE ApcRoutine | OPTIONAL, | ||
IN PVOID ApcContext | OPTIONAL, | ||
OUT PIO_STATUS_BLOCK | IoStatusBlock, | ||
IN PLARGE_INTEGER | ByteOffset, | ||
IN PLARGE_INTEGER | Length, | ||
IN ULONG | Key, | ||
IN BOOLEAN | FailImmediately, | ||
IN BOOLEAN | ExclusiveLock | ||
) |
Definition at line 1764 of file iofunc.c.
Referenced by LockFile(), and LockFileEx().
NTSTATUS NTAPI NtNotifyChangeDirectoryFile | ( | IN HANDLE | FileHandle, |
IN HANDLE EventHandle | OPTIONAL, | ||
IN PIO_APC_ROUTINE ApcRoutine | OPTIONAL, | ||
IN PVOID ApcContext | OPTIONAL, | ||
OUT PIO_STATUS_BLOCK | IoStatusBlock, | ||
OUT PVOID | Buffer, | ||
IN ULONG | BufferSize, | ||
IN ULONG | CompletionFilter, | ||
IN BOOLEAN | WatchTree | ||
) |
Definition at line 1622 of file iofunc.c.
Referenced by FindFirstChangeNotificationW(), FindNextChangeNotification(), and ReadDirectoryChangesW().
NTSTATUS NTAPI NtQueryDirectoryFile | ( | IN HANDLE | FileHandle, |
IN HANDLE EventHandle | OPTIONAL, | ||
IN PIO_APC_ROUTINE ApcRoutine | OPTIONAL, | ||
IN PVOID ApcContext | OPTIONAL, | ||
OUT PIO_STATUS_BLOCK | IoStatusBlock, | ||
OUT PVOID | FileInformation, | ||
IN ULONG | Length, | ||
IN FILE_INFORMATION_CLASS | FileInformationClass, | ||
IN BOOLEAN | ReturnSingleEntry, | ||
IN PUNICODE_STRING FileName | OPTIONAL, | ||
IN BOOLEAN | RestartScan | ||
) |
Definition at line 1994 of file iofunc.c.
Referenced by FindFirstFileExW(), FindNextFileW(), GetFileInformationByHandleEx(), and lookup_manifest_file().
NTSTATUS NTAPI NtQueryEaFile | ( | IN HANDLE | FileHandle, |
OUT PIO_STATUS_BLOCK | IoStatusBlock, | ||
OUT PVOID | Buffer, | ||
IN ULONG | Length, | ||
IN BOOLEAN | ReturnSingleEntry, | ||
IN PVOID EaList | OPTIONAL, | ||
IN ULONG | EaListLength, | ||
IN PULONG EaIndex | OPTIONAL, | ||
IN BOOLEAN | RestartScan | ||
) |
Definition at line 2260 of file iofunc.c.
Referenced by CreateDirectoryExW(), and CreateFileW().
NTSTATUS NTAPI NtQueryInformationFile | ( | IN HANDLE | FileHandle, |
OUT PIO_STATUS_BLOCK | IoStatusBlock, | ||
IN PVOID | FileInformation, | ||
IN ULONG | Length, | ||
IN FILE_INFORMATION_CLASS | FileInformationClass | ||
) |
Definition at line 2279 of file iofunc.c.
NTSTATUS NTAPI NtQueryQuotaInformationFile | ( | IN HANDLE | FileHandle, |
OUT PIO_STATUS_BLOCK | IoStatusBlock, | ||
OUT PVOID | Buffer, | ||
IN ULONG | Length, | ||
IN BOOLEAN | ReturnSingleEntry, | ||
IN PVOID SidList | OPTIONAL, | ||
IN ULONG | SidListLength, | ||
IN PSID StartSid | OPTIONAL, | ||
IN BOOLEAN | RestartScan | ||
) |
NTSTATUS NTAPI NtQueryVolumeInformationFile | ( | IN HANDLE | FileHandle, |
OUT PIO_STATUS_BLOCK | IoStatusBlock, | ||
OUT PVOID | FsInformation, | ||
IN ULONG | Length, | ||
IN FS_INFORMATION_CLASS | FsInformationClass | ||
) |
Definition at line 4151 of file iofunc.c.
NTSTATUS NTAPI NtReadFile | ( | IN HANDLE | FileHandle, |
IN HANDLE Event | OPTIONAL, | ||
IN PIO_APC_ROUTINE ApcRoutine | OPTIONAL, | ||
IN PVOID ApcContext | OPTIONAL, | ||
OUT PIO_STATUS_BLOCK | IoStatusBlock, | ||
OUT PVOID | Buffer, | ||
IN ULONG | Length, | ||
IN PLARGE_INTEGER ByteOffset | OPTIONAL, | ||
IN PULONG Key | OPTIONAL | ||
) |
Definition at line 2705 of file iofunc.c.
NTSTATUS NTAPI NtReadFileScatter | ( | IN HANDLE | FileHandle, |
IN HANDLE Event | OPTIONAL, | ||
IN PIO_APC_ROUTINE UserApcRoutine | OPTIONAL, | ||
IN PVOID UserApcContext | OPTIONAL, | ||
OUT PIO_STATUS_BLOCK | UserIoStatusBlock, | ||
IN FILE_SEGMENT_ELEMENT | BufferDescription[], | ||
IN ULONG | BufferLength, | ||
IN PLARGE_INTEGER | ByteOffset, | ||
IN PULONG Key | OPTIONAL | ||
) |
Definition at line 3063 of file iofunc.c.
Referenced by ReadFileScatter().
Definition at line 4642 of file iofunc.c.
Referenced by RequestDeviceWakeup().
NTSTATUS NTAPI NtSetEaFile | ( | IN HANDLE | FileHandle, |
IN PIO_STATUS_BLOCK | IoStatusBlock, | ||
IN PVOID | EaBuffer, | ||
IN ULONG | EaBufferSize | ||
) |
NTSTATUS NTAPI NtSetInformationFile | ( | IN HANDLE | FileHandle, |
OUT PIO_STATUS_BLOCK | IoStatusBlock, | ||
IN PVOID | FileInformation, | ||
IN ULONG | Length, | ||
IN FILE_INFORMATION_CLASS | FileInformationClass | ||
) |
Definition at line 3096 of file iofunc.c.