Home
last modified time | relevance | path

Searched refs:fx_media_memory_buffer (Results 1 – 25 of 28) sorted by relevance

12

/FileX-v6.2.1/test/regression_test/
Dfilex_media_read_write_sector_test.c198 …_utility_logical_sector_read(&ram_disk, logical_sector, ram_disk.fx_media_memory_buffer, 1, FX_DAT… in ftest_0_entry()
203 …utility_logical_sector_write(&ram_disk, logical_sector, ram_disk.fx_media_memory_buffer, 1, FX_DAT… in ftest_0_entry()
208 …utility_logical_sector_write(&ram_disk, logical_sector, ram_disk.fx_media_memory_buffer, 1, FX_DAT… in ftest_0_entry()
213 …utility_logical_sector_write(&ram_disk, logical_sector, ram_disk.fx_media_memory_buffer, 4, FX_DAT… in ftest_0_entry()
232 …status = _fx_utility_logical_sector_write(&ram_disk, 6900, ram_disk.fx_media_memory_buffer, 1, FX… in ftest_0_entry()
240 …_utility_logical_sector_read(&ram_disk, logical_sector, ram_disk.fx_media_memory_buffer, 1, FX_DIR… in ftest_0_entry()
244 …utility_logical_sector_write(&ram_disk, logical_sector, ram_disk.fx_media_memory_buffer, 1, FX_DAT… in ftest_0_entry()
249 …utility_logical_sector_write(&ram_disk, logical_sector, ram_disk.fx_media_memory_buffer, 1, FX_DIR… in ftest_0_entry()
287 …_utility_logical_sector_read(&ram_disk, logical_sector, ram_disk.fx_media_memory_buffer, 1, FX_DIR… in ftest_0_entry()
291 …utility_logical_sector_write(&ram_disk, logical_sector, ram_disk.fx_media_memory_buffer, 1, FX_DAT… in ftest_0_entry()
[all …]
Dfilex_unicode_directory_entry_test.c187 *ram_disk.fx_media_memory_buffer |= 0x1f; in ftest_0_entry()
238 ram_disk.fx_media_memory_buffer[32] |= 0x1f; in ftest_0_entry()
Dfilex_fault_tolerant_corrupted_log_file_test.c18 media_ptr -> fx_media_memory_buffer,
33 … memcpy(media_ptr -> fx_media_memory_buffer + copy_offset, /* Use case of memcpy is verified. */
Dfilex_file_write_available_cluster_test.c320 ram_disk.fx_media_memory_buffer = test_buffer; in ftest_0_entry()
/FileX-v6.2.1/common/src/
Dfx_media_volume_set.c115 … media_ptr -> fx_media_memory_buffer, ((ULONG) 1), FX_DATA_SECTOR); in _fx_media_volume_set()
137 media_ptr -> fx_media_driver_buffer = media_ptr -> fx_media_memory_buffer; in _fx_media_volume_set()
142 …T(FX_TRACE_INTERNAL_IO_DRIVER_BOOT_READ, media_ptr, media_ptr -> fx_media_memory_buffer, 0, 0, FX_… in _fx_media_volume_set()
195 media_ptr -> fx_media_memory_buffer[offset + i] = (UCHAR)alpha; in _fx_media_volume_set()
203 media_ptr -> fx_media_memory_buffer[offset + i] = 0x20; in _fx_media_volume_set()
215 media_ptr -> fx_media_driver_buffer = media_ptr -> fx_media_memory_buffer; in _fx_media_volume_set()
223 …(FX_TRACE_INTERNAL_IO_DRIVER_BOOT_WRITE, media_ptr, media_ptr -> fx_media_memory_buffer, 0, 0, FX_… in _fx_media_volume_set()
332 … media_ptr -> fx_media_memory_buffer, ((ULONG) 1), FX_BOOT_SECTOR); in _fx_media_volume_set()
346 work_ptr = media_ptr -> fx_media_memory_buffer + in _fx_media_volume_set()
402 … media_ptr -> fx_media_memory_buffer, ((ULONG) 1), FX_DIRECTORY_SECTOR); in _fx_media_volume_set()
Dfx_media_volume_get_extended.c161 … media_ptr -> fx_media_memory_buffer, ((ULONG) 1), FX_DIRECTORY_SECTOR); in _fx_media_volume_get_extended()
183 if (media_ptr -> fx_media_memory_buffer[offset + (UINT)j] != (UCHAR)' ') in _fx_media_volume_get_extended()
210 volume_name[j] = (CHAR)media_ptr -> fx_media_memory_buffer[offset + (UINT)j]; in _fx_media_volume_get_extended()
224 … media_ptr -> fx_media_memory_buffer, ((ULONG) 1), FX_DATA_SECTOR); in _fx_media_volume_get_extended()
246 media_ptr -> fx_media_driver_buffer = media_ptr -> fx_media_memory_buffer; in _fx_media_volume_get_extended()
251 …T(FX_TRACE_INTERNAL_IO_DRIVER_BOOT_READ, media_ptr, media_ptr -> fx_media_memory_buffer, 0, 0, FX_… in _fx_media_volume_get_extended()
286 if (media_ptr -> fx_media_memory_buffer[offset + (UINT)j] != (UCHAR)' ') in _fx_media_volume_get_extended()
313 volume_name[j] = (CHAR)media_ptr -> fx_media_memory_buffer[offset + (UINT)j]; in _fx_media_volume_get_extended()
Dfx_utility_FAT_entry_read.c246 … media_ptr -> fx_media_memory_buffer, ((ULONG) 1), FX_FAT_SECTOR); 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()
282 … media_ptr -> fx_media_memory_buffer, ((ULONG) 1), FX_FAT_SECTOR); in _fx_utility_FAT_entry_read()
293 FAT_ptr = (UCHAR *)media_ptr -> fx_media_memory_buffer; in _fx_utility_FAT_entry_read()
317 … media_ptr -> fx_media_memory_buffer, ((ULONG) 1), FX_FAT_SECTOR); in _fx_utility_FAT_entry_read()
326 FAT_ptr = (UCHAR *)media_ptr -> fx_media_memory_buffer; in _fx_utility_FAT_entry_read()
359 … media_ptr -> fx_media_memory_buffer, ((ULONG) 1), FX_FAT_SECTOR); in _fx_utility_FAT_entry_read()
375 FAT_ptr = (UCHAR *)media_ptr -> fx_media_memory_buffer + (UINT)byte_offset; in _fx_utility_FAT_entry_read()
397 … media_ptr -> fx_media_memory_buffer, ((ULONG) 1), FX_FAT_SECTOR); in _fx_utility_FAT_entry_read()
408 FAT_ptr = (UCHAR *)media_ptr -> fx_media_memory_buffer + (ULONG)byte_offset; in _fx_utility_FAT_entry_read()
Dfx_utility_FAT_flush.c135 … media_ptr -> fx_media_memory_buffer, ((ULONG) 1), FX_FAT_SECTOR); in _fx_utility_FAT_flush()
153 FAT_ptr = (UCHAR *)media_ptr -> fx_media_memory_buffer; in _fx_utility_FAT_flush()
226 FAT_ptr = (UCHAR *)media_ptr -> fx_media_memory_buffer + (UINT)byte_offset; in _fx_utility_FAT_flush()
284 … media_ptr -> fx_media_memory_buffer, ((ULONG) 1), FX_FAT_SECTOR); in _fx_utility_FAT_flush()
345 … media_ptr -> fx_media_memory_buffer, ((ULONG) 1), FX_FAT_SECTOR); in _fx_utility_FAT_flush()
392 FAT_ptr = (UCHAR *)media_ptr -> fx_media_memory_buffer + (UINT)byte_offset; in _fx_utility_FAT_flush()
406 … media_ptr -> fx_media_memory_buffer, ((ULONG) 1), FX_FAT_SECTOR); in _fx_utility_FAT_flush()
444 … media_ptr -> fx_media_memory_buffer, ((ULONG) 1), FX_FAT_SECTOR); in _fx_utility_FAT_flush()
491 FAT_ptr = (UCHAR *)media_ptr -> fx_media_memory_buffer + (UINT)byte_offset; in _fx_utility_FAT_flush()
505 … media_ptr -> fx_media_memory_buffer, ((ULONG) 1), FX_FAT_SECTOR); in _fx_utility_FAT_flush()
Dfx_fault_tolerant_apply_logs.c176 media_ptr -> fx_media_memory_buffer, in _fx_fault_tolerant_apply_logs()
198 … memcpy(media_ptr -> fx_media_memory_buffer + copy_offset, /* Use case of memcpy is verified. */ in _fx_fault_tolerant_apply_logs()
205 media_ptr -> fx_media_memory_buffer, in _fx_fault_tolerant_apply_logs()
Dfx_utility_logical_sector_read.c137 if ((((UCHAR *)buffer_ptr) >= media_ptr -> fx_media_memory_buffer) && in _fx_utility_logical_sector_read()
340 media_ptr -> fx_media_memory_buffer = cache_entry -> fx_cached_sector_memory_buffer; in _fx_utility_logical_sector_read()
346 …dia_memory_buffer_sector) && (sectors == 1) && (buffer_ptr == media_ptr -> fx_media_memory_buffer)) 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()
420 … _fx_utility_memory_copy(media_ptr -> fx_media_memory_buffer, /* Use case of memcpy is verified. */ in _fx_utility_logical_sector_read()
477 …ver_status == FX_SUCCESS) && (sectors == 1) && (buffer_ptr == media_ptr -> fx_media_memory_buffer)) in _fx_utility_logical_sector_read()
Dfx_unicode_directory_entry_change.c132 … media_ptr -> fx_media_memory_buffer, ((ULONG) 1), FX_DIRECTORY_SECTOR); in _fx_unicode_directory_entry_change()
143 sector_base_ptr = (UCHAR *)media_ptr -> fx_media_memory_buffer; in _fx_unicode_directory_entry_change()
334 … media_ptr -> fx_media_memory_buffer, ((ULONG) 1), FX_DIRECTORY_SECTOR); in _fx_unicode_directory_entry_change()
345 sector_base_ptr = media_ptr -> fx_media_memory_buffer; in _fx_unicode_directory_entry_change()
Dfx_utility_FAT_map_flush.c125 … media_ptr -> fx_media_memory_buffer, ((ULONG) 1), FX_FAT_SECTOR); in _fx_utility_FAT_map_flush()
144 … media_ptr -> fx_media_memory_buffer, ((ULONG) 1), FX_FAT_SECTOR); in _fx_utility_FAT_map_flush()
Dfx_file_read.c171 … media_ptr -> fx_media_memory_buffer, ((ULONG) 1), FX_DATA_SECTOR); in _fx_file_read()
198 …_fx_utility_memory_copy(((UCHAR *)media_ptr -> fx_media_memory_buffer) + /* Use case of memcpy is … in _fx_file_read()
271 … media_ptr -> fx_media_memory_buffer, ((ULONG) 1), FX_DATA_SECTOR); in _fx_file_read()
285 …_fx_utility_memory_copy((UCHAR *)media_ptr -> fx_media_memory_buffer, destination_ptr, media_ptr -… in _fx_file_read()
Dfx_fault_tolerant_enable.c153 …media_ptr -> fx_media_memory_buffer = media_ptr -> fx_media_sector_cache[0].fx_cached_sector_memor…
193 media_ptr -> fx_media_driver_buffer = media_ptr -> fx_media_memory_buffer;
199 …IVER_READ, media_ptr, FAT_sector, FAT_read_sectors, media_ptr -> fx_media_memory_buffer, FX_TRACE_…
223 FAT_entry = *((ULONG *)&(media_ptr -> fx_media_memory_buffer[j]));
Dfx_media_open.c179 media_ptr -> fx_media_memory_buffer = (UCHAR *)memory_ptr;
441 media_ptr -> fx_media_memory_buffer = memory_ptr;
623 buffer_ptr = media_ptr -> fx_media_memory_buffer;
780 media_ptr -> fx_media_memory_buffer = original_memory_ptr;
814 media_ptr -> fx_media_driver_buffer = media_ptr -> fx_media_memory_buffer;
820 …IVER_READ, media_ptr, FAT_sector, FAT_read_sectors, media_ptr -> fx_media_memory_buffer, FX_TRACE_…
855 FAT_entry = *((ULONG *)&(media_ptr -> fx_media_memory_buffer[j]));
864 FAT_entry = (((ULONG)(media_ptr -> fx_media_memory_buffer[j])) & 0xFF) |
865 ((((ULONG)(media_ptr -> fx_media_memory_buffer[j + 1])) & 0xFF) << 8);
Dfx_directory_create.c389 … media_ptr -> fx_media_memory_buffer, ((ULONG) 1), FX_DIRECTORY_SECTOR); in _fx_directory_create()
407 work_ptr = (CHAR *)media_ptr -> fx_media_memory_buffer; in _fx_directory_create()
428 … media_ptr -> fx_media_memory_buffer, (ULONG)1, FX_DIRECTORY_SECTOR); in _fx_directory_create()
505 media_ptr -> fx_media_driver_buffer = media_ptr -> fx_media_memory_buffer; in _fx_directory_create()
518 …ptr, ((ULONG)logical_sector) + ((ULONG)sectors), 1, media_ptr -> fx_media_memory_buffer, FX_TRACE_… in _fx_directory_create()
Dfx_utility_logical_sector_cache_entry_read.c119 media_ptr -> fx_media_memory_buffer = cache_entry -> fx_cached_sector_memory_buffer; in _fx_utility_logical_sector_cache_entry_read()
134 … media_ptr -> fx_media_memory_buffer = (cache_entry + 1) -> fx_cached_sector_memory_buffer; in _fx_utility_logical_sector_cache_entry_read()
170 … media_ptr -> fx_media_memory_buffer = (cache_entry + 2) -> fx_cached_sector_memory_buffer; in _fx_utility_logical_sector_cache_entry_read()
211 … media_ptr -> fx_media_memory_buffer = (cache_entry + 3) -> fx_cached_sector_memory_buffer; in _fx_utility_logical_sector_cache_entry_read()
308 … media_ptr -> fx_media_memory_buffer = cache_entry -> fx_cached_sector_memory_buffer; in _fx_utility_logical_sector_cache_entry_read()
Dfx_file_write.c877 … media_ptr -> fx_media_memory_buffer, ((ULONG) 1), FX_DATA_SECTOR); in _fx_file_write()
897 … media_ptr -> fx_media_memory_buffer, ((ULONG) 1), FX_DATA_SECTOR); in _fx_file_write()
939 … media_ptr -> fx_media_memory_buffer, (ULONG)1, FX_DATA_SECTOR); in _fx_file_write()
950 … media_ptr -> fx_media_memory_buffer, (ULONG)1, FX_DATA_SECTOR); in _fx_file_write()
958 … media_ptr -> fx_media_memory_buffer, ((ULONG) 1), FX_DATA_SECTOR); in _fx_file_write()
966 … media_ptr -> fx_media_memory_buffer, ((ULONG) 1), FX_DATA_SECTOR); in _fx_file_write()
997 …_fx_utility_memory_copy(source_ptr, ((UCHAR *)media_ptr -> fx_media_memory_buffer) + /* Use case … in _fx_file_write()
1003 … media_ptr -> fx_media_memory_buffer, ((ULONG) 1), FX_DATA_SECTOR); in _fx_file_write()
1237 … media_ptr -> fx_media_memory_buffer, ((ULONG) 1), FX_DATA_SECTOR); in _fx_file_write()
1257 … media_ptr -> fx_media_memory_buffer, ((ULONG) 1), FX_DATA_SECTOR); in _fx_file_write()
Dfx_unicode_directory_entry_read.c219 … media_ptr -> fx_media_memory_buffer, ((ULONG) 1), FX_DIRECTORY_SECTOR); in _fx_unicode_directory_entry_read()
243 … media_ptr -> fx_media_memory_buffer, ((ULONG) 1), FX_DIRECTORY_SECTOR); 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()
505 … media_ptr -> fx_media_memory_buffer, ((ULONG) 1), FX_DIRECTORY_SECTOR); in _fx_unicode_directory_entry_read()
524 read_ptr = (UCHAR *)media_ptr -> fx_media_memory_buffer + (UINT)byte_offset; in _fx_unicode_directory_entry_read()
Dfx_directory_free_search.c519 … media_ptr -> fx_media_memory_buffer, ((ULONG) 1), FX_DIRECTORY_SECTOR); in _fx_directory_free_search()
530 work_ptr = (UCHAR *)media_ptr -> fx_media_memory_buffer; in _fx_directory_free_search()
547 … media_ptr -> fx_media_memory_buffer, ((ULONG) 1), FX_DIRECTORY_SECTOR); in _fx_directory_free_search()
590 … media_ptr -> fx_media_driver_buffer = media_ptr -> fx_media_memory_buffer; in _fx_directory_free_search()
599 …ptr, ((ULONG)logical_sector) + ((ULONG)sectors), 1, media_ptr -> fx_media_memory_buffer, FX_TRACE_… in _fx_directory_free_search()
Dfx_directory_entry_read.c226 … media_ptr -> fx_media_memory_buffer, ((ULONG) 1), FX_DIRECTORY_SECTOR); in _fx_directory_entry_read()
250 … media_ptr -> fx_media_memory_buffer, ((ULONG) 1), FX_DIRECTORY_SECTOR); in _fx_directory_entry_read()
271 read_ptr = (UCHAR *)media_ptr -> fx_media_memory_buffer + (UINT)byte_offset; in _fx_directory_entry_read()
480 … media_ptr -> fx_media_memory_buffer, ((ULONG) 1), FX_DIRECTORY_SECTOR); in _fx_directory_entry_read()
499 read_ptr = (UCHAR *)media_ptr -> fx_media_memory_buffer + (UINT) byte_offset; in _fx_directory_entry_read()
Dfx_directory_entry_write.c163 … media_ptr -> fx_media_memory_buffer, ((ULONG) 1), FX_DIRECTORY_SECTOR); in _fx_directory_entry_write()
174 sector_base_ptr = (UCHAR *)media_ptr -> fx_media_memory_buffer; in _fx_directory_entry_write()
695 … media_ptr -> fx_media_memory_buffer, ((ULONG) 1), FX_DIRECTORY_SECTOR); in _fx_directory_entry_write()
706 sector_base_ptr = media_ptr -> fx_media_memory_buffer; in _fx_directory_entry_write()
924 … media_ptr -> fx_media_memory_buffer, ((ULONG) 1), FX_DIRECTORY_SECTOR); in _fx_directory_entry_write()
935 sector_base_ptr = media_ptr -> fx_media_memory_buffer; in _fx_directory_entry_write()
Dfx_media_flush.c215 buffer_ptr = media_ptr -> fx_media_memory_buffer; in _fx_media_flush()
Dfx_media_close.c222 buffer_ptr = media_ptr -> fx_media_memory_buffer; in _fx_media_close()
Dfx_utility_logical_sector_write.c126 if ((((UCHAR *)buffer_ptr) >= media_ptr -> fx_media_memory_buffer) && in _fx_utility_logical_sector_write()

12