|
ReactOS 0.4.16-dev-1946-g52006dd
|
#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 |
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.
| 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 1318 of file filelock.c.
Referenced by _At_().
Definition at line 672 of file filelock.c.
Referenced by _Requires_lock_held_(), do_read(), Ext2ReadFile(), RxCommonRead(), UDFCommonRead(), and VfatCommonRead().
Definition at line 710 of file filelock.c.
Referenced by _Requires_lock_held_(), Ext2WriteFile(), RxCommonWrite(), UDFCommonWrite(), and VfatWrite().
| 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 220 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 748 of file filelock.c.
Referenced by _Function_class_(), duplicate_extents(), Ext2FastIoCheckIfPossible(), 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 782 of file filelock.c.
Referenced by _Function_class_(), duplicate_extents(), Ext2FastIoCheckIfPossible(), RxFastIoCheckIfPossible(), and UDFFastIoCheckIfPossible().
| NTSTATUS NTAPI FsRtlFastUnlockAll | ( | IN PFILE_LOCK | FileLock, |
| IN PFILE_OBJECT | FileObject, | ||
| IN PEPROCESS | Process, | ||
| IN PVOID Context | OPTIONAL | ||
| ) |
Definition at line 1025 of file filelock.c.
Referenced by _Dispatch_type_(), _Function_class_(), _Requires_lock_held_(), CdFastUnlockAll(), Ext2Cleanup(), Ext2FastIoUnlockAll(), FsRtlProcessFileLock(), 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 1086 of file filelock.c.
Referenced by _Function_class_(), CdFastUnlockAllByKey(), Ext2FastIoUnlockAllByKey(), FsRtlProcessFileLock(), 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 825 of file filelock.c.
Referenced by _Function_class_(), CdFastUnlockSingle(), Ext2FastIoUnlockSingle(), FsRtlFastUnlockAll(), FsRtlFastUnlockAllByKey(), FsRtlProcessFileLock(), and UDFFastUnlockSingle().
| VOID NTAPI FsRtlFreeFileLock | ( | IN PFILE_LOCK | FileLock | ) |
Definition at line 1342 of file filelock.c.
Referenced by CdDeleteFcb().
| PFILE_LOCK_INFO NTAPI FsRtlGetNextFileLock | ( | IN PFILE_LOCK | FileLock, |
| IN BOOLEAN | Restart | ||
| ) |
| VOID NTAPI FsRtlInitializeFileLock | ( | IN PFILE_LOCK | FileLock, |
| IN PCOMPLETE_LOCK_IRP_ROUTINE CompleteLockIrpRoutine | OPTIONAL, | ||
| IN PUNLOCK_ROUTINE UnlockRoutine | OPTIONAL | ||
| ) |
Definition at line 1262 of file filelock.c.
Referenced by create_fcb(), Ext2AllocateFcb(), FatCreateFcb(), FsRtlAllocateFileLock(), RxFinishFcbInitialization(), UDFInitializeFCB(), and vfatNewFCB().
| VOID NTAPI FsRtlpExpandLockElement | ( | PCOMBINED_LOCK_ELEMENT | ToExpand, |
| PCOMBINED_LOCK_ELEMENT | Conflict | ||
| ) |
Definition at line 267 of file filelock.c.
Referenced by FsRtlpRebuildSharedLockRange().
| PCOMBINED_LOCK_ELEMENT NTAPI FsRtlpRebuildSharedLockRange | ( | PFILE_LOCK | FileLock, |
| PLOCK_INFORMATION | LockInfo, | ||
| PCOMBINED_LOCK_ELEMENT | Conflict | ||
| ) |
Definition at line 289 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 324 of file filelock.c.
Referenced by FsRtlProcessFileLock().
| NTSTATUS NTAPI FsRtlProcessFileLock | ( | IN PFILE_LOCK | FileLock, |
| IN PIRP | Irp, | ||
| IN PVOID Context | OPTIONAL | ||
| ) |
Definition at line 1152 of file filelock.c.
Referenced by _Dispatch_type_(), _Requires_lock_held_(), CdCommonLockControl(), Ext2LockControl(), FsRtlFastUnlockSingle(), FsRtlUninitializeFileLock(), UDFCommonLockControl(), and VfatLockControl().
| VOID NTAPI FsRtlUninitializeFileLock | ( | IN PFILE_LOCK | FileLock | ) |
Definition at line 1279 of file filelock.c.
Referenced by Ext2FreeFcb(), FatCreateFcb(), FatDeleteFcb(), FsRtlFreeFileLock(), reap_fcb(), RxFinalizeNetFcb(), UDFCleanUpFcbChain(), UDFInitializeFCB(), and vfatDestroyFCB().
|
static |
|
static |
Definition at line 81 of file filelock.c.
Referenced by FsRtlFastUnlockSingle(), FsRtlPrivateLock(), and LockPeekNextIrp().
Definition at line 204 of file filelock.c.
Referenced by FsRtlPrivateLock().
|
static |
Definition at line 75 of file filelock.c.
Referenced by FsRtlPrivateLock().
Definition at line 135 of file filelock.c.
Referenced by FsRtlPrivateLock().
Definition at line 130 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().