Home
last modified time | relevance | path

Searched refs:log_len (Results 1 – 4 of 4) sorted by relevance

/FileX-v6.4.1/common/src/
Dfx_fault_tolerant_read_directory_sector.c89 ULONG log_len; in _fx_fault_tolerant_read_directory_sector() local
120 log_len = _fx_utility_16_unsigned_read(current_ptr + 2); in _fx_fault_tolerant_read_directory_sector()
123 if (log_len > size) in _fx_fault_tolerant_read_directory_sector()
129 size -= log_len; in _fx_fault_tolerant_read_directory_sector()
152 copy_size = log_len - FX_FAULT_TOLERANT_DIR_LOG_ENTRY_SIZE; in _fx_fault_tolerant_read_directory_sector()
169 current_ptr += log_len; in _fx_fault_tolerant_read_directory_sector()
Dfx_fault_tolerant_read_FAT.c85 ULONG log_len; in _fx_fault_tolerant_read_FAT() local
116 log_len = _fx_utility_16_unsigned_read(current_ptr + 2); in _fx_fault_tolerant_read_FAT()
119 if (log_len > size) in _fx_fault_tolerant_read_FAT()
125 size -= log_len; in _fx_fault_tolerant_read_FAT()
151 current_ptr += log_len; in _fx_fault_tolerant_read_FAT()
Dfx_fault_tolerant_apply_logs.c96 ULONG log_len; in _fx_fault_tolerant_apply_logs() local
131 log_len = _fx_utility_16_unsigned_read(current_ptr + 2); in _fx_fault_tolerant_apply_logs()
135 if (log_len > size) in _fx_fault_tolerant_apply_logs()
143 size -= log_len; in _fx_fault_tolerant_apply_logs()
190 copy_size = log_len - FX_FAULT_TOLERANT_DIR_LOG_ENTRY_SIZE; in _fx_fault_tolerant_apply_logs()
226 current_ptr += log_len; in _fx_fault_tolerant_apply_logs()
/FileX-v6.4.1/test/regression_test/
Dfilex_fault_tolerant_corrupted_log_file_test.c5 …, number of log entries (remaining_logs), entry type (log_type), length (log_len), copy_size etc. …
6 …media_ptr -> fx_media_memory_size may be bypassed by using a value of log_len smaller than FX_F…
8 For example with log_len set to 15 copy_size will have the value of 4294967295 due to integer under…
27 copy_size = log_len - FX_FAULT_TOLERANT_DIR_LOG_ENTRY_SIZE;