Go to the source code of this file.
◆ NPFS_BUGCHECK_FILE_ID
◆ NpCommonFlushBuffers()
Definition at line 20 of file flushbuf.c.
22{
29
33 &NamedPipeEnd);
35
37
39 {
41 }
42 else
43 {
45 }
46
48 {
51 FlushQueue,
53 2,
54 0,
57 0);
58 }
59 else
60 {
62 }
63
66}
static PIO_STACK_LOCATION IoGetCurrentIrpStackLocation(PIRP Irp)
_Inout_ PFILE_OBJECT _In_ TYPE_OF_OPEN PFCB _In_opt_ PCCB Ccb
NTSTATUS NTAPI NpAddDataQueueEntry(IN ULONG NamedPipeEnd, IN PNP_CCB Ccb, IN PNP_DATA_QUEUE DataQueue, IN ULONG Who, IN ULONG Type, IN ULONG DataSize, IN PIRP Irp, IN PVOID Buffer, IN ULONG ByteOffset)
#define ExAcquireResourceExclusiveLite(res, wait)
NODE_TYPE_CODE NTAPI NpDecodeFileObject(IN PFILE_OBJECT FileObject, OUT PVOID *PrimaryContext OPTIONAL, OUT PNP_CCB *Ccb, OUT PULONG NamedPipeEnd OPTIONAL)
#define FILE_PIPE_OUTBOUND
#define FILE_PIPE_INBOUND
#define FILE_PIPE_SERVER_END
VOID FASTCALL ExReleaseResourceLite(IN PERESOURCE Resource)
#define STATUS_PIPE_DISCONNECTED
_In_ WDFREQUEST _In_ WDFFILEOBJECT FileObject
Referenced by NpFsdFlushBuffers().
◆ NpFsdFlushBuffers()
Definition at line 70 of file flushbuf.c.
72{
75
78
80
83
85 {
88 }
89
91}
FORCEINLINE VOID NpReleaseVcb(VOID)
FORCEINLINE VOID NpAcquireSharedVcb(VOID)
NTSTATUS NTAPI NpCommonFlushBuffers(IN PDEVICE_OBJECT DeviceObject, IN PIRP Irp)
#define FsRtlEnterFileSystem
#define FsRtlExitFileSystem
#define IoCompleteRequest
_In_ PDEVICE_OBJECT DeviceObject
#define IO_NAMED_PIPE_INCREMENT
Referenced by DriverEntry().