|
ReactOS 0.4.17-dev-1190-g4c812f4
|

Go to the source code of this file.
Macros | |
| #define | NDEBUG |
Functions | |||||||||||||||||
| VOID | NtfsInitIoRunList (OUT PNTFS_IO_RUN_LIST RunList) | ||||||||||||||||
NtfsAddIoRun | |||||||||||||||||
@implemented Appends one contiguous piece to a request's run list.
| |||||||||||||||||
| NTSTATUS | NtfsAddIoRun (IN OUT PNTFS_IO_RUN_LIST RunList, IN LONGLONG Lbo, IN ULONG ByteCount) | ||||||||||||||||
| VOID | NtfsFreeIoRunList (IN OUT PNTFS_IO_RUN_LIST RunList) | ||||||||||||||||
| static NTSTATUS NTAPI | NtfsIoRunCompletionRoutine (IN PDEVICE_OBJECT DeviceObject, IN PIRP Irp, IN PVOID Context) | ||||||||||||||||
| static NTSTATUS | NtfsBuildIoRunIrp (IN PDEVICE_OBJECT DeviceObject, IN PNTFS_IO_CONTEXT IoContext, IN UCHAR MajorFunction, IN PUCHAR Buffer, IN ULONG BufferLength, IN OUT PNTFS_IO_RUN Run, IN BOOLEAN Override) | ||||||||||||||||
| static NTSTATUS | NtfsIssueIoRuns (IN PDEVICE_OBJECT DeviceObject, IN UCHAR MajorFunction, IN OUT PUCHAR Buffer, IN PMDL BorrowedMdl OPTIONAL, IN PNTFS_IO_RUN_LIST RunList, IN BOOLEAN Override, OUT PULONG BytesTransferred) | ||||||||||||||||
NtfsPerformIoRuns | |||||||||||||||||
@implemented Reads or writes the pieces described by RunList, all in parallel.
| |||||||||||||||||
| static NTSTATUS | NtfsPerformIoRunsInternal (IN PDEVICE_OBJECT DeviceObject, IN UCHAR MajorFunction, IN ULONG SectorSize, IN OUT PUCHAR Buffer, IN PMDL BorrowedMdl OPTIONAL, IN PNTFS_IO_RUN_LIST RunList, IN BOOLEAN Override, OUT PULONG BytesTransferred OPTIONAL) | ||||||||||||||||
| static NTSTATUS NTAPI | NtfsForwardedIrpCompletionRoutine (IN PDEVICE_OBJECT DeviceObject, IN PIRP Irp, IN PVOID Context) | ||||||||||||||||
| static NTSTATUS | NtfsForwardIrpToRun (IN PDEVICE_OBJECT DeviceObject, IN UCHAR MajorFunction, IN PIRP Irp, IN PNTFS_IO_RUN Run, IN BOOLEAN Override, OUT PULONG BytesTransferred) | ||||||||||||||||
NtfsPerformIrpIoRuns | |||||||||||||||||
@implemented Transfers the runs of a request that originated from an IRP, forwarding that IRP straight to the storage stack when the request allows it.
| |||||||||||||||||
| NTSTATUS | NtfsPerformIrpIoRuns (IN PDEVICE_OBJECT DeviceObject, IN UCHAR MajorFunction, IN ULONG SectorSize, IN PIRP Irp, IN OUT PUCHAR Buffer, IN PNTFS_IO_RUN_LIST RunList, IN BOOLEAN Override, OUT PULONG BytesTransferred) | ||||||||||||||||
| NTSTATUS | NtfsPerformIoRuns (IN PDEVICE_OBJECT DeviceObject, IN UCHAR MajorFunction, IN ULONG SectorSize, IN OUT PUCHAR Buffer, IN PNTFS_IO_RUN_LIST RunList, IN BOOLEAN Override, OUT PULONG BytesTransferred OPTIONAL) | ||||||||||||||||
NtfsReadDisk | |||||||||||||||||
@implemented Reads a single contiguous range from the given DeviceObject.
| |||||||||||||||||
| NTSTATUS | NtfsReadDisk (IN PDEVICE_OBJECT DeviceObject, IN LONGLONG StartingOffset, IN ULONG Length, IN ULONG SectorSize, IN OUT PUCHAR Buffer, IN BOOLEAN Override) | ||||||||||||||||
NtfsWriteDisk | |||||||||||||||||
@implemented Writes data from the given buffer to the given DeviceObject.
| |||||||||||||||||
| NTSTATUS | NtfsWriteDisk (IN PDEVICE_OBJECT DeviceObject, IN LONGLONG StartingOffset, IN ULONG Length, IN ULONG SectorSize, IN const PUCHAR Buffer) | ||||||||||||||||
NtfsFlushDevice | |||||||||||||||||
@implemented Asks the storage stack to push everything it is holding out to the media.
| |||||||||||||||||
| NTSTATUS | NtfsFlushDevice (IN PDEVICE_OBJECT DeviceObject) | ||||||||||||||||
| NTSTATUS | NtfsReadSectors (IN PDEVICE_OBJECT DeviceObject, IN ULONG DiskSector, IN ULONG SectorCount, IN ULONG SectorSize, IN OUT PUCHAR Buffer, IN BOOLEAN Override) | ||||||||||||||||
| NTSTATUS | NtfsDeviceIoControl (IN PDEVICE_OBJECT DeviceObject, IN ULONG ControlCode, IN PVOID InputBuffer, IN ULONG InputBufferSize, IN OUT PVOID OutputBuffer, IN OUT PULONG OutputBufferSize, IN BOOLEAN Override) | ||||||||||||||||
| #define NDEBUG |
Definition at line 31 of file blockdev.c.
Definition at line 74 of file blockdev.c.
Referenced by NtfsMapAttributeRuns(), NtfsReadDisk(), NtfsReadWriteVolume(), and NtfsWriteDisk().
|
static |
Definition at line 204 of file blockdev.c.
Referenced by NtfsIssueIoRuns().
| NTSTATUS NtfsDeviceIoControl | ( | IN PDEVICE_OBJECT | DeviceObject, |
| IN ULONG | ControlCode, | ||
| IN PVOID | InputBuffer, | ||
| IN ULONG | InputBufferSize, | ||
| IN OUT PVOID | OutputBuffer, | ||
| IN OUT PULONG | OutputBufferSize, | ||
| IN BOOLEAN | Override | ||
| ) |
Definition at line 1029 of file blockdev.c.
Referenced by NtfsGetVolumeData(), and NtfsHasFileSystem().
| NTSTATUS NtfsFlushDevice | ( | IN PDEVICE_OBJECT | DeviceObject | ) |
Definition at line 964 of file blockdev.c.
Referenced by NtfsFlushBuffers().
|
static |
Definition at line 642 of file blockdev.c.
Referenced by NtfsForwardIrpToRun().
|
static |
Definition at line 663 of file blockdev.c.
Referenced by NtfsPerformIrpIoRuns().
| VOID NtfsFreeIoRunList | ( | IN OUT PNTFS_IO_RUN_LIST | RunList | ) |
Definition at line 140 of file blockdev.c.
Referenced by NtfsReadDisk(), NtfsReadWriteVolume(), NtfsWriteDisk(), ReadAttributeToIrp(), and WriteAttributeFromIrp().
| VOID NtfsInitIoRunList | ( | OUT PNTFS_IO_RUN_LIST | RunList | ) |
Definition at line 40 of file blockdev.c.
Referenced by NtfsReadDisk(), NtfsReadWriteVolume(), NtfsWriteDisk(), ReadAttributeToIrp(), and WriteAttributeFromIrp().
|
static |
Definition at line 162 of file blockdev.c.
Referenced by NtfsBuildIoRunIrp(), and NtfsFlushDevice().
|
static |
Definition at line 276 of file blockdev.c.
Referenced by NtfsPerformIoRunsInternal().
| NTSTATUS NtfsPerformIoRuns | ( | IN PDEVICE_OBJECT | DeviceObject, |
| IN UCHAR | MajorFunction, | ||
| IN ULONG | SectorSize, | ||
| IN OUT PUCHAR | Buffer, | ||
| IN PNTFS_IO_RUN_LIST | RunList, | ||
| IN BOOLEAN | Override, | ||
| OUT PULONG BytesTransferred | OPTIONAL | ||
| ) |
Definition at line 788 of file blockdev.c.
Referenced by NtfsReadDisk(), and NtfsWriteDisk().
|
static |
Definition at line 483 of file blockdev.c.
Referenced by NtfsPerformIoRuns(), and NtfsPerformIrpIoRuns().
| NTSTATUS NtfsPerformIrpIoRuns | ( | IN PDEVICE_OBJECT | DeviceObject, |
| IN UCHAR | MajorFunction, | ||
| IN ULONG | SectorSize, | ||
| IN PIRP | Irp, | ||
| IN OUT PUCHAR | Buffer, | ||
| IN PNTFS_IO_RUN_LIST | RunList, | ||
| IN BOOLEAN | Override, | ||
| OUT PULONG | BytesTransferred | ||
| ) |
Definition at line 743 of file blockdev.c.
Referenced by NtfsReadWriteVolume(), ReadAttributeToIrp(), and WriteAttributeFromIrp().
| NTSTATUS NtfsReadDisk | ( | IN PDEVICE_OBJECT | DeviceObject, |
| IN LONGLONG | StartingOffset, | ||
| IN ULONG | Length, | ||
| IN ULONG | SectorSize, | ||
| IN OUT PUCHAR | Buffer, | ||
| IN BOOLEAN | Override | ||
| ) |
Definition at line 836 of file blockdev.c.
Referenced by NtfsPerformIoRunsInternal(), and NtfsReadSectors().
| NTSTATUS NtfsReadSectors | ( | IN PDEVICE_OBJECT | DeviceObject, |
| IN ULONG | DiskSector, | ||
| IN ULONG | SectorCount, | ||
| IN ULONG | SectorSize, | ||
| IN OUT PUCHAR | Buffer, | ||
| IN BOOLEAN | Override | ||
| ) |
Definition at line 1011 of file blockdev.c.
Referenced by NtfsGetVolumeData(), NtfsHasFileSystem(), and ReadLCN().
| NTSTATUS NtfsWriteDisk | ( | IN PDEVICE_OBJECT | DeviceObject, |
| IN LONGLONG | StartingOffset, | ||
| IN ULONG | Length, | ||
| IN ULONG | SectorSize, | ||
| IN const PUCHAR | Buffer | ||
| ) |
Definition at line 907 of file blockdev.c.