Home
last modified time | relevance | path

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

12

/FileX-v6.2.1/common/src/
Dfx_media_check_FAT_chain_check.c102 (cluster < (FX_FAT_ENTRY_START + media_ptr -> fx_media_total_clusters))) 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_media_open.c481 …media_ptr -> fx_media_total_clusters = (ULONG)((media_ptr -> fx_media_total_sectors - media_ptr -…
485 if (media_ptr -> fx_media_total_clusters < FX_12_BIT_FAT_SIZE)
499 else if (media_ptr -> fx_media_total_clusters < FX_16_BIT_FAT_SIZE)
569 if ((cluster_number == FAT_entry) || (i > media_ptr -> fx_media_total_clusters))
681 … if ((media_ptr -> fx_media_available_clusters > media_ptr -> fx_media_total_clusters) ||
682 …(media_ptr -> fx_media_cluster_search_start > media_ptr -> fx_media_total_clusters + FX_FAT_ENTRY_…
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))
Dfx_directory_free_search.c433 total_clusters = media_ptr -> fx_media_total_clusters; in _fx_directory_free_search()
480 …if (media_ptr -> fx_media_cluster_search_start >= (media_ptr -> fx_media_total_clusters + FX_FAT_E… in _fx_directory_free_search()
497 … if (FAT_index >= (media_ptr -> fx_media_total_clusters + FX_FAT_ENTRY_START)) in _fx_directory_free_search()
702 …ster < FX_FAT_ENTRY_START) || (cluster == FAT_value) || (i > media_ptr -> fx_media_total_clusters)) in _fx_directory_free_search()
Dfx_directory_delete.c243 …r < FX_FAT_ENTRY_START) || (cluster == next_cluster) || (i > media_ptr -> fx_media_total_clusters)) in _fx_directory_delete()
377 …r < FX_FAT_ENTRY_START) || (cluster == next_cluster) || (i > media_ptr -> fx_media_total_clusters)) in _fx_directory_delete()
Dfx_directory_create.c255 total_clusters = media_ptr -> fx_media_total_clusters; in _fx_directory_create()
306 …if (media_ptr -> fx_media_cluster_search_start >= (media_ptr -> fx_media_total_clusters + FX_FAT_E… in _fx_directory_create()
323 if (FAT_index >= (media_ptr -> fx_media_total_clusters + FX_FAT_ENTRY_START)) in _fx_directory_create()
Dfx_media_check.c285 if (scratch_memory_size < ((media_ptr -> fx_media_total_clusters >> 3) + 1)) in _fx_media_check()
296 for (i = 0; i < ((media_ptr -> fx_media_total_clusters >> 3) + 1); i++) in _fx_media_check()
678 …ia_check_lost_cluster_check(media_ptr, logical_fat, media_ptr -> fx_media_total_clusters, error_co… in _fx_media_check()
Dfx_fault_tolerant_create_log_file.c102 while (FAT_index <= (media_ptr -> fx_media_total_clusters - clusters + FX_FAT_ENTRY_START)) in _fx_fault_tolerant_create_log_file()
Dfx_file_extended_best_effort_allocate.c255 while (FAT_index < (media_ptr -> fx_media_total_clusters + FX_FAT_ENTRY_START)) 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()
Dfx_file_delete.c319 if ((cluster == contents) || (cluster_count > media_ptr -> fx_media_total_clusters)) in _fx_file_delete()
Dfx_directory_next_entry_find.c233 …r < FX_FAT_ENTRY_START) || (cluster == next_cluster) || (i > media_ptr -> fx_media_total_clusters)) in _fx_directory_next_entry_find()
Dfx_directory_next_full_entry_find.c245 …r < FX_FAT_ENTRY_START) || (cluster == next_cluster) || (i > media_ptr -> fx_media_total_clusters)) in _fx_directory_next_full_entry_find()
Dfx_unicode_directory_search.c204 if ((cluster == next_cluster) || (i > media_ptr -> fx_media_total_clusters)) in _fx_unicode_directory_search()
Dfx_file_write.c518 total_clusters = media_ptr -> fx_media_total_clusters; in _fx_file_write()
594 …if (media_ptr -> fx_media_cluster_search_start >= (media_ptr -> fx_media_total_clusters + FX_FAT_E… in _fx_file_write()
611 if (FAT_index >= (media_ptr -> fx_media_total_clusters + FX_FAT_ENTRY_START)) in _fx_file_write()
Dfx_file_extended_allocate.c247 while (FAT_index <= (media_ptr -> fx_media_total_clusters - clusters + FX_FAT_ENTRY_START)) in _fx_file_extended_allocate()
Dfx_fault_tolerant_enable.c248 if (cluster_number >= (media_ptr -> fx_media_total_clusters + FX_FAT_ENTRY_START))
Dfx_file_open.c354 if ((cluster == contents) || (cluster_count > media_ptr -> fx_media_total_clusters)) in _fx_file_open()
Dfx_directory_search.c537 …r < FX_FAT_ENTRY_START) || (cluster == next_cluster) || (i > media_ptr -> fx_media_total_clusters)) in _fx_directory_search()
/FileX-v6.2.1/test/regression_test/
Dfilex_directory_create_delete_test.c488 temp = ram_disk.fx_media_total_clusters; in ftest_0_entry()
489 ram_disk.fx_media_total_clusters = 0; in ftest_0_entry()
491 ram_disk.fx_media_total_clusters = temp; in ftest_0_entry()
501 …ram_disk.fx_media_cluster_search_start = ram_disk.fx_media_total_clusters + (FX_FAT_ENTRY_START -… in ftest_0_entry()
506 …ram_disk.fx_media_cluster_search_start = ram_disk.fx_media_total_clusters + (FX_FAT_ENTRY_START -… in ftest_0_entry()
602 temp = ram_disk.fx_media_total_clusters; in ftest_0_entry()
603 ram_disk.fx_media_total_clusters = 0; in ftest_0_entry()
605 ram_disk.fx_media_total_clusters = temp; in ftest_0_entry()
647 temp = ram_disk.fx_media_total_clusters; in ftest_0_entry()
650 ram_disk.fx_media_total_clusters = temp; in ftest_0_entry()
[all …]
Dfilex_fault_tolerant_enable_test.c214 temp = ram_disk.fx_media_total_clusters; in ftest_0_entry()
215 ram_disk.fx_media_total_clusters = 0; in ftest_0_entry()
218 ram_disk.fx_media_total_clusters = temp; in ftest_0_entry()
Dfilex_directory_first_next_find_test.c792 temp = ram_disk.fx_media_total_clusters; in ftest_0_entry()
793 ram_disk.fx_media_total_clusters = 1; in ftest_0_entry()
795 ram_disk.fx_media_total_clusters = temp; in ftest_0_entry()
1085 temp = ram_disk.fx_media_total_clusters; in ftest_0_entry()
1086 ram_disk.fx_media_total_clusters = 1; in ftest_0_entry()
1088 ram_disk.fx_media_total_clusters = temp; in ftest_0_entry()
Dfilex_media_check_test.c176 …status = fx_media_check(&ram_disk, scratch_memory, (ram_disk.fx_media_total_clusters / 8), 0, &err… in ftest_0_entry()
1036 ram_disk.fx_media_total_clusters = ram_disk.fx_media_total_clusters - 4; in ftest_0_entry()
1042 ram_disk.fx_media_total_clusters = ram_disk.fx_media_total_clusters + 4; in ftest_0_entry()
2215 raw_sector_buffer[3] = (ram_disk.fx_media_total_clusters + FX_FAT_ENTRY_START) & 0xFF; in ftest_0_entry()
2216 raw_sector_buffer[4] = (UCHAR)((ram_disk.fx_media_total_clusters + FX_FAT_ENTRY_START) >> 8); in ftest_0_entry()
Dfilex_file_create_delete_test.c1063 actual = ram_disk.fx_media_total_clusters; in ftest_0_entry()
1064 ram_disk.fx_media_total_clusters = 1; in ftest_0_entry()
1066 ram_disk.fx_media_total_clusters = actual; in ftest_0_entry()
Dfilex_file_read_write_test.c2367 temp = ram_disk.fx_media_total_clusters; in ftest_0_entry()
2368 ram_disk.fx_media_total_clusters = 4; in ftest_0_entry()
2370 ram_disk.fx_media_total_clusters = temp; in ftest_0_entry()
Dfilex_media_multiple_open_close_test.c1215 for (i = 2; i < ram_disk.fx_media_total_clusters+10; i++) in ftest_0_entry()
1465 _fx_utility_32_unsigned_write(&raw_sector_buffer[488], ram_disk.fx_media_total_clusters+1); in ftest_0_entry()
/FileX-v6.2.1/ports/linux/gnu/inc/
Dfx_port.h205 … media_ptr -> fx_media_total_clusters = 0; \

12