[STORPORT] Fix x64 build
[reactos.git] / ntoskrnl / fsrtl / oplock.c
1 /*
2 * PROJECT: ReactOS Kernel
3 * LICENSE: GPL - See COPYING in the top level directory
4 * FILE: ntoskrnl/fsrtl/oplock.c
5 * PURPOSE: Provides an Opportunistic Lock for file system drivers.
6 * PROGRAMMERS: None.
7 */
8
9 /* INCLUDES ******************************************************************/
10
11 #include <ntoskrnl.h>
12 #define NDEBUG
13 #include <debug.h>
14
15 /* PUBLIC FUNCTIONS **********************************************************/
16
17 /*++
18 * @name FsRtlCheckOplock
19 * @unimplemented
20 *
21 * FILLME
22 *
23 * @param Oplock
24 * FILLME
25 *
26 * @param Irp
27 * FILLME
28 *
29 * @param Context
30 * FILLME
31 *
32 * @param CompletionRoutine
33 * FILLME
34 *
35 * @param PostIrpRoutine
36 * FILLME
37 *
38 * @return None
39 *
40 * @remarks None
41 *
42 *--*/
43 NTSTATUS
44 NTAPI
45 FsRtlCheckOplock(IN POPLOCK Oplock,
46 IN PIRP Irp,
47 IN PVOID Context,
48 IN POPLOCK_WAIT_COMPLETE_ROUTINE CompletionRoutine OPTIONAL,
49 IN POPLOCK_FS_PREPOST_IRP PostIrpRoutine OPTIONAL)
50 {
51 /* Unimplemented */
52 UNIMPLEMENTED;
53 return STATUS_SUCCESS;
54 }
55
56 /*++
57 * @name FsRtlCurrentBatchOplock
58 * @unimplemented
59 *
60 * FILLME
61 *
62 * @param Oplock
63 * FILLME
64 *
65 * @return None
66 *
67 * @remarks None
68 *
69 *--*/
70 BOOLEAN
71 NTAPI
72 FsRtlCurrentBatchOplock(IN POPLOCK Oplock)
73 {
74 /* Unimplemented */
75 UNIMPLEMENTED;
76 return FALSE;
77 }
78
79 /*++
80 * @name FsRtlInitializeOplock
81 * @implemented
82 *
83 * FILLME
84 *
85 * @param Oplock
86 * FILLME
87 *
88 * @return None
89 *
90 * @remarks None
91 *
92 *--*/
93 VOID
94 NTAPI
95 FsRtlInitializeOplock(IN OUT POPLOCK Oplock)
96 {
97 PAGED_CODE();
98 }
99
100 /*++
101 * @name FsRtlOplockFsctrl
102 * @unimplemented
103 *
104 * FILLME
105 *
106 * @param Oplock
107 * FILLME
108 *
109 * @param Irp
110 * FILLME
111 *
112 * @param OpenCount
113 * FILLME
114 *
115 * @return None
116 *
117 * @remarks None
118 *
119 *--*/
120 NTSTATUS
121 NTAPI
122 FsRtlOplockFsctrl(IN POPLOCK Oplock,
123 IN PIRP Irp,
124 IN ULONG OpenCount)
125 {
126 /* Unimplemented */
127 UNIMPLEMENTED;
128 return STATUS_NOT_IMPLEMENTED;
129 }
130
131 /*++
132 * @name FsRtlOplockIsFastIoPossible
133 * @unimplemented
134 *
135 * FILLME
136 *
137 * @param Oplock
138 * FILLME
139 *
140 * @return None
141 *
142 * @remarks None
143 *
144 *--*/
145 BOOLEAN
146 NTAPI
147 FsRtlOplockIsFastIoPossible(IN POPLOCK Oplock)
148 {
149 UNIMPLEMENTED;
150 return TRUE;
151 }
152
153 /*++
154 * @name FsRtlUninitializeOplock
155 * @unimplemented
156 *
157 * FILLME
158 *
159 * @param Oplock
160 * FILLME
161 *
162 * @return None
163 *
164 * @remarks None
165 *
166 *--*/
167 VOID
168 NTAPI
169 FsRtlUninitializeOplock(IN POPLOCK Oplock)
170 {
171 UNIMPLEMENTED;
172 }
173