Lines Matching refs:fat_length
430 __u16 fat_length; /* sectors/FAT */ member
1111 unsigned cluster_count = 0, fat_length; in setup_tables() local
1307 fat_length = fatlength12; in setup_tables()
1308 bs.fat_length = CT_LE_W(fatlength12); in setup_tables()
1332 fat_length = fatlength16; in setup_tables()
1333 bs.fat_length = CT_LE_W(fatlength16); in setup_tables()
1339 fat_length = fatlength32; in setup_tables()
1340 bs.fat_length = CT_LE_W(0); in setup_tables()
1388 fat_length = cdiv( (clusters+2)*size_fat/8, sector_size ); in setup_tables()
1392 clusters = (fatdata - nr_fats*fat_length)/bs.cluster_size; in setup_tables()
1393 maxclust = (fat_length*sector_size*8)/size_fat; in setup_tables()
1396 sector_size, clusters, fat_length, maxclust ); in setup_tables()
1420 bs.fat_length = CT_LE_W(fat_length); in setup_tables()
1422 bs.fat_length = 0; in setup_tables()
1423 bs.fat32.fat32_length = CT_LE_L(fat_length); in setup_tables()
1490 start_data_sector = (reserved_sectors + nr_fats * fat_length) * in setup_tables()
1510 fat_length, (fat_length != 1) ? "s" : "", in setup_tables()
1525 if ((fat = (unsigned char *) malloc (fat_length * sector_size)) == NULL) in setup_tables()
1528 memset( fat, 0, fat_length * sector_size ); in setup_tables()
1632 int fat_length; in write_tables() local
1637 fat_length = (size_fat == 32) ? in write_tables()
1638 CF_LE_L(bs.fat32.fat32_length) : CF_LE_W(bs.fat_length); in write_tables()
1668 for (blk = 0; blk < fat_length; blk++) in write_tables()
1671 writebuf( fat, fat_length * sector_size, "FAT" ); in write_tables()