27 DPRINT(
"VfatFlushFile(DeviceExt %p, Fcb %p) for '%wZ'\n", DeviceExt,
Fcb, &
Fcb->PathNameU);
62 DPRINT(
"VfatFlushVolume(DeviceExt %p, VolumeFcb %p)\n", DeviceExt, VolumeFcb);
64 ASSERT(VolumeFcb == DeviceExt->VolumeFcb);
66 ListEntry = DeviceExt->FcbListHead.Flink;
67 while (ListEntry != &DeviceExt->FcbListHead)
70 ListEntry = ListEntry->
Flink;
85 ListEntry = DeviceExt->FcbListHead.Flink;
86 while (ListEntry != &DeviceExt->FcbListHead)
89 ListEntry = ListEntry->
Flink;
104 Fcb = (
PVFATFCB) DeviceExt->FATFileObject->FsContext;
112 DeviceExt->StorageDevice,
129 DPRINT1(
"Flush not supported, ignored\n");
VOID NTAPI CcFlushCache(IN PSECTION_OBJECT_POINTERS SectionObjectPointer, IN OPTIONAL PLARGE_INTEGER FileOffset, IN ULONG Length, OUT OPTIONAL PIO_STATUS_BLOCK IoStatus)
NTSTATUS VfatUpdateEntry(IN PDEVICE_EXTENSION DeviceExt, IN PVFATFCB pFcb)
#define NT_SUCCESS(StatCode)
#define KeWaitForSingleObject(pEvt, foo, a, b, c)
#define KeInitializeEvent(pEvt, foo, foo2)
#define ExAcquireResourceExclusiveLite(res, wait)
#define BooleanFlagOn(F, SF)
PVFAT_GLOBAL_DATA VfatGlobalData
static OUT PIO_STATUS_BLOCK IoStatusBlock
__in UCHAR __in POWER_STATE __in_opt PVOID __in PIO_STATUS_BLOCK IoStatus
VOID FASTCALL ExReleaseResourceLite(IN PERESOURCE Resource)
PIRP NTAPI IoBuildSynchronousFsdRequest(IN ULONG MajorFunction, IN PDEVICE_OBJECT DeviceObject, IN PVOID Buffer, IN ULONG Length, IN PLARGE_INTEGER StartingOffset, IN PKEVENT Event, IN PIO_STATUS_BLOCK IoStatusBlock)
PDEVICE_OBJECT DeviceObject
PDEVICE_OBJECT DeviceObject
PDEVICE_EXTENSION DeviceExt
SECTION_OBJECT_POINTERS SectionObjectPointers
struct _LIST_ENTRY * Flink
#define CONTAINING_RECORD(address, type, field)
#define STATUS_INVALID_DEVICE_REQUEST
#define STATUS_INVALID_PARAMETER
#define STATUS_INSUFFICIENT_RESOURCES
struct _VFATFCB * PVFATFCB
FORCEINLINE BOOLEAN vfatFCBIsDirectory(PVFATFCB FCB)
NTSTATUS VfatFlush(PVFAT_IRP_CONTEXT IrpContext)
NTSTATUS VfatFlushVolume(PDEVICE_EXTENSION DeviceExt, PVFATFCB VolumeFcb)
static NTSTATUS VfatFlushFile(PDEVICE_EXTENSION DeviceExt, PVFATFCB Fcb)
#define IRP_MJ_FLUSH_BUFFERS