Home
last modified time | relevance | path

Searched refs:fx_media_sectors_per_FAT (Results 1 – 12 of 12) sorted by relevance

/FileX-v6.2.1/common/src/
Dfx_utility_FAT_map_flush.c88 if (media_ptr -> fx_media_sectors_per_FAT % (FX_FAT_MAP_SIZE << 3) == 0) in _fx_utility_FAT_map_flush()
90 sectors_per_bit = (UCHAR)(media_ptr -> fx_media_sectors_per_FAT / (FX_FAT_MAP_SIZE << 3)); in _fx_utility_FAT_map_flush()
94 … sectors_per_bit = (UCHAR)(media_ptr -> fx_media_sectors_per_FAT / (FX_FAT_MAP_SIZE << 3) + 1); in _fx_utility_FAT_map_flush()
114 …if (last_sector > (media_ptr -> fx_media_sectors_per_FAT + media_ptr -> fx_media_reserved_sectors)) in _fx_utility_FAT_map_flush()
116 … last_sector = media_ptr -> fx_media_sectors_per_FAT + media_ptr -> fx_media_reserved_sectors; in _fx_utility_FAT_map_flush()
143 … ((ULONG64) FAT_sector) + ((ULONG64)FATs * (ULONG64)(media_ptr -> fx_media_sectors_per_FAT)), in _fx_utility_FAT_map_flush()
Dfx_media_boot_info_extract.c168 …media_ptr -> fx_media_sectors_per_FAT = _fx_utility_16_unsigned_read(&boot_sector[FX_SECTORS_P… in _fx_media_boot_info_extract()
169 if (media_ptr -> fx_media_sectors_per_FAT == 0) in _fx_media_boot_info_extract()
171 …media_ptr -> fx_media_sectors_per_FAT = _fx_utility_32_unsigned_read(&boot_sector[FX_SECTORS_PER_F… in _fx_media_boot_info_extract()
174 if (media_ptr -> fx_media_sectors_per_FAT == 0) in _fx_media_boot_info_extract()
Dfx_utility_FAT_flush.c294 if (media_ptr -> fx_media_sectors_per_FAT % (FX_FAT_MAP_SIZE << 3) == 0) in _fx_utility_FAT_flush()
296 … sectors_per_bit = (UCHAR)((UINT)media_ptr -> fx_media_sectors_per_FAT / (FX_FAT_MAP_SIZE << 3)); in _fx_utility_FAT_flush()
300 …sectors_per_bit = (UCHAR)((UINT)media_ptr -> fx_media_sectors_per_FAT / (FX_FAT_MAP_SIZE << 3) + … in _fx_utility_FAT_flush()
417 if (media_ptr -> fx_media_sectors_per_FAT % (FX_FAT_MAP_SIZE << 3) == 0) in _fx_utility_FAT_flush()
419 … sectors_per_bit = (UCHAR)(media_ptr -> fx_media_sectors_per_FAT / (FX_FAT_MAP_SIZE << 3)); in _fx_utility_FAT_flush()
423 … sectors_per_bit = (UCHAR)((media_ptr -> fx_media_sectors_per_FAT / (FX_FAT_MAP_SIZE << 3)) + 1); in _fx_utility_FAT_flush()
518 if (media_ptr -> fx_media_sectors_per_FAT % (FX_FAT_MAP_SIZE << 3) == 0) in _fx_utility_FAT_flush()
520 … sectors_per_bit = (UCHAR)(media_ptr -> fx_media_sectors_per_FAT / (FX_FAT_MAP_SIZE << 3)); in _fx_utility_FAT_flush()
524 … sectors_per_bit = (UCHAR)((media_ptr -> fx_media_sectors_per_FAT / (FX_FAT_MAP_SIZE << 3)) + 1); in _fx_utility_FAT_flush()
Dfx_fault_tolerant_enable.c163 …for (i = 0; i < media_ptr -> fx_media_sectors_per_FAT; i = i + media_ptr -> fx_media_sector_cache_…
170 FAT_read_sectors = media_ptr -> fx_media_sectors_per_FAT - i;
180 for (i = 0; i < media_ptr -> fx_media_sectors_per_FAT; i++)
254 i = media_ptr -> fx_media_sectors_per_FAT;
Dfx_media_open.c468 media_ptr -> fx_media_sectors_per_FAT);
786 …for (i = 0; i < media_ptr -> fx_media_sectors_per_FAT; i = i + media_ptr -> fx_media_sector_cache_…
793 FAT_read_sectors = media_ptr -> fx_media_sectors_per_FAT - i;
801 for (i = 0; i < media_ptr -> fx_media_sectors_per_FAT; i++)
897 i = media_ptr -> fx_media_sectors_per_FAT;
Dfx_directory_delete.c424 …l_sector_flush(media_ptr, ((ULONG64) 1), (ULONG64)(media_ptr -> fx_media_sectors_per_FAT), FX_FALS… in _fx_directory_delete()
Dfx_file_extended_allocate.c509 …l_sector_flush(media_ptr, ((ULONG64) 1), (ULONG64)(media_ptr -> fx_media_sectors_per_FAT), FX_FALS… in _fx_file_extended_allocate()
Dfx_file_extended_best_effort_allocate.c556 …_sector_flush(media_ptr, ((ULONG64) 1), (ULONG64) (media_ptr -> fx_media_sectors_per_FAT), FX_FALS… in _fx_file_extended_best_effort_allocate()
/FileX-v6.2.1/test/regression_test/
Dfilex_fault_tolerant_enable_1_test.c275 …_fx_utility_logical_sector_read( &ram_disk, 1 + ram_disk.fx_media_sectors_per_FAT + ram_disk.fx_me… in ftest_0_entry()
281 …_fx_utility_logical_sector_write( &ram_disk, 1 + ram_disk.fx_media_sectors_per_FAT + ram_disk.fx_m… in ftest_0_entry()
294 …_fx_utility_logical_sector_read( &ram_disk, 1 + ram_disk.fx_media_sectors_per_FAT + ram_disk.fx_me… in ftest_0_entry()
298 …_fx_utility_logical_sector_write( &ram_disk, 1 + ram_disk.fx_media_sectors_per_FAT + ram_disk.fx_m… in ftest_0_entry()
Dfilex_fault_tolerant_enable_4_test.c169 …_fx_utility_logical_sector_read( &ram_disk, 1 + ram_disk.fx_media_sectors_per_FAT + ram_disk.fx_me… in ftest_0_entry()
171 …_fx_utility_logical_sector_write( &ram_disk, 1 + ram_disk.fx_media_sectors_per_FAT + ram_disk.fx_m… in ftest_0_entry()
Dfilex_file_seek_test.c810 ram_disk.fx_media_sectors_per_FAT = 0; in ftest_0_entry()
/FileX-v6.2.1/common/inc/
Dfx_api.h856 UINT fx_media_sectors_per_FAT; member