Searched refs:total_clusters (Results 1 – 7 of 7) sorted by relevance
/FileX-v6.2.1/common/src/ |
D | fx_media_format.c | 135 UINT reserved_sectors, i, j, root_sectors, total_clusters, bytes_needed; in _fx_media_format() local 250 …total_clusters = (total_sectors - reserved_sectors - ((directory_entries * FX_DIR_ENTRY_SIZE) + (… in _fx_media_format() 253 if (total_clusters % 2) in _fx_media_format() 255 bytes_needed = (total_clusters + total_clusters / 2) + 1; in _fx_media_format() 259 bytes_needed = (total_clusters + total_clusters / 2); in _fx_media_format() 268 …total_clusters = total_clusters - ((sectors_per_fat * number_of_fats) + (sectors_per_cluster - 1)… in _fx_media_format() 271 if (total_clusters >= FX_12_BIT_FAT_SIZE) in _fx_media_format() 278 …total_clusters = (total_sectors - reserved_sectors - ((directory_entries * FX_DIR_ENTRY_SIZE) + … in _fx_media_format() 281 sectors_per_fat = (total_clusters * 2) / bytes_per_sector; in _fx_media_format() 282 if ((total_clusters * 2) % bytes_per_sector) in _fx_media_format() [all …]
|
D | fx_media_check_lost_cluster_check.c | 80 …ck_lost_cluster_check(FX_MEDIA *media_ptr, UCHAR *logical_fat, ULONG total_clusters, ULONG error_c… in _fx_media_check_lost_cluster_check() argument 104 for (cluster = FX_FAT_ENTRY_START; cluster < total_clusters; cluster++) in _fx_media_check_lost_cluster_check()
|
D | fx_directory_create.c | 104 ULONG total_clusters; in _fx_directory_create() local 255 total_clusters = media_ptr -> fx_media_total_clusters; in _fx_directory_create() 262 if (!total_clusters) in _fx_directory_create() 296 total_clusters--; in _fx_directory_create()
|
D | fx_directory_free_search.c | 95 ULONG cluster, total_clusters, clusters_needed; in _fx_directory_free_search() local 433 total_clusters = media_ptr -> fx_media_total_clusters; in _fx_directory_free_search() 450 if (!total_clusters) in _fx_directory_free_search() 470 total_clusters--; in _fx_directory_free_search()
|
D | fx_file_write.c | 109 ULONG total_clusters; in _fx_file_write() local 518 total_clusters = media_ptr -> fx_media_total_clusters; in _fx_file_write() 550 if (!total_clusters) in _fx_file_write() 584 total_clusters--; in _fx_file_write()
|
/FileX-v6.2.1/test/regression_test/ |
D | filex_file_write_available_cluster_test.c | 120 ULONG total_clusters; in ftest_0_entry() local 167 total_clusters = ram_disk.fx_media_available_clusters; in ftest_0_entry() 182 return_if_fail( total_clusters == ram_disk.fx_media_available_clusters + used_clusters); in ftest_0_entry()
|
/FileX-v6.2.1/common/inc/ |
D | fx_media.h | 104 …ck_lost_cluster_check(FX_MEDIA *media_ptr, UCHAR *logical_fat, ULONG total_clusters, ULONG error_c…
|