FsRtlTruncateLargeMcb - NtDoc

Native API online documentation, based on the System Informer (formerly Process Hacker) phnt headers
// ntifs.h

VOID FsRtlTruncateLargeMcb(
  PLARGE_MCB Mcb,
  LONGLONG   Vbn
);
View the official Windows Driver Kit DDI reference

NtDoc

No description available.

Windows Driver Kit DDI reference (nf-ntifs-_fsrtl_advanced_fcb_header-fsrtltruncatelargemcb)

FsRtlTruncateLargeMcb function

Description

The FsRtlTruncateLargeMcb routine truncates a large map control block (MCB).

Parameters

Mcb

Pointer to the MCB structure.

Vbn

Starting virtual block number (VBN) of the range of mappings to be removed from the MCB.

Remarks

FsRtlTruncateLargeMcb truncates an MCB structure by removing all mappings for VBNs in the range starting with LargeVbn* and ending with the highest mapped VBN. If the starting VBN belongs to a hole (a range of unmapped VBNs that form a gap between two mappings), the hole is also removed. The MCB's **PairCount member is adjusted accordingly.

If the starting VBN is zero, all mappings are removed from the MCB.

See also

FsRtlAddLargeMcbEntry

FsRtlGetNextLargeMcbEntry

FsRtlInitializeLargeMcb

FsRtlLookupLargeMcbEntry

FsRtlLookupLastLargeMcbEntry

FsRtlLookupLastLargeMcbEntryAndIndex

FsRtlNumberOfRunsInLargeMcb

FsRtlRemoveLargeMcbEntry

FsRtlSplitLargeMcb

FsRtlUninitializeLargeMcb