#include "fs_rec.h"
#include "btrfs.h"
#include <debug.h>
Go to the source code of this file.
◆ NDEBUG
◆ FsRecBtrfsFsControl()
Definition at line 30 of file btrfs.c.
32{
41
42
44 switch (
Stack->MinorFunction)
45 {
47
48
50
51
52 MountDevice =
Stack->Parameters.MountVolume.DeviceObject;
54 {
55
62 &DeviceError))
63 {
64
66 {
67
69 }
70 }
71
72
74 }
75 else
76 {
77
79 }
80
81
82 if (DeviceError)
83 {
84
86 {
87
89 }
90 }
91
92 break;
93
95
96
98 L"\\Registry\\Machine\\System\\CurrentControlSet\\Services\\btrfs");
99 break;
100
101 default:
102
103
105 }
106
107
109}
static PIO_STACK_LOCATION IoGetCurrentIrpStackLocation(PIRP Irp)
BOOLEAN NTAPI FsRecIsBtrfsVolume(IN PBTRFS_SUPER_BLOCK SuperBlock)
BOOLEAN NTAPI FsRecReadBlock(IN PDEVICE_OBJECT DeviceObject, IN PLARGE_INTEGER Offset, IN ULONG Length, IN ULONG SectorSize, IN OUT PVOID *Buffer, OUT PBOOLEAN DeviceError OPTIONAL)
BOOLEAN NTAPI FsRecGetDeviceSectorSize(IN PDEVICE_OBJECT DeviceObject, OUT PULONG SectorSize)
NTSTATUS NTAPI FsRecLoadFileSystem(IN PDEVICE_OBJECT DeviceObject, IN PWCHAR DriverServiceName)
#define FILE_FLOPPY_DISKETTE
_In_ ULONG _In_ ULONG Offset
#define STATUS_FS_DRIVER_REQUIRED
#define STATUS_INVALID_DEVICE_REQUEST
#define STATUS_UNRECOGNIZED_VOLUME
_In_ PDEVICE_OBJECT DeviceObject
_In_ WDFREQUEST _In_ PIO_STACK_LOCATION Stack
#define IRP_MN_LOAD_FILE_SYSTEM
#define IRP_MN_MOUNT_VOLUME
Referenced by FsRecFsControl().
◆ FsRecIsBtrfsVolume()