// ntifs.h
VOID FsRtlTruncateLargeMcb(
PLARGE_MCB Mcb,
LONGLONG Vbn
);
View the official Windows Driver Kit DDI referenceNo description available.
The FsRtlTruncateLargeMcb routine truncates a large map control block (MCB).
McbPointer to the MCB structure.
VbnStarting virtual block number (VBN) of the range of mappings to be removed from the MCB.
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.
FsRtlLookupLastLargeMcbEntryAndIndex