Searched refs:cluster_sectors (Results 1 - 9 of 9) sorted by relevance

/osnet-11/usr/src/lib/libparted/common/libparted/fs/fat/
H A Dcalc.c118 dir_space = fs_info->total_dir_clusters * fs_info->cluster_sectors;
120 * fs_info->cluster_sectors;
121 total_space = fs_info->fat->cluster_count * fs_info->cluster_sectors;
176 PedSector root_dir_sectors, PedSector cluster_sectors,
200 cluster_count = cluster_space / cluster_sectors;
206 cluster_count = cluster_space / cluster_sectors;
235 PedSector cluster_sectors; local
241 for (cluster_sectors = fat_recommend_min_cluster_size (fat_type, size);
242 cluster_sectors <= fat_max_cluster_size (fat_type);
243 cluster_sectors *
175 calc_sizes(PedSector size, PedSector align, FatType fat_type, PedSector root_dir_sectors, PedSector cluster_sectors, FatCluster* out_cluster_count, PedSector* out_fat_size) argument
284 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) argument
[all...]
H A Dfat.c99 PED_ASSERT (fs_info->cluster_sectors % frag_sectors == 0
100 && frag_sectors <= fs_info->cluster_sectors,
106 fs_info->cluster_frags = fs_info->cluster_sectors / frag_sectors;
305 &fs_info->cluster_sectors,
317 fs_info->cluster_size = fs_info->cluster_sectors * 512;
498 PedSector cluster_sectors; local
511 &cluster_sectors,
523 if (cluster_sectors != fs_info->cluster_sectors
533 (int) fs_info->cluster_sectors /
[all...]
H A Dcount.c191 != ped_div_round_up (size, fs_info->cluster_sectors)) {
199 (int) chain_length * fs_info->cluster_sectors / 2)
206 fs_info->cluster_sectors),
207 fs_info->cluster_sectors);
362 return fraction * fs_info->cluster_sectors / 64;
H A Dcalc.h47 PedSector cluster_sectors,
H A Dcontext.c53 if (sector_delta % new_fs_info->cluster_sectors) {
59 (int) new_fs_info->cluster_sectors);
86 ctx->frag_sectors = PED_MIN (old_fs_info->cluster_sectors,
87 new_fs_info->cluster_sectors);
H A Dfatio.c95 PedSector sector_count = count * fs_info->cluster_sectors;
116 PedSector sector_count = count * fs_info->cluster_sectors;
H A Dresize.c231 new_fs_info->cluster_sectors);
603 fs_info->cluster_sectors,
606 fs_info->cluster_sectors,
613 fs_info->cluster_sectors,
616 fs_info->cluster_sectors,
653 fat_calc_resize_sizes (new_geom, fs_info->cluster_sectors, new_fat_type,
654 root_dir_sector_count, fs_info->cluster_sectors,
682 new_fs_info->cluster_sectors = new_cluster_sectors;
H A Dbootsector.c123 Note: you need to subtract (2 * cluster_sectors) off cluster offset,
207 fs_info->cluster_sectors = bs->cluster_size
209 fs_info->cluster_size = fs_info->cluster_sectors * 512;
223 if (fs_info->cluster_sectors == 0) {
276 / fs_info->cluster_sectors;
310 bs->cluster_size = fs_info->cluster_sectors
H A Dfat.h101 PedSector cluster_sectors; member in struct:_FatSpecific

Completed in 22 milliseconds