ReactOS 0.4.16-dev-1170-ge326b06
|
Go to the source code of this file.
Classes | |
struct | _TEST_FCB |
Macros | |
#define | NDEBUG |
#define | IOCTL_START_TEST 1 |
#define | IOCTL_FINISH_TEST 2 |
Typedefs | |
typedef struct _TEST_FCB | TEST_FCB |
typedef struct _TEST_FCB * | PTEST_FCB |
Functions | |
NTSTATUS | TestEntry (_In_ PDRIVER_OBJECT DriverObject, _In_ PCUNICODE_STRING RegistryPath, _Out_ PCWSTR *DeviceName, _Inout_ INT *Flags) |
VOID | TestUnload (_In_ PDRIVER_OBJECT DriverObject) |
BOOLEAN NTAPI | AcquireForLazyWrite (_In_ PVOID Context, _In_ BOOLEAN Wait) |
VOID NTAPI | ReleaseFromLazyWrite (_In_ PVOID Context) |
BOOLEAN NTAPI | AcquireForReadAhead (_In_ PVOID Context, _In_ BOOLEAN Wait) |
VOID NTAPI | ReleaseFromReadAhead (_In_ PVOID Context) |
static PVOID | MapAndLockUserBuffer (_In_ _Out_ PIRP Irp, _In_ ULONG BufferLength) |
static VOID | PerformTest (ULONG TestId, PDEVICE_OBJECT DeviceObject) |
static VOID | CleanupTest (ULONG TestId, PDEVICE_OBJECT DeviceObject) |
static NTSTATUS | TestMessageHandler (_In_ PDEVICE_OBJECT DeviceObject, _In_ ULONG ControlCode, _In_opt_ PVOID Buffer, _In_ SIZE_T InLength, _Inout_ PSIZE_T OutLength) |
static NTSTATUS | TestIrpHandler (_In_ PDEVICE_OBJECT DeviceObject, _In_ PIRP Irp, _In_ PIO_STACK_LOCATION IoStack) |
Variables | |
static ULONG | TestTestId = -1 |
static PFILE_OBJECT | TestFileObject |
static PDEVICE_OBJECT | TestDeviceObject |
static KMT_IRP_HANDLER | TestIrpHandler |
static KMT_MESSAGE_HANDLER | TestMessageHandler |
static BOOLEAN | TestUnpin = FALSE |
static BOOLEAN | TestSizing = FALSE |
static BOOLEAN | TestDirtying = FALSE |
static BOOLEAN | TestUncaching = FALSE |
static BOOLEAN | TestWritten = FALSE |
static CACHE_MANAGER_CALLBACKS | Callbacks |
static CC_FILE_SIZES | NewFileSizes |
#define IOCTL_FINISH_TEST 2 |
Definition at line 14 of file CcSetFileSizes_drv.c.
#define IOCTL_START_TEST 1 |
Definition at line 13 of file CcSetFileSizes_drv.c.
#define NDEBUG |
Definition at line 10 of file CcSetFileSizes_drv.c.
Definition at line 68 of file CcSetFileSizes_drv.c.
Definition at line 85 of file CcSetFileSizes_drv.c.
|
static |
Definition at line 345 of file CcSetFileSizes_drv.c.
Referenced by TestMessageHandler().
Definition at line 115 of file CcSetFileSizes_drv.c.
Referenced by TestIrpHandler().
|
static |
Definition at line 147 of file CcSetFileSizes_drv.c.
Referenced by TestMessageHandler().
Definition at line 77 of file CcSetFileSizes_drv.c.
Definition at line 94 of file CcSetFileSizes_drv.c.
NTSTATUS TestEntry | ( | _In_ PDRIVER_OBJECT | DriverObject, |
_In_ PCUNICODE_STRING | RegistryPath, | ||
_Out_ PCWSTR * | DeviceName, | ||
_Inout_ INT * | Flags | ||
) |
Definition at line 35 of file CcSetFileSizes_drv.c.
|
static |
Definition at line 419 of file CcSetFileSizes_drv.c.
|
static |
Definition at line 384 of file CcSetFileSizes_drv.c.
VOID TestUnload | ( | _In_ PDRIVER_OBJECT | DriverObject | ) |
Definition at line 60 of file CcSetFileSizes_drv.c.
|
static |
Definition at line 100 of file CcSetFileSizes_drv.c.
Referenced by PerformTest().
|
static |
Definition at line 107 of file CcSetFileSizes_drv.c.
Referenced by PerformTest().
|
static |
Definition at line 25 of file CcSetFileSizes_drv.c.
Referenced by CleanupTest(), PerformTest(), and TestIrpHandler().
Definition at line 30 of file CcSetFileSizes_drv.c.
Referenced by PerformTest(), and TestIrpHandler().
|
static |
Definition at line 24 of file CcSetFileSizes_drv.c.
Referenced by CleanupTest(), PerformTest(), and TestIrpHandler().
|
static |
Definition at line 26 of file CcSetFileSizes_drv.c.
Referenced by TestEntry().
|
static |
Definition at line 27 of file CcSetFileSizes_drv.c.
Referenced by TestEntry().
Definition at line 29 of file CcSetFileSizes_drv.c.
Referenced by PerformTest(), and TestIrpHandler().
|
static |
Definition at line 23 of file CcSetFileSizes_drv.c.
Referenced by CleanupTest(), PerformTest(), and TestIrpHandler().
Definition at line 31 of file CcSetFileSizes_drv.c.
Referenced by CleanupTest(), and TestIrpHandler().
Definition at line 28 of file CcSetFileSizes_drv.c.
Referenced by PerformTest(), and TestIrpHandler().
Definition at line 32 of file CcSetFileSizes_drv.c.
Referenced by PerformTest(), and TestIrpHandler().