ReactOS 0.4.16-dev-336-gb667d82
|
#include <ntoskrnl.h>
#include <debug.h>
Go to the source code of this file.
Macros | |
#define | NDEBUG |
VOID NTAPI FsRtlAcquireFileExclusive | ( | IN PFILE_OBJECT | FileObject | ) |
Definition at line 1640 of file fastio.c.
Referenced by MiRosUnmapViewOfSection(), and MmNotPresentFaultSectionView().
NTSTATUS NTAPI FsRtlAcquireFileExclusiveCommon | ( | IN PFILE_OBJECT | FileObject, |
IN FS_FILTER_SECTION_SYNC_TYPE | SyncType, | ||
IN ULONG | Reserved | ||
) |
Definition at line 1557 of file fastio.c.
Referenced by FsRtlAcquireFileExclusive(), and FsRtlAcquireToCreateMappedSection().
VOID NTAPI FsRtlAcquireFileForCcFlush | ( | IN PFILE_OBJECT | FileObject | ) |
Definition at line 1757 of file fastio.c.
NTSTATUS NTAPI FsRtlAcquireFileForCcFlushEx | ( | IN PFILE_OBJECT | FileObject | ) |
Definition at line 1698 of file fastio.c.
Referenced by CcRosFlushVacb(), and FsRtlAcquireFileForCcFlush().
_Check_return_ NTSTATUS NTAPI FsRtlAcquireFileForModWriteEx | ( | _In_ PFILE_OBJECT | FileObject, |
_In_ PLARGE_INTEGER | EndingOffset, | ||
_Outptr_result_maybenull_ PERESOURCE * | ResourceToRelease | ||
) |
Lock a file object before flushing pages to disk. To be called by the Modified Page Writer (MPW)
FileObject | - The file object to lock |
EndingOffset | - The end offset of the write to be done |
ResourceToRelease | - Pointer receiving the resource to release after the write |
Definition at line 1858 of file fastio.c.
NTSTATUS NTAPI FsRtlAcquireToCreateMappedSection | ( | _In_ PFILE_OBJECT | FileObject, |
_In_ ULONG | SectionPageProtection | ||
) |
Definition at line 1653 of file fastio.c.
Referenced by MmCreateArm3Section(), and MmCreateSection().
BOOLEAN NTAPI FsRtlCopyRead | ( | IN PFILE_OBJECT | FileObject, |
IN PLARGE_INTEGER | FileOffset, | ||
IN ULONG | Length, | ||
IN BOOLEAN | Wait, | ||
IN ULONG | LockKey, | ||
OUT PVOID | Buffer, | ||
OUT PIO_STATUS_BLOCK | IoStatus, | ||
IN PDEVICE_OBJECT | DeviceObject | ||
) |
Definition at line 64 of file fastio.c.
Referenced by CdInitializeGlobalData(), Ext2FastIoRead(), FsRtlTest_StartTest(), init_fast_io_dispatch(), and UDFInitializeFunctionPointers().
BOOLEAN NTAPI FsRtlCopyWrite | ( | IN PFILE_OBJECT | FileObject, |
IN PLARGE_INTEGER | FileOffset, | ||
IN ULONG | Length, | ||
IN BOOLEAN | Wait, | ||
IN ULONG | LockKey, | ||
OUT PVOID | Buffer, | ||
OUT PIO_STATUS_BLOCK | IoStatus, | ||
IN PDEVICE_OBJECT | DeviceObject | ||
) |
Definition at line 264 of file fastio.c.
Referenced by _Function_class_(), Ext2FastIoWrite(), FsRtlTest_StartTest(), and UDFFastIoCopyWrite().
NTSTATUS NTAPI FsRtlGetFileSize | ( | IN PFILE_OBJECT | FileObject, |
IN OUT PLARGE_INTEGER | FileSize | ||
) |
Definition at line 815 of file fastio.c.
Referenced by FsRtlTest_StartTest(), and MmCreateDataFileSection().
Definition at line 24 of file fastio.c.
Referenced by FsRtlCopyRead().
BOOLEAN NTAPI FsRtlMdlRead | ( | IN PFILE_OBJECT | FileObject, |
IN PLARGE_INTEGER | FileOffset, | ||
IN ULONG | Length, | ||
IN ULONG | LockKey, | ||
OUT PMDL * | MdlChain, | ||
OUT PIO_STATUS_BLOCK | IoStatus | ||
) |
Definition at line 921 of file fastio.c.
Referenced by FsRtlTest_StartTest().
Definition at line 973 of file fastio.c.
Referenced by FsRtlTest_StartTest().
BOOLEAN NTAPI FsRtlMdlReadCompleteDev | ( | IN PFILE_OBJECT | FileObject, |
IN PMDL | MemoryDescriptorList, | ||
IN PDEVICE_OBJECT | DeviceObject | ||
) |
Definition at line 1011 of file fastio.c.
Referenced by CdInitializeGlobalData(), FsRtlMdlReadComplete(), FsRtlTest_StartTest(), and init_fast_io_dispatch().
BOOLEAN NTAPI FsRtlMdlReadDev | ( | IN PFILE_OBJECT | FileObject, |
IN PLARGE_INTEGER | FileOffset, | ||
IN ULONG | Length, | ||
IN ULONG | LockKey, | ||
OUT PMDL * | MdlChain, | ||
OUT PIO_STATUS_BLOCK | IoStatus, | ||
IN PDEVICE_OBJECT | DeviceObject | ||
) |
Definition at line 1025 of file fastio.c.
Referenced by CdInitializeGlobalData(), FsRtlMdlRead(), FsRtlTest_StartTest(), and init_fast_io_dispatch().
BOOLEAN NTAPI FsRtlMdlWriteComplete | ( | IN PFILE_OBJECT | FileObject, |
IN PLARGE_INTEGER | FileOffset, | ||
IN PMDL | MdlChain | ||
) |
Definition at line 1153 of file fastio.c.
Referenced by FsRtlTest_StartTest().
BOOLEAN NTAPI FsRtlMdlWriteCompleteDev | ( | IN PFILE_OBJECT | FileObject, |
IN PLARGE_INTEGER | FileOffset, | ||
IN PMDL | MdlChain, | ||
IN PDEVICE_OBJECT | DeviceObject | ||
) |
Definition at line 1198 of file fastio.c.
Referenced by CdInitializeGlobalData(), FsRtlMdlWriteComplete(), FsRtlTest_StartTest(), and init_fast_io_dispatch().
|
static |
Get the resource to acquire when Mod Writer flushes data to disk.
FcbHeader | - FCB header from the file object |
EndingOffset | - The end offset of the write to be done |
ResourceToAcquire | - Pointer receiving the resource to acquire before doing the write |
Definition at line 1815 of file fastio.c.
Referenced by FsRtlAcquireFileForModWriteEx().
BOOLEAN NTAPI FsRtlPrepareMdlWrite | ( | IN PFILE_OBJECT | FileObject, |
IN PLARGE_INTEGER | FileOffset, | ||
IN ULONG | Length, | ||
IN ULONG | LockKey, | ||
OUT PMDL * | MdlChain, | ||
OUT PIO_STATUS_BLOCK | IoStatus | ||
) |
Definition at line 1218 of file fastio.c.
Referenced by FsRtlTest_StartTest().
BOOLEAN NTAPI FsRtlPrepareMdlWriteDev | ( | IN PFILE_OBJECT | FileObject, |
IN PLARGE_INTEGER | FileOffset, | ||
IN ULONG | Length, | ||
IN ULONG | LockKey, | ||
OUT PMDL * | MdlChain, | ||
OUT PIO_STATUS_BLOCK | IoStatus, | ||
IN PDEVICE_OBJECT | DeviceObject | ||
) |
Definition at line 1272 of file fastio.c.
Referenced by CdInitializeGlobalData(), FsRtlPrepareMdlWrite(), FsRtlTest_StartTest(), and init_fast_io_dispatch().
NTSTATUS NTAPI FsRtlRegisterFileSystemFilterCallbacks | ( | PDRIVER_OBJECT | FilterDriverObject, |
PFS_FILTER_CALLBACKS | Callbacks | ||
) |
Definition at line 2014 of file fastio.c.
Referenced by DriverEntry(), and SetupDispatchAndCallbacksTables().
VOID NTAPI FsRtlReleaseFile | ( | IN PFILE_OBJECT | FileObject | ) |
Definition at line 1665 of file fastio.c.
Referenced by MiRosUnmapViewOfSection(), MmCreateSection(), and MmNotPresentFaultSectionView().
VOID NTAPI FsRtlReleaseFileForCcFlush | ( | IN PFILE_OBJECT | FileObject | ) |
Definition at line 1771 of file fastio.c.
Referenced by CcRosFlushVacb().
VOID NTAPI FsRtlReleaseFileForModWrite | ( | _In_ PFILE_OBJECT | FileObject, |
_In_ PERESOURCE | ResourceToRelease | ||
) |
Unlock a file object after flushing pages to disk. To be called by the Modified Page Writer (MPW) after a succesful call to FsRtlAcquireFileForModWriteEx.
FileObject | - The file object to unlock |
ResourceToRelease | - The resource to release |
Definition at line 1965 of file fastio.c.