ReactOS 0.4.16-dev-112-g52265ae
fcbtable.h File Reference
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  _RX_FCB_TABLE_ENTRY
 
struct  _RX_FCB_TABLE
 

Macros

#define RX_FCB_TABLE_NUMBER_OF_HASH_BUCKETS   32
 
#define RxAcquireFcbTableLockShared(T, W)   ExAcquireResourceSharedLite(&(T)->TableLock, W)
 
#define RxAcquireFcbTableLockExclusive(T, W)   ExAcquireResourceExclusiveLite(&(T)->TableLock, W)
 
#define RxReleaseFcbTableLock(T)   ExReleaseResourceLite(&(T)->TableLock)
 
#define RxIsFcbTableLockExclusive(T)   ExIsResourceAcquiredExclusiveLite(&(T)->TableLock)
 
#define RxIsFcbTableLockAcquired(T)
 

Typedefs

typedef struct _RX_FCB_TABLE_ENTRY RX_FCB_TABLE_ENTRY
 
typedef struct _RX_FCB_TABLE_ENTRYPRX_FCB_TABLE_ENTRY
 
typedef struct _RX_FCB_TABLE RX_FCB_TABLE
 
typedef struct _RX_FCB_TABLEPRX_FCB_TABLE
 

Functions

VOID RxInitializeFcbTable (_Inout_ PRX_FCB_TABLE FcbTable, _In_ BOOLEAN CaseInsensitiveMatch)
 
VOID RxFinalizeFcbTable (_Inout_ PRX_FCB_TABLE FcbTable)
 
PFCB RxFcbTableLookupFcb (_In_ PRX_FCB_TABLE FcbTable, _In_ PUNICODE_STRING Path)
 
NTSTATUS RxFcbTableInsertFcb (_Inout_ PRX_FCB_TABLE FcbTable, _Inout_ PFCB Fcb)
 
NTSTATUS RxFcbTableRemoveFcb (_Inout_ PRX_FCB_TABLE FcbTable, _Inout_ PFCB Fcb)
 

Macro Definition Documentation

◆ RX_FCB_TABLE_NUMBER_OF_HASH_BUCKETS

#define RX_FCB_TABLE_NUMBER_OF_HASH_BUCKETS   32

Definition at line 13 of file fcbtable.h.

◆ RxAcquireFcbTableLockExclusive

#define RxAcquireFcbTableLockExclusive (   T,
  W 
)    ExAcquireResourceExclusiveLite(&(T)->TableLock, W)

Definition at line 55 of file fcbtable.h.

◆ RxAcquireFcbTableLockShared

#define RxAcquireFcbTableLockShared (   T,
  W 
)    ExAcquireResourceSharedLite(&(T)->TableLock, W)

Definition at line 54 of file fcbtable.h.

◆ RxIsFcbTableLockAcquired

#define RxIsFcbTableLockAcquired (   T)
Value:
(ExIsResourceAcquiredSharedLite(&(T)->TableLock) || \
ExIsResourceAcquiredExclusiveLite(&(T)->TableLock))
#define T
Definition: mbstring.h:31
ULONG NTAPI ExIsResourceAcquiredSharedLite(IN PERESOURCE Resource)
Definition: resource.c:1663

Definition at line 60 of file fcbtable.h.

◆ RxIsFcbTableLockExclusive

#define RxIsFcbTableLockExclusive (   T)    ExIsResourceAcquiredExclusiveLite(&(T)->TableLock)

Definition at line 58 of file fcbtable.h.

◆ RxReleaseFcbTableLock

#define RxReleaseFcbTableLock (   T)    ExReleaseResourceLite(&(T)->TableLock)

Definition at line 56 of file fcbtable.h.

Typedef Documentation

◆ PRX_FCB_TABLE

◆ PRX_FCB_TABLE_ENTRY

◆ RX_FCB_TABLE

◆ RX_FCB_TABLE_ENTRY

Function Documentation

◆ RxFcbTableInsertFcb()

NTSTATUS RxFcbTableInsertFcb ( _Inout_ PRX_FCB_TABLE  FcbTable,
_Inout_ PFCB  Fcb 
)

◆ RxFcbTableLookupFcb()

PFCB RxFcbTableLookupFcb ( _In_ PRX_FCB_TABLE  FcbTable,
_In_ PUNICODE_STRING  Path 
)

Referenced by RxFindOrCreateFcb().

◆ RxFcbTableRemoveFcb()

NTSTATUS RxFcbTableRemoveFcb ( _Inout_ PRX_FCB_TABLE  FcbTable,
_Inout_ PFCB  Fcb 
)

◆ RxFinalizeFcbTable()

VOID RxFinalizeFcbTable ( _Inout_ PRX_FCB_TABLE  FcbTable)

◆ RxInitializeFcbTable()

VOID RxInitializeFcbTable ( _Inout_ PRX_FCB_TABLE  FcbTable,
_In_ BOOLEAN  CaseInsensitiveMatch 
)