ReactOS  0.4.15-dev-2344-g8ddbfde
fastio.c
Go to the documentation of this file.
1 /*
2  * ReactOS kernel
3  * Copyright (C) 2008 ReactOS Team
4  *
5  * This program is free software; you can redistribute it and/or modify
6  * it under the terms of the GNU General Public License as published by
7  * the Free Software Foundation; either version 2 of the License, or
8  * (at your option) any later version.
9  *
10  * This program is distributed in the hope that it will be useful,
11  * but WITHOUT ANY WARRANTY; without even the implied warranty of
12  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13  * GNU General Public License for more details.
14  *
15  * You should have received a copy of the GNU General Public License
16  * along with this program; if not, write to the Free Software
17  * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA.
18  *
19  * COPYRIGHT: See COPYING in the top level directory
20  * PROJECT: ReactOS kernel
21  * FILE: drivers/filesystem/ntfs/fastio.c
22  * PURPOSE: NTFS filesystem driver
23  * PROGRAMMER: Pierre Schweitzer
24  */
25 
26 /* INCLUDES *****************************************************************/
27 
28 #include <ntddk.h>
29 
30 #define NDEBUG
31 #include <debug.h>
32 
33 #include "ntfs.h"
34 
35 /* FUNCTIONS ****************************************************************/
36 
37 BOOLEAN
38 NTAPI
40  BOOLEAN Wait)
41 {
45  return FALSE;
46 }
47 
48 
49 VOID
50 NTAPI
52 {
55 }
56 
57 
58 BOOLEAN
59 NTAPI
61  BOOLEAN Wait)
62 {
66  return FALSE;
67 }
68 
69 
70 VOID
71 NTAPI
73 {
76 }
77 
78 BOOLEAN
79 NTAPI
89 {
90  /* Deny FastIo */
99  return FALSE;
100 }
101 
102 BOOLEAN
103 NTAPI
107  _In_ ULONG Length,
108  _In_ BOOLEAN Wait,
113 {
122  return FALSE;
123 }
124 
125 BOOLEAN
126 NTAPI
130  _In_ ULONG Length,
131  _In_ BOOLEAN Wait,
133  _In_ PVOID Buffer,
136 {
145  return FALSE;
146 }
147 
148 /* EOF */
_In_ ULONG _In_ ULONG _In_ ULONG Length
Definition: ntddpcm.h:101
#define UNREFERENCED_PARAMETER(P)
Definition: ntbasedef.h:317
#define DBG_UNREFERENCED_PARAMETER(P)
Definition: ntbasedef.h:318
_In_ WDFDPC _In_ BOOLEAN Wait
Definition: wdfdpc.h:167
VOID NTAPI NtfsRelLazyWrite(PVOID Context)
Definition: fastio.c:51
BOOLEAN NTAPI NtfsAcqReadAhead(PVOID Context, BOOLEAN Wait)
Definition: fastio.c:60
BOOLEAN NTAPI NtfsFastIoRead(_In_ PFILE_OBJECT FileObject, _In_ PLARGE_INTEGER FileOffset, _In_ ULONG Length, _In_ BOOLEAN Wait, _In_ ULONG LockKey, _Out_ PVOID Buffer, _Out_ PIO_STATUS_BLOCK IoStatus, _In_ PDEVICE_OBJECT DeviceObject)
Definition: fastio.c:104
IN PLARGE_INTEGER IN ULONG IN BOOLEAN IN ULONG IN BOOLEAN CheckForReadOperation
Definition: fatprocs.h:2662
BOOLEAN NTAPI NtfsFastIoWrite(_In_ PFILE_OBJECT FileObject, _In_ PLARGE_INTEGER FileOffset, _In_ ULONG Length, _In_ BOOLEAN Wait, _In_ ULONG LockKey, _In_ PVOID Buffer, _Out_ PIO_STATUS_BLOCK IoStatus, _In_ PDEVICE_OBJECT DeviceObject)
Definition: fastio.c:127
_In_ PDEVICE_OBJECT DeviceObject
Definition: wdfdevice.h:2055
NTSTATUS(* NTAPI)(IN PFILE_FULL_EA_INFORMATION EaBuffer, IN ULONG EaLength, OUT PULONG ErrorOffset)
Definition: IoEaTest.cpp:117
#define FALSE
Definition: types.h:117
unsigned char BOOLEAN
#define _Out_
Definition: no_sal2.h:160
Definition: bufpool.h:45
_In_ WDFREQUEST _In_ WDFFILEOBJECT FileObject
Definition: wdfdevice.h:547
IN PLARGE_INTEGER IN ULONG IN BOOLEAN IN ULONG LockKey
Definition: fatprocs.h:2662
* PFILE_OBJECT
Definition: iotypes.h:1998
BOOLEAN NTAPI NtfsFastIoCheckIfPossible(_In_ PFILE_OBJECT FileObject, _In_ PLARGE_INTEGER FileOffset, _In_ ULONG Length, _In_ BOOLEAN Wait, _In_ ULONG LockKey, _In_ BOOLEAN CheckForReadOperation, _Out_ PIO_STATUS_BLOCK IoStatus, _In_ PDEVICE_OBJECT DeviceObject)
Definition: fastio.c:80
#define _In_
Definition: no_sal2.h:158
_In_ PFCB _In_ LONGLONG FileOffset
Definition: cdprocs.h:159
VOID NTAPI NtfsRelReadAhead(PVOID Context)
Definition: fastio.c:72
__in UCHAR __in POWER_STATE __in_opt PVOID __in PIO_STATUS_BLOCK IoStatus
Definition: mxum.h:155
unsigned int ULONG
Definition: retypes.h:1
#define UNIMPLEMENTED
Definition: debug.h:115
BOOLEAN NTAPI NtfsAcqLazyWrite(PVOID Context, BOOLEAN Wait)
Definition: fastio.c:39