Home
last modified time | relevance | path

Searched refs:fx_media_fat_cache (Results 1 – 23 of 23) sorted by relevance

/FileX-v6.2.1/common/src/
Dfx_utility_FAT_flush.c103 if ((media_ptr -> fx_media_fat_cache[index].fx_fat_cache_entry_dirty) == 0) in _fx_utility_FAT_flush()
114 cluster = media_ptr -> fx_media_fat_cache[index].fx_fat_cache_entry_cluster; in _fx_utility_FAT_flush()
156 … cluster = (media_ptr -> fx_media_fat_cache[multi_sector_entry].fx_fat_cache_entry_cluster); in _fx_utility_FAT_flush()
157 … next_cluster = media_ptr -> fx_media_fat_cache[multi_sector_entry].fx_fat_cache_entry_value; in _fx_utility_FAT_flush()
184 if ((media_ptr -> fx_media_fat_cache[i].fx_fat_cache_entry_dirty) == 0) in _fx_utility_FAT_flush()
192 cluster = (media_ptr -> fx_media_fat_cache[i].fx_fat_cache_entry_cluster); in _fx_utility_FAT_flush()
210 next_cluster = media_ptr -> fx_media_fat_cache[i].fx_fat_cache_entry_value; in _fx_utility_FAT_flush()
229 media_ptr -> fx_media_fat_cache[i].fx_fat_cache_entry_dirty = 0; in _fx_utility_FAT_flush()
361 if (media_ptr -> fx_media_fat_cache[i].fx_fat_cache_entry_dirty == 0) in _fx_utility_FAT_flush()
369 cluster = (media_ptr -> fx_media_fat_cache[i].fx_fat_cache_entry_cluster); in _fx_utility_FAT_flush()
[all …]
Dfx_media_cache_invalidate.c112 media_ptr -> fx_media_fat_cache[i].fx_fat_cache_entry_cluster = 0; in _fx_media_cache_invalidate()
113 media_ptr -> fx_media_fat_cache[i].fx_fat_cache_entry_value = 0; in _fx_media_cache_invalidate()
Dfx_utility_FAT_entry_write.c136 cache_entry_ptr = &media_ptr -> fx_media_fat_cache[index]; in _fx_utility_FAT_entry_write()
197 if (media_ptr -> fx_media_fat_cache[index + 3].fx_fat_cache_entry_dirty == 1) in _fx_utility_FAT_entry_write()
Dfx_utility_FAT_entry_read.c130 cache_entry_ptr = &media_ptr -> fx_media_fat_cache[index]; in _fx_utility_FAT_entry_read()
206 if (media_ptr -> fx_media_fat_cache[index + 3].fx_fat_cache_entry_dirty) in _fx_utility_FAT_entry_read()
Dfx_media_open.c450 media_ptr -> fx_media_fat_cache[i].fx_fat_cache_entry_cluster = 0;
451 media_ptr -> fx_media_fat_cache[i].fx_fat_cache_entry_value = 0;
452 media_ptr -> fx_media_fat_cache[i].fx_fat_cache_entry_dirty = 0;
/FileX-v6.2.1/test/regression_test/
Dfilex_utility_fat_flush_test.c204 ram_disk.fx_media_fat_cache[i].fx_fat_cache_entry_cluster = 496; in ftest_0_entry()
205 ram_disk.fx_media_fat_cache[i].fx_fat_cache_entry_value = 1; in ftest_0_entry()
206 ram_disk.fx_media_fat_cache[i].fx_fat_cache_entry_dirty = 1; in ftest_0_entry()
326 ram_disk.fx_media_fat_cache[i].fx_fat_cache_entry_cluster = 0xA6; in ftest_0_entry()
327 ram_disk.fx_media_fat_cache[i].fx_fat_cache_entry_value = 1; in ftest_0_entry()
328 ram_disk.fx_media_fat_cache[i].fx_fat_cache_entry_dirty = 1; in ftest_0_entry()
410 ram_disk.fx_media_fat_cache[i].fx_fat_cache_entry_cluster = 0xF160; in ftest_0_entry()
411 ram_disk.fx_media_fat_cache[i].fx_fat_cache_entry_value = 1; in ftest_0_entry()
412 ram_disk.fx_media_fat_cache[i].fx_fat_cache_entry_dirty = 1; in ftest_0_entry()
Dfilex_unicode_fat_entry_3_test.c146 ram_disk.fx_media_fat_cache[i].fx_fat_cache_entry_cluster = 0; in ftest_0_entry()
147 ram_disk.fx_media_fat_cache[i].fx_fat_cache_entry_value = 0; in ftest_0_entry()
171 ram_disk.fx_media_fat_cache[i].fx_fat_cache_entry_cluster = 0; in ftest_0_entry()
172 ram_disk.fx_media_fat_cache[i].fx_fat_cache_entry_value = 0; in ftest_0_entry()
193 ram_disk.fx_media_fat_cache[i].fx_fat_cache_entry_cluster = 0; in ftest_0_entry()
194 ram_disk.fx_media_fat_cache[i].fx_fat_cache_entry_value = 0; in ftest_0_entry()
215 ram_disk.fx_media_fat_cache[i].fx_fat_cache_entry_cluster = 0; in ftest_0_entry()
216 ram_disk.fx_media_fat_cache[i].fx_fat_cache_entry_value = 0; in ftest_0_entry()
Dfilex_file_create_delete_test.c455 ram_disk.fx_media_fat_cache[i].fx_fat_cache_entry_cluster = 0; in ftest_0_entry()
456 ram_disk.fx_media_fat_cache[i].fx_fat_cache_entry_value = 0; in ftest_0_entry()
486 ram_disk.fx_media_fat_cache[i].fx_fat_cache_entry_cluster = 0; in ftest_0_entry()
487 ram_disk.fx_media_fat_cache[i].fx_fat_cache_entry_value = 0; in ftest_0_entry()
556 ram_disk.fx_media_fat_cache[i].fx_fat_cache_entry_cluster = 0; in ftest_0_entry()
557 ram_disk.fx_media_fat_cache[i].fx_fat_cache_entry_value = 0; in ftest_0_entry()
689 ram_disk.fx_media_fat_cache[i].fx_fat_cache_entry_cluster = 0; in ftest_0_entry()
690 ram_disk.fx_media_fat_cache[i].fx_fat_cache_entry_value = 0; in ftest_0_entry()
720 ram_disk.fx_media_fat_cache[i].fx_fat_cache_entry_cluster = 0; in ftest_0_entry()
721 ram_disk.fx_media_fat_cache[i].fx_fat_cache_entry_value = 0; in ftest_0_entry()
[all …]
Dfilex_file_read_write_test.c1250 ram_disk.fx_media_fat_cache[i].fx_fat_cache_entry_cluster = 0; in ftest_0_entry()
1251 ram_disk.fx_media_fat_cache[i].fx_fat_cache_entry_value = 0; in ftest_0_entry()
1777 ram_disk.fx_media_fat_cache[i].fx_fat_cache_entry_cluster = 0; in ftest_0_entry()
1778 ram_disk.fx_media_fat_cache[i].fx_fat_cache_entry_value = 0; in ftest_0_entry()
1871 ram_disk.fx_media_fat_cache[i].fx_fat_cache_entry_cluster = 0; in ftest_0_entry()
1872 ram_disk.fx_media_fat_cache[i].fx_fat_cache_entry_value = 0; in ftest_0_entry()
1968 ram_disk.fx_media_fat_cache[i].fx_fat_cache_entry_cluster = 0; in ftest_0_entry()
1969 ram_disk.fx_media_fat_cache[i].fx_fat_cache_entry_value = 0; in ftest_0_entry()
2065 ram_disk.fx_media_fat_cache[i].fx_fat_cache_entry_cluster = 0; in ftest_0_entry()
2066 ram_disk.fx_media_fat_cache[i].fx_fat_cache_entry_value = 0; in ftest_0_entry()
[all …]
Dfilex_unicode_directory_entry_2_test.c117 ram_disk.fx_media_fat_cache[8].fx_fat_cache_entry_value = 0; in ftest_0_entry()
118 ram_disk.fx_media_fat_cache[8].fx_fat_cache_entry_dirty = 1; in ftest_0_entry()
Dfilex_fault_tolerant_enable_2_test.c317 ram_disk.fx_media_fat_cache[28].fx_fat_cache_entry_cluster = 39; in ftest_0_entry()
318 ram_disk.fx_media_fat_cache[28].fx_fat_cache_entry_value = 1; in ftest_0_entry()
335 …ram_disk.fx_media_fat_cache[(cluster & FX_FAT_CACHE_HASH_MASK) * FX_FAT_CACHE_DEPTH].fx_fat_cache_… in ftest_0_entry()
336 …ram_disk.fx_media_fat_cache[(cluster & FX_FAT_CACHE_HASH_MASK) * FX_FAT_CACHE_DEPTH].fx_fat_cache_… in ftest_0_entry()
377 ram_disk.fx_media_fat_cache[8].fx_fat_cache_entry_cluster = 2; in ftest_0_entry()
378 ram_disk.fx_media_fat_cache[8].fx_fat_cache_entry_value = 1; in ftest_0_entry()
Dfilex_unicode_directory_entry_change_test.c171 ram_disk.fx_media_fat_cache[8].fx_fat_cache_entry_cluster = 20; in ftest_0_entry()
205 ram_disk.fx_media_fat_cache[8].fx_fat_cache_entry_cluster = 2; in ftest_0_entry()
206 ram_disk.fx_media_fat_cache[8].fx_fat_cache_entry_value = 0; in ftest_0_entry()
Dfilex_unicode_fat_entry_1_test.c104 ram_disk.fx_media_fat_cache[8].fx_fat_cache_entry_value = 0xffff; in ftest_0_entry()
105 ram_disk.fx_media_fat_cache[8].fx_fat_cache_entry_dirty = 1; in ftest_0_entry()
Dfilex_unicode_fat_entry_2_test.c123 ram_disk.fx_media_fat_cache[8].fx_fat_cache_entry_value = 0x1ff; in ftest_0_entry()
124 ram_disk.fx_media_fat_cache[8].fx_fat_cache_entry_dirty = 1; in ftest_0_entry()
Dfilex_unicode_fat_entry_test.c102 ram_disk.fx_media_fat_cache[8].fx_fat_cache_entry_value = 0; in ftest_0_entry()
103 ram_disk.fx_media_fat_cache[8].fx_fat_cache_entry_dirty = 1; in ftest_0_entry()
Dfilex_unicode_3_test.c145 ram_disk.fx_media_fat_cache[i].fx_fat_cache_entry_cluster = 0; in ftest_0_entry()
146 ram_disk.fx_media_fat_cache[i].fx_fat_cache_entry_value = 0; in ftest_0_entry()
Dfilex_fault_tolerant_enable_1_test.c243 ram_disk.fx_media_fat_cache[8].fx_fat_cache_entry_cluster = 2; in ftest_0_entry()
244 ram_disk.fx_media_fat_cache[8].fx_fat_cache_entry_value = 5; in ftest_0_entry()
Dfilex_directory_naming_test.c571 ram_disk.fx_media_fat_cache[i].fx_fat_cache_entry_cluster = 0; in ftest_0_entry()
572 ram_disk.fx_media_fat_cache[i].fx_fat_cache_entry_value = 0; in ftest_0_entry()
Dfilex_unicode_file_directory_rename_extra_2_test.c420 ram_disk.fx_media_fat_cache[i].fx_fat_cache_entry_cluster = 0; in ftest_0_entry()
421 ram_disk.fx_media_fat_cache[i].fx_fat_cache_entry_value = 0; in ftest_0_entry()
Dfilex_fault_tolerant_enable_3_test.c960 ram_disk.fx_media_fat_cache[12].fx_fat_cache_entry_cluster = 3; in ftest_0_entry()
961 ram_disk.fx_media_fat_cache[12].fx_fat_cache_entry_value = 1; in ftest_0_entry()
995 ram_disk.fx_media_fat_cache[12].fx_fat_cache_entry_cluster = 3; in ftest_0_entry()
996 ram_disk.fx_media_fat_cache[12].fx_fat_cache_entry_value = ram_disk.fx_media_fat_reserved + 1; in ftest_0_entry()
Dfilex_directory_default_path_get_set_test.c617 ram_disk.fx_media_fat_cache[i].fx_fat_cache_entry_cluster = 0; in ftest_0_entry()
618 ram_disk.fx_media_fat_cache[i].fx_fat_cache_entry_value = 0; in ftest_0_entry()
924 ram_disk.fx_media_fat_cache[i].fx_fat_cache_entry_cluster = 0; in ftest_0_entry()
925 ram_disk.fx_media_fat_cache[i].fx_fat_cache_entry_value = 0; in ftest_0_entry()
Dfilex_directory_first_next_find_test.c820 ram_disk.fx_media_fat_cache[i].fx_fat_cache_entry_cluster = 0; in ftest_0_entry()
821 ram_disk.fx_media_fat_cache[i].fx_fat_cache_entry_value = 0; in ftest_0_entry()
1113 ram_disk.fx_media_fat_cache[i].fx_fat_cache_entry_cluster = 0; in ftest_0_entry()
1114 ram_disk.fx_media_fat_cache[i].fx_fat_cache_entry_value = 0; in ftest_0_entry()
/FileX-v6.2.1/common/inc/
Dfx_api.h1010 FX_FAT_CACHE_ENTRY fx_media_fat_cache[FX_MAX_FAT_CACHE]; member