Searched refs:FAT_sector (Results 1 – 9 of 9) sorted by relevance
/FileX-v6.2.1/common/src/ |
D | fx_utility_FAT_flush.c | 83 ULONG FAT_sector; in _fx_utility_FAT_flush() local 124 FAT_sector = (byte_offset / media_ptr -> fx_media_bytes_per_sector) + in _fx_utility_FAT_flush() 134 status = _fx_utility_logical_sector_read(media_ptr, (ULONG64) FAT_sector, in _fx_utility_FAT_flush() 202 if (sector != FAT_sector) in _fx_utility_FAT_flush() 214 ((FAT_sector - (ULONG)media_ptr -> fx_media_reserved_sectors) * in _fx_utility_FAT_flush() 283 status = _fx_utility_logical_sector_write(media_ptr, (ULONG64) FAT_sector, in _fx_utility_FAT_flush() 311 … ind = ((FAT_sector - media_ptr -> fx_media_reserved_sectors) / sectors_per_bit) >> 3; in _fx_utility_FAT_flush() 314 … | (1 <<(((FAT_sector - media_ptr -> fx_media_reserved_sectors) / sectors_per_bit) & 7))); in _fx_utility_FAT_flush() 321 FAT_sector++; in _fx_utility_FAT_flush() 340 FAT_sector = (byte_offset / media_ptr -> fx_media_bytes_per_sector) + in _fx_utility_FAT_flush() [all …]
|
D | fx_utility_FAT_map_flush.c | 76 ULONG FAT_sector, last_sector; in _fx_utility_FAT_map_flush() local 110 FAT_sector = i * sectors_per_bit + media_ptr -> fx_media_reserved_sectors; in _fx_utility_FAT_map_flush() 111 last_sector = FAT_sector + sectors_per_bit; in _fx_utility_FAT_map_flush() 120 for (; FAT_sector < last_sector; FAT_sector++) in _fx_utility_FAT_map_flush() 124 status = _fx_utility_logical_sector_read(media_ptr, (ULONG64) FAT_sector, 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()
|
D | fx_utility_FAT_entry_read.c | 90 ULONG FAT_sector; in _fx_utility_FAT_entry_read() local 241 FAT_sector = (byte_offset / media_ptr -> fx_media_bytes_per_sector) + in _fx_utility_FAT_entry_read() 245 status = _fx_utility_logical_sector_read(media_ptr, (ULONG64) FAT_sector, in _fx_utility_FAT_entry_read() 257 ((FAT_sector - (ULONG)media_ptr -> fx_media_reserved_sectors) * in _fx_utility_FAT_entry_read() 280 FAT_sector++; in _fx_utility_FAT_entry_read() 281 status = _fx_utility_logical_sector_read(media_ptr, (ULONG64) FAT_sector, in _fx_utility_FAT_entry_read() 315 FAT_sector++; in _fx_utility_FAT_entry_read() 316 status = _fx_utility_logical_sector_read(media_ptr, (ULONG64) FAT_sector, in _fx_utility_FAT_entry_read() 354 FAT_sector = (byte_offset / media_ptr -> fx_media_bytes_per_sector) + in _fx_utility_FAT_entry_read() 358 status = _fx_utility_logical_sector_read(media_ptr, (ULONG64) FAT_sector, in _fx_utility_FAT_entry_read() [all …]
|
D | fx_fault_tolerant_cleanup_FAT_chain.c | 75 ULONG FAT_sector; in _fx_utility_FAT_entry_multiple_sectors_check() local 90 FAT_sector = (byte_offset / media_ptr -> fx_media_bytes_per_sector) + in _fx_utility_FAT_entry_multiple_sectors_check() 95 ((FAT_sector - (ULONG)media_ptr -> fx_media_reserved_sectors) * in _fx_utility_FAT_entry_multiple_sectors_check() 188 ULONG FAT_sector; in _fx_fault_tolerant_cleanup_FAT_chain() local 314 FAT_sector = _fx_utility_FAT_sector_get(media_ptr, cache_ptr[i]); in _fx_fault_tolerant_cleanup_FAT_chain() 315 if (FAT_sector != last_FAT_sector) in _fx_fault_tolerant_cleanup_FAT_chain() 323 last_FAT_sector = FAT_sector; in _fx_fault_tolerant_cleanup_FAT_chain()
|
D | fx_utility_FAT_sector_get.c | 73 ULONG FAT_sector; in _fx_utility_FAT_sector_get() local 104 FAT_sector = (byte_offset / media_ptr -> fx_media_bytes_per_sector) + in _fx_utility_FAT_sector_get() 108 return(FAT_sector); in _fx_utility_FAT_sector_get()
|
D | fx_utility_FAT_entry_write.c | 85 ULONG FAT_sector; in _fx_utility_FAT_entry_write() local 101 FAT_sector = _fx_utility_FAT_sector_get(media_ptr, cluster); in _fx_utility_FAT_entry_write() 104 if (FAT_sector != media_ptr -> fx_media_fault_tolerant_cached_FAT_sector) in _fx_utility_FAT_entry_write() 118 media_ptr -> fx_media_fault_tolerant_cached_FAT_sector = FAT_sector; in _fx_utility_FAT_entry_write()
|
D | fx_fault_tolerant_enable.c | 104 ULONG FAT_entry, FAT_sector, FAT_read_sectors; local 167 FAT_sector = media_ptr -> fx_media_reserved_sectors + i; 184 FAT_sector = media_ptr -> fx_media_reserved_sectors + i; 194 media_ptr -> fx_media_driver_logical_sector = FAT_sector; 199 …FX_TRACE_IN_LINE_INSERT(FX_TRACE_INTERNAL_IO_DRIVER_READ, media_ptr, FAT_sector, FAT_read_sectors,…
|
D | fx_media_open.c | 146 ULONG FAT_entry, FAT_sector, FAT_read_sectors; local 790 FAT_sector = media_ptr -> fx_media_reserved_sectors + i; 805 FAT_sector = media_ptr -> fx_media_reserved_sectors + i; 815 media_ptr -> fx_media_driver_logical_sector = FAT_sector; 820 …FX_TRACE_IN_LINE_INSERT(FX_TRACE_INTERNAL_IO_DRIVER_READ, media_ptr, FAT_sector, FAT_read_sectors,…
|
/FileX-v6.2.1/test/regression_test/ |
D | filex_utility_test.c | 245 ULONG FAT_sector; in ftest_0_entry() local 798 FAT_sector = _fx_utility_FAT_sector_get(&tmp_media, 400); in ftest_0_entry() 799 return_if_fail(1 == FAT_sector); in ftest_0_entry() 806 FAT_sector = _fx_utility_FAT_sector_get(&tmp_media, 400); in ftest_0_entry() 807 return_if_fail(1 == FAT_sector); in ftest_0_entry() 814 FAT_sector = _fx_utility_FAT_sector_get(&tmp_media, 400); in ftest_0_entry() 815 return_if_fail(3 == FAT_sector); in ftest_0_entry()
|