Home
last modified time | relevance | path

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

/FileX-v6.2.1/common/src/
Dfx_fault_tolerant_read_directory_sector.c84 ULONG copy_size; in _fx_fault_tolerant_read_directory_sector() local
152 copy_size = log_len - FX_FAULT_TOLERANT_DIR_LOG_ENTRY_SIZE; 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()
161 current_ptr + FX_FAULT_TOLERANT_DIR_LOG_ENTRY_SIZE, copy_size); in _fx_fault_tolerant_read_directory_sector()
Dfx_fault_tolerant_apply_logs.c91 ULONG copy_size; in _fx_fault_tolerant_apply_logs() local
190 copy_size = log_len - FX_FAULT_TOLERANT_DIR_LOG_ENTRY_SIZE; 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()
199 current_ptr + FX_FAULT_TOLERANT_DIR_LOG_ENTRY_SIZE, copy_size); in _fx_fault_tolerant_apply_logs()
/FileX-v6.2.1/test/regression_test/
Dfilex_fault_tolerant_corrupted_log_file_test.c5 … log entries (remaining_logs), entry type (log_type), length (log_len), copy_size etc. Certain com…
6copy_size against media_ptr -> fx_media_memory_size may be bypassed by using a value of log_len…
7 … manipulate both the destination address with copy_offset and amount of copied data with copy_size.
8 For example with log_len set to 15 copy_size will have the value of 4294967295 due to integer under…
9 with copy_offset set to 1 the result of sum of copy_size and copy_offset will be 0 and will result …
27 copy_size = log_len - FX_FAULT_TOLERANT_DIR_LOG_ENTRY_SIZE;
28 if ((copy_offset + copy_size) > media_ptr -> fx_media_memory_size)
34 current_ptr + FX_FAULT_TOLERANT_DIR_LOG_ENTRY_SIZE, copy_size);