#include "lfsprocs.h"
Go to the source code of this file.
Defines | |
#define | Dbg (DEBUG_TRACE_QUERY) |
#define | MODULE_POOL_TAG ('QsfL') |
Functions | |
VOID | LfsFindLogRecord (IN PLFCB Lfcb, IN OUT PLCB Lcb, IN LSN Lsn, OUT PLFS_RECORD_TYPE RecordType, OUT TRANSACTION_ID *TransactionId, OUT PLSN UndoNextLsn, OUT PLSN PreviousLsn, OUT PULONG BufferLength, OUT PVOID *Buffer) |
BOOLEAN | LfsFindClientNextLsn (IN PLFCB Lfcb, IN PLCB Lcb, OUT PLSN Lsn) |
BOOLEAN | LfsSearchForwardByClient (IN PLFCB Lfcb, IN OUT PLCB Lcb, OUT PLSN Lsn) |
VOID | LfsReadLogRecord (IN LFS_LOG_HANDLE LogHandle, IN LSN FirstLsn, IN LFS_CONTEXT_MODE ContextMode, OUT PLFS_LOG_CONTEXT Context, OUT PLFS_RECORD_TYPE RecordType, OUT TRANSACTION_ID *TransactionId, OUT PLSN UndoNextLsn, OUT PLSN PreviousLsn, OUT PULONG BufferLength, OUT PVOID *Buffer) |
BOOLEAN | LfsReadNextLogRecord (IN LFS_LOG_HANDLE LogHandle, IN OUT LFS_LOG_CONTEXT Context, OUT PLFS_RECORD_TYPE RecordType, OUT TRANSACTION_ID *TransactionId, OUT PLSN UndoNextLsn, OUT PLSN PreviousLsn, OUT PLSN Lsn, OUT PULONG BufferLength, OUT PVOID *Buffer) |
VOID | LfsTerminateLogQuery (IN LFS_LOG_HANDLE LogHandle, IN LFS_LOG_CONTEXT Context) |
LSN | LfsQueryLastLsn (IN LFS_LOG_HANDLE LogHandle) |
|
Definition at line 28 of file querylog.c. |
|
Definition at line 31 of file querylog.c. |
|
Definition at line 1004 of file querylog.c. References Dbg, DebugTrace, FALSE, LfsContextForward, LfsContextPrevious, LfsContextUndoNext, LfsPinOrMapLogRecordHeader(), LfsSearchForwardByClient(), LfsVerifyClientLsnInRange, LSN, PAGED_CODE, and TRUE. Referenced by LfsReadNextLogRecord().
|
|
Definition at line 809 of file querylog.c. References Add2Ptr, Buffer, Dbg, DebugTrace, DebugUnwind, ExRaiseStatus(), FALSE, FlagOn, LFS_RECORD_HEADER_SIZE, LfsAllocateSpanningBuffer(), LfsCopyReadLogRecord(), LfsFindLogRecord(), LfsFreeSpanningBuffer(), LfsLsnToPageOffset, LfsPinOrMapLogRecordHeader(), LOG_RECORD_MULTI_PAGE, NULL, PAGED_CODE, and TRUE. Referenced by LfsFindLogRecord(), LfsReadLogRecord(), and LfsReadNextLogRecord().
|
|
Definition at line 701 of file querylog.c. References _LFS_RESTART_AREA::CurrentLsn, Dbg, DebugTrace, DebugUnwind, ExRaiseStatus(), FlagOn, _LFCB::Flags, _LCH::Lfcb, LFCB_NO_LAST_LSN, LfsAcquireLch, LfsQueryLastLsn(), LfsReleaseLch, LfsValidateClientId, LfsValidateLch, LfsZeroLsn, LSN, NULL, PAGED_CODE, and _LFCB::RestartArea. Referenced by LfsQueryLastLsn().
|
|
Definition at line 72 of file querylog.c. References Add2Ptr, Buffer, _LFCB::ClientArray, _LCH::ClientArrayByteOffset, _LCH::ClientId, Dbg, DebugTrace, DebugUnwind, ExRaiseStatus(), _LCH::Lfcb, LfsAcquireLch, LfsAllocateLcb(), LfsContextForward, LfsContextPrevious, LfsContextUndoNext, LfsDeallocateLcb(), LfsExceptionFilter(), LfsFindLogRecord(), LfsInitializeLcb, LfsReadLogRecord(), LfsReleaseLch, LfsValidateClientId, LfsValidateLch, LfsVerifyClientLsnInRange, NTSTATUS(), NULL, PAGED_CODE, and Status. Referenced by LfsReadLogRecord().
|
|
Definition at line 299 of file querylog.c. References _LCB::AuxilaryBuffer, Buffer, CcUnpinData(), _LCB::CurrentLogRecord, Dbg, DebugTrace, DebugUnwind, ExRaiseStatus(), FALSE, _LCH::Lfcb, LfsAcquireLch, LfsExceptionFilter(), LfsFindClientNextLsn(), LfsFindLogRecord(), LfsFreeSpanningBuffer(), LfsReadNextLogRecord(), LfsReleaseLch, LfsReleaseLfcb, LfsValidateClientId, LfsValidateLcb, LfsValidateLch, NTSTATUS(), NULL, PAGED_CODE, _LCB::RecordHeader, _LCB::RecordHeaderBcb, Status, and TRUE. Referenced by LfsReadNextLogRecord().
|
|
Definition at line 1116 of file querylog.c. References CcUnpinData(), _LFS_RECORD_HEADER::ClientId, Dbg, DebugTrace, DebugUnwind, FALSE, LfsClientIdMatch, LfsClientRecord, LfsFindNextLsn(), LfsPinOrMapLogRecordHeader(), LfsSearchForwardByClient(), LSN, NULL, PAGED_CODE, _LFS_RECORD_HEADER::RecordType, and TRUE. Referenced by LfsFindClientNextLsn(), and LfsSearchForwardByClient().
|
|
Definition at line 594 of file querylog.c. References Dbg, DebugTrace, DebugUnwind, _LCH::Lfcb, LfsAcquireLch, LfsDeallocateLcb(), LfsReleaseLch, LfsTerminateLogQuery(), LfsValidateClientId, LfsValidateLcb, LfsValidateLch, NULL, PAGED_CODE, and try_return. Referenced by LfsTerminateLogQuery().
|