libparted 3.6
Loading...
Searching...
No Matches
Functions
calc.h File Reference

Go to the source code of this file.

Functions

PedSector fat_calc_align_sectors (const PedFileSystem *new_fs, const PedFileSystem *old_fs)
 
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)
 
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)
 
int fat_check_resize_geometry (const PedFileSystem *fs, const PedGeometry *geom, PedSector new_cluster_sectors, FatCluster new_cluster_count)
 
FatFragment fat_cluster_to_frag (const PedFileSystem *fs, FatCluster cluster)
 
PedSector fat_cluster_to_sector (const PedFileSystem *fs, FatCluster cluster)
 
FatCluster fat_frag_to_cluster (const PedFileSystem *fs, FatFragment frag)
 
PedSector fat_frag_to_sector (const PedFileSystem *fs, FatFragment frag)
 
int fat_is_sector_in_clusters (const PedFileSystem *fs, PedSector sector)
 
FatCluster fat_max_cluster_count (FatType fat_type)
 
PedSector fat_max_cluster_size (FatType fat_type)
 
FatCluster fat_min_cluster_count (FatType fat_type)
 
PedSector fat_min_cluster_size (FatType fat_type)
 
PedSector fat_min_reserved_sector_count (FatType fat_type)
 
FatCluster fat_sector_to_cluster (const PedFileSystem *fs, PedSector sector)
 
FatFragment fat_sector_to_frag (const PedFileSystem *fs, PedSector sector)
 

Function Documentation

◆ fat_calc_align_sectors()

PedSector fat_calc_align_sectors ( const PedFileSystem new_fs,
const PedFileSystem old_fs 
)

◆ fat_calc_resize_sizes()

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 
)

◆ fat_calc_sizes()

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 
)

◆ fat_check_resize_geometry()

int fat_check_resize_geometry ( const PedFileSystem fs,
const PedGeometry geom,
PedSector  new_cluster_sectors,
FatCluster  new_cluster_count 
)

◆ fat_cluster_to_frag()

FatFragment fat_cluster_to_frag ( const PedFileSystem fs,
FatCluster  cluster 
)

◆ fat_cluster_to_sector()

PedSector fat_cluster_to_sector ( const PedFileSystem fs,
FatCluster  cluster 
)

◆ fat_frag_to_cluster()

FatCluster fat_frag_to_cluster ( const PedFileSystem fs,
FatFragment  frag 
)

◆ fat_frag_to_sector()

PedSector fat_frag_to_sector ( const PedFileSystem fs,
FatFragment  frag 
)

◆ fat_is_sector_in_clusters()

int fat_is_sector_in_clusters ( const PedFileSystem fs,
PedSector  sector 
)

◆ fat_max_cluster_count()

FatCluster fat_max_cluster_count ( FatType  fat_type)

◆ fat_max_cluster_size()

PedSector fat_max_cluster_size ( FatType  fat_type)

◆ fat_min_cluster_count()

FatCluster fat_min_cluster_count ( FatType  fat_type)

◆ fat_min_cluster_size()

PedSector fat_min_cluster_size ( FatType  fat_type)

◆ fat_min_reserved_sector_count()

PedSector fat_min_reserved_sector_count ( FatType  fat_type)

◆ fat_sector_to_cluster()

FatCluster fat_sector_to_cluster ( const PedFileSystem fs,
PedSector  sector 
)

◆ fat_sector_to_frag()

FatFragment fat_sector_to_frag ( const PedFileSystem fs,
PedSector  sector 
)