YourDefrag
SVN
|
#include <windows.h>
#include <stdio.h>
#include <sys/timeb.h>
#include <wchar.h>
#include "JkDefragLib.h"
#include "ScanNtfs.h"
#include "x64glue.h"
Defines | |
#define | _WIN32_WINNT 0x0500 |
Functions | |
WCHAR * | StreamTypeNames (ATTRIBUTE_TYPE StreamType) |
BOOL | FixupRawMftdata (struct DefragDataStruct *Data, struct NtfsDiskInfoStruct *DiskInfo, BYTE *Buffer, ULONG64 BufLength) |
BYTE * | ReadNonResidentData (struct DefragDataStruct *Data, struct NtfsDiskInfoStruct *DiskInfo, BYTE *RunData, DWORD RunDataLength, ULONG64 Offset, ULONG64 WantedLength) |
BOOL | TranslateRundataToFragmentlist (struct DefragDataStruct *Data, struct InodeDataStruct *InodeData, WCHAR *StreamName, ATTRIBUTE_TYPE StreamType, BYTE *RunData, DWORD RunDataLength, ULONG64 StartingVcn, ULONG64 Bytes) |
void | CleanupStreams (struct InodeDataStruct *InodeData, BOOL CleanupFragments) |
WCHAR * | ConstructStreamName (WCHAR *FileName1, WCHAR *FileName2, struct StreamStruct *Stream) |
BOOL | ProcessAttributes (struct DefragDataStruct *Data, struct NtfsDiskInfoStruct *DiskInfo, struct InodeDataStruct *InodeData, BYTE *Buffer, ULONG64 BufLength, USHORT Instance, int Depth) |
void | ProcessAttributeList (struct DefragDataStruct *Data, struct NtfsDiskInfoStruct *DiskInfo, struct InodeDataStruct *InodeData, BYTE *Buffer, ULONG64 BufLength, int Depth) |
BOOL | InterpretMftRecord (struct DefragDataStruct *Data, struct NtfsDiskInfoStruct *DiskInfo, struct ItemStruct **InodeArray, ULONG64 InodeNumber, ULONG64 MaxInode, struct FragmentListStruct **MftDataFragments, ULONG64 *MftDataBytes, struct FragmentListStruct **MftBitmapFragments, ULONG64 *MftBitmapBytes, BYTE *Buffer, ULONG64 BufLength) |
BOOL | AnalyzeNtfsVolume (struct DefragDataStruct *Data) |
#define _WIN32_WINNT 0x0500 |
BOOL AnalyzeNtfsVolume | ( | struct DefragDataStruct * | Data | ) |
void CleanupStreams | ( | struct InodeDataStruct * | InodeData, |
BOOL | CleanupFragments | ||
) |
WCHAR* ConstructStreamName | ( | WCHAR * | FileName1, |
WCHAR * | FileName2, | ||
struct StreamStruct * | Stream | ||
) |
BOOL FixupRawMftdata | ( | struct DefragDataStruct * | Data, |
struct NtfsDiskInfoStruct * | DiskInfo, | ||
BYTE * | Buffer, | ||
ULONG64 | BufLength | ||
) |
BOOL InterpretMftRecord | ( | struct DefragDataStruct * | Data, |
struct NtfsDiskInfoStruct * | DiskInfo, | ||
struct ItemStruct ** | InodeArray, | ||
ULONG64 | InodeNumber, | ||
ULONG64 | MaxInode, | ||
struct FragmentListStruct ** | MftDataFragments, | ||
ULONG64 * | MftDataBytes, | ||
struct FragmentListStruct ** | MftBitmapFragments, | ||
ULONG64 * | MftBitmapBytes, | ||
BYTE * | Buffer, | ||
ULONG64 | BufLength | ||
) |
void ProcessAttributeList | ( | struct DefragDataStruct * | Data, |
struct NtfsDiskInfoStruct * | DiskInfo, | ||
struct InodeDataStruct * | InodeData, | ||
BYTE * | Buffer, | ||
ULONG64 | BufLength, | ||
int | Depth | ||
) |
BOOL ProcessAttributes | ( | struct DefragDataStruct * | Data, |
struct NtfsDiskInfoStruct * | DiskInfo, | ||
struct InodeDataStruct * | InodeData, | ||
BYTE * | Buffer, | ||
ULONG64 | BufLength, | ||
USHORT | Instance, | ||
int | Depth | ||
) |
BYTE* ReadNonResidentData | ( | struct DefragDataStruct * | Data, |
struct NtfsDiskInfoStruct * | DiskInfo, | ||
BYTE * | RunData, | ||
DWORD | RunDataLength, | ||
ULONG64 | Offset, | ||
ULONG64 | WantedLength | ||
) |
WCHAR* StreamTypeNames | ( | ATTRIBUTE_TYPE | StreamType | ) |
BOOL TranslateRundataToFragmentlist | ( | struct DefragDataStruct * | Data, |
struct InodeDataStruct * | InodeData, | ||
WCHAR * | StreamName, | ||
ATTRIBUTE_TYPE | StreamType, | ||
BYTE * | RunData, | ||
DWORD | RunDataLength, | ||
ULONG64 | StartingVcn, | ||
ULONG64 | Bytes | ||
) |