mirror of
https://github.com/reactos/reactos.git
synced 2024-12-28 01:55:19 +00:00
[FASTFAT_NEW] Fix callback calling convention
This commit is contained in:
parent
685f15e253
commit
c9f1501373
2 changed files with 46 additions and 40 deletions
|
@ -180,7 +180,7 @@ FatRemoveMcbEntry (
|
|||
IN ULONG SectorCount
|
||||
);
|
||||
|
||||
|
||||
|
||||
//
|
||||
// File access check routine, implemented in AcChkSup.c
|
||||
//
|
||||
|
@ -207,7 +207,7 @@ FatExplicitDeviceAccessGranted (
|
|||
IN KPROCESSOR_MODE ProcessorMode
|
||||
);
|
||||
|
||||
|
||||
|
||||
//
|
||||
// Allocation support routines, implemented in AllocSup.c
|
||||
//
|
||||
|
@ -389,7 +389,7 @@ FatLogOf(
|
|||
IN ULONG Value
|
||||
);
|
||||
|
||||
|
||||
|
||||
//
|
||||
// Buffer control routines for data caching, implemented in CacheSup.c
|
||||
//
|
||||
|
@ -567,7 +567,7 @@ FatSyncUninitializeCacheMap (
|
|||
IN PFILE_OBJECT FileObject
|
||||
);
|
||||
|
||||
|
||||
|
||||
//
|
||||
// Device I/O routines, implemented in DevIoSup.c
|
||||
//
|
||||
|
@ -675,7 +675,7 @@ FatBuildZeroMdl (
|
|||
__in ULONG Length
|
||||
);
|
||||
|
||||
|
||||
|
||||
//
|
||||
// Dirent support routines, implemented in DirSup.c
|
||||
//
|
||||
|
@ -849,7 +849,7 @@ FatUpdateDirentFromFcb (
|
|||
|
||||
#define FatDirectoryKey(FcbOrDcb) ((ULONGLONG)((FcbOrDcb)->CreationTime.QuadPart ^ (FcbOrDcb)->FirstClusterOfFile))
|
||||
|
||||
|
||||
|
||||
//
|
||||
// The following routines are used to access and manipulate the
|
||||
// clusters containing EA data in the ea data file. They are
|
||||
|
@ -1029,7 +1029,7 @@ FatUnpinEaRange (
|
|||
|
||||
#define SizeOfFullEa(EA) (4+1+1+2+(EA)->EaNameLength+1+(EA)->EaValueLength)
|
||||
|
||||
|
||||
|
||||
//
|
||||
// The following routines are used to manipulate the fscontext fields
|
||||
// of the file object, implemented in FilObSup.c
|
||||
|
@ -1089,7 +1089,7 @@ FatForceCacheMiss (
|
|||
IN FAT_FLUSH_TYPE FlushType
|
||||
);
|
||||
|
||||
|
||||
|
||||
//
|
||||
// File system control routines, implemented in FsCtrl.c
|
||||
//
|
||||
|
@ -1123,7 +1123,7 @@ FatUnlockVolumeInternal (
|
|||
IN PFILE_OBJECT FileObject OPTIONAL
|
||||
);
|
||||
|
||||
|
||||
|
||||
//
|
||||
// Name support routines, implemented in NameSup.c
|
||||
//
|
||||
|
@ -1332,7 +1332,7 @@ FatUnicodeRestoreShortNameCase(
|
|||
IN BOOLEAN LowerCase3
|
||||
);
|
||||
|
||||
|
||||
|
||||
//
|
||||
// Resources support routines/macros, implemented in ResrcSup.c
|
||||
//
|
||||
|
@ -1661,7 +1661,7 @@ FatFilterCallbackAcquireForCreateSection (
|
|||
|
||||
#endif
|
||||
|
||||
|
||||
|
||||
//
|
||||
// In-memory structure support routine, implemented in StrucSup.c
|
||||
//
|
||||
|
@ -1847,7 +1847,7 @@ FatAllocateCloseContext(
|
|||
((S) == STATUS_NO_MEDIA_IN_DEVICE) \
|
||||
)
|
||||
|
||||
|
||||
|
||||
//
|
||||
// Routines to support managing file names Fcbs and Dcbs.
|
||||
// Implemented in SplaySup.c
|
||||
|
@ -1902,7 +1902,7 @@ FatCompareNames (
|
|||
IsLessThan : IsGreaterThan : \
|
||||
FatCompareNames((PSTRING)(NAMEA), (PSTRING)(NAMEB)) \
|
||||
)
|
||||
|
||||
|
||||
//
|
||||
// Time conversion support routines, implemented in TimeSup.c
|
||||
//
|
||||
|
@ -1935,7 +1935,7 @@ FatGetCurrentFatTime (
|
|||
_In_ PIRP_CONTEXT IrpContext
|
||||
);
|
||||
|
||||
|
||||
|
||||
//
|
||||
// Low level verification routines, implemented in VerfySup.c
|
||||
//
|
||||
|
@ -2030,7 +2030,7 @@ FatPerformVerify (
|
|||
_In_ PDEVICE_OBJECT Device
|
||||
);
|
||||
|
||||
|
||||
|
||||
//
|
||||
// Work queue routines for posting and retrieving an Irp, implemented in
|
||||
// workque.c
|
||||
|
@ -2051,6 +2051,9 @@ FatPrePostIrp (
|
|||
);
|
||||
|
||||
VOID
|
||||
#ifdef __REACTOS__
|
||||
NTAPI
|
||||
#endif
|
||||
FatAddToWorkque (
|
||||
IN PIRP_CONTEXT IrpContext,
|
||||
IN PIRP Irp
|
||||
|
@ -2061,7 +2064,7 @@ FatFsdPostRequest (
|
|||
IN PIRP_CONTEXT IrpContext,
|
||||
IN PIRP Irp
|
||||
);
|
||||
|
||||
|
||||
//
|
||||
// Miscellaneous support routines
|
||||
//
|
||||
|
@ -2182,7 +2185,7 @@ typedef union _UCHAR4 {
|
|||
(PVOID)NULL ); \
|
||||
}
|
||||
|
||||
|
||||
|
||||
//
|
||||
// The FSD Level dispatch routines. These routines are called by the
|
||||
// I/O system via the dispatch table in the Driver Object.
|
||||
|
@ -2366,7 +2369,7 @@ FatFsdWrite ( // implemented in Write.c
|
|||
|
||||
#define CanFsdWait(IRP) IoIsOperationSynchronous(Irp)
|
||||
|
||||
|
||||
|
||||
//
|
||||
// The FSP level dispatch/main routine. This is the routine that takes
|
||||
// IRP's off of the work queue and calls the appropriate FSP level
|
||||
|
@ -2604,7 +2607,7 @@ FatFlushDirentForFile (
|
|||
);
|
||||
|
||||
|
||||
|
||||
|
||||
//
|
||||
// The following procedure is used by the FSP and FSD routines to complete
|
||||
// an IRP.
|
||||
|
@ -2862,7 +2865,7 @@ FatScanForDataTrack(
|
|||
|
||||
#define IsFileObjectReadOnly(FO) (!((FO)->WriteAccess | (FO)->DeleteAccess))
|
||||
|
||||
|
||||
|
||||
//
|
||||
// The following two macro are used by the Fsd/Fsp exception handlers to
|
||||
// process an exception. The first macro is the exception filter used in the
|
||||
|
@ -2994,7 +2997,7 @@ __pragma(warning(pop))
|
|||
ExRaiseStatus(FsRtlNormalizeNtstatus((STATUS),STATUS_UNEXPECTED_IO_ERROR)); \
|
||||
}
|
||||
|
||||
|
||||
|
||||
//
|
||||
// The following macros are used to establish the semantics needed
|
||||
// to do a return from within a try-finally clause. As a rule every
|
||||
|
@ -3026,14 +3029,14 @@ __pragma(warning(pop))
|
|||
#define try_return(S) { S; goto try_exit; }
|
||||
#define try_leave(S) { S; _SEH2_LEAVE; }
|
||||
|
||||
|
||||
|
||||
CLUSTER_TYPE
|
||||
FatInterpretClusterType (
|
||||
IN PVCB Vcb,
|
||||
IN FAT_ENTRY Entry
|
||||
);
|
||||
|
||||
|
||||
|
||||
//
|
||||
// These routines define the FileId for FAT. Lacking a fixed/uniquifiable
|
||||
// notion, we simply come up with one which is unique in a given snapshot
|
||||
|
|
|
@ -29,7 +29,7 @@ Abstract:
|
|||
#pragma alloc_text(PAGE, FatFsdPostRequest)
|
||||
#endif
|
||||
|
||||
|
||||
|
||||
VOID
|
||||
NTAPI
|
||||
FatOplockComplete (
|
||||
|
@ -85,7 +85,7 @@ Return Value:
|
|||
return;
|
||||
}
|
||||
|
||||
|
||||
|
||||
VOID
|
||||
NTAPI
|
||||
FatPrePostIrp (
|
||||
|
@ -224,7 +224,7 @@ Return Value:
|
|||
return;
|
||||
}
|
||||
|
||||
|
||||
|
||||
NTSTATUS
|
||||
FatFsdPostRequest(
|
||||
IN PIRP_CONTEXT IrpContext,
|
||||
|
@ -268,12 +268,15 @@ Return Value:
|
|||
return STATUS_PENDING;
|
||||
}
|
||||
|
||||
|
||||
|
||||
//
|
||||
// Local support routine.
|
||||
//
|
||||
|
||||
VOID
|
||||
#ifdef __REACTOS__
|
||||
NTAPI
|
||||
#endif
|
||||
FatAddToWorkque (
|
||||
IN PIRP_CONTEXT IrpContext,
|
||||
IN PIRP Irp
|
||||
|
|
Loading…
Reference in a new issue