PedSector fat_calc_align_sectors(const PedFileSystem *new_fs, const PedFileSystem *old_fs)
Definition: calc.c:318
FatCluster fat_min_cluster_count(FatType fat_type)
Definition: calc.c:74
PedSector fat_cluster_to_sector(const PedFileSystem *fs, FatCluster cluster)
Definition: calc.c:413
FatCluster fat_max_cluster_count(FatType fat_type)
Definition: calc.c:87
int fat_calc_resize_sizes(const PedGeometry *geom, PedSector align, FatType fat_type, PedSector root_dir_sectors, PedSector cluster_sectors, PedSector *out_cluster_sectors, FatCluster *out_cluster_count, PedSector *out_fat_size)
Definition: calc.c:283
PedSector fat_min_cluster_size(FatType fat_type)
Definition: calc.c:27
PedSector fat_max_cluster_size(FatType fat_type)
Definition: calc.c:63
FatFragment fat_sector_to_frag(const PedFileSystem *fs, PedSector sector)
Definition: calc.c:403
FatFragment fat_cluster_to_frag(const PedFileSystem *fs, FatCluster cluster)
Definition: calc.c:373
int fat_calc_sizes(PedSector size, PedSector align, FatType fat_type, PedSector root_dir_sectors, PedSector *out_cluster_sectors, FatCluster *out_cluster_count, PedSector *out_fat_size)
Definition: calc.c:229
FatCluster fat_sector_to_cluster(const PedFileSystem *fs, PedSector sector)
Definition: calc.c:424
int fat_is_sector_in_clusters(const PedFileSystem *fs, PedSector sector)
Definition: calc.c:363
int fat_check_resize_geometry(const PedFileSystem *fs, const PedGeometry *geom, PedSector new_cluster_sectors, FatCluster new_cluster_count)
Definition: calc.c:104
FatCluster fat_frag_to_cluster(const PedFileSystem *fs, FatFragment frag)
Definition: calc.c:383
PedSector fat_frag_to_sector(const PedFileSystem *fs, FatFragment frag)
Definition: calc.c:393
PedSector fat_min_reserved_sector_count(FatType fat_type)
Definition: calc.c:98
enum _FatType FatType
Definition: fat.h:49
int32_t FatFragment
Definition: fat.h:42
uint32_t FatCluster
Definition: fat.h:41
long long PedSector
We can address 2^63 sectors.
Definition: device.h:31
uint8_t sector
Definition: pc98.c:7
Structure describing file system.
Definition: filesys.h:68
Geometry of the partition.
Definition: geom.h:35