Lines Matching refs:fat_len

339 	rem_sect = tot_sectors - Fs->dir_len - Fs->fat_start - 2 * Fs->fat_len;  in xdf_calc_fat_size()
341 if(Fs->fat_len) { in xdf_calc_fat_size()
353 if (Fs->fat_len >= NEEDED_FAT_SIZE(Fs)) in xdf_calc_fat_size()
420 Fs->fat_len = (numerator-1)/denominator+1; in calc_fat_size()
421 Fs->num_clus = (rem_sect-(Fs->fat_len*Fs->num_fat))/Fs->cluster_size; in calc_fat_size()
430 if(Fs->num_clus > (Fs->fat_len * Fs->sector_size * 2 / in calc_fat_size()
435 Fs->num_clus = (Fs->fat_len * Fs->sector_size * 2 / in calc_fat_size()
441 Fs->num_clus, Fs->fat_len, fat_nybbles); in calc_fat_size()
458 Fs->fat_len * Fs->num_fat); in calc_fat_size()
462 Fs->fat_len * Fs->num_fat; in calc_fat_size()
471 Fs->fat_len); in calc_fat_size()
473 Fs->fat_len += in calc_fat_size()
478 Fs->fat_len); in calc_fat_size()
480 Fs->num_clus = (rem_sect-(Fs->fat_len*Fs->num_fat))/ in calc_fat_size()
488 (Fs->fat_len*Fs->sector_size*2)); in calc_fat_size()
494 (real_rem_sect - Fs->num_fat * Fs->fat_len) / Fs->cluster_size); in calc_fat_size()
621 Fs->fat_len = params->fat_len; in calc_fs_parameters()
653 if(Fs->fat_len) in calc_fs_parameters()
665 set_word(boot->boot.fatlen, Fs->fat_len); in calc_fs_parameters()
692 set_dword(boot->boot.ext.fat32.bigFat, Fs->fat_len); in calc_fs_parameters_32()
949 Fs.fat_len = 0; in mformat()
1102 Fs.fat_len = strtoui(optarg,&endptr,0); in mformat()
1212 if(Fs.Direct && !Fs.fat_len) in mformat()
1213 Fs.fat_len = info.FatSize; in mformat()
1409 Fs.clus_start = Fs.num_fat * Fs.fat_len + Fs.fat_start; in mformat()
1440 Fs.dir_start = Fs.num_fat * Fs.fat_len + Fs.fat_start; in mformat()