/FileX-v6.2.1/common/inc/ |
D | fx_file.h | 60 #define _fx_file_allocate(f, s) _fx_file_extended_allocate(f, (ULONG64)s); 76 #define _fx_file_relative_seek(f, b, sf) _fx_file_extended_relative_seek(f, (ULONG64)b, sf); 84 #define _fx_file_seek(f, b) _fx_file_extended_seek(f, (ULONG64)b) 85 #define _fx_file_truncate(f, s) _fx_file_extended_truncate(f, (ULONG64)s); 86 #define _fx_file_truncate_release(f, s) _fx_file_extended_truncate_release(f, (ULONG64)s); 90 UINT _fx_file_extended_allocate(FX_FILE *file_ptr, ULONG64 size); 91 UINT _fx_file_extended_best_effort_allocate(FX_FILE *file_ptr, ULONG64 size, ULONG64 *actual_size_a… 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); 94 UINT _fx_file_extended_truncate(FX_FILE *file_ptr, ULONG64 size); [all …]
|
D | fx_utility.h | 59 ULONG64 _fx_utility_64_unsigned_read(UCHAR *source_ptr); 60 VOID _fx_utility_64_unsigned_write(UCHAR *dest_ptr, ULONG64 value); 64 …*_fx_utility_logical_sector_cache_entry_read(FX_MEDIA *media_ptr, ULONG64 logical_sector, FX_CACHE… 65 UINT _fx_utility_logical_sector_read(FX_MEDIA *media_ptr, ULONG64 logical_sector, 67 UINT _fx_utility_logical_sector_write(FX_MEDIA *media_ptr, ULONG64 logical_sector, 69 UINT _fx_utility_logical_sector_flush(FX_MEDIA *media_ptr, ULONG64 starting_sector, ULONG64 sect…
|
D | fx_api.h | 719 …ULONG64 fx_dir_entry_file_size; /* Size of the file in byt… 720 …ULONG64 fx_dir_entry_log_sector; /* Logical sector of this … 725 …ULONG64 fx_dir_entry_last_search_log_sector; /* Last logical sector sea… 727 ULONG64 fx_dir_entry_next_log_sector; 761 ULONG64 fx_cached_sector; 811 ULONG64 fx_media_memory_buffer_sector; 847 ULONG64 fx_media_total_sectors; 863 ULONG64 fx_media_hidden_sectors; 879 ULONG64 fx_media_driver_logical_sector; 1133 ULONG64 fx_file_current_logical_sector; [all …]
|
D | fx_fault_tolerant.h | 315 ULONG64 fx_fault_tolerant_dir_log_sector; 368 UINT _fx_fault_tolerant_add_dir_log(FX_MEDIA *media_ptr, ULONG64 logical_sector, ULONG offset, 379 UINT _fx_fault_tolerant_read_directory_sector(FX_MEDIA *media_ptr, ULONG64 logical_sector, 380 VOID *buffer_ptr, ULONG64 sectors);
|
/FileX-v6.2.1/common/src/ |
D | fx_utility_64_unsigned_read.c | 72 ULONG64 _fx_utility_64_unsigned_read(UCHAR *source_ptr) in _fx_utility_64_unsigned_read() 75 ULONG64 value; in _fx_utility_64_unsigned_read() 83 value = ((ULONG64)upper_portion) << 32; in _fx_utility_64_unsigned_read() 84 value |= (ULONG64)lower_portion; in _fx_utility_64_unsigned_read()
|
D | fx_file_extended_seek.c | 80 UINT _fx_file_extended_seek(FX_FILE *file_ptr, ULONG64 byte_offset) in _fx_file_extended_seek() 89 ULONG64 bytes_remaining; 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 …if ((ULONG64)file_ptr -> fx_file_current_relative_cluster * (ULONG64)bytes_per_cluster < byte_offs… in _fx_file_extended_seek() 244 if (byte_offset > (((ULONG64) bytes_per_cluster) * ((ULONG64) cluster_count))) in _fx_file_extended_seek() 273 … (((ULONG64)file_ptr -> fx_file_current_physical_cluster - FX_FAT_ENTRY_START) * in _fx_file_extended_seek() 285 … (((ULONG64)file_ptr -> fx_file_current_physical_cluster - FX_FAT_ENTRY_START) * in _fx_file_extended_seek()
|
D | fx_media_extended_space_available.c | 74 UINT _fx_media_extended_space_available(FX_MEDIA *media_ptr, ULONG64 *available_bytes_ptr) in _fx_media_extended_space_available() 77 ULONG64 available_bytes; in _fx_media_extended_space_available() 103 available_bytes = ((ULONG64)available_clusters) * ((ULONG64)bytes_per_cluster); in _fx_media_extended_space_available()
|
D | fx_file_extended_best_effort_allocate.c | 92 UINT _fx_file_extended_best_effort_allocate(FX_FILE *file_ptr, ULONG64 size, ULONG64 *actual_size_… in _fx_file_extended_best_effort_allocate() 233 …if (((file_ptr -> fx_file_current_available_size + (((ULONG64) clusters) * ((ULONG64) bytes_per_cl… in _fx_file_extended_best_effort_allocate() 234 …((file_ptr -> fx_file_current_available_size + (((ULONG64) clusters) * ((ULONG64) bytes_per_cluste… in _fx_file_extended_best_effort_allocate() 440 (((ULONG64)(FAT_index - FX_FAT_ENTRY_START)) * in _fx_file_extended_best_effort_allocate() 454 (((ULONG64)(file_ptr -> fx_file_first_physical_cluster - FX_FAT_ENTRY_START)) * in _fx_file_extended_best_effort_allocate() 493 *actual_size_allocated = ((ULONG64)clusters) * bytes_per_cluster; in _fx_file_extended_best_effort_allocate() 556 …status = _fx_utility_logical_sector_flush(media_ptr, ((ULONG64) 1), (ULONG64) (media_ptr -> fx_me… in _fx_file_extended_best_effort_allocate()
|
D | fx_fault_tolerant_write_log_file.c | 89 … status = _fx_utility_logical_sector_write(media_ptr, (ULONG64) (start_sector + relative_sector), in _fx_fault_tolerant_write_log_file() 103 …status = _fx_utility_logical_sector_flush(media_ptr, (ULONG64) start_sector, ((ULONG64) 1), FX_FA… in _fx_fault_tolerant_write_log_file()
|
D | fx_file_extended_allocate.c | 91 UINT _fx_file_extended_allocate(FX_FILE *file_ptr, ULONG64 size) in _fx_file_extended_allocate() 226 …if (((file_ptr -> fx_file_current_available_size + (((ULONG64) clusters) * ((ULONG64) bytes_per_cl… in _fx_file_extended_allocate() 227 …((file_ptr -> fx_file_current_available_size + (((ULONG64) clusters) * ((ULONG64) bytes_per_cluste… in _fx_file_extended_allocate() 408 (((ULONG64)(FAT_index - FX_FAT_ENTRY_START)) * in _fx_file_extended_allocate() 422 (((ULONG64)(file_ptr -> fx_file_first_physical_cluster - FX_FAT_ENTRY_START)) * in _fx_file_extended_allocate() 509 …status = _fx_utility_logical_sector_flush(media_ptr, ((ULONG64) 1), (ULONG64)(media_ptr -> fx_med… in _fx_file_extended_allocate()
|
D | fx_utility_FAT_map_flush.c | 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_fault_tolerant_apply_logs.c | 89 ULONG64 log_sector; in _fx_fault_tolerant_apply_logs() 192 … if (((ULONG64)copy_offset + (ULONG64)copy_size) > (ULONG64)(media_ptr -> fx_media_memory_size)) in _fx_fault_tolerant_apply_logs() 244 …status = _fx_utility_logical_sector_flush(media_ptr, 1, (ULONG64) media_ptr -> fx_media_total_sec… in _fx_fault_tolerant_apply_logs()
|
D | fx_unicode_directory_entry_change.c | 131 …status = _fx_utility_logical_sector_read(media_ptr, (ULONG64) entry_ptr -> fx_dir_entry_log_secto… in _fx_unicode_directory_entry_change() 234 …status = _fx_fault_tolerant_add_dir_log(media_ptr, (ULONG64) logical_sector, changed_offset, chang… in _fx_unicode_directory_entry_change() 240 status = _fx_utility_logical_sector_write(media_ptr, (ULONG64) logical_sector, in _fx_unicode_directory_entry_change() 258 _fx_utility_logical_sector_write(media_ptr, (ULONG64) logical_sector, in _fx_unicode_directory_entry_change() 333 status = _fx_utility_logical_sector_read(media_ptr, (ULONG64) logical_sector, in _fx_unicode_directory_entry_change() 374 …status = _fx_fault_tolerant_add_dir_log(media_ptr, (ULONG64) logical_sector, changed_offset, chang… in _fx_unicode_directory_entry_change() 381 status = _fx_utility_logical_sector_write(media_ptr, (ULONG64) logical_sector, in _fx_unicode_directory_entry_change()
|
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() 127 return(_fx_file_extended_seek(file_ptr, ((ULONG64) 0))); in _fx_file_extended_relative_seek() 152 return(_fx_file_extended_seek(file_ptr, ((ULONG64) 0))); in _fx_file_extended_relative_seek()
|
D | fxe_file_extended_best_effort_allocate.c | 76 UINT _fxe_file_extended_best_effort_allocate(FX_FILE *file_ptr, ULONG64 size, ULONG64 *actual_size… in _fxe_file_extended_best_effort_allocate()
|
D | fx_file_best_effort_allocate.c | 82 ULONG64 temp_actual_size_allocated; in _fx_file_best_effort_allocate() 85 …status = _fx_file_extended_best_effort_allocate(file_ptr, (ULONG64)size, &temp_actual_size_allocat… in _fx_file_best_effort_allocate()
|
D | fx_file_extended_truncate.c | 85 UINT _fx_file_extended_truncate(FX_FILE *file_ptr, ULONG64 size) in _fx_file_extended_truncate() 94 ULONG64 bytes_remaining; in _fx_file_extended_truncate() 270 if (size > (((ULONG64) bytes_per_cluster) * ((ULONG64) cluster_count))) in _fx_file_extended_truncate() 284 (((ULONG64)file_ptr -> fx_file_current_physical_cluster - FX_FAT_ENTRY_START) * in _fx_file_extended_truncate()
|
D | fx_fault_tolerant_read_directory_sector.c | 79 UINT _fx_fault_tolerant_read_directory_sector(FX_MEDIA *media_ptr, ULONG64 logical_sector, in _fx_fault_tolerant_read_directory_sector() 80 VOID *buffer_ptr, ULONG64 sectors) in _fx_fault_tolerant_read_directory_sector() 90 ULONG64 log_sector; in _fx_fault_tolerant_read_directory_sector()
|
D | fx_file_extended_truncate_release.c | 93 UINT _fx_file_extended_truncate_release(FX_FILE *file_ptr, ULONG64 size) in _fx_file_extended_truncate_release() 102 ULONG64 bytes_remaining; in _fx_file_extended_truncate_release() 332 if (size > (((ULONG64) bytes_per_cluster) * ((ULONG64) cluster_count))) in _fx_file_extended_truncate_release() 350 (((ULONG64)file_ptr -> fx_file_current_physical_cluster - FX_FAT_ENTRY_START) * in _fx_file_extended_truncate_release() 359 …(ULONG) (file_ptr -> fx_file_current_available_size + (((ULONG64) bytes_per_cluster) - ((ULONG64) … in _fx_file_extended_truncate_release() 688 if (size > (((ULONG64) bytes_per_cluster) * ((ULONG64) cluster_count))) in _fx_file_extended_truncate_release() 712 … (((ULONG64)search_ptr -> fx_file_current_physical_cluster - FX_FAT_ENTRY_START) * in _fx_file_extended_truncate_release()
|
D | fx_file_open.c | 99 ULONG64 bytes_available; in _fx_file_open() 100 ULONG64 bytes_remaining; in _fx_file_open() 427 bytes_available = ((ULONG64)media_ptr -> fx_media_bytes_per_sector) * in _fx_file_open() 428 ((ULONG64)media_ptr -> fx_media_sectors_per_cluster) * in _fx_file_open() 429 ((ULONG64)cluster_count); in _fx_file_open() 465 (((ULONG64)(file_ptr -> fx_file_first_physical_cluster - FX_FAT_ENTRY_START)) * in _fx_file_open() 482 (((ULONG64)file_ptr -> fx_file_current_physical_cluster - FX_FAT_ENTRY_START) * in _fx_file_open() 494 (((ULONG64)file_ptr -> fx_file_current_physical_cluster - FX_FAT_ENTRY_START) * in _fx_file_open()
|
D | fx_media_cache_invalidate.c | 125 …status = _fx_utility_logical_sector_flush(media_ptr, ((ULONG64) 1), (ULONG64) (media_ptr -> fx_me… in _fx_media_cache_invalidate()
|
D | fx_utility_logical_sector_flush.c | 83 UINT _fx_utility_logical_sector_flush(FX_MEDIA *media_ptr, ULONG64 starting_sector, ULONG64 sector… in _fx_utility_logical_sector_flush() 93 ULONG64 ending_sector; in _fx_utility_logical_sector_flush() 225 cache_entry -> fx_cached_sector = (~(ULONG64)0); in _fx_utility_logical_sector_flush() 427 cache_entry -> fx_cached_sector = (~(ULONG64)0); in _fx_utility_logical_sector_flush()
|
D | fx_utility_FAT_entry_read.c | 245 status = _fx_utility_logical_sector_read(media_ptr, (ULONG64) 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() 316 status = _fx_utility_logical_sector_read(media_ptr, (ULONG64) FAT_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() 396 status = _fx_utility_logical_sector_read(media_ptr, (ULONG64) FAT_sector, in _fx_utility_FAT_entry_read()
|
D | fx_utility_FAT_flush.c | 134 status = _fx_utility_logical_sector_read(media_ptr, (ULONG64) FAT_sector, in _fx_utility_FAT_flush() 283 status = _fx_utility_logical_sector_write(media_ptr, (ULONG64) FAT_sector, in _fx_utility_FAT_flush() 344 status = _fx_utility_logical_sector_read(media_ptr, (ULONG64) FAT_sector, in _fx_utility_FAT_flush() 405 status = _fx_utility_logical_sector_write(media_ptr, (ULONG64) FAT_sector, in _fx_utility_FAT_flush() 443 status = _fx_utility_logical_sector_read(media_ptr, (ULONG64) FAT_sector, in _fx_utility_FAT_flush() 504 status = _fx_utility_logical_sector_write(media_ptr, (ULONG64) FAT_sector, in _fx_utility_FAT_flush()
|
D | fx_directory_next_entry_find.c | 90 ULONG64 directory_size; in _fx_directory_next_entry_find() 247 directory_size = (((ULONG64)media_ptr -> fx_media_bytes_per_sector) * in _fx_directory_next_entry_find() 248 ((ULONG64)media_ptr -> fx_media_sectors_per_cluster) * i) / in _fx_directory_next_entry_find() 249 (ULONG64)FX_DIR_ENTRY_SIZE; in _fx_directory_next_entry_find()
|