Lines Matching defs:fat_type

113 fat_probe (PedGeometry* geom, FatType* fat_type)
129 *fat_type = fs_info->fat_type;
145 FatType fat_type;
146 PedGeometry* probed_geom = fat_probe (geom, &fat_type);
149 if (fat_type == FAT_TYPE_FAT16)
159 FatType fat_type;
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);
197 fs_info->fat = fat_table_new (fs_info->fat_type, table_size);
227 fs->type = (fs_info->fat_type == FAT_TYPE_FAT16)
230 if (fs_info->fat_type == FAT_TYPE_FAT32) {
280 fat_create (PedGeometry* geom, FatType fat_type, PedTimer* timer)
301 fs_info->fat_type = fat_type;
303 fs_info->fat_type,
311 (fat_type == FAT_TYPE_FAT16)
319 fs_info->fat_offset = fat_min_reserved_sector_count (fs_info->fat_type);
323 if (fs_info->fat_type == FAT_TYPE_FAT16) {
328 > fat_max_cluster_count (fs_info->fat_type)) {
330 = fat_max_cluster_count (fs_info->fat_type);
360 / fat_table_entry_size (fs_info->fat_type);
361 fs_info->fat = fat_table_new (fs_info->fat_type, table_size);
368 if (fs_info->fat_type == FAT_TYPE_FAT32) {
386 if (fs_info->fat_type == FAT_TYPE_FAT32) {
396 if (fs_info->fat_type == FAT_TYPE_FAT16) {
464 / fat_table_entry_size (fs_info->fat_type);
466 table_copy = fat_table_new (fs_info->fat_type, table_size);
505 - fat_min_reserved_sector_count (fs_info->fat_type);
509 fs_info->fat_type,
522 if (fs_info->fat_type == FAT_TYPE_FAT16) {
544 if (fs_info->fat_type == FAT_TYPE_FAT32) {
686 * So, this algorithm works if dev->length / 2 is a valid fat_type
692 _test_create_size (PedSector length, FatType fat_type,
700 rootdir_sectors = (fat_type == FAT_TYPE_FAT16) ? 16 : 0;
702 if (!fat_calc_sizes (length, 0, fat_type, rootdir_sectors,
720 _get_create_size (PedSector upper_bound, FatType fat_type,
729 switch (_test_create_size (length, fat_type, cluster_sectors,