#include "cmp.h"
Go to the source code of this file.
Functions | |
NTSTATUS | HvpBuildMapAndCopy (PHHIVE Hive, PVOID Image, PHCELL_INDEX TailDisplay OPTIONAL) |
NTSTATUS | HvpInitMap (PHHIVE Hive) |
NTSTATUS | HvpEnlistBinInMap (PHHIVE Hive, ULONG Length, PHBIN Bin, ULONG Offset, PHCELL_INDEX TailDisplay OPTIONAL) |
NTSTATUS | HvpBuildMap (PHHIVE Hive, PVOID Image, PHCELL_INDEX TailDisplay OPTIONAL) |
BOOLEAN | HvpEnlistFreeCells (PHHIVE Hive, PHBIN Bin, ULONG BinOffset, PHCELL_INDEX TailDisplay OPTIONAL) |
VOID | HvpCleanMap (PHHIVE Hive) |
VOID | HvpFreeMap (PHHIVE Hive, PHMAP_DIRECTORY Dir, ULONG Start, ULONG End) |
BOOLEAN | HvpAllocateMap (PHHIVE Hive, PHMAP_DIRECTORY Dir, ULONG Start, ULONG End) |
Variables | |
struct { | |
PHHIVE Hive | |
ULONG Status | |
ULONG Space | |
HCELL_INDEX MapPoint | |
PHBIN BinPoint | |
} | HvCheckHiveDebug |
|
Definition at line 853 of file hivemap.c. References _HHIVE::Allocate, ASSERT, _HMAP_DIRECTORY::Directory, End, FALSE, Hive, NULL, Start, t(), and TRUE. Referenced by HvpAddBin(), HvpBuildMapAndCopy(), and HvpInitMap().
|
|
Definition at line 536 of file hivemap.c. References Bin, CML_FLOW, CMLOG, CMS_HIVE, ErrorExit(), _HBIN::FileOffset, HBIN_SIGNATURE, HBLOCK_SIZE, Hive, HvCheckHiveDebug, HvpCleanMap(), HvpEnlistBinInMap(), HvpInitMap(), NT_SUCCESS, NTSTATUS(), Offset, _HBIN::Signature, _HBIN::Size, Stable, and Status. Referenced by HvInitializeHive().
|
|
Definition at line 47 of file hivemap.c. References _HHIVE::Allocate, _HHIVE::BaseBlock, Bin, _HMAP_ENTRY::BinAddress, _HMAP_ENTRY::BlockAddress, CML_FLOW, CMLOG, CMS_HIVE, _HHIVE::DirtyAlloc, _HHIVE::DirtyVector, FALSE, _HBIN::FileOffset, _HHIVE::Free, HBIN_SIGNATURE, HBLOCK_SIZE, Hive, HMAP_NEWALLOC, HSECTOR_SIZE, HTABLE_SLOTS, HvpAllocateMap(), HvpEnlistFreeCells(), HvpFreeMap(), HvpGetCellMap(), _HBASE_BLOCK::Length, _HBIN::MemAlloc, NTSTATUS(), NULL, Offset, PAGE_SIZE, _HHIVE::ReadOnly, ROUND_UP, RtlInitializeBitMap(), _HBIN::Signature, _HBIN::Size, Size, Stable, Status, t(), TRUE, and VALIDATE_CELL_MAP. Referenced by HvInitializeHive().
|
|
Definition at line 751 of file hivemap.c. References _HHIVE::Free, HBLOCK_SIZE, Hive, HTABLE_SLOTS, HvpFreeMap(), NULL, and Stable. Referenced by HvLoadHive(), HvpBuildMap(), and HvpReadFileImageAndBuildMap().
|
|
Definition at line 437 of file hivemap.c. References ASSERT, Bin, _HMAP_ENTRY::BinAddress, _HMAP_ENTRY::BlockAddress, CML_BIN, CML_FLOW, CMLOG, CMS_BIN_MAP, CMS_HIVE, ErrorExit(), FALSE, HBLOCK_SIZE, Hive, HMAP_NEWALLOC, HvCheckHiveDebug, HvpEnlistFreeCells(), HvpGetCellMap(), _HBIN::MemAlloc, NTSTATUS(), Offset, _HHIVE::ReadOnly, _HBIN::Size, Status, and VALIDATE_CELL_MAP. Referenced by HvpBuildMap(), HvpReadFileImageAndBuildMap(), and HvpRecoverData().
|
|
Definition at line 649 of file hivemap.c. References ASSERT, Bin, FALSE, HCELL_INDEX, HCELL_PAD, Hive, HvpEnlistFreeCell(), _HCELL::Size, _HBIN::Size, Stable, and TRUE. Referenced by HvpBuildMapAndCopy(), HvpEnlistBinInMap(), HvpRecoverData(), and HvRefreshHive().
|
|
Definition at line 807 of file hivemap.c. References _HMAP_DIRECTORY::Directory, End, _HHIVE::Free, HDIRECTORY_SLOTS, Hive, NULL, and Start. Referenced by HvFreeHive(), HvFreeHivePartial(), HvpAddBin(), HvpBuildMapAndCopy(), HvpCleanMap(), and HvpInitMap().
|
|
Definition at line 304 of file hivemap.c. References _HHIVE::Allocate, _HHIVE::BaseBlock, CML_FLOW, CMLOG, CMS_HIVE, _HHIVE::DirtyAlloc, _HHIVE::DirtyVector, FALSE, _HHIVE::Free, HBLOCK_SIZE, Hive, HSECTOR_SIZE, HTABLE_SLOTS, HvpAllocateMap(), HvpFreeMap(), _HBASE_BLOCK::Length, NTSTATUS(), NULL, ROUND_UP, RtlInitializeBitMap(), Stable, Status, t(), and TRUE. Referenced by HvpBuildMap(), and HvpReadFileImageAndBuildMap().
|
|
|
|
|
|
|
|
|
|
|
|
|