/FileX-v6.4.1/common/src/ |
D | fx_file_extended_relative_seek.c | 83 UINT _fx_file_extended_relative_seek(FX_FILE *file_ptr, ULONG64 byte_offset, UINT seek_from) in _fx_file_extended_relative_seek() argument 105 …FX_TRACE_IN_LINE_INSERT(FX_TRACE_FILE_RELATIVE_SEEK, file_ptr, byte_offset, seek_from, file_ptr ->… in _fx_file_extended_relative_seek() 113 return(_fx_file_extended_seek(file_ptr, byte_offset)); in _fx_file_extended_relative_seek() 123 if (byte_offset >= file_ptr -> fx_file_current_file_size) in _fx_file_extended_relative_seek() 133 … return(_fx_file_extended_seek(file_ptr, file_ptr -> fx_file_current_file_size - byte_offset)); in _fx_file_extended_relative_seek() 141 … return(_fx_file_extended_seek(file_ptr, file_ptr -> fx_file_current_file_offset + byte_offset)); in _fx_file_extended_relative_seek() 148 if (byte_offset >= file_ptr -> fx_file_current_file_offset) in _fx_file_extended_relative_seek() 158 … return(_fx_file_extended_seek(file_ptr, file_ptr -> fx_file_current_file_offset - byte_offset)); in _fx_file_extended_relative_seek()
|
D | fx_utility_FAT_entry_read.c | 91 ULONG byte_offset, entry32; in _fx_utility_FAT_entry_read() local 238 byte_offset = (((ULONG)cluster << 1) + cluster) >> 1; in _fx_utility_FAT_entry_read() 241 FAT_sector = (byte_offset / media_ptr -> fx_media_bytes_per_sector) + in _fx_utility_FAT_entry_read() 256 byte_offset = byte_offset - in _fx_utility_FAT_entry_read() 261 FAT_ptr = (UCHAR *)media_ptr -> fx_media_memory_buffer + (UINT)byte_offset; in _fx_utility_FAT_entry_read() 276 if (byte_offset == (ULONG)(media_ptr -> fx_media_bytes_per_sector - 1)) in _fx_utility_FAT_entry_read() 311 if (byte_offset == (ULONG)(media_ptr -> fx_media_bytes_per_sector - 1)) in _fx_utility_FAT_entry_read() 351 byte_offset = (((ULONG)cluster) * 2); in _fx_utility_FAT_entry_read() 354 FAT_sector = (byte_offset / media_ptr -> fx_media_bytes_per_sector) + in _fx_utility_FAT_entry_read() 370 byte_offset = byte_offset - in _fx_utility_FAT_entry_read() [all …]
|
D | fx_utility_FAT_flush.c | 84 ULONG byte_offset; in _fx_utility_FAT_flush() local 121 byte_offset = (((ULONG)cluster << 1) + cluster) >> 1; in _fx_utility_FAT_flush() 124 FAT_sector = (byte_offset / media_ptr -> fx_media_bytes_per_sector) + in _fx_utility_FAT_flush() 195 byte_offset = (((ULONG)cluster << 1) + cluster) >> 1; in _fx_utility_FAT_flush() 198 sector = (byte_offset / media_ptr -> fx_media_bytes_per_sector) + in _fx_utility_FAT_flush() 213 byte_offset = byte_offset - in _fx_utility_FAT_flush() 218 if (byte_offset == (ULONG)(media_ptr -> fx_media_bytes_per_sector - 1)) in _fx_utility_FAT_flush() 226 FAT_ptr = (UCHAR *)media_ptr -> fx_media_memory_buffer + (UINT)byte_offset; in _fx_utility_FAT_flush() 337 byte_offset = (((ULONG)cluster) << 1); 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_file_extended_seek.c | 80 UINT _fx_file_extended_seek(FX_FILE *file_ptr, ULONG64 byte_offset) in _fx_file_extended_seek() argument 113 …FX_TRACE_IN_LINE_INSERT(FX_TRACE_FILE_SEEK, file_ptr, byte_offset, file_ptr -> fx_file_current_fil… in _fx_file_extended_seek() 119 if (byte_offset == file_ptr -> fx_file_current_file_offset) in _fx_file_extended_seek() 145 if (byte_offset > file_ptr -> fx_file_current_file_size) in _fx_file_extended_seek() 149 byte_offset = file_ptr -> fx_file_current_file_size; in _fx_file_extended_seek() 153 … if (byte_offset >= (ULONG64)file_ptr -> fx_file_consecutive_cluster * (ULONG64)bytes_per_cluster) in _fx_file_extended_seek() 160 … ((ULONG64)file_ptr -> fx_file_current_relative_cluster * (ULONG64)bytes_per_cluster < byte_offset) in _fx_file_extended_seek() 165 bytes_remaining = byte_offset - in _fx_file_extended_seek() 175 bytes_remaining = byte_offset - in _fx_file_extended_seek() 244 if (byte_offset > (((ULONG64) bytes_per_cluster) * ((ULONG64) cluster_count))) in _fx_file_extended_seek() [all …]
|
D | fx_utility_FAT_sector_get.c | 74 ULONG byte_offset; in _fx_utility_FAT_sector_get() local 83 byte_offset = (((ULONG)cluster << 1) + cluster) >> 1; in _fx_utility_FAT_sector_get() 92 byte_offset = (((ULONG)cluster) << 1); in _fx_utility_FAT_sector_get() 100 byte_offset = (((ULONG)cluster) * 4); in _fx_utility_FAT_sector_get() 104 FAT_sector = (byte_offset / media_ptr -> fx_media_bytes_per_sector) + in _fx_utility_FAT_sector_get()
|
D | fx_unicode_directory_entry_read.c | 91 ULONG byte_offset; in _fx_unicode_directory_entry_read() local 106 byte_offset = entry * FX_DIR_ENTRY_SIZE; in _fx_unicode_directory_entry_read() 127 relative_cluster = (UINT)(byte_offset / bytes_per_cluster); in _fx_unicode_directory_entry_read() 130 byte_offset = byte_offset % bytes_per_cluster; in _fx_unicode_directory_entry_read() 133 relative_sector = (UINT)(byte_offset / ((ULONG)media_ptr -> fx_media_bytes_per_sector)); in _fx_unicode_directory_entry_read() 230 byte_offset = byte_offset % media_ptr -> fx_media_bytes_per_sector; in _fx_unicode_directory_entry_read() 238 logical_sector = (byte_offset / media_ptr -> fx_media_bytes_per_sector) + in _fx_unicode_directory_entry_read() 258 byte_offset = byte_offset - in _fx_unicode_directory_entry_read() 264 read_ptr = (UCHAR *)media_ptr -> fx_media_memory_buffer + (UINT)byte_offset; in _fx_unicode_directory_entry_read() 268 destination_ptr -> fx_dir_entry_byte_offset = byte_offset; in _fx_unicode_directory_entry_read() [all …]
|
D | fx_directory_entry_read.c | 93 ULONG byte_offset; in _fx_directory_entry_read() local 113 byte_offset = entry * FX_DIR_ENTRY_SIZE; in _fx_directory_entry_read() 134 relative_cluster = (UINT)(byte_offset / bytes_per_cluster); in _fx_directory_entry_read() 137 byte_offset = byte_offset % bytes_per_cluster; in _fx_directory_entry_read() 140 relative_sector = (UINT)(byte_offset / ((ULONG)media_ptr -> fx_media_bytes_per_sector)); in _fx_directory_entry_read() 237 byte_offset = byte_offset % media_ptr -> fx_media_bytes_per_sector; in _fx_directory_entry_read() 245 logical_sector = (byte_offset / media_ptr -> fx_media_bytes_per_sector) + in _fx_directory_entry_read() 265 byte_offset = byte_offset - in _fx_directory_entry_read() 271 read_ptr = (UCHAR *)media_ptr -> fx_media_memory_buffer + (UINT)byte_offset; in _fx_directory_entry_read() 275 destination_ptr -> fx_dir_entry_byte_offset = byte_offset; in _fx_directory_entry_read() [all …]
|
D | fx_fault_tolerant_cleanup_FAT_chain.c | 74 ULONG byte_offset; in _fx_utility_FAT_entry_multiple_sectors_check() local 87 byte_offset = (((ULONG)cluster << 1) + cluster) >> 1; in _fx_utility_FAT_entry_multiple_sectors_check() 90 FAT_sector = (byte_offset / media_ptr -> fx_media_bytes_per_sector) + in _fx_utility_FAT_entry_multiple_sectors_check() 94 byte_offset = byte_offset - in _fx_utility_FAT_entry_multiple_sectors_check() 99 if (byte_offset == (ULONG)(media_ptr -> fx_media_bytes_per_sector - 1)) in _fx_utility_FAT_entry_multiple_sectors_check()
|
D | fx_file_seek.c | 77 UINT _fx_file_seek(FX_FILE *file_ptr, ULONG byte_offset) in _fx_file_seek() argument 80 return(_fx_file_extended_seek(file_ptr, (ULONG64) byte_offset)); in _fx_file_seek()
|
D | fx_file_relative_seek.c | 83 UINT _fx_file_relative_seek(FX_FILE *file_ptr, ULONG byte_offset, UINT seek_from) in _fx_file_relative_seek() argument 86 return(_fx_file_extended_relative_seek(file_ptr, (ULONG64)byte_offset, seek_from)); in _fx_file_relative_seek()
|
D | fxe_file_seek.c | 73 UINT _fxe_file_seek(FX_FILE *file_ptr, ULONG byte_offset) in _fxe_file_seek() argument 89 status = _fx_file_seek(file_ptr, byte_offset); in _fxe_file_seek()
|
D | fxe_file_extended_seek.c | 73 UINT _fxe_file_extended_seek(FX_FILE *file_ptr, ULONG64 byte_offset) in _fxe_file_extended_seek() argument 89 status = _fx_file_extended_seek(file_ptr, byte_offset); in _fxe_file_extended_seek()
|
D | fxe_file_relative_seek.c | 81 UINT _fxe_file_relative_seek(FX_FILE *file_ptr, ULONG byte_offset, UINT seek_from) in _fxe_file_relative_seek() argument 104 status = _fx_file_relative_seek(file_ptr, byte_offset, seek_from); in _fxe_file_relative_seek()
|
D | fxe_file_extended_relative_seek.c | 81 UINT _fxe_file_extended_relative_seek(FX_FILE *file_ptr, ULONG64 byte_offset, UINT seek_from) in _fxe_file_extended_relative_seek() argument 104 status = _fx_file_extended_relative_seek(file_ptr, byte_offset, seek_from); in _fxe_file_extended_relative_seek()
|
D | fx_unicode_directory_entry_change.c | 88 ULONG byte_offset; in _fx_unicode_directory_entry_change() local 105 byte_offset = entry_ptr -> fx_dir_entry_byte_offset; in _fx_unicode_directory_entry_change() 219 byte_offset += FX_DIR_ENTRY_SIZE; in _fx_unicode_directory_entry_change() 227 if (byte_offset >= media_ptr -> fx_media_bytes_per_sector) in _fx_unicode_directory_entry_change() 348 byte_offset = 0; in _fx_unicode_directory_entry_change()
|
D | fx_directory_entry_write.c | 94 ULONG byte_offset; in _fx_directory_entry_write() local 136 byte_offset = entry_ptr -> fx_dir_entry_byte_offset; in _fx_directory_entry_write() 587 byte_offset += FX_DIR_ENTRY_SIZE; in _fx_directory_entry_write() 595 if (byte_offset >= media_ptr -> fx_media_bytes_per_sector) in _fx_directory_entry_write() 709 byte_offset = 0; in _fx_directory_entry_write() 816 byte_offset += FX_DIR_ENTRY_SIZE; in _fx_directory_entry_write() 824 if (byte_offset >= media_ptr -> fx_media_bytes_per_sector) in _fx_directory_entry_write() 938 byte_offset = 0; in _fx_directory_entry_write()
|
/FileX-v6.4.1/common/inc/ |
D | fx_file.h | 74 UINT _fx_file_relative_seek(FX_FILE *file_ptr, ULONG byte_offset, UINT seek_from); 80 UINT _fx_file_seek(FX_FILE *file_ptr, ULONG byte_offset); 92 UINT _fx_file_extended_relative_seek(FX_FILE *file_ptr, ULONG64 byte_offset, UINT seek_from); 93 UINT _fx_file_extended_seek(FX_FILE *file_ptr, ULONG64 byte_offset); 109 UINT _fxe_file_relative_seek(FX_FILE *file_ptr, ULONG byte_offset, UINT seek_from); 111 UINT _fxe_file_seek(FX_FILE *file_ptr, ULONG byte_offset); 118 UINT _fxe_file_extended_relative_seek(FX_FILE *file_ptr, ULONG64 byte_offset, UINT seek_from); 119 UINT _fxe_file_extended_seek(FX_FILE *file_ptr, ULONG64 byte_offset);
|
D | fx_api.h | 1439 UINT fx_file_relative_seek(FX_FILE *file_ptr, ULONG byte_offset, UINT seek_from); 1443 UINT fx_file_seek(FX_FILE *file_ptr, ULONG byte_offset); 1451 UINT fx_file_extended_relative_seek(FX_FILE *file_ptr, ULONG64 byte_offset, UINT seek_from); 1452 UINT fx_file_extended_seek(FX_FILE *file_ptr, ULONG64 byte_offset);
|