Lines Matching refs:fat_len
71 nr_entries = (Stream->fat_len + SECT_PER_ENTRY - 1) / SECT_PER_ENTRY; in GetFatMap()
87 if(offset >= Stream->fat_len) in locate()
101 fat_start = This->fat_start + This->fat_len * dupe; in fatReadSector()
141 fat_start = This->fat_start + This->fat_len * dupe; in fatWriteSector()
158 if (((This->fat_len + SECT_PER_ENTRY - 1) / SECT_PER_ENTRY) <= slot) { in loadSector()
160 fprintf(stderr, "fat_len = %d\n", This->fat_len); in loadSector()
165 ((This->fat_len+SECT_PER_ENTRY-1) / SECT_PER_ENTRY)); in loadSector()
425 for(slot=0;j<This->fat_len;slot++) { in fat_write()
431 bit < SECT_PER_ENTRY && j<This->fat_len; in fat_write()
496 fat_start = Stream->fat_start + i*Stream->fat_len; in zero_fat()
497 for(j = 0; j < Stream->fat_len; j++) { in zero_fat()
593 if(This->fat_len < NEEDED_FAT_SIZE(This)) in check_fat()
676 This->fat_len = DWORD(ext.fat32.bigFat); in fat_32_read()
680 This->clus_start = This->fat_start + This->num_fat * This->fat_len; in fat_32_read()
711 This->dir_start = This->fat_start + This->num_fat * This->fat_len; in old_fat_read()
746 if(This->fat_len) in fat_read()
986 nr_entries = (This->fat_len + SECT_PER_ENTRY - 1) / in fs_free()