ReactOS
0.4.15-dev-1647-g91fceab
|
#include <ntoskrnl.h>
#include <debug.h>
Go to the source code of this file.
Classes | |
union | _COMBINED_LOCK_ELEMENT |
struct | _LOCK_INFORMATION |
struct | _LOCK_SHARED_RANGE |
Macros | |
#define | NDEBUG |
#define | TAG_TABLE 'BATL' |
#define | TAG_RANGE 'ARSF' |
#define | TAG_FLOCK 'KCLF' |
Typedefs | |
typedef union _COMBINED_LOCK_ELEMENT | COMBINED_LOCK_ELEMENT |
typedef union _COMBINED_LOCK_ELEMENT * | PCOMBINED_LOCK_ELEMENT |
typedef struct _LOCK_INFORMATION | LOCK_INFORMATION |
typedef struct _LOCK_INFORMATION * | PLOCK_INFORMATION |
typedef struct _LOCK_SHARED_RANGE | LOCK_SHARED_RANGE |
typedef struct _LOCK_SHARED_RANGE * | PLOCK_SHARED_RANGE |
Variables | |
PAGED_LOOKASIDE_LIST | FsRtlFileLockLookasideList |
#define NDEBUG |
Definition at line 12 of file filelock.c.
#define TAG_FLOCK 'KCLF' |
Definition at line 56 of file filelock.c.
#define TAG_RANGE 'ARSF' |
Definition at line 55 of file filelock.c.
#define TAG_TABLE 'BATL' |
Definition at line 54 of file filelock.c.
typedef union _COMBINED_LOCK_ELEMENT COMBINED_LOCK_ELEMENT |
typedef struct _LOCK_INFORMATION LOCK_INFORMATION |
typedef union _COMBINED_LOCK_ELEMENT * PCOMBINED_LOCK_ELEMENT |
typedef struct _LOCK_INFORMATION * PLOCK_INFORMATION |
typedef struct _LOCK_SHARED_RANGE * PLOCK_SHARED_RANGE |
PFILE_LOCK NTAPI FsRtlAllocateFileLock | ( | IN PCOMPLETE_LOCK_IRP_ROUTINE CompleteLockIrpRoutine | OPTIONAL, |
IN PUNLOCK_ROUTINE UnlockRoutine | OPTIONAL | ||
) |
Definition at line 1314 of file filelock.c.
Referenced by _At_().
Definition at line 676 of file filelock.c.
Referenced by _Requires_lock_held_(), do_read(), Ext2ReadFile(), FFSReadFile(), RfsdReadFile(), RxCommonRead(), UDFCommonRead(), and VfatCommonRead().
Definition at line 714 of file filelock.c.
Referenced by _Requires_lock_held_(), Ext2WriteFile(), FFSWriteFile(), RfsdWriteFile(), RxCommonWrite(), UDFCommonWrite(), VfatWrite(), and write_file().
VOID NTAPI FsRtlCompleteLockIrpReal | ( | IN PCOMPLETE_LOCK_IRP_ROUTINE | CompleteRoutine, |
IN PVOID | Context, | ||
IN PIRP | Irp, | ||
IN NTSTATUS | Status, | ||
OUT PNTSTATUS | NewStatus, | ||
IN PFILE_OBJECT FileObject | OPTIONAL | ||
) |
Definition at line 224 of file filelock.c.
Referenced by FsRtlPrivateLock(), FsRtlProcessFileLock(), and LockCompleteCanceledIrp().
BOOLEAN NTAPI FsRtlFastCheckLockForRead | ( | IN PFILE_LOCK | FileLock, |
IN PLARGE_INTEGER | FileOffset, | ||
IN PLARGE_INTEGER | Length, | ||
IN ULONG | Key, | ||
IN PFILE_OBJECT | FileObject, | ||
IN PVOID | Process | ||
) |
Definition at line 752 of file filelock.c.
Referenced by _Function_class_(), duplicate_extents(), Ext2FastIoCheckIfPossible(), FFSFastIoCheckIfPossible(), RfsdFastIoCheckIfPossible(), RxFastIoCheckIfPossible(), and UDFFastIoCheckIfPossible().
BOOLEAN NTAPI FsRtlFastCheckLockForWrite | ( | IN PFILE_LOCK | FileLock, |
IN PLARGE_INTEGER | FileOffset, | ||
IN PLARGE_INTEGER | Length, | ||
IN ULONG | Key, | ||
IN PFILE_OBJECT | FileObject, | ||
IN PVOID | Process | ||
) |
Definition at line 786 of file filelock.c.
Referenced by _Function_class_(), duplicate_extents(), Ext2FastIoCheckIfPossible(), FFSFastIoCheckIfPossible(), RfsdFastIoCheckIfPossible(), RxFastIoCheckIfPossible(), and UDFFastIoCheckIfPossible().
NTSTATUS NTAPI FsRtlFastUnlockAll | ( | IN PFILE_LOCK | FileLock, |
IN PFILE_OBJECT | FileObject, | ||
IN PEPROCESS | Process, | ||
IN PVOID Context | OPTIONAL | ||
) |
Definition at line 1026 of file filelock.c.
Referenced by _Dispatch_type_(), _Function_class_(), _Requires_lock_held_(), CdFastUnlockAll(), Ext2Cleanup(), Ext2FastIoUnlockAll(), FFSCleanup(), FFSFastIoUnlockAll(), FsRtlProcessFileLock(), RfsdCleanup(), RfsdFastIoUnlockAll(), RxCommonCleanup(), UDFCommonCleanup(), UDFFastUnlockAll(), and VfatCleanupFile().
NTSTATUS NTAPI FsRtlFastUnlockAllByKey | ( | IN PFILE_LOCK | FileLock, |
IN PFILE_OBJECT | FileObject, | ||
IN PEPROCESS | Process, | ||
IN ULONG | Key, | ||
IN PVOID Context | OPTIONAL | ||
) |
Definition at line 1087 of file filelock.c.
Referenced by _Function_class_(), CdFastUnlockAllByKey(), Ext2FastIoUnlockAllByKey(), FFSFastIoUnlockAllByKey(), FsRtlProcessFileLock(), RfsdFastIoUnlockAllByKey(), and UDFFastUnlockAllByKey().
NTSTATUS NTAPI FsRtlFastUnlockSingle | ( | IN PFILE_LOCK | FileLock, |
IN PFILE_OBJECT | FileObject, | ||
IN PLARGE_INTEGER | FileOffset, | ||
IN PLARGE_INTEGER | Length, | ||
IN PEPROCESS | Process, | ||
IN ULONG | Key, | ||
IN PVOID Context | OPTIONAL, | ||
IN BOOLEAN | AlreadySynchronized | ||
) |
Definition at line 829 of file filelock.c.
Referenced by _Function_class_(), CdFastUnlockSingle(), Ext2FastIoUnlockSingle(), FFSFastIoUnlockSingle(), FsRtlFastUnlockAll(), FsRtlFastUnlockAllByKey(), FsRtlProcessFileLock(), RfsdFastIoUnlockSingle(), and UDFFastUnlockSingle().
VOID NTAPI FsRtlFreeFileLock | ( | IN PFILE_LOCK | FileLock | ) |
Definition at line 1338 of file filelock.c.
Referenced by CdDeleteFcb().
PFILE_LOCK_INFO NTAPI FsRtlGetNextFileLock | ( | IN PFILE_LOCK | FileLock, |
IN BOOLEAN | Restart | ||
) |
Definition at line 259 of file filelock.c.
Referenced by Ext2Cleanup(), FFSCleanup(), and RfsdCleanup().
VOID NTAPI FsRtlInitializeFileLock | ( | IN PFILE_LOCK | FileLock, |
IN PCOMPLETE_LOCK_IRP_ROUTINE CompleteLockIrpRoutine | OPTIONAL, | ||
IN PUNLOCK_ROUTINE UnlockRoutine | OPTIONAL | ||
) |
Definition at line 1261 of file filelock.c.
Referenced by create_fcb(), Ext2AllocateFcb(), FatCreateFcb(), FFSv1AllocateFcb(), FFSv2AllocateFcb(), FsRtlAllocateFileLock(), RfsdAllocateFcb(), RxFinishFcbInitialization(), UDFInitializeFCB(), and vfatNewFCB().
VOID NTAPI FsRtlpExpandLockElement | ( | PCOMBINED_LOCK_ELEMENT | ToExpand, |
PCOMBINED_LOCK_ELEMENT | Conflict | ||
) |
PCOMBINED_LOCK_ELEMENT NTAPI FsRtlpRebuildSharedLockRange | ( | PFILE_LOCK | FileLock, |
PLOCK_INFORMATION | LockInfo, | ||
PCOMBINED_LOCK_ELEMENT | Conflict | ||
) |
Definition at line 294 of file filelock.c.
Referenced by FsRtlFastUnlockSingle(), and FsRtlPrivateLock().
BOOLEAN NTAPI FsRtlPrivateLock | ( | IN PFILE_LOCK | FileLock, |
IN PFILE_OBJECT | FileObject, | ||
IN PLARGE_INTEGER | FileOffset, | ||
IN PLARGE_INTEGER | Length, | ||
IN PEPROCESS | Process, | ||
IN ULONG | Key, | ||
IN BOOLEAN | FailImmediately, | ||
IN BOOLEAN | ExclusiveLock, | ||
OUT PIO_STATUS_BLOCK | IoStatus, | ||
IN PIRP Irp | OPTIONAL, | ||
IN PVOID Context | OPTIONAL, | ||
IN BOOLEAN | AlreadySynchronized | ||
) |
Definition at line 328 of file filelock.c.
Referenced by FsRtlProcessFileLock().
NTSTATUS NTAPI FsRtlProcessFileLock | ( | IN PFILE_LOCK | FileLock, |
IN PIRP | Irp, | ||
IN PVOID Context | OPTIONAL | ||
) |
Definition at line 1153 of file filelock.c.
Referenced by _Dispatch_type_(), _Requires_lock_held_(), CdCommonLockControl(), Ext2LockControl(), FFSLockControl(), FsRtlFastUnlockSingle(), FsRtlUninitializeFileLock(), RfsdLockControl(), UDFCommonLockControl(), and VfatLockControl().
VOID NTAPI FsRtlUninitializeFileLock | ( | IN PFILE_LOCK | FileLock | ) |
Definition at line 1278 of file filelock.c.
Referenced by Ext2FreeFcb(), FatCreateFcb(), FatDeleteFcb(), FFSFreeFcb(), FsRtlFreeFileLock(), reap_fcb(), RfsdFreeFcb(), RxFinalizeNetFcb(), UDFCleanUpFcbChain(), UDFInitializeFCB(), and vfatDestroyFCB().
Definition at line 194 of file filelock.c.
Referenced by FsRtlPrivateLock().
|
static |
Definition at line 71 of file filelock.c.
Referenced by FsRtlPrivateLock().
|
static |
Definition at line 86 of file filelock.c.
Referenced by FsRtlFastUnlockSingle(), FsRtlPrivateLock(), and LockPeekNextIrp().
Definition at line 208 of file filelock.c.
Referenced by FsRtlPrivateLock().
|
static |
Definition at line 79 of file filelock.c.
Referenced by FsRtlPrivateLock().
Definition at line 125 of file filelock.c.
Referenced by FsRtlPrivateLock().
Definition at line 139 of file filelock.c.
Referenced by FsRtlPrivateLock().
Definition at line 201 of file filelock.c.
Referenced by FsRtlPrivateLock().
Definition at line 134 of file filelock.c.
Referenced by FsRtlPrivateLock().
PAGED_LOOKASIDE_LIST FsRtlFileLockLookasideList |
Definition at line 17 of file filelock.c.
Referenced by FsRtlAllocateFileLock(), FsRtlFreeFileLock(), and FsRtlInitSystem().