Searched refs:fat_type (Results 1 - 11 of 11) sorted by relevance

/osnet-11/usr/src/lib/libparted/common/libparted/fs/fat/
H A Dcalc.c27 fat_min_cluster_size (FatType fat_type) { argument
28 switch (fat_type) {
49 fat_recommend_min_cluster_size (FatType fat_type, PedSector size) { argument
50 switch (fat_type) {
52 case FAT_TYPE_FAT16: return fat_min_cluster_size(fat_type);
56 fat_min_cluster_size (fat_type));
63 fat_max_cluster_size (FatType fat_type) { argument
64 switch (fat_type) {
74 fat_min_cluster_count (FatType fat_type) { argument
75 switch (fat_type) {
87 fat_max_cluster_count(FatType fat_type) argument
98 fat_min_reserved_sector_count(FatType fat_type) argument
161 entries_per_sector(FatType fat_type) argument
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
230 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) 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 Dcalc.h23 extern PedSector fat_min_cluster_size (FatType fat_type);
24 extern PedSector fat_max_cluster_size (FatType fat_type);
25 extern FatCluster fat_min_cluster_count (FatType fat_type);
26 extern FatCluster fat_max_cluster_count (FatType fat_type);
28 extern PedSector fat_min_reserved_sector_count (FatType fat_type);
37 FatType fat_type,
45 FatType fat_type,
H A Dfat.c113 fat_probe (PedGeometry* geom, FatType* fat_type) argument
129 *fat_type = fs_info->fat_type;
145 FatType fat_type; local
146 PedGeometry* probed_geom = fat_probe (geom, &fat_type);
149 if (fat_type == FAT_TYPE_FAT16)
159 FatType fat_type; local
160 PedGeometry* probed_geom = fat_probe (geom, &fat_type);
163 if (fat_type == FAT_TYPE_FAT32)
196 / fat_table_entry_size (fs_info->fat_type);
280 fat_create(PedGeometry* geom, FatType fat_type, PedTimer* timer) argument
[all...]
H A Dresize.c227 PED_ASSERT (new_fs_info->fat_type == FAT_TYPE_FAT32, return 0);
261 PED_ASSERT (old_fs_info->fat_type == FAT_TYPE_FAT32, return 0);
262 PED_ASSERT (new_fs_info->fat_type == FAT_TYPE_FAT16, return 0);
289 PED_ASSERT (fs_info->fat_type == FAT_TYPE_FAT16, return 0);
315 if (new_fs_info->fat_type == FAT_TYPE_FAT32) {
343 if (new_fs_info->fat_type == old_fs_info->fat_type) {
344 switch (old_fs_info->fat_type) {
459 if (old_fs_info->fat_type == FAT_TYPE_FAT32
460 && new_fs_info->fat_type
[all...]
H A Dtable.c26 fat_table_new (FatType fat_type, FatCluster size) argument
29 int entry_size = fat_table_entry_size (fat_type);
38 ft->fat_type = fat_type;
63 dup_ft = fat_table_new (ft->fat_type, ft->size);
209 switch (ft->fat_type) {
228 switch (ft->fat_type) {
276 switch (ft->fat_type) {
306 switch (ft->fat_type) {
416 switch (ft->fat_type) {
466 fat_table_entry_size(FatType fat_type) argument
[all...]
H A Dtable.h32 FatType fat_type; member in struct:_FatTable
40 extern FatTable* fat_table_new (FatType fat_type, FatCluster size);
72 extern int fat_table_entry_size (FatType fat_type);
H A Dbootsector.c230 fs_info->fat_type = fat_boot_sector_probe_type (bs, fs->geom);
231 if (fs_info->fat_type == FAT_TYPE_FAT12) {
238 if (fs_info->fat_type == FAT_TYPE_FAT16) {
254 if (fs_info->fat_type == FAT_TYPE_FAT32) {
278 fat_entry_size = fat_table_entry_size (fs_info->fat_type);
316 bs->dir_entries = (fs_info->fat_type == FAT_TYPE_FAT16)
321 || fs_info->fat_type == FAT_TYPE_FAT32) {
337 if (fs_info->fat_type == FAT_TYPE_FAT32) {
389 if (fs_info->fat_type == FAT_TYPE_FAT32) {
H A Dtraverse.c139 = (fs_info->fat_type == FAT_TYPE_FAT16) && (start_cluster == 0);
234 switch (fs_info->fat_type) {
254 switch (fs_info->fat_type) {
H A Dfat.h105 FatType fat_type; member in struct:_FatSpecific
H A Dcontext.c211 new_fs_info->fat_type,
213 / fat_table_entry_size (new_fs_info->fat_type));
H A Dcount.c323 if (fs_info->fat_type == FAT_TYPE_FAT32) {

Completed in 50 milliseconds