Home
last modified time | relevance | path

Searched refs:copy_offset (Results 1 – 3 of 3) sorted by relevance

/FileX-v6.2.1/common/src/
Dfx_fault_tolerant_read_directory_sector.c83 ULONG copy_offset; in _fx_fault_tolerant_read_directory_sector() local
150copy_offset = _fx_utility_32_unsigned_read((UCHAR *)&dir_log -> fx_fault_tolerant_dir_log_offset); in _fx_fault_tolerant_read_directory_sector()
154 if ((copy_offset + copy_size) > media_ptr -> fx_media_bytes_per_sector) in _fx_fault_tolerant_read_directory_sector()
160 memcpy(current_buffer_ptr + copy_offset, /* Use case of memcpy is verified. */ in _fx_fault_tolerant_read_directory_sector()
Dfx_fault_tolerant_apply_logs.c92 ULONG copy_offset; in _fx_fault_tolerant_apply_logs() local
187copy_offset = _fx_utility_32_unsigned_read((UCHAR *)&dir_log -> fx_fault_tolerant_dir_log_offset); 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()
198 … memcpy(media_ptr -> fx_media_memory_buffer + copy_offset, /* Use case of memcpy is verified. */ in _fx_fault_tolerant_apply_logs()
/FileX-v6.2.1/test/regression_test/
Dfilex_fault_tolerant_corrupted_log_file_test.c6copy_offset and copy_size against media_ptr -> fx_media_memory_size may be bypassed by using a …
7 …l with the possibility to manipulate both the destination address with copy_offset and amount of c…
9 with copy_offset set to 1 the result of sum of copy_size and copy_offset will be 0 and will result …
26copy_offset = _fx_utility_32_unsigned_read((UCHAR *)&dir_log -> fx_fault_tolerant_dir_log_o…
28 if ((copy_offset + copy_size) > media_ptr -> fx_media_memory_size)
33 … memcpy(media_ptr -> fx_media_memory_buffer + copy_offset, /* Use case of memcpy is verified. */