/FileX-v6.2.1/common/src/ |
D | fx_media_check_FAT_chain_check.c | 101 while ((cluster >= (ULONG)FX_FAT_ENTRY_START) && in _fx_media_check_FAT_chain_check() 102 (cluster < (FX_FAT_ENTRY_START + media_ptr -> fx_media_total_clusters))) in _fx_media_check_FAT_chain_check() 134 (next_clust < (ULONG)FX_FAT_ENTRY_START) || in _fx_media_check_FAT_chain_check() 135 ((next_clust >= (FX_FAT_ENTRY_START + media_ptr -> fx_media_total_clusters)) && in _fx_media_check_FAT_chain_check()
|
D | fx_file_write.c | 323 … while ((cluster >= FX_FAT_ENTRY_START) && (cluster < media_ptr -> fx_media_fat_reserved)) in _fx_file_write() 354 … if ((cluster >= FX_FAT_ENTRY_START) && (cluster < media_ptr -> fx_media_fat_reserved)) in _fx_file_write() 386 FAT_value = FX_FAT_ENTRY_START; in _fx_file_write() 389 … while ((cluster >= FX_FAT_ENTRY_START) && (cluster < media_ptr -> fx_media_fat_reserved)) in _fx_file_write() 594 …tr -> fx_media_cluster_search_start >= (media_ptr -> fx_media_total_clusters + FX_FAT_ENTRY_START)) in _fx_file_write() 598 media_ptr -> fx_media_cluster_search_start = FX_FAT_ENTRY_START; in _fx_file_write() 611 if (FAT_index >= (media_ptr -> fx_media_total_clusters + FX_FAT_ENTRY_START)) in _fx_file_write() 615 FAT_index = FX_FAT_ENTRY_START; in _fx_file_write() 704 (((ULONG64)(FAT_index - FX_FAT_ENTRY_START)) * in _fx_file_write() 719 (((ULONG64)(FAT_index - FX_FAT_ENTRY_START)) * in _fx_file_write() [all …]
|
D | fx_file_extended_seek.c | 182 while ((cluster >= FX_FAT_ENTRY_START) && (cluster < media_ptr -> fx_media_fat_reserved)) in _fx_file_extended_seek() 227 … (cluster >= FX_FAT_ENTRY_START) && (cluster < media_ptr -> fx_media_fat_reserved)) in _fx_file_extended_seek() 273 … (((ULONG64)file_ptr -> fx_file_current_physical_cluster - FX_FAT_ENTRY_START) * in _fx_file_extended_seek() 285 … (((ULONG64)file_ptr -> fx_file_current_physical_cluster - FX_FAT_ENTRY_START) * in _fx_file_extended_seek()
|
D | fx_file_extended_best_effort_allocate.c | 251 FAT_index = FX_FAT_ENTRY_START; in _fx_file_extended_best_effort_allocate() 255 while (FAT_index < (media_ptr -> fx_media_total_clusters + FX_FAT_ENTRY_START)) in _fx_file_extended_best_effort_allocate() 291 … ((i < clusters) && ((FAT_index + i) < media_ptr -> fx_media_total_clusters + FX_FAT_ENTRY_START)); in _fx_file_extended_best_effort_allocate() 440 (((ULONG64)(FAT_index - FX_FAT_ENTRY_START)) * in _fx_file_extended_best_effort_allocate() 454 (((ULONG64)(file_ptr -> fx_file_first_physical_cluster - FX_FAT_ENTRY_START)) * in _fx_file_extended_best_effort_allocate()
|
D | fx_unicode_directory_entry_change.c | 115 … -> fx_media_data_sector_start) / (media_ptr -> fx_media_sectors_per_cluster) + FX_FAT_ENTRY_START; in _fx_unicode_directory_entry_change() 119 (((ULONG)cluster - FX_FAT_ENTRY_START) * in _fx_unicode_directory_entry_change() 299 … if ((cluster < FX_FAT_ENTRY_START) || (cluster > media_ptr -> fx_media_fat_reserved)) in _fx_unicode_directory_entry_change() 311 (((ULONG)cluster - FX_FAT_ENTRY_START) * in _fx_unicode_directory_entry_change()
|
D | fx_directory_free_search.c | 480 …tr -> fx_media_cluster_search_start >= (media_ptr -> fx_media_total_clusters + FX_FAT_ENTRY_START)) in _fx_directory_free_search() 484 media_ptr -> fx_media_cluster_search_start = FX_FAT_ENTRY_START; in _fx_directory_free_search() 497 … if (FAT_index >= (media_ptr -> fx_media_total_clusters + FX_FAT_ENTRY_START)) in _fx_directory_free_search() 501 FAT_index = FX_FAT_ENTRY_START; in _fx_directory_free_search() 511 ((((ULONG) FAT_index) - FX_FAT_ENTRY_START) * in _fx_directory_free_search() 702 …if ((cluster < FX_FAT_ENTRY_START) || (cluster == FAT_value) || (i > media_ptr -> fx_media_total_c… in _fx_directory_free_search()
|
D | fx_fault_tolerant_cleanup_FAT_chain.c | 215 if ((head_cluster < FX_FAT_ENTRY_START) || (head_cluster >= media_ptr -> fx_media_fat_reserved)) in _fx_fault_tolerant_cleanup_FAT_chain() 229 …while ((head_cluster >= FX_FAT_ENTRY_START) && (head_cluster < media_ptr -> fx_media_fat_reserved)) in _fx_fault_tolerant_cleanup_FAT_chain() 272 } while ((next_cluster >= FX_FAT_ENTRY_START) && in _fx_fault_tolerant_cleanup_FAT_chain()
|
D | fx_file_extended_allocate.c | 243 FAT_index = FX_FAT_ENTRY_START; 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() 408 (((ULONG64)(FAT_index - FX_FAT_ENTRY_START)) * in _fx_file_extended_allocate() 422 (((ULONG64)(file_ptr -> fx_file_first_physical_cluster - FX_FAT_ENTRY_START)) * in _fx_file_extended_allocate()
|
D | fx_file_open.c | 333 while ((cluster >= FX_FAT_ENTRY_START) && (cluster < media_ptr -> fx_media_fat_reserved)) in _fx_file_open() 412 … (cluster >= FX_FAT_ENTRY_START) && (cluster < media_ptr -> fx_media_fat_reserved)) in _fx_file_open() 465 (((ULONG64)(file_ptr -> fx_file_first_physical_cluster - FX_FAT_ENTRY_START)) * in _fx_file_open() 482 (((ULONG64)file_ptr -> fx_file_current_physical_cluster - FX_FAT_ENTRY_START) * in _fx_file_open() 494 (((ULONG64)file_ptr -> fx_file_current_physical_cluster - FX_FAT_ENTRY_START) * in _fx_file_open()
|
D | fx_directory_create.c | 306 …tr -> fx_media_cluster_search_start >= (media_ptr -> fx_media_total_clusters + FX_FAT_ENTRY_START)) in _fx_directory_create() 310 media_ptr -> fx_media_cluster_search_start = FX_FAT_ENTRY_START; in _fx_directory_create() 323 if (FAT_index >= (media_ptr -> fx_media_total_clusters + FX_FAT_ENTRY_START)) in _fx_directory_create() 327 FAT_index = FX_FAT_ENTRY_START; in _fx_directory_create() 380 (((ULONG64) FAT_index - FX_FAT_ENTRY_START) * in _fx_directory_create()
|
D | fx_fault_tolerant_create_log_file.c | 100 FAT_index = FX_FAT_ENTRY_START; 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()
|
D | fx_media_open.c | 535 if (media_ptr -> fx_media_root_cluster_32 < FX_FAT_ENTRY_START) 542 (media_ptr -> fx_media_root_cluster_32 - FX_FAT_ENTRY_START) * 682 …tr -> fx_media_cluster_search_start > media_ptr -> fx_media_total_clusters + FX_FAT_ENTRY_START) || 683 (media_ptr -> fx_media_cluster_search_start < FX_FAT_ENTRY_START)) 727 for (cluster_number = FX_FAT_ENTRY_START; 728 cluster_number < (media_ptr -> fx_media_total_clusters) + FX_FAT_ENTRY_START; 891 if (cluster_number >= (media_ptr -> fx_media_total_clusters + FX_FAT_ENTRY_START)) 908 media_ptr -> fx_media_cluster_search_start = FX_FAT_ENTRY_START;
|
D | fx_utility_FAT_entry_write.c | 170 … ((cluster - FX_FAT_ENTRY_START) * media_ptr -> fx_media_sectors_per_cluster)); in _fx_utility_FAT_entry_write() 243 … ((cluster - FX_FAT_ENTRY_START) * media_ptr -> fx_media_sectors_per_cluster)); in _fx_utility_FAT_entry_write()
|
D | fx_file_read.c | 230 if ((status != FX_SUCCESS) || (next_cluster < FX_FAT_ENTRY_START) || in _fx_file_read() 380 if ((status != FX_SUCCESS) || (next_cluster < FX_FAT_ENTRY_START) || in _fx_file_read() 403 ((((ULONG64)next_cluster) - FX_FAT_ENTRY_START) * in _fx_file_read()
|
D | fx_fault_tolerant_read_log_file.c | 80 start_sector = (media_ptr -> fx_media_fault_tolerant_start_cluster - FX_FAT_ENTRY_START) * in _fx_fault_tolerant_read_log_file()
|
D | fx_file_extended_truncate_release.c | 285 while ((cluster >= FX_FAT_ENTRY_START) && (cluster < media_ptr -> fx_media_fat_reserved)) in _fx_file_extended_truncate_release() 350 (((ULONG64)file_ptr -> fx_file_current_physical_cluster - FX_FAT_ENTRY_START) * in _fx_file_extended_truncate_release() 395 while ((cluster >= FX_FAT_ENTRY_START) && (cluster < media_ptr -> fx_media_fat_reserved)) in _fx_file_extended_truncate_release() 641 … while ((cluster >= FX_FAT_ENTRY_START) && (cluster < media_ptr -> fx_media_fat_reserved)) in _fx_file_extended_truncate_release() 712 … (((ULONG64)search_ptr -> fx_file_current_physical_cluster - FX_FAT_ENTRY_START) * in _fx_file_extended_truncate_release()
|
D | fx_fault_tolerant_write_log_file.c | 83 start_sector = (media_ptr -> fx_media_fault_tolerant_start_cluster - FX_FAT_ENTRY_START) * in _fx_fault_tolerant_write_log_file()
|
D | fx_unicode_directory_entry_read.c | 184 if ((cluster < FX_FAT_ENTRY_START) || (cluster > media_ptr -> fx_media_fat_reserved)) in _fx_unicode_directory_entry_read() 213 (((ULONG)cluster - FX_FAT_ENTRY_START) * in _fx_unicode_directory_entry_read() 467 … if ((cluster < FX_FAT_ENTRY_START) || (cluster > media_ptr -> fx_media_fat_reserved)) in _fx_unicode_directory_entry_read() 482 (((ULONG)cluster - FX_FAT_ENTRY_START) * in _fx_unicode_directory_entry_read()
|
D | fx_directory_entry_read.c | 191 if ((cluster < FX_FAT_ENTRY_START) || (cluster >= media_ptr -> fx_media_fat_reserved)) in _fx_directory_entry_read() 220 (((ULONG)cluster - FX_FAT_ENTRY_START) * in _fx_directory_entry_read() 442 … if ((cluster < FX_FAT_ENTRY_START) || (cluster >= media_ptr -> fx_media_fat_reserved)) in _fx_directory_entry_read() 457 (((ULONG)cluster - FX_FAT_ENTRY_START) * in _fx_directory_entry_read()
|
D | fx_file_extended_truncate.c | 228 while ((cluster >= FX_FAT_ENTRY_START) && (cluster < media_ptr -> fx_media_fat_reserved)) in _fx_file_extended_truncate() 284 (((ULONG64)file_ptr -> fx_file_current_physical_cluster - FX_FAT_ENTRY_START) * in _fx_file_extended_truncate()
|
D | fx_directory_entry_write.c | 146 … -> fx_media_data_sector_start) / (media_ptr -> fx_media_sectors_per_cluster) + FX_FAT_ENTRY_START; in _fx_directory_entry_write() 150 (((ULONG)cluster - FX_FAT_ENTRY_START) * in _fx_directory_entry_write() 660 … if ((cluster < FX_FAT_ENTRY_START) || (cluster >= media_ptr -> fx_media_fat_reserved)) in _fx_directory_entry_write() 672 (((ULONG)cluster - FX_FAT_ENTRY_START) * in _fx_directory_entry_write() 889 … if ((cluster < FX_FAT_ENTRY_START) || (cluster >= media_ptr -> fx_media_fat_reserved)) in _fx_directory_entry_write() 901 (((ULONG)cluster - FX_FAT_ENTRY_START) * in _fx_directory_entry_write()
|
D | fx_media_check_lost_cluster_check.c | 104 for (cluster = FX_FAT_ENTRY_START; cluster < total_clusters; cluster++) in _fx_media_check_lost_cluster_check()
|
D | fx_directory_delete.c | 243 …if ((cluster < FX_FAT_ENTRY_START) || (cluster == next_cluster) || (i > media_ptr -> fx_media_tota… in _fx_directory_delete() 377 …if ((cluster < FX_FAT_ENTRY_START) || (cluster == next_cluster) || (i > media_ptr -> fx_media_tota… in _fx_directory_delete()
|
D | fx_fault_tolerant_enable.c | 248 if (cluster_number >= (media_ptr -> fx_media_total_clusters + FX_FAT_ENTRY_START)) 302 … if ((start_cluster >= FX_FAT_ENTRY_START) && (start_cluster < media_ptr -> fx_media_fat_reserved))
|
/FileX-v6.2.1/test/regression_test/ |
D | filex_directory_create_delete_test.c | 501 …_disk.fx_media_cluster_search_start = ram_disk.fx_media_total_clusters + (FX_FAT_ENTRY_START - 1); in ftest_0_entry() 506 …_disk.fx_media_cluster_search_start = ram_disk.fx_media_total_clusters + (FX_FAT_ENTRY_START - 1); in ftest_0_entry() 511 ram_disk.fx_media_cluster_search_start = FX_FAT_ENTRY_START; in ftest_0_entry() 827 …am_disk.fx_media_cluster_search_start = ram_disk.fx_media_total_clusters + (FX_FAT_ENTRY_START-1); in ftest_0_entry() 836 …am_disk.fx_media_cluster_search_start = ram_disk.fx_media_total_clusters + (FX_FAT_ENTRY_START-1); in ftest_0_entry() 855 …am_disk.fx_media_cluster_search_start = ram_disk.fx_media_total_clusters + (FX_FAT_ENTRY_START-1); in ftest_0_entry() 864 …am_disk.fx_media_cluster_search_start = ram_disk.fx_media_total_clusters + (FX_FAT_ENTRY_START-1); in ftest_0_entry() 872 …am_disk.fx_media_cluster_search_start = ram_disk.fx_media_total_clusters + (FX_FAT_ENTRY_START-1); in ftest_0_entry() 880 …am_disk.fx_media_cluster_search_start = ram_disk.fx_media_total_clusters + (FX_FAT_ENTRY_START-1); in ftest_0_entry() 888 …am_disk.fx_media_cluster_search_start = ram_disk.fx_media_total_clusters + (FX_FAT_ENTRY_START-1); in ftest_0_entry() [all …]
|