ReactOS 0.4.16-dev-555-g690643f
|
#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 NTAPI 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 290 of file fsutil.c.
Referenced by ChkdskVolume().
NTSTATUS NTAPI 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 246 of file fsutil.c.
Referenced by ChkdskFileSystem().
NTSTATUS NTAPI ChkdskPartition | ( | _In_ PPARTENTRY | PartEntry, |
_In_ BOOLEAN | FixErrors, | ||
_In_ BOOLEAN | Verbose, | ||
_In_ BOOLEAN | CheckOnlyIfDirty, | ||
_In_ BOOLEAN | ScanDrive, | ||
_In_opt_ PFMIFSCALLBACK | Callback | ||
) |
Definition at line 788 of file fsutil.c.
NTSTATUS NTAPI ChkdskVolume | ( | _In_ PVOLINFO | Volume, |
_In_ BOOLEAN | FixErrors, | ||
_In_ BOOLEAN | Verbose, | ||
_In_ BOOLEAN | CheckOnlyIfDirty, | ||
_In_ BOOLEAN | ScanDrive, | ||
_In_opt_ PFMIFSCALLBACK | Callback | ||
) |
Definition at line 763 of file fsutil.c.
Referenced by ChkdskPartition(), and DoChecking().
|
static |
Definition at line 1009 of file fsutil.c.
Referenced by FsVolCommitOpsQueue().
|
static |
Definition at line 951 of file fsutil.c.
Referenced by FsVolCommitOpsQueue().
NTSTATUS NTAPI 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 381 of file fsutil.c.
Referenced by FormatVolume().
NTSTATUS NTAPI 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 315 of file fsutil.c.
Referenced by FormatFileSystem(), and InstallBootcodeToRemovable().
NTSTATUS NTAPI 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 851 of file fsutil.c.
Referenced by DoFormatting().
NTSTATUS NTAPI 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 812 of file fsutil.c.
Referenced by FormatPartition().
BOOLEAN NTAPI 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 1097 of file fsutil.c.
Referenced by PrepareAndDoCopyThread(), and StartPartitionOperationsPage().
|
static |
Definition at line 198 of file fsutil.c.
Referenced by ChkdskFileSystem_UStr(), and FormatFileSystem_UStr().
Definition at line 1071 of file fsutil.c.
Referenced by FsVolCommitOpsQueue().
QueryAvailableFileSystemFormat()
Definition at line 183 of file fsutil.c.
Referenced by FormatDlgProcWorker(), and InitializeFileSystemList().
Definition at line 590 of file fsutil.c.
Referenced by InstallBtrfsBootcodeToPartition().
Definition at line 469 of file fsutil.c.
Referenced by InstallFatBootcodeToPartition().
Definition at line 411 of file fsutil.c.
Definition at line 697 of file fsutil.c.
Referenced by InstallNtfsBootcodeToPartition().
|
static |
Definition at line 159 of file fsutil.c.
Referenced by BlImgStartBootApplication(), GetFileSystemByName(), and GetRegisteredFileSystems().