ReactOS 0.4.16-dev-36-g301675c
|
#include "precomp.h"
#include "partlist.h"
#include "fsrec.h"
#include "bootcode.h"
#include "fsutil.h"
#include <fslib/vfatlib.h>
#include <fslib/btrfslib.h>
#include <debug.h>
#include <pshpack1.h>
#include <poppack.h>
Go to the source code of this file.
Classes | |
struct | _FAT_BOOTSECTOR |
struct | _FAT32_BOOTSECTOR |
struct | _BTRFS_BOOTSECTOR |
struct | _NTFS_BOOTSECTOR |
struct | _FILE_SYSTEM |
Macros | |
#define | NDEBUG |
Typedefs | |
typedef struct _FAT_BOOTSECTOR | FAT_BOOTSECTOR |
typedef struct _FAT_BOOTSECTOR * | PFAT_BOOTSECTOR |
typedef struct _FAT32_BOOTSECTOR | FAT32_BOOTSECTOR |
typedef struct _FAT32_BOOTSECTOR * | PFAT32_BOOTSECTOR |
typedef struct _BTRFS_BOOTSECTOR | BTRFS_BOOTSECTOR |
typedef struct _BTRFS_BOOTSECTOR * | PBTRFS_BOOTSECTOR |
typedef struct _NTFS_BOOTSECTOR | NTFS_BOOTSECTOR |
typedef struct _NTFS_BOOTSECTOR * | PNTFS_BOOTSECTOR |
typedef struct _FILE_SYSTEM | FILE_SYSTEM |
typedef struct _FILE_SYSTEM * | PFILE_SYSTEM |
Variables | |
static FILE_SYSTEM | RegisteredFileSystems [] |
typedef struct _BTRFS_BOOTSECTOR BTRFS_BOOTSECTOR |
typedef struct _FAT32_BOOTSECTOR FAT32_BOOTSECTOR |
typedef struct _FAT_BOOTSECTOR FAT_BOOTSECTOR |
typedef struct _FILE_SYSTEM FILE_SYSTEM |
IFS_PROVIDER
typedef struct _NTFS_BOOTSECTOR NTFS_BOOTSECTOR |
typedef struct _BTRFS_BOOTSECTOR * PBTRFS_BOOTSECTOR |
typedef struct _FAT32_BOOTSECTOR * PFAT32_BOOTSECTOR |
typedef struct _FAT_BOOTSECTOR * PFAT_BOOTSECTOR |
typedef struct _FILE_SYSTEM * PFILE_SYSTEM |
typedef struct _NTFS_BOOTSECTOR * PNTFS_BOOTSECTOR |
C_ASSERT | ( | sizeof(BTRFS_BOOTSECTOR) | = =BTRFS_BOOTSECTOR_SIZE | ) |
C_ASSERT | ( | sizeof(FAT32_BOOTSECTOR) | = =FAT32_BOOTSECTOR_SIZE | ) |
C_ASSERT | ( | sizeof(FAT_BOOTSECTOR) | = =FAT_BOOTSECTOR_SIZE | ) |
C_ASSERT | ( | sizeof(NTFS_BOOTSECTOR) | = =NTFS_BOOTSECTOR_SIZE | ) |
NTSTATUS ChkdskFileSystem | ( | _In_ PCWSTR | DriveRoot, |
_In_ PCWSTR | FileSystemName, | ||
_In_ BOOLEAN | FixErrors, | ||
_In_ BOOLEAN | Verbose, | ||
_In_ BOOLEAN | CheckOnlyIfDirty, | ||
_In_ BOOLEAN | ScanDrive, | ||
_In_opt_ PFMIFSCALLBACK | Callback | ||
) |
Definition at line 287 of file fsutil.c.
Referenced by ChkdskVolume().
NTSTATUS ChkdskFileSystem_UStr | ( | _In_ PUNICODE_STRING | DriveRoot, |
_In_ PCWSTR | FileSystemName, | ||
_In_ BOOLEAN | FixErrors, | ||
_In_ BOOLEAN | Verbose, | ||
_In_ BOOLEAN | CheckOnlyIfDirty, | ||
_In_ BOOLEAN | ScanDrive, | ||
_In_opt_ PFMIFSCALLBACK | Callback | ||
) |
Definition at line 244 of file fsutil.c.
Referenced by ChkdskFileSystem().
NTSTATUS ChkdskPartition | ( | _In_ PPARTENTRY | PartEntry, |
_In_ BOOLEAN | FixErrors, | ||
_In_ BOOLEAN | Verbose, | ||
_In_ BOOLEAN | CheckOnlyIfDirty, | ||
_In_ BOOLEAN | ScanDrive, | ||
_In_opt_ PFMIFSCALLBACK | Callback | ||
) |
Definition at line 781 of file fsutil.c.
NTSTATUS ChkdskVolume | ( | _In_ PVOLINFO | Volume, |
_In_ BOOLEAN | FixErrors, | ||
_In_ BOOLEAN | Verbose, | ||
_In_ BOOLEAN | CheckOnlyIfDirty, | ||
_In_ BOOLEAN | ScanDrive, | ||
_In_opt_ PFMIFSCALLBACK | Callback | ||
) |
Definition at line 757 of file fsutil.c.
Referenced by ChkdskPartition(), and DoChecking().
|
static |
Definition at line 1000 of file fsutil.c.
Referenced by FsVolCommitOpsQueue().
|
static |
Definition at line 942 of file fsutil.c.
Referenced by FsVolCommitOpsQueue().
NTSTATUS FormatFileSystem | ( | _In_ PCWSTR | DriveRoot, |
_In_ PCWSTR | FileSystemName, | ||
_In_ FMIFS_MEDIA_FLAG | MediaFlag, | ||
_In_opt_ PCWSTR | Label, | ||
_In_ BOOLEAN | QuickFormat, | ||
_In_ ULONG | ClusterSize, | ||
_In_opt_ PFMIFSCALLBACK | Callback | ||
) |
Definition at line 376 of file fsutil.c.
Referenced by FormatVolume(), and InstallFatBootcodeToFloppy().
NTSTATUS FormatFileSystem_UStr | ( | _In_ PUNICODE_STRING | DriveRoot, |
_In_ PCWSTR | FileSystemName, | ||
_In_ FMIFS_MEDIA_FLAG | MediaFlag, | ||
_In_opt_ PUNICODE_STRING | Label, | ||
_In_ BOOLEAN | QuickFormat, | ||
_In_ ULONG | ClusterSize, | ||
_In_opt_ PFMIFSCALLBACK | Callback | ||
) |
Definition at line 311 of file fsutil.c.
Referenced by FormatFileSystem().
NTSTATUS FormatPartition | ( | _In_ PPARTENTRY | PartEntry, |
_In_ PCWSTR | FileSystemName, | ||
_In_ FMIFS_MEDIA_FLAG | MediaFlag, | ||
_In_opt_ PCWSTR | Label, | ||
_In_ BOOLEAN | QuickFormat, | ||
_In_ ULONG | ClusterSize, | ||
_In_opt_ PFMIFSCALLBACK | Callback | ||
) |
Definition at line 842 of file fsutil.c.
Referenced by DoFormatting().
NTSTATUS FormatVolume | ( | _In_ PVOLINFO | Volume, |
_In_ PCWSTR | FileSystemName, | ||
_In_ FMIFS_MEDIA_FLAG | MediaFlag, | ||
_In_opt_ PCWSTR | Label, | ||
_In_ BOOLEAN | QuickFormat, | ||
_In_ ULONG | ClusterSize, | ||
_In_opt_ PFMIFSCALLBACK | Callback | ||
) |
Definition at line 804 of file fsutil.c.
Referenced by FormatPartition().
BOOLEAN FsVolCommitOpsQueue | ( | _In_ PPARTLIST | PartitionList, |
_In_ PVOLENTRY | SystemVolume, | ||
_In_ PVOLENTRY | InstallVolume, | ||
_In_opt_ PFSVOL_CALLBACK | FsVolCallback, | ||
_In_opt_ PVOID | Context | ||
) |
HACK!!
END HACK!!
Definition at line 1087 of file fsutil.c.
Referenced by PrepareAndDoCopyThread(), and StartPartitionOperationsPage().
|
static |
Definition at line 197 of file fsutil.c.
Referenced by ChkdskFileSystem_UStr(), and FormatFileSystem_UStr().
Definition at line 1062 of file fsutil.c.
Referenced by FsVolCommitOpsQueue().
QueryAvailableFileSystemFormat()
Definition at line 182 of file fsutil.c.
Referenced by FormatDlgProcWorker(), and InitializeFileSystemList().
Definition at line 585 of file fsutil.c.
Referenced by InstallBtrfsBootcodeToPartition().
Definition at line 464 of file fsutil.c.
Referenced by InstallFatBootcodeToPartition().
Definition at line 406 of file fsutil.c.
Definition at line 692 of file fsutil.c.
Referenced by InstallNtfsBootcodeToPartition().
|
static |
Definition at line 159 of file fsutil.c.
Referenced by BlImgStartBootApplication(), GetFileSystemByName(), and GetRegisteredFileSystems().