Searched refs:source_buffer (Results 1 – 5 of 5) sorted by relevance
/FileX-v6.4.1/common/src/ |
D | fx_ram_driver.c | 115 UCHAR *source_buffer; in _fx_ram_driver() local 209 source_buffer = ((UCHAR *)media_ptr -> fx_media_driver_info) + in _fx_ram_driver() 215 _fx_utility_memory_copy(source_buffer, media_ptr -> fx_media_driver_buffer, in _fx_ram_driver() 307 source_buffer = (UCHAR *)media_ptr -> fx_media_driver_info; in _fx_ram_driver() 310 if ((source_buffer[0] != (UCHAR)0xEB) || in _fx_ram_driver() 311 ((source_buffer[1] != (UCHAR)0x34) && in _fx_ram_driver() 312 (source_buffer[1] != (UCHAR)0x76)) || in _fx_ram_driver() 313 (source_buffer[2] != (UCHAR)0x90)) in _fx_ram_driver() 322 bytes_per_sector = _fx_utility_16_unsigned_read(&source_buffer[FX_BYTES_SECTOR]); in _fx_ram_driver() 333 _fx_utility_memory_copy(source_buffer, media_ptr -> fx_media_driver_buffer, in _fx_ram_driver()
|
/FileX-v6.4.1/test/regression_test/ |
D | fx_ram_driver_test.c | 202 UCHAR *source_buffer; in _fx_ram_driver() local 315 source_buffer = ((UCHAR *) media_ptr -> fx_media_driver_info) + in _fx_ram_driver() 319 _fx_utility_memory_copy(source_buffer, media_ptr -> fx_media_driver_buffer, in _fx_ram_driver() 388 source_buffer = media_ptr -> fx_media_driver_buffer; in _fx_ram_driver() 445 _fx_utility_memory_copy(source_buffer, buffer + offset, bytes_per_write); in _fx_ram_driver() 475 source_buffer += bytes_per_write; in _fx_ram_driver() 564 source_buffer = (UCHAR *) media_ptr -> fx_media_driver_info; in _fx_ram_driver() 567 if ((source_buffer[0] != (UCHAR) 0xEB) || in _fx_ram_driver() 568 ((source_buffer[1] != (UCHAR) 0x34) && in _fx_ram_driver() 569 (source_buffer[1] != (UCHAR) 0x76)) || in _fx_ram_driver() [all …]
|
D | filex_fault_tolerant_enable_2_test.c | 104 UCHAR *source_buffer; in ftest_0_entry() local 150 …source_buffer = fault_tolerant_buffer + FX_FAULT_TOLERANT_LOG_CONTENT_OFFSET + FX_FAULT_TOLERANT_L… in ftest_0_entry() 151 log_length = (USHORT)_fx_utility_16_unsigned_read( source_buffer + 2); in ftest_0_entry() 152 _fx_utility_16_unsigned_write( source_buffer + 2, 0xffff); in ftest_0_entry() 242 …source_buffer = fault_tolerant_buffer + FX_FAULT_TOLERANT_LOG_CONTENT_OFFSET + FX_FAULT_TOLERANT_L… in ftest_0_entry() 245 log_length = (USHORT)_fx_utility_16_unsigned_read( source_buffer + 2); in ftest_0_entry() 246 _fx_utility_16_unsigned_write( source_buffer + 2, 0xffff); in ftest_0_entry() 251 _fx_utility_16_unsigned_write( source_buffer + 2, log_length); in ftest_0_entry() 256 …source_buffer = fault_tolerant_buffer + FX_FAULT_TOLERANT_LOG_CONTENT_OFFSET + FX_FAULT_TOLERANT_L… in ftest_0_entry() 259 _fx_utility_16_unsigned_write( source_buffer, 0xffff); in ftest_0_entry() [all …]
|
D | filex_media_hidden_sectors_test.c | 218 UCHAR *source_buffer; in hidden_sectors_driver() local 230 source_buffer = (UCHAR *) media_ptr -> fx_media_driver_info; in hidden_sectors_driver() 231 source_buffer += SECTOR_SIZE * HIDDEN_SECTORS; in hidden_sectors_driver() 234 if ((source_buffer[0] != (UCHAR) 0xEB) || in hidden_sectors_driver() 235 ((source_buffer[1] != (UCHAR) 0x34) && in hidden_sectors_driver() 236 (source_buffer[1] != (UCHAR) 0x76)) || in hidden_sectors_driver() 237 (source_buffer[2] != (UCHAR) 0x90)) in hidden_sectors_driver() 246 bytes_per_sector = _fx_utility_16_unsigned_read(&source_buffer[FX_BYTES_SECTOR]); in hidden_sectors_driver() 252 … _fx_utility_memory_copy(source_buffer, media_ptr -> fx_media_driver_buffer, bytes_per_sector); in hidden_sectors_driver()
|
D | filex_fault_tolerant_enable_test.c | 108 UCHAR *source_buffer; in ftest_0_entry() local 183 source_buffer = ((UCHAR *) ram_disk.fx_media_driver_info); in ftest_0_entry() 186 _fx_utility_memory_copy(source_buffer, buffer, ram_disk.fx_media_bytes_per_sector); in ftest_0_entry() 247 source_buffer = ((UCHAR *) ram_disk.fx_media_driver_info); in ftest_0_entry() 250 _fx_utility_memory_copy(source_buffer, buffer, ram_disk.fx_media_bytes_per_sector); in ftest_0_entry() 257 …source_buffer = ((UCHAR *) ram_disk.fx_media_driver_info) + ((ram_disk.fx_media_reserved_sectors +… in ftest_0_entry() 281 …source_buffer = ((UCHAR *) ram_disk.fx_media_driver_info) + ((start_sector + ram_disk.fx_media_hi… in ftest_0_entry() 284 …_fx_utility_memory_copy(source_buffer, buffer, 1 * ram_disk.fx_media_sectors_per_cluster * ram_dis… in ftest_0_entry()
|