Home
last modified time | relevance | path

Searched refs:buffer_ptr (Results 1 – 19 of 19) sorted by relevance

/FileX-v6.2.1/common/src/
Dfx_media_flush.c203 UCHAR *buffer_ptr; in _fx_media_flush() local
209buffer_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 …]
Dfx_media_close.c210 UCHAR *buffer_ptr; in _fx_media_close() local
216buffer_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 …]
Dfx_utility_logical_sector_read.c105 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 …]
Dfx_utility_logical_sector_write.c96 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()
Dfxe_media_read.c74 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()
Dfxe_file_write.c74 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()
Dfxe_file_read.c76 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()
Dfx_media_read.c75 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()
Dfx_media_write.c75 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()
Dfxe_media_write.c75 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()
Dfx_media_open.c608 UCHAR *buffer_ptr; local
617buffer_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]);
Dfx_fault_tolerant_read_directory_sector.c80 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()
Dfx_file_read.c83 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()
Dfx_file_write.c94 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/
Dfx_media.h67 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);
Dfx_utility.h66 VOID *buffer_ptr, ULONG sectors, UCHAR sector_type);
68 VOID *buffer_ptr, ULONG sectors, UCHAR sector_type);
Dfx_file.h72 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);
Dfx_fault_tolerant.h380 VOID *buffer_ptr, ULONG64 sectors);
Dfx_api.h1437 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);