Expandir Minimizar

FsRtlTruncateLargeMcb routine

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

Syntax


VOID FsRtlTruncateLargeMcb(
  _In_  PLARGE_MCB OpaqueMcb,
  _In_  LONGLONG LargeVbn
);

Parameters

OpaqueMcb [in]

Pointer to the MCB structure.

LargeVbn [in]

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

Return value

None

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.

Requirements

Header

Ntifs.h (include Ntifs.h)

Library

Ntoskrnl.lib

IRQL

<= APC_LEVEL

See also

FsRtlAddLargeMcbEntry
FsRtlGetNextLargeMcbEntry
FsRtlInitializeLargeMcb
FsRtlLookupLargeMcbEntry
FsRtlLookupLastLargeMcbEntry
FsRtlLookupLastLargeMcbEntryAndIndex
FsRtlNumberOfRunsInLargeMcb
FsRtlRemoveLargeMcbEntry
FsRtlSplitLargeMcb
FsRtlUninitializeLargeMcb

 

 

Send comments about this topic to Microsoft

Mostrar:
© 2014 Microsoft