Home
last modified time | relevance | path

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

12

/FileX-v6.2.1/common/src/
Dfx_media_check_FAT_chain_check.c101 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()
Dfx_file_write.c323 … 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 …]
Dfx_file_extended_seek.c182 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()
Dfx_file_extended_best_effort_allocate.c251 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()
Dfx_unicode_directory_entry_change.c115 … -> 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()
Dfx_directory_free_search.c480 …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()
Dfx_fault_tolerant_cleanup_FAT_chain.c215 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()
Dfx_file_extended_allocate.c243 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()
Dfx_file_open.c333 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()
Dfx_directory_create.c306 …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()
Dfx_fault_tolerant_create_log_file.c100 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()
Dfx_media_open.c535 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;
Dfx_utility_FAT_entry_write.c170 … ((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()
Dfx_file_read.c230 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()
Dfx_fault_tolerant_read_log_file.c80 start_sector = (media_ptr -> fx_media_fault_tolerant_start_cluster - FX_FAT_ENTRY_START) * in _fx_fault_tolerant_read_log_file()
Dfx_file_extended_truncate_release.c285 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()
Dfx_fault_tolerant_write_log_file.c83 start_sector = (media_ptr -> fx_media_fault_tolerant_start_cluster - FX_FAT_ENTRY_START) * in _fx_fault_tolerant_write_log_file()
Dfx_unicode_directory_entry_read.c184 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()
Dfx_directory_entry_read.c191 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()
Dfx_file_extended_truncate.c228 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()
Dfx_directory_entry_write.c146 … -> 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()
Dfx_media_check_lost_cluster_check.c104 for (cluster = FX_FAT_ENTRY_START; cluster < total_clusters; cluster++) in _fx_media_check_lost_cluster_check()
Dfx_directory_delete.c243 …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()
Dfx_fault_tolerant_enable.c248 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/
Dfilex_directory_create_delete_test.c501 …_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 …]

12