Home
last modified time | relevance | path

Searched refs:num_clus (Results 1 – 6 of 6) sorted by relevance

/external/mtools/
Dmformat.c348 Fs->num_clus = rem_sect / Fs->cluster_size; in xdf_calc_fat_size()
349 if(abs(fat_bits) == 16 || Fs->num_clus >= FAT12) in xdf_calc_fat_size()
421 Fs->num_clus = (rem_sect-(Fs->fat_len*Fs->num_fat))/Fs->cluster_size; in calc_fat_size()
424 if(Fs->fat_bits == 16 && Fs->num_clus >= FAT16) in calc_fat_size()
425 Fs->num_clus = FAT16-1; in calc_fat_size()
426 if(Fs->fat_bits == 12 && Fs->num_clus >= FAT12) in calc_fat_size()
427 Fs->num_clus = FAT12-1; in calc_fat_size()
430 if(Fs->num_clus > (Fs->fat_len * Fs->sector_size * 2 / in calc_fat_size()
434 Fs->num_clus); in calc_fat_size()
435 Fs->num_clus = (Fs->fat_len * Fs->sector_size * 2 / in calc_fat_size()
[all …]
Dmbadblocks.c210 if(endSector > Fs->num_clus + 2 || endSector <= 0) in mbadblocks()
211 endSector = Fs->num_clus + 2; in mbadblocks()
230 } else if(offset >= Fs->num_clus) { in mbadblocks()
249 progress(i, Fs->num_clus); in mbadblocks()
264 progress(i, Fs->num_clus); in mbadblocks()
275 progress(i, Fs->num_clus); in mbadblocks()
Dfat.c284 if (num < 2 || byte0 < 0 || byte1 < 0 || num > Stream->num_clus+1) { in fat12_decode()
599 tocheck = This->num_clus; in check_fat()
610 if (f == 1 || (f < This->last_fat && f > This->num_clus)){ in check_fat()
630 This->num_clus = (tot_sectors - This->clus_start) / This->cluster_size; in check_media_type()
721 if(This->num_clus >= FAT12) { in old_fat_read()
758 if(ret && (ret < 2 || ret > This->num_clus+1) && ret < This->last_fat) { in fatDecode()
810 last >= This->num_clus+1) in get_next_free_cluster()
813 for (i=last+1; i< This->num_clus+2; i++) { in get_next_free_cluster()
879 for (i = 2; i < This->num_clus + 2; i++) { in getfree()
925 if ( last < 2 || last >= This->num_clus + 2) in getfreeMinClusters()
[all …]
DfsP.h61 unsigned int num_clus; member
Dmsdos.h244 (x)->num_clus)
Dfile.c344 Fs->num_clus) { in normal_map()