ReactOS 0.4.15-dev-8131-g4988de4
faulttol.c File Reference
#include <ntoskrnl.h>
#include "ntddft.h"
#include <debug.h>
Include dependency graph for faulttol.c:

Go to the source code of this file.

Macros

#define NDEBUG
 

Functions

NTSTATUS NTAPI FsRtlBalanceReads (PDEVICE_OBJECT TargetDevice)
 
NTSTATUS NTAPI FsRtlSyncVolumes (ULONG Unknown0, ULONG Unknown1, ULONG Unknown2)
 

Macro Definition Documentation

◆ NDEBUG

#define NDEBUG

Definition at line 13 of file faulttol.c.

Function Documentation

◆ FsRtlBalanceReads()

NTSTATUS NTAPI FsRtlBalanceReads ( PDEVICE_OBJECT  TargetDevice)

Definition at line 35 of file faulttol.c.

36{
37 PIRP Irp;
41
42 /* Initialize the Local Event */
44
45 /* Build the special IOCTL */
48 NULL,
49 0,
50 NULL,
51 0,
52 FALSE,
53 &Event,
56
57 /* Send it */
59
60 /* Wait if needed */
62 {
66 FALSE,
67 NULL);
69
70 /* Return Status */
72 }
73
74 /* Return the status */
75 return Status;
76}
LONG NTSTATUS
Definition: precomp.h:26
_In_ PIRP Irp
Definition: csq.h:116
#define NULL
Definition: types.h:112
#define FALSE
Definition: types.h:117
#define KeWaitForSingleObject(pEvt, foo, a, b, c)
Definition: env_spec_w32.h:478
#define KeInitializeEvent(pEvt, foo, foo2)
Definition: env_spec_w32.h:477
Status
Definition: gdiplustypes.h:25
#define ASSERT(a)
Definition: mode.c:44
static OUT PIO_STATUS_BLOCK IoStatusBlock
Definition: pipe.c:75
#define KernelMode
Definition: asm.h:34
#define FT_BALANCED_READ_MODE
Definition: ntddft.h:31
@ NotificationEvent
PIRP NTAPI IoBuildDeviceIoControlRequest(IN ULONG IoControlCode, IN PDEVICE_OBJECT DeviceObject, IN PVOID InputBuffer, IN ULONG InputBufferLength, IN PVOID OutputBuffer, IN ULONG OutputBufferLength, IN BOOLEAN InternalDeviceIoControl, IN PKEVENT Event, IN PIO_STATUS_BLOCK IoStatusBlock)
Definition: irp.c:881
#define IoCallDriver
Definition: irp.c:1225
#define STATUS_PENDING
Definition: ntstatus.h:82
#define STATUS_SUCCESS
Definition: shellext.h:65
#define STATUS_INSUFFICIENT_RESOURCES
Definition: udferr_usr.h:158
_Must_inspect_result_ __drv_aliasesMem PDEVICE_OBJECT _In_ PDEVICE_OBJECT TargetDevice
Definition: iofuncs.h:691
@ Executive
Definition: ketypes.h:415

Referenced by FatCheckDirtyBit().

◆ FsRtlSyncVolumes()

NTSTATUS NTAPI FsRtlSyncVolumes ( ULONG  Unknown0,
ULONG  Unknown1,
ULONG  Unknown2 
)

Definition at line 91 of file faulttol.c.

94{
95 /* Always return success */
96 return STATUS_SUCCESS;
97}