![]() |
UltraDefrag Engine Architecture - Reference Manual - Guides |
|
Functions | |
NTSTATUS | FillFreeSpaceMap (void) |
Dumps the free space on the volume. | |
void | ProcessFreedBlock (ULONGLONG start, ULONGLONG len, UCHAR old_space_state) |
Processes a space block freed by file moving routines. | |
void | AddFreeSpaceBlock (ULONGLONG start, ULONGLONG length) |
Adds a free space block to the free space map. | |
void | TruncateFreeSpaceBlock (ULONGLONG start, ULONGLONG length) |
Cuts the left side of the free space block. | |
void | RemoveFreeSpaceBlock (ULONGLONG start, ULONGLONG len) |
Removes a range of clusters from the free space list. | |
void | DbgPrintFreeSpaceList (void) |
Prints sequenly all the entries of the free space list. |
NTSTATUS FillFreeSpaceMap | ( | void | ) |
Dumps the free space on the volume.
Definition at line 37 of file freespace.c.
Referenced by Analyze().
void ProcessFreedBlock | ( | ULONGLONG | start, | |
ULONGLONG | len, | |||
UCHAR | old_space_state | |||
) |
Processes a space block freed by file moving routines.
Remarks the cluster map and adds the block to the free space map if it is really free.
[in] | start | the starting cluster of the block. |
[in] | len | the length of the block, in clusters. |
[in] | old_space_state | the state of the block which it has before the freedom. |
Definition at line 125 of file freespace.c.
References AddFreeSpaceBlock(), and RemarkBlock().
Referenced by MoveTheFile(), and MoveTheUnfragmentedFile().
void AddFreeSpaceBlock | ( | ULONGLONG | start, | |
ULONGLONG | length | |||
) |
Adds a free space block to the free space map.
[in] | start | the starting cluster of the block. |
[in] | length | the length of the block, in clusters. |
Definition at line 147 of file freespace.c.
Referenced by ProcessFreedBlock(), and RemoveFreeSpaceBlock().
void TruncateFreeSpaceBlock | ( | ULONGLONG | start, | |
ULONGLONG | length | |||
) |
Cuts the left side of the free space block.
[in] | start | the starting cluster of the block. |
[in] | length | the length of the cluster chain to be cut, in clusters. |
Definition at line 225 of file freespace.c.
Referenced by MoveTheFile(), and MoveTheUnfragmentedFile().
void RemoveFreeSpaceBlock | ( | ULONGLONG | start, | |
ULONGLONG | len | |||
) |
Removes a range of clusters from the free space list.
[in] | start | the starting cluster of the block. |
[in] | len | the length of the block, in clusters. |
Definition at line 247 of file freespace.c.
References AddFreeSpaceBlock().
Referenced by ProcessMftSpace().