Home
last modified time | relevance | path

Searched refs:fx_media_available_clusters (Results 1 – 25 of 25) sorted by relevance

/FileX-v6.2.1/common/src/
Dfx_media_extended_space_available.c91 …_SPACE_AVAILABLE, media_ptr, available_bytes_ptr, media_ptr -> fx_media_available_clusters, 0, FX_… in _fx_media_extended_space_available()
97 available_clusters = media_ptr -> fx_media_available_clusters; in _fx_media_extended_space_available()
Dfx_fault_tolerant_create_log_file.c91 if (media_ptr -> fx_media_available_clusters < media_ptr -> fx_media_fault_tolerant_clusters) in _fx_fault_tolerant_create_log_file()
225 media_ptr -> fx_media_available_clusters = in _fx_fault_tolerant_create_log_file()
226 media_ptr -> fx_media_available_clusters - clusters; in _fx_fault_tolerant_create_log_file()
Dfx_media_flush.c200 …_ptr -> fx_media_FAT32_additional_info_last_available != media_ptr -> fx_media_available_clusters)) in _fx_media_flush()
269 … _fx_utility_32_unsigned_write(&buffer_ptr[488], media_ptr -> fx_media_available_clusters); in _fx_media_flush()
313 …a_ptr -> fx_media_FAT32_additional_info_last_available = media_ptr -> fx_media_available_clusters; in _fx_media_flush()
Dfx_media_open.c598 media_ptr -> fx_media_available_clusters = 0;
671 … media_ptr -> fx_media_available_clusters = _fx_utility_32_unsigned_read(&buffer_ptr[488]);
674 …a_ptr -> fx_media_FAT32_additional_info_last_available = media_ptr -> fx_media_available_clusters;
681 … if ((media_ptr -> fx_media_available_clusters > media_ptr -> fx_media_total_clusters) ||
688 media_ptr -> fx_media_available_clusters = 0;
757 media_ptr -> fx_media_available_clusters++;
769 else if (media_ptr -> fx_media_available_clusters == 0)
876 media_ptr -> fx_media_available_clusters++;
Dfx_media_close.c206 …tr -> fx_media_FAT32_additional_info_last_available != media_ptr -> fx_media_available_clusters) && in _fx_media_close()
279 … _fx_utility_32_unsigned_write(&buffer_ptr[488], media_ptr -> fx_media_available_clusters); in _fx_media_close()
326 …a_ptr -> fx_media_FAT32_additional_info_last_available = media_ptr -> fx_media_available_clusters; in _fx_media_close()
Dfx_file_extended_allocate.c211 if (clusters > media_ptr -> fx_media_available_clusters) in _fx_file_extended_allocate()
446 media_ptr -> fx_media_available_clusters = in _fx_file_extended_allocate()
447 media_ptr -> fx_media_available_clusters - clusters; in _fx_file_extended_allocate()
Dfx_file_extended_best_effort_allocate.c215 if (!media_ptr -> fx_media_available_clusters) in _fx_file_extended_best_effort_allocate()
489 media_ptr -> fx_media_available_clusters = in _fx_file_extended_best_effort_allocate()
490 media_ptr -> fx_media_available_clusters - clusters; in _fx_file_extended_best_effort_allocate()
Dfx_file_delete.c360 media_ptr -> fx_media_available_clusters = in _fx_file_delete()
361 media_ptr -> fx_media_available_clusters + cluster_count; in _fx_file_delete()
Dfx_media_check_lost_cluster_check.c153 media_ptr -> fx_media_available_clusters++; in _fx_media_check_lost_cluster_check()
Dfx_directory_free_search.c428 …r_ptr) || (media_ptr -> fx_media_32_bit_FAT)) && (media_ptr -> fx_media_available_clusters >= clus… in _fx_directory_free_search()
717 …media_ptr -> fx_media_available_clusters = media_ptr -> fx_media_available_clusters - clusters_ne… in _fx_directory_free_search()
Dfx_fault_tolerant_enable.c157 media_ptr -> fx_media_available_clusters = 0;
233 media_ptr -> fx_media_available_clusters++;
Dfx_directory_create.c192 if (!media_ptr -> fx_media_available_clusters) in _fx_directory_create()
333 media_ptr -> fx_media_available_clusters--; in _fx_directory_create()
Dfx_file_write.c472 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()
514 … media_ptr -> fx_media_available_clusters = media_ptr -> fx_media_available_clusters - clusters; in _fx_file_write()
Dfx_fault_tolerant_cleanup_FAT_chain.c338 media_ptr -> fx_media_available_clusters += cache_count; in _fx_fault_tolerant_cleanup_FAT_chain()
Dfx_directory_delete.c411 media_ptr -> fx_media_available_clusters++; in _fx_directory_delete()
Dfx_file_extended_truncate_release.c551 media_ptr -> fx_media_available_clusters++; in _fx_file_extended_truncate_release()
/FileX-v6.2.1/test/regression_test/
Dfilex_fault_tolerant_enable_test.c208 temp = ram_disk.fx_media_available_clusters; in ftest_0_entry()
209 ram_disk.fx_media_available_clusters = 0; in ftest_0_entry()
212 ram_disk.fx_media_available_clusters = temp; in ftest_0_entry()
Dfilex_file_write_available_cluster_test.c167 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()
Dfilex_media_read_write_sector_test.c1064 if (fat_entry >= (ram_disk.fx_media_available_clusters-1)) in ftest_0_entry()
1078 if (fat_entry >= (ram_disk.fx_media_available_clusters-1)) in ftest_0_entry()
1129 if (fat_entry >= (ram_disk.fx_media_available_clusters-1)) in ftest_0_entry()
1143 if (fat_entry >= (ram_disk.fx_media_available_clusters-1)) in ftest_0_entry()
1194 if (fat_entry >= (ram_disk.fx_media_available_clusters-1)) in ftest_0_entry()
1208 if (fat_entry >= (ram_disk.fx_media_available_clusters-1)) in ftest_0_entry()
Dfilex_file_allocate_truncate_test.c520 temp = ram_disk.fx_media_available_clusters; in ftest_0_entry()
521 ram_disk.fx_media_available_clusters = 0xFFFFFFFF; in ftest_0_entry()
527 ram_disk.fx_media_available_clusters = temp; in ftest_0_entry()
Dfilex_directory_create_delete_test.c260 temp = ram_disk.fx_media_available_clusters; in ftest_0_entry()
261 ram_disk.fx_media_available_clusters = 0; in ftest_0_entry()
264 ram_disk.fx_media_available_clusters = temp; in ftest_0_entry()
844 temp = ram_disk.fx_media_available_clusters; in ftest_0_entry()
845 ram_disk.fx_media_available_clusters = 0; in ftest_0_entry()
847 ram_disk.fx_media_available_clusters = temp; in ftest_0_entry()
3006 available_clusters = ram_disk.fx_media_available_clusters; in ftest_0_entry()
3012 …for (num_of_files = 0; available_clusters == ram_disk.fx_media_available_clusters; num_of_files ++) in ftest_0_entry()
3026 available_clusters = ram_disk.fx_media_available_clusters; in ftest_0_entry()
3038 return_if_fail(ram_disk.fx_media_available_clusters == 0); in ftest_0_entry()
Dfilex_file_read_write_test.c808 while (ram_disk.fx_media_available_clusters) in ftest_0_entry()
896 while (ram_disk.fx_media_available_clusters) in ftest_0_entry()
931 ram_disk.fx_media_available_clusters++; in ftest_0_entry()
1007 while (ram_disk.fx_media_available_clusters) in ftest_0_entry()
1138 while (ram_disk.fx_media_available_clusters) in ftest_0_entry()
Dfilex_file_create_delete_test.c435 while (ram_disk.fx_media_available_clusters) in ftest_0_entry()
668 while (ram_disk.fx_media_available_clusters) in ftest_0_entry()
Dfilex_media_multiple_open_close_test.c722 ram_disk.fx_media_FAT32_additional_info_last_available = ram_disk.fx_media_available_clusters; in ftest_0_entry()
731 ram_disk.fx_media_FAT32_additional_info_last_available = ram_disk.fx_media_available_clusters; in ftest_0_entry()
/FileX-v6.2.1/common/inc/
Dfx_api.h869 ULONG fx_media_available_clusters; member