ReactOS 0.4.16-dev-125-g798ea90
buffring.h File Reference
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  _CHANGE_BUFFERING_STATE_REQUEST_
 
struct  _RX_BUFFERING_MANAGER_
 

Macros

#define RX_REQUEST_PREPARED_FOR_HANDLING   0x10000000
 
#define RxAcquireBufferingManagerMutex(BufMan)
 
#define RxReleaseBufferingManagerMutex(BufMan)   ExReleaseFastMutex(&(BufMan)->Mutex)
 

Typedefs

typedef struct _CHANGE_BUFFERING_STATE_REQUEST_ CHANGE_BUFFERING_STATE_REQUEST
 
typedef struct _CHANGE_BUFFERING_STATE_REQUEST_PCHANGE_BUFFERING_STATE_REQUEST
 
typedef struct _RX_BUFFERING_MANAGER_ RX_BUFFERING_MANAGER
 
typedef struct _RX_BUFFERING_MANAGER_PRX_BUFFERING_MANAGER
 

Functions

VOID RxpProcessChangeBufferingStateRequests (PSRV_CALL SrvCall, BOOLEAN UpdateHandlerState)
 
VOID NTAPI RxProcessChangeBufferingStateRequests (_In_ PVOID SrvCall)
 
VOID RxProcessFcbChangeBufferingStateRequest (_In_ PFCB Fcb)
 
VOID RxPurgeChangeBufferingStateRequestsForSrvOpen (_In_ PSRV_OPEN SrvOpen)
 
VOID RxCompleteSrvOpenKeyAssociation (_Inout_ PSRV_OPEN SrvOpen)
 
VOID RxInitiateSrvOpenKeyAssociation (_Inout_ PSRV_OPEN SrvOpen)
 
NTSTATUS RxInitializeBufferingManager (_In_ PSRV_CALL SrvCall)
 
NTSTATUS RxTearDownBufferingManager (_In_ PSRV_CALL SrvCall)
 
NTSTATUS RxFlushFcbInSystemCache (_In_ PFCB Fcb, _In_ BOOLEAN SynchronizeWithLazyWriter)
 
NTSTATUS RxPurgeFcbInSystemCache (_In_ PFCB Fcb, _In_ PLARGE_INTEGER FileOffset OPTIONAL, _In_ ULONG Length, _In_ BOOLEAN UninitializeCacheMaps, _In_ BOOLEAN FlushFile)
 

Macro Definition Documentation

◆ RX_REQUEST_PREPARED_FOR_HANDLING

#define RX_REQUEST_PREPARED_FOR_HANDLING   0x10000000

Definition at line 4 of file buffring.h.

◆ RxAcquireBufferingManagerMutex

#define RxAcquireBufferingManagerMutex (   BufMan)
Value:
{ \
if (!ExTryToAcquireFastMutex(&(BufMan)->Mutex)) \
{ \
ExAcquireFastMutex(&(BufMan)->Mutex); \
} \
}
Definition: Mutex.h:16
BOOLEAN FASTCALL ExTryToAcquireFastMutex(IN PFAST_MUTEX FastMutex)
Definition: fmutex.c:39

Definition at line 42 of file buffring.h.

◆ RxReleaseBufferingManagerMutex

#define RxReleaseBufferingManagerMutex (   BufMan)    ExReleaseFastMutex(&(BufMan)->Mutex)

Definition at line 50 of file buffring.h.

Typedef Documentation

◆ CHANGE_BUFFERING_STATE_REQUEST

◆ PCHANGE_BUFFERING_STATE_REQUEST

◆ PRX_BUFFERING_MANAGER

◆ RX_BUFFERING_MANAGER

Function Documentation

◆ RxCompleteSrvOpenKeyAssociation()

VOID RxCompleteSrvOpenKeyAssociation ( _Inout_ PSRV_OPEN  SrvOpen)

◆ RxFlushFcbInSystemCache()

NTSTATUS RxFlushFcbInSystemCache ( _In_ PFCB  Fcb,
_In_ BOOLEAN  SynchronizeWithLazyWriter 
)

Referenced by RxCommonCleanup().

◆ RxInitializeBufferingManager()

NTSTATUS RxInitializeBufferingManager ( _In_ PSRV_CALL  SrvCall)

◆ RxInitiateSrvOpenKeyAssociation()

VOID RxInitiateSrvOpenKeyAssociation ( _Inout_ PSRV_OPEN  SrvOpen)

◆ RxpProcessChangeBufferingStateRequests()

VOID RxpProcessChangeBufferingStateRequests ( PSRV_CALL  SrvCall,
BOOLEAN  UpdateHandlerState 
)

Definition at line 6417 of file rxce.c.

6420{
6422}
#define UNIMPLEMENTED
Definition: debug.h:118

Referenced by RxCommonCreate(), and RxProcessChangeBufferingStateRequests().

◆ RxProcessChangeBufferingStateRequests()

VOID NTAPI RxProcessChangeBufferingStateRequests ( _In_ PVOID  SrvCall)

Definition at line 6643 of file rxce.c.

6645{
6646 /* Call internal routine */
6649}
#define TRUE
Definition: types.h:120
VOID RxUndoScavengerFinalizationMarking(PVOID Instance)
Definition: rxce.c:8667
VOID RxpProcessChangeBufferingStateRequests(PSRV_CALL SrvCall, BOOLEAN UpdateHandlerState)
Definition: rxce.c:6417

Referenced by RxCompleteSrvOpenKeyAssociation().

◆ RxProcessFcbChangeBufferingStateRequest()

VOID RxProcessFcbChangeBufferingStateRequest ( _In_ PFCB  Fcb)

◆ RxPurgeChangeBufferingStateRequestsForSrvOpen()

VOID RxPurgeChangeBufferingStateRequestsForSrvOpen ( _In_ PSRV_OPEN  SrvOpen)

◆ RxPurgeFcbInSystemCache()

NTSTATUS RxPurgeFcbInSystemCache ( _In_ PFCB  Fcb,
_In_ PLARGE_INTEGER FileOffset  OPTIONAL,
_In_ ULONG  Length,
_In_ BOOLEAN  UninitializeCacheMaps,
_In_ BOOLEAN  FlushFile 
)

◆ RxTearDownBufferingManager()

NTSTATUS RxTearDownBufferingManager ( _In_ PSRV_CALL  SrvCall)