Home
last modified time | relevance | path

Searched refs:fx_media_sector_cache_size (Results 1 – 13 of 13) sorted by relevance

/FileX-v6.2.1/common/src/
Dfx_media_open.c366 media_ptr -> fx_media_sector_cache_size = memory_size / media_ptr -> fx_media_bytes_per_sector;
369 …BJECT_TYPE_MEDIA, media_ptr, media_name, FX_MAX_FAT_CACHE, media_ptr -> fx_media_sector_cache_size)
373 if (media_ptr -> fx_media_sector_cache_size > FX_MAX_SECTOR_CACHE)
379 media_ptr -> fx_media_sector_cache_size = FX_MAX_SECTOR_CACHE;
384 i = (UINT)media_ptr -> fx_media_sector_cache_size;
422 if ((media_ptr -> fx_media_sector_cache_size >= FX_SECTOR_CACHE_HASH_ENABLE) &&
423 … ((media_ptr -> fx_media_sector_cache_size ^ (media_ptr -> fx_media_sector_cache_size - 1)) ==
424 (media_ptr -> fx_media_sector_cache_size | (media_ptr -> fx_media_sector_cache_size - 1))))
432 ((media_ptr -> fx_media_sector_cache_size / FX_SECTOR_CACHE_DEPTH) - 1);
786 …(i = 0; i < media_ptr -> fx_media_sectors_per_FAT; i = i + media_ptr -> fx_media_sector_cache_size)
[all …]
Dfx_fault_tolerant_enable.c163 …(i = 0; i < media_ptr -> fx_media_sectors_per_FAT; i = i + media_ptr -> fx_media_sector_cache_size)
173 if (FAT_read_sectors > media_ptr -> fx_media_sector_cache_size)
175 FAT_read_sectors = media_ptr -> fx_media_sector_cache_size;
Dfx_utility_logical_sector_read.c165 …ptr -> fx_media_logical_sector_cache_read_misses, media_ptr -> fx_media_sector_cache_size, FX_TRAC… in _fx_utility_logical_sector_read()
169 …_SECTOR_CACHE_MISS, media_ptr, logical_sector, 0, media_ptr -> fx_media_sector_cache_size, FX_TRAC… in _fx_utility_logical_sector_read()
506 …fx_media_driver_status == FX_SUCCESS) && (sectors < (media_ptr -> fx_media_sector_cache_size / 4))) in _fx_utility_logical_sector_read()
Dfx_utility_logical_sector_write.c159 cache_size = media_ptr -> fx_media_sector_cache_size; in _fx_utility_logical_sector_write()
205 cache_size = media_ptr -> fx_media_sector_cache_size; in _fx_utility_logical_sector_write()
Dfx_utility_logical_sector_flush.c117 cache_size = media_ptr -> fx_media_sector_cache_size; in _fx_utility_logical_sector_flush()
253 cache_size = media_ptr -> fx_media_sector_cache_size; in _fx_utility_logical_sector_flush()
Dfx_utility_logical_sector_cache_entry_read.c293 cache_size = media_ptr -> fx_media_sector_cache_size; in _fx_utility_logical_sector_cache_entry_read()
/FileX-v6.2.1/test/regression_test/
Dfilex_fault_tolerant_media_full_test.c220 for (j = 0; j < ram_disk.fx_media_sector_cache_size; j++) in ftest_0_entry()
Dfilex_fault_tolerant_write_large_data_test.c283 for (j = 0; j < ram_disk.fx_media_sector_cache_size; j++) in ftest_0_entry()
Dfilex_fault_tolerant_delete_large_data_test.c284 for (j = 0; j < ram_disk.fx_media_sector_cache_size; j++) in ftest_0_entry()
Dfilex_media_cache_invalidate_test.c412 for (i = 0; i < ram_disk.fx_media_sector_cache_size; i++) in ftest_0_entry()
Dfilex_file_write_available_cluster_test.c325 ram_disk.fx_media_sector_cache_size = 1; in ftest_0_entry()
Dfilex_file_read_write_test.c485 for (i = 0; i < ram_disk.fx_media_sector_cache_size; i++) in ftest_0_entry()
/FileX-v6.2.1/common/inc/
Dfx_api.h821 ULONG fx_media_sector_cache_size; member