ReactOS 0.4.16-dev-303-g11d5cb8
|
#include <ntoskrnl.h>
#include <debug.h>
Go to the source code of this file.
Classes | |
struct | _INTERNAL_OPLOCK |
struct | _WAIT_CONTEXT |
Macros | |
#define | NDEBUG |
#define | NO_OPLOCK 0x1 |
#define | LEVEL_1_OPLOCK 0x2 |
#define | BATCH_OPLOCK 0x4 |
#define | FILTER_OPLOCK 0x8 |
#define | LEVEL_2_OPLOCK 0x10 |
#define | EXCLUSIVE_LOCK 0x40 |
#define | PENDING_LOCK 0x80 |
#define | BROKEN_TO_LEVEL_2 0x100 |
#define | BROKEN_TO_NONE 0x200 |
#define | BROKEN_TO_NONE_FROM_LEVEL_2 0x400 |
#define | BROKEN_TO_CLOSE_PENDING 0x800 |
#define | BROKEN_ANY (BROKEN_TO_LEVEL_2 | BROKEN_TO_NONE | BROKEN_TO_NONE_FROM_LEVEL_2 | BROKEN_TO_CLOSE_PENDING) |
#define | BreakToIIIfRequired |
#define | BreakToNoneIfRequired |
Typedefs | |
typedef struct _INTERNAL_OPLOCK | INTERNAL_OPLOCK |
typedef struct _INTERNAL_OPLOCK * | PINTERNAL_OPLOCK |
typedef struct _WAIT_CONTEXT | WAIT_CONTEXT |
typedef struct _WAIT_CONTEXT * | PWAIT_CONTEXT |
#define BreakToIIIfRequired |
#define BreakToNoneIfRequired |
#define BROKEN_ANY (BROKEN_TO_LEVEL_2 | BROKEN_TO_NONE | BROKEN_TO_NONE_FROM_LEVEL_2 | BROKEN_TO_CLOSE_PENDING) |
typedef struct _INTERNAL_OPLOCK INTERNAL_OPLOCK |
typedef struct _INTERNAL_OPLOCK * PINTERNAL_OPLOCK |
typedef struct _WAIT_CONTEXT * PWAIT_CONTEXT |
typedef struct _WAIT_CONTEXT WAIT_CONTEXT |
NTSTATUS FsRtlAcknowledgeOplockBreak | ( | IN PINTERNAL_OPLOCK | Oplock, |
IN PIO_STACK_LOCATION | Stack, | ||
IN PIRP | Irp, | ||
IN BOOLEAN | SwitchToLevel2 | ||
) |
Definition at line 356 of file oplock.c.
Referenced by FsRtlOplockFsctrl().
PINTERNAL_OPLOCK FsRtlAllocateOplock | ( | VOID | ) |
Definition at line 542 of file oplock.c.
Referenced by FsRtlRequestExclusiveOplock(), and FsRtlRequestOplockII().
Definition at line 584 of file oplock.c.
Referenced by FsRtlRequestExclusiveOplock().
Definition at line 311 of file oplock.c.
Referenced by FsRtlAcknowledgeOplockBreak(), and FsRtlRequestOplockII().
Definition at line 114 of file oplock.c.
Referenced by FsRtlWaitOnIrp().
NTSTATUS NTAPI FsRtlCheckOplock | ( | IN POPLOCK | Oplock, |
IN PIRP | Irp, | ||
IN PVOID | Context, | ||
IN POPLOCK_WAIT_COMPLETE_ROUTINE CompletionRoutine | OPTIONAL, | ||
IN POPLOCK_FS_PREPOST_IRP PostIrpRoutine | OPTIONAL | ||
) |
Definition at line 1170 of file oplock.c.
Referenced by _Dispatch_type_(), _Requires_lock_held_(), CdCommonLockControl(), Ext2Cleanup(), Ext2CreateFile(), Ext2LockControl(), Ext2ReadFile(), Ext2SetFileInformation(), Ext2WriteFile(), FatSetRenameInfo(), fsctl_request(), and open_file2().
Definition at line 69 of file oplock.c.
Referenced by FsRtlWaitOnIrp().
Definition at line 1364 of file oplock.c.
Referenced by Ext2CreateFile(), and FatSetRenameInfo().
Definition at line 1400 of file oplock.c.
Referenced by CdCreateFcb(), create_fcb(), Ext2AllocateFcb(), FatCreateDcb(), and FatCreateFcb().
Definition at line 56 of file oplock.c.
Referenced by FsRtlOplockBreakNotify().
NTSTATUS FsRtlOpBatchBreakClosePending | ( | IN PINTERNAL_OPLOCK | Oplock, |
IN PIO_STACK_LOCATION | Stack, | ||
IN PIRP | Irp | ||
) |
Definition at line 470 of file oplock.c.
Referenced by FsRtlOplockFsctrl().
NTSTATUS FsRtlOplockBreakNotify | ( | IN PINTERNAL_OPLOCK | Oplock, |
IN PIO_STACK_LOCATION | Stack, | ||
IN PIRP | Irp | ||
) |
Definition at line 239 of file oplock.c.
Referenced by FsRtlOplockFsctrl().
NTSTATUS NTAPI FsRtlOplockBreakToII | ( | IN PINTERNAL_OPLOCK | Oplock, |
IN PIO_STACK_LOCATION | Stack, | ||
IN PIRP | Irp, | ||
IN PVOID | Context, | ||
IN POPLOCK_WAIT_COMPLETE_ROUTINE CompletionRoutine | OPTIONAL, | ||
IN POPLOCK_FS_PREPOST_IRP PostIrpRoutine | OPTIONAL | ||
) |
Definition at line 1035 of file oplock.c.
NTSTATUS NTAPI FsRtlOplockBreakToNone | ( | IN PINTERNAL_OPLOCK | Oplock, |
IN PIO_STACK_LOCATION | Stack, | ||
IN PIRP | Irp, | ||
IN PVOID | Context, | ||
IN POPLOCK_WAIT_COMPLETE_ROUTINE CompletionRoutine | OPTIONAL, | ||
IN POPLOCK_FS_PREPOST_IRP PostIrpRoutine | OPTIONAL | ||
) |
Definition at line 901 of file oplock.c.
VOID FsRtlOplockCleanup | ( | IN PINTERNAL_OPLOCK | Oplock, |
IN PIO_STACK_LOCATION | Stack | ||
) |
Definition at line 816 of file oplock.c.
Referenced by FsRtlCheckOplock().
Definition at line 1430 of file oplock.c.
Referenced by Ext2OplockRequest(), fsctl_oplock(), and if().
Definition at line 1564 of file oplock.c.
Referenced by _Function_class_(), CdFastLock(), CdFastUnlockAll(), CdFastUnlockAllByKey(), CdFastUnlockSingle(), Ext2FastIoLock(), Ext2FastIoUnlockAll(), Ext2FastIoUnlockAllByKey(), Ext2FastIoUnlockSingle(), Ext2IsFastIoPossible(), and fast_io_possible().
Definition at line 283 of file oplock.c.
Referenced by FsRtlCancelOplockIIIrp(), FsRtlOplockBreakToNone(), FsRtlOplockCleanup(), and FsRtlRequestExclusiveOplock().
VOID FsRtlRemoveAndCompleteWaitIrp | ( | IN PWAIT_CONTEXT | WaitCtx | ) |
Definition at line 84 of file oplock.c.
Referenced by FsRtlAcknowledgeOplockBreak(), FsRtlCancelExclusiveIrp(), FsRtlCancelWaitIrp(), FsRtlOpBatchBreakClosePending(), FsRtlOplockBreakToII(), FsRtlOplockBreakToNone(), and FsRtlOplockCleanup().
NTSTATUS FsRtlRequestExclusiveOplock | ( | IN POPLOCK | Oplock, |
IN PIO_STACK_LOCATION | Stack, | ||
IN PIRP | Irp, | ||
IN ULONG | Flags | ||
) |
Definition at line 630 of file oplock.c.
Referenced by FsRtlOplockFsctrl().
Definition at line 734 of file oplock.c.
Referenced by FsRtlOplockFsctrl().
Definition at line 1600 of file oplock.c.
Referenced by CdDeleteFcb(), Ext2FreeFcb(), FatCreateDcb(), FatCreateFcb(), FatDeleteFcb(), and reap_fcb().
VOID FsRtlWaitOnIrp | ( | IN PINTERNAL_OPLOCK | Oplock, |
IN PIRP | Irp, | ||
IN PVOID | CompletionContext, | ||
IN POPLOCK_WAIT_COMPLETE_ROUTINE | CompletionRoutine, | ||
IN POPLOCK_FS_PREPOST_IRP | PostIrpRoutine, | ||
IN PKEVENT | WaitEvent | ||
) |
Definition at line 148 of file oplock.c.
Referenced by FsRtlOplockBreakNotify(), FsRtlOplockBreakToII(), and FsRtlOplockBreakToNone().