Lines Matching defs:clusters
773 * fs size < 256M: 0.5k clusters
774 * fs size < 8G: 4k clusters
775 * fs size < 16G: 8k clusters
776 * fs size >= 16G: 16k clusters
921 /* Need to recalculate number of clusters, since the unused parts of the
934 printf( "FAT12: too much clusters\n" );
940 /* Need to recalculate number of clusters, since the unused parts of the
952 printf( "FAT16: too much clusters\n" );
961 "FAT16: too much clusters\n" );
968 /* Need to recalculate number of clusters, since the unused parts of the
978 printf( "FAT32: not enough clusters (%d)\n", MIN_CLUST_32);
986 printf( "FAT32: too much clusters\n" );
1016 fprintf( stderr, "WARNING: Not enough clusters for a "
1024 "enough clusters, but a 16 bit FAT takes up a little "
1026 "the total number of clusters becomes less than the "
1051 unsigned clusters, maxclust;
1079 /* Check if there are enough FAT indices for how much clusters we have */
1087 clusters = (2*((long long)fatdata*sector_size - 2*nr_fats*size_fat/8)) /
1089 fat_length = cdiv( (clusters+2)*size_fat/8, sector_size );
1090 /* Need to recalculate number of clusters, since the unused parts of the
1093 clusters = (fatdata - nr_fats*fat_length)/bs.cluster_size;
1097 sector_size, clusters, fat_length, maxclust );
1102 clusters <= maxclust-2)
1105 printf( clusters > maxclust-2 ?
1106 "Too many clusters\n" : "FAT too big\n" );
1119 cluster_count = clusters;
1184 die ("Too many clusters for file system - try more sectors per cluster");