#include "fs_rec.h"
Go to the source code of this file.
Defines | |
#define | Dbg (FSREC_DEBUG_LEVEL_FSREC) |
#define | RoundUp(x, y) ( ((x + (y-1)) / y) * y ) |
Functions | |
NTSTATUS | DriverEntry (IN PDRIVER_OBJECT DriverObject, IN PUNICODE_STRING RegistryPath) |
NTSTATUS | FsRecCleanupClose (IN PDEVICE_OBJECT DeviceObject, IN PIRP Irp) |
NTSTATUS | FsRecCreate (IN PDEVICE_OBJECT DeviceObject, IN PIRP Irp) |
NTSTATUS | FsRecCreateAndRegisterDO (IN PDRIVER_OBJECT DriverObject, IN PDEVICE_OBJECT HeadRecognizer OPTIONAL, OUT PDEVICE_OBJECT *NewRecognizer OPTIONAL, IN PWCHAR RecFileSystem, IN PWCHAR FileSystemName, IN FILE_SYSTEM_TYPE FileSystemType, IN DEVICE_TYPE DeviceType) |
NTSTATUS | FsRecFsControl (IN PDEVICE_OBJECT DeviceObject, IN PIRP Irp) |
VOID | FsRecUnload (IN PDRIVER_OBJECT DriverObject) |
NTSTATUS | FsRecLoadFileSystem (IN PDEVICE_OBJECT DeviceObject, IN PWCHAR DriverServiceName) |
BOOLEAN | FsRecGetDeviceSectors (IN PDEVICE_OBJECT DeviceObject, IN ULONG BytesPerSector, OUT PLARGE_INTEGER NumberOfSectors) |
BOOLEAN | FsRecGetDeviceSectorSize (IN PDEVICE_OBJECT DeviceObject, OUT PULONG BytesPerSector) |
BOOLEAN | FsRecReadBlock (IN PDEVICE_OBJECT DeviceObject, IN PLARGE_INTEGER ByteOffset, IN ULONG MinimumBytes, IN ULONG BytesPerSector, OUT PVOID *Buffer, OUT PBOOLEAN IsDeviceFailure OPTIONAL) |
Variables | |
PKEVENT | FsRecLoadSync |
|
|
|
Referenced by FsRecReadBlock(). |
|
Definition at line 67 of file fs_rec.c. Referenced by CmGetSystemDriverList(), CmpAddDriverToList(), DriverEntry(), IopGetLoadedDriverInfo(), IopInitializeBuiltinDriver(), IopWriteDriverList(), and IopWriteTriageDump().
|
|
Definition at line 195 of file fs_rec.c. References IO_NO_INCREMENT, IoCompleteRequest, Irp, and PAGED_CODE. Referenced by DriverEntry().
|
|
Definition at line 233 of file fs_rec.c. References _FILE_OBJECT::FileName, _IO_STACK_LOCATION::FileObject, IO_NO_INCREMENT, IoCompleteRequest, IoGetCurrentIrpStackLocation, _IRP::IoStatus, Irp, NTSTATUS(), and PAGED_CODE. Referenced by DriverEntry().
|
|
Definition at line 282 of file fs_rec.c. References Active, _DEVICE_EXTENSION::CoRecognizer, _DEVICE_OBJECT::DeviceExtension, _DEVICE_OBJECT::DeviceObjectExtension, FALSE, FILE_SYSTEM_TYPE, _DEVICE_EXTENSION::FileSystemType, IoCreateDevice(), IoRegisterFileSystem(), NT_SUCCESS, NTSTATUS(), NULL, PAGED_CODE, RtlInitUnicodeString(), _DEVICE_EXTENSION::State, and ZwCreateFile(). Referenced by DriverEntry().
|
|
Definition at line 446 of file fs_rec.c. References Active, CdfsFileSystem, CdfsRecFsControl(), FatFileSystem, FatRecFsControl(), _DEVICE_EXTENSION::FileSystemType, IO_NO_INCREMENT, IoCompleteRequest, IoGetCurrentIrpStackLocation, _IRP::IoStatus, Irp, IRP_MN_MOUNT_VOLUME, _IO_STACK_LOCATION::MinorFunction, NtfsFileSystem, NtfsRecFsControl(), NTSTATUS(), PAGED_CODE, _DEVICE_EXTENSION::State, Transparent, UdfsFileSystem, and UdfsRecFsControl(). Referenced by DriverEntry().
|
|
Definition at line 703 of file fs_rec.c. References Executive, FALSE, IoBuildDeviceIoControlRequest(), IoCallDriver, IoGetNextIrpStackLocation, KeInitializeEvent, KernelMode, KeWaitForSingleObject(), NT_SUCCESS, NTSTATUS(), NULL, PAGED_CODE, RtlExtendedLargeIntegerDivide(), SetFlag, SL_OVERRIDE_VERIFY_VOLUME, TRUE, and VOID(). Referenced by NtfsRecFsControl().
|
|
Definition at line 800 of file fs_rec.c. References Executive, FALSE, IoBuildDeviceIoControlRequest(), IoCallDriver, IoGetNextIrpStackLocation, KeInitializeEvent, KernelMode, KeWaitForSingleObject(), NT_SUCCESS, NTSTATUS(), NULL, PAGED_CODE, SetFlag, SL_OVERRIDE_VERIFY_VOLUME, TRUE, and VOID(). Referenced by FatRecFsControl(), NtfsRecFsControl(), and UdfsRecFsControl().
|
|
Definition at line 579 of file fs_rec.c. References Active, _DEVICE_EXTENSION::CoRecognizer, Executive, FALSE, FastUnload, FsRecLoadSync, IoUnregisterFileSystem(), KeEnterCriticalRegion, KeLeaveCriticalRegion, KernelMode, KeSetEvent(), KeWaitForSingleObject(), NTSTATUS(), NULL, PAGED_CODE, RtlInitUnicodeString(), _DEVICE_EXTENSION::State, Transparent, and ZwLoadDriver(). Referenced by CdfsRecFsControl(), FatRecFsControl(), NtfsRecFsControl(), and UdfsRecFsControl().
|
|
Definition at line 907 of file fs_rec.c. References Buffer, ExAllocatePoolWithTag, Executive, FALSE, FSREC_POOL_TAG, IoBuildSynchronousFsdRequest(), IoCallDriver, IoGetNextIrpStackLocation, IRP_MJ_READ, KeInitializeEvent, KernelMode, KeWaitForSingleObject(), NonPagedPool, NT_SUCCESS, NTSTATUS(), NULL, PAGE_SIZE, PAGED_CODE, RoundUp, SetFlag, SL_OVERRIDE_VERIFY_VOLUME, TRUE, and VOID(). Referenced by FatRecFsControl(), IsUdfsVolume(), and NtfsRecFsControl().
|
|
Definition at line 539 of file fs_rec.c. References ExFreePool(), FsRecLoadSync, IoDeleteDevice(), and PAGED_CODE. Referenced by DriverEntry().
|
|
Definition at line 63 of file fs_rec.c. Referenced by DriverEntry(), FsRecLoadFileSystem(), and FsRecUnload(). |