/FileX-v6.2.1/common/src/ |
D | fx_media_flush.c | 203 UCHAR *buffer_ptr; in _fx_media_flush() local 209 … buffer_ptr = (media_ptr -> fx_media_sector_cache_list_ptr) -> fx_cached_sector_memory_buffer; in _fx_media_flush() 215 buffer_ptr = media_ptr -> fx_media_memory_buffer; in _fx_media_flush() 221 media_ptr -> fx_media_driver_buffer = buffer_ptr; in _fx_media_flush() 233 …EAD, media_ptr, media_ptr -> fx_media_FAT32_additional_info_sector, 1, buffer_ptr, FX_TRACE_INTERN… in _fx_media_flush() 250 buffer_ptr = media_ptr -> fx_media_driver_buffer; in _fx_media_flush() 253 signature = _fx_utility_32_unsigned_read(&buffer_ptr[0]); in _fx_media_flush() 260 signature = _fx_utility_32_unsigned_read(&buffer_ptr[484]); in _fx_media_flush() 269 … _fx_utility_32_unsigned_write(&buffer_ptr[488], media_ptr -> fx_media_available_clusters); in _fx_media_flush() 272 … _fx_utility_32_unsigned_write(&buffer_ptr[492], media_ptr -> fx_media_cluster_search_start); in _fx_media_flush() [all …]
|
D | fx_media_close.c | 210 UCHAR *buffer_ptr; in _fx_media_close() local 216 … buffer_ptr = (media_ptr -> fx_media_sector_cache_list_ptr) -> fx_cached_sector_memory_buffer; in _fx_media_close() 222 buffer_ptr = media_ptr -> fx_media_memory_buffer; in _fx_media_close() 228 media_ptr -> fx_media_driver_buffer = buffer_ptr; in _fx_media_close() 240 …EAD, media_ptr, media_ptr -> fx_media_FAT32_additional_info_sector, 1, buffer_ptr, FX_TRACE_INTERN… in _fx_media_close() 260 buffer_ptr = media_ptr -> fx_media_driver_buffer; in _fx_media_close() 263 signature = _fx_utility_32_unsigned_read(&buffer_ptr[0]); in _fx_media_close() 270 signature = _fx_utility_32_unsigned_read(&buffer_ptr[484]); in _fx_media_close() 279 … _fx_utility_32_unsigned_write(&buffer_ptr[488], media_ptr -> fx_media_available_clusters); in _fx_media_close() 282 … _fx_utility_32_unsigned_write(&buffer_ptr[492], media_ptr -> fx_media_cluster_search_start); in _fx_media_close() [all …]
|
D | fx_utility_logical_sector_read.c | 105 VOID *buffer_ptr, ULONG sectors, UCHAR sector_type) in _fx_utility_logical_sector_read() argument 137 if ((((UCHAR *)buffer_ptr) >= media_ptr -> fx_media_memory_buffer) && in _fx_utility_logical_sector_read() 138 (((UCHAR *)buffer_ptr) <= media_ptr -> fx_media_sector_cache_end)) in _fx_utility_logical_sector_read() 346 …r == media_ptr -> fx_media_memory_buffer_sector) && (sectors == 1) && (buffer_ptr == media_ptr -> … in _fx_utility_logical_sector_read() 355 … status = _fx_fault_tolerant_read_directory_sector(media_ptr, logical_sector, buffer_ptr, 1); in _fx_utility_logical_sector_read() 394 …_fx_utility_memory_copy(media_ptr -> fx_media_memory_buffer, buffer_ptr, media_ptr -> fx_media_byt… in _fx_utility_logical_sector_read() 397 buffer_ptr = ((UCHAR *)buffer_ptr) + media_ptr -> fx_media_bytes_per_sector; in _fx_utility_logical_sector_read() 421 … ((UCHAR *)buffer_ptr) + ((sectors - 1) * media_ptr -> fx_media_bytes_per_sector), in _fx_utility_logical_sector_read() 450 media_ptr -> fx_media_driver_buffer = buffer_ptr; in _fx_utility_logical_sector_read() 468 …(FX_TRACE_INTERNAL_IO_DRIVER_READ, media_ptr, logical_sector, sectors, buffer_ptr, FX_TRACE_INTERN… in _fx_utility_logical_sector_read() [all …]
|
D | fx_utility_logical_sector_write.c | 96 VOID *buffer_ptr, ULONG sectors, UCHAR sector_type) in _fx_utility_logical_sector_write() argument 126 if ((((UCHAR *)buffer_ptr) >= media_ptr -> fx_media_memory_buffer) && in _fx_utility_logical_sector_write() 127 (((UCHAR *)buffer_ptr) <= media_ptr -> fx_media_sector_cache_end)) in _fx_utility_logical_sector_write() 190 !(cache_found && (cache_entry -> fx_cached_sector_memory_buffer == buffer_ptr))) in _fx_utility_logical_sector_write() 215 (cache_entry -> fx_cached_sector_memory_buffer == buffer_ptr)) in _fx_utility_logical_sector_write() 333 media_ptr -> fx_media_driver_buffer = buffer_ptr; in _fx_utility_logical_sector_write() 353 …FX_TRACE_INTERNAL_IO_DRIVER_WRITE, media_ptr, logical_sector, sectors, buffer_ptr, FX_TRACE_INTERN… in _fx_utility_logical_sector_write() 411 media_ptr -> fx_media_driver_buffer = buffer_ptr; in _fx_utility_logical_sector_write() 431 …FX_TRACE_INTERNAL_IO_DRIVER_WRITE, media_ptr, logical_sector, sectors, buffer_ptr, FX_TRACE_INTERN… in _fx_utility_logical_sector_write()
|
D | fxe_media_read.c | 74 UINT _fxe_media_read(FX_MEDIA *media_ptr, ULONG logical_sector, VOID *buffer_ptr) in _fxe_media_read() argument 81 if ((media_ptr == FX_NULL) || (buffer_ptr == FX_NULL)) in _fxe_media_read() 90 status = _fx_media_read(media_ptr, logical_sector, buffer_ptr); in _fxe_media_read()
|
D | fxe_file_write.c | 74 UINT _fxe_file_write(FX_FILE *file_ptr, VOID *buffer_ptr, ULONG size) in _fxe_file_write() argument 81 if ((file_ptr == FX_NULL) || (buffer_ptr == FX_NULL)) in _fxe_file_write() 90 status = _fx_file_write(file_ptr, buffer_ptr, size); in _fxe_file_write()
|
D | fxe_file_read.c | 76 UINT _fxe_file_read(FX_FILE *file_ptr, VOID *buffer_ptr, ULONG request_size, ULONG *actual_size) in _fxe_file_read() argument 83 if ((file_ptr == FX_NULL) || (buffer_ptr == FX_NULL) || (actual_size == FX_NULL)) in _fxe_file_read() 92 status = _fx_file_read(file_ptr, buffer_ptr, request_size, actual_size); in _fxe_file_read()
|
D | fx_media_read.c | 75 UINT _fx_media_read(FX_MEDIA *media_ptr, ULONG logical_sector, VOID *buffer_ptr) in _fx_media_read() argument 101 …FX_TRACE_IN_LINE_INSERT(FX_TRACE_MEDIA_READ, media_ptr, logical_sector, buffer_ptr, 0, FX_TRACE_ME… in _fx_media_read() 107 …status = _fx_utility_logical_sector_read(media_ptr, (ULONG64) logical_sector, buffer_ptr, ((ULONG… in _fx_media_read()
|
D | fx_media_write.c | 75 UINT _fx_media_write(FX_MEDIA *media_ptr, ULONG logical_sector, VOID *buffer_ptr) in _fx_media_write() argument 101 …FX_TRACE_IN_LINE_INSERT(FX_TRACE_MEDIA_WRITE, media_ptr, logical_sector, buffer_ptr, 0, FX_TRACE_M… in _fx_media_write() 118 …status = _fx_utility_logical_sector_write(media_ptr, (ULONG64) logical_sector, buffer_ptr, ((ULON… in _fx_media_write()
|
D | fxe_media_write.c | 75 UINT _fxe_media_write(FX_MEDIA *media_ptr, ULONG logical_sector, VOID *buffer_ptr) in _fxe_media_write() argument 91 status = _fx_media_write(media_ptr, logical_sector, buffer_ptr); in _fxe_media_write()
|
D | fx_media_open.c | 608 UCHAR *buffer_ptr; local 617 … buffer_ptr = (media_ptr -> fx_media_sector_cache_list_ptr) -> fx_cached_sector_memory_buffer; 623 buffer_ptr = media_ptr -> fx_media_memory_buffer; 630 media_ptr -> fx_media_driver_buffer = buffer_ptr; 642 …EAD, media_ptr, media_ptr -> fx_media_FAT32_additional_info_sector, 1, buffer_ptr, FX_TRACE_INTERN… 652 buffer_ptr = media_ptr -> fx_media_driver_buffer; 655 signature = _fx_utility_32_unsigned_read(&buffer_ptr[0]); 662 signature = _fx_utility_32_unsigned_read(&buffer_ptr[484]); 671 … media_ptr -> fx_media_available_clusters = _fx_utility_32_unsigned_read(&buffer_ptr[488]); 677 … media_ptr -> fx_media_cluster_search_start = _fx_utility_32_unsigned_read(&buffer_ptr[492]);
|
D | fx_fault_tolerant_read_directory_sector.c | 80 VOID *buffer_ptr, ULONG64 sectors) in _fx_fault_tolerant_read_directory_sector() argument 146 current_buffer_ptr = ((UCHAR *)buffer_ptr) + (log_sector - logical_sector) * in _fx_fault_tolerant_read_directory_sector()
|
D | fx_file_read.c | 83 UINT _fx_file_read(FX_FILE *file_ptr, VOID *buffer_ptr, ULONG request_size, ULONG *actual_size) in _fx_file_read() argument 120 …FX_TRACE_IN_LINE_INSERT(FX_TRACE_FILE_READ, file_ptr, buffer_ptr, request_size, 0, FX_TRACE_FILE_E… in _fx_file_read() 142 destination_ptr = (UCHAR *)buffer_ptr; in _fx_file_read()
|
D | fx_file_write.c | 94 UINT _fx_file_write(FX_FILE *file_ptr, VOID *buffer_ptr, ULONG size) in _fx_file_write() argument 172 …FX_TRACE_IN_LINE_INSERT(FX_TRACE_FILE_WRITE, file_ptr, buffer_ptr, size, 0, FX_TRACE_FILE_EVENTS, … in _fx_file_write() 854 source_ptr = (UCHAR *)buffer_ptr; in _fx_file_write()
|
/FileX-v6.2.1/common/inc/ |
D | fx_media.h | 67 UINT _fx_media_read(FX_MEDIA *media_ptr, ULONG logical_sector, VOID *buffer_ptr); 72 UINT _fx_media_write(FX_MEDIA *media_ptr, ULONG logical_sector, VOID *buffer_ptr); 90 UINT _fxe_media_read(FX_MEDIA *media_ptr, ULONG logical_sector, VOID *buffer_ptr); 95 UINT _fxe_media_write(FX_MEDIA *media_ptr, ULONG logical_sector, VOID *buffer_ptr);
|
D | fx_utility.h | 66 VOID *buffer_ptr, ULONG sectors, UCHAR sector_type); 68 VOID *buffer_ptr, ULONG sectors, UCHAR sector_type);
|
D | fx_file.h | 72 UINT _fx_file_read(FX_FILE *file_ptr, VOID *buffer_ptr, ULONG request_size, ULONG *actual_size); 88 UINT _fx_file_write(FX_FILE *file_ptr, VOID *buffer_ptr, ULONG size); 108 UINT _fxe_file_read(FX_FILE *file_ptr, VOID *buffer_ptr, ULONG request_size, ULONG *actual_size); 114 UINT _fxe_file_write(FX_FILE *file_ptr, VOID *buffer_ptr, ULONG size);
|
D | fx_fault_tolerant.h | 380 VOID *buffer_ptr, ULONG64 sectors);
|
D | fx_api.h | 1437 UINT fx_file_read(FX_FILE *file_ptr, VOID *buffer_ptr, ULONG request_size, ULONG *actual_size); 1447 UINT fx_file_write(FX_FILE *file_ptr, VOID *buffer_ptr, ULONG size); 1474 UINT fx_media_read(FX_MEDIA *media_ptr, ULONG logical_sector, VOID *buffer_ptr); 1479 UINT fx_media_write(FX_MEDIA *media_ptr, ULONG logical_sector, VOID *buffer_ptr);
|