/FileX-v6.2.1/common/src/ |
D | fx_media_check_FAT_chain_check.c | 102 (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()
|
D | fx_media_open.c | 481 …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))
|
D | fx_directory_free_search.c | 433 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()
|
D | fx_directory_delete.c | 243 …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()
|
D | fx_directory_create.c | 255 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()
|
D | fx_media_check.c | 285 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()
|
D | fx_fault_tolerant_create_log_file.c | 102 while (FAT_index <= (media_ptr -> fx_media_total_clusters - clusters + FX_FAT_ENTRY_START)) in _fx_fault_tolerant_create_log_file()
|
D | fx_file_extended_best_effort_allocate.c | 255 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()
|
D | fx_file_delete.c | 319 if ((cluster == contents) || (cluster_count > media_ptr -> fx_media_total_clusters)) in _fx_file_delete()
|
D | fx_directory_next_entry_find.c | 233 …r < FX_FAT_ENTRY_START) || (cluster == next_cluster) || (i > media_ptr -> fx_media_total_clusters)) in _fx_directory_next_entry_find()
|
D | fx_directory_next_full_entry_find.c | 245 …r < FX_FAT_ENTRY_START) || (cluster == next_cluster) || (i > media_ptr -> fx_media_total_clusters)) in _fx_directory_next_full_entry_find()
|
D | fx_unicode_directory_search.c | 204 if ((cluster == next_cluster) || (i > media_ptr -> fx_media_total_clusters)) in _fx_unicode_directory_search()
|
D | fx_file_write.c | 518 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()
|
D | fx_file_extended_allocate.c | 247 while (FAT_index <= (media_ptr -> fx_media_total_clusters - clusters + FX_FAT_ENTRY_START)) in _fx_file_extended_allocate()
|
D | fx_fault_tolerant_enable.c | 248 if (cluster_number >= (media_ptr -> fx_media_total_clusters + FX_FAT_ENTRY_START))
|
D | fx_file_open.c | 354 if ((cluster == contents) || (cluster_count > media_ptr -> fx_media_total_clusters)) in _fx_file_open()
|
D | fx_directory_search.c | 537 …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/ |
D | filex_directory_create_delete_test.c | 488 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 …]
|
D | filex_fault_tolerant_enable_test.c | 214 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()
|
D | filex_directory_first_next_find_test.c | 792 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()
|
D | filex_media_check_test.c | 176 …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()
|
D | filex_file_create_delete_test.c | 1063 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()
|
D | filex_file_read_write_test.c | 2367 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()
|
D | filex_media_multiple_open_close_test.c | 1215 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/ |
D | fx_port.h | 205 … media_ptr -> fx_media_total_clusters = 0; \
|