Searched refs:clusters (Results 1 – 10 of 10) sorted by relevance
82 ULONG clusters; in _fx_fault_tolerant_create_log_file() local99 clusters = media_ptr -> fx_media_fault_tolerant_clusters; in _fx_fault_tolerant_create_log_file()102 while (FAT_index <= (media_ptr -> fx_media_total_clusters - clusters + FX_FAT_ENTRY_START)) in _fx_fault_tolerant_create_log_file()131 } while (i < clusters); in _fx_fault_tolerant_create_log_file()134 if (i >= clusters) in _fx_fault_tolerant_create_log_file()159 for (i = 0; i < (clusters - 1); i++) in _fx_fault_tolerant_create_log_file()178 …status = _fx_utility_FAT_entry_write(media_ptr, FAT_index + clusters - 1, media_ptr -> fx_media_f… in _fx_fault_tolerant_create_log_file()226 media_ptr -> fx_media_available_clusters - clusters; in _fx_fault_tolerant_create_log_file()
100 ULONG clusters; in _fx_file_extended_allocate() local193 clusters = (ULONG)(((size + bytes_per_cluster - 1) / bytes_per_cluster)); in _fx_file_extended_allocate()196 if (clusters == 0) in _fx_file_extended_allocate()211 if (clusters > media_ptr -> fx_media_available_clusters) in _fx_file_extended_allocate()226 …if (((file_ptr -> fx_file_current_available_size + (((ULONG64) clusters) * ((ULONG64) bytes_per_cl… in _fx_file_extended_allocate()227 …((file_ptr -> fx_file_current_available_size + (((ULONG64) clusters) * ((ULONG64) bytes_per_cluste… in _fx_file_extended_allocate()247 while (FAT_index <= (media_ptr -> fx_media_total_clusters - clusters + FX_FAT_ENTRY_START)) in _fx_file_extended_allocate()283 } while (i < clusters); in _fx_file_extended_allocate()286 if (i >= clusters) in _fx_file_extended_allocate()320 for (i = 0; i < (clusters - 1); i++) in _fx_file_extended_allocate()[all …]
101 ULONG clusters, maximum_clusters; in _fx_file_extended_best_effort_allocate() local197 clusters = (ULONG)(((size + bytes_per_cluster - 1) / bytes_per_cluster)); in _fx_file_extended_best_effort_allocate()200 if (clusters == 0) in _fx_file_extended_best_effort_allocate()233 …if (((file_ptr -> fx_file_current_available_size + (((ULONG64) clusters) * ((ULONG64) bytes_per_cl… in _fx_file_extended_best_effort_allocate()234 …((file_ptr -> fx_file_current_available_size + (((ULONG64) clusters) * ((ULONG64) bytes_per_cluste… in _fx_file_extended_best_effort_allocate()291 …} while ((i < clusters) && ((FAT_index + i) < media_ptr -> fx_media_total_clusters + FX_FAT_ENTRY_… in _fx_file_extended_best_effort_allocate()304 if (i >= clusters) in _fx_file_extended_best_effort_allocate()328 clusters = maximum_clusters; in _fx_file_extended_best_effort_allocate()351 for (i = 0; i < (clusters - 1); i++) in _fx_file_extended_best_effort_allocate()377 …status = _fx_utility_FAT_entry_write(media_ptr, FAT_index + clusters - 1, media_ptr -> fx_media_f… in _fx_file_extended_best_effort_allocate()[all …]
106 ULONG clusters; local126 … clusters = (FX_FAULT_TOLERANT_MAXIMUM_LOG_FILE_SIZE + bytes_per_cluster - 1) / bytes_per_cluster;127 media_ptr -> fx_media_fault_tolerant_clusters = clusters;263 if (memory_size > (clusters * bytes_per_cluster))265 media_ptr -> fx_media_fault_tolerant_memory_buffer_size = clusters * bytes_per_cluster;306 for (i = 0; i < clusters; i++)323 if (i < clusters - 1)
108 ULONG clusters; in _fx_file_write() local459 clusters = (UINT)((size + (bytes_per_cluster - 1) - in _fx_file_write()466 clusters = 0; in _fx_file_write()472 if (clusters + replace_clusters > media_ptr -> fx_media_available_clusters) in _fx_file_write()474 if (clusters > media_ptr -> fx_media_available_clusters) in _fx_file_write()490 file_ptr -> fx_file_total_clusters = file_ptr -> fx_file_total_clusters + clusters; in _fx_file_write()493 …-> fx_file_current_available_size + (ULONG64)bytes_per_cluster * (ULONG64)clusters > 0xFFFFFFFFULL) in _fx_file_write()505 … file_ptr -> fx_file_current_available_size + (ULONG64)bytes_per_cluster * (ULONG64)clusters; in _fx_file_write()510 clusters += replace_clusters; in _fx_file_write()514 … media_ptr -> fx_media_available_clusters = media_ptr -> fx_media_available_clusters - clusters; in _fx_file_write()[all …]
96 ULONG first_new_cluster, last_cluster, clusters; in _fx_directory_free_search() local436 clusters = clusters_needed; in _fx_directory_free_search()439 while (clusters) in _fx_directory_free_search()443 clusters--; in _fx_directory_free_search()
103 ULONG clusters; in ftest_0_entry() local260 … clusters = (FX_FAULT_TOLERANT_MINIMAL_BUFFER_SIZE + bytes_per_cluster - 1) / bytes_per_cluster; in ftest_0_entry()262 for (j = 0; j < clusters; j++) in ftest_0_entry()267 if (j < (clusters - 1)) in ftest_0_entry()
109 ULONG clusters; in ftest_0_entry() local427 clusters = (FX_FAULT_TOLERANT_MINIMAL_BUFFER_SIZE + bytes_per_cluster - 1) / bytes_per_cluster; in ftest_0_entry()432 status += fx_file_allocate( &my_file, 256 * 8 * (4194 - clusters)); in ftest_0_entry()
107 ULONG clusters; in ftest_0_entry() local330 clusters = (FX_FAULT_TOLERANT_MINIMAL_BUFFER_SIZE + bytes_per_cluster - 1) / bytes_per_cluster; in ftest_0_entry()331 cluster = 40 + clusters; in ftest_0_entry()
70 fx_fault_tolerant_enable.c Updated the available clusters when591 fx_media_check_lost_cluster_check.c Corrected update of available clusters.629 already had clusters allocated, added