Home
last modified time | relevance | path

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

/FileX-v6.2.1/common/src/
Dfx_fault_tolerant_reset_log_file.c95 FX_FAULT_TOLERANT_LOG_HEADER *log_header; in _fx_fault_tolerant_reset_log_file() local
100 log_header = (FX_FAULT_TOLERANT_LOG_HEADER *)media_ptr -> fx_media_fault_tolerant_memory_buffer; in _fx_fault_tolerant_reset_log_file()
107 …_fx_utility_32_unsigned_write((UCHAR *)&log_header -> fx_fault_tolerant_log_header_id, FX_FAULT_TO… in _fx_fault_tolerant_reset_log_file()
108 _fx_utility_16_unsigned_write((UCHAR *)&log_header -> fx_fault_tolerant_log_header_total_size, in _fx_fault_tolerant_reset_log_file()
110 _fx_utility_16_unsigned_write((UCHAR *)&log_header -> fx_fault_tolerant_log_header_checksum, 0); in _fx_fault_tolerant_reset_log_file()
111 log_header -> fx_fault_tolerant_log_header_version_major = FX_FAULT_TOLERANT_VERSION_MAJOR; in _fx_fault_tolerant_reset_log_file()
112 log_header -> fx_fault_tolerant_log_header_version_minor = FX_FAULT_TOLERANT_VERSION_MINOR; in _fx_fault_tolerant_reset_log_file()
113 _fx_utility_16_unsigned_write((UCHAR *)&log_header -> fx_fault_tolerant_log_header_reserved, 0); in _fx_fault_tolerant_reset_log_file()
114 …checksum = _fx_fault_tolerant_calculate_checksum((UCHAR *)log_header, FX_FAULT_TOLERANT_LOG_HEADER… in _fx_fault_tolerant_reset_log_file()
115 …_fx_utility_16_unsigned_write((UCHAR *)&log_header -> fx_fault_tolerant_log_header_checksum, check… in _fx_fault_tolerant_reset_log_file()
Dfx_fault_tolerant_transaction_end.c101 FX_FAULT_TOLERANT_LOG_HEADER *log_header; in _fx_fault_tolerant_transaction_end() local
123 log_header = (FX_FAULT_TOLERANT_LOG_HEADER *)media_ptr -> fx_media_fault_tolerant_memory_buffer; in _fx_fault_tolerant_transaction_end()
142 _fx_utility_16_unsigned_write((UCHAR *)&log_header -> fx_fault_tolerant_log_header_total_size, in _fx_fault_tolerant_transaction_end()
144 _fx_utility_16_unsigned_write((UCHAR *)&log_header -> fx_fault_tolerant_log_header_checksum, 0); in _fx_fault_tolerant_transaction_end()
147 …checksum = _fx_fault_tolerant_calculate_checksum((UCHAR *)log_header, FX_FAULT_TOLERANT_LOG_HEADER… in _fx_fault_tolerant_transaction_end()
150 …_fx_utility_16_unsigned_write((UCHAR *)&log_header -> fx_fault_tolerant_log_header_checksum, check… in _fx_fault_tolerant_transaction_end()
Dfx_fault_tolerant_enable.c100 FX_FAULT_TOLERANT_LOG_HEADER *log_header; local
364log_header = (FX_FAULT_TOLERANT_LOG_HEADER *)media_ptr -> fx_media_fault_tolerant_memory_buffer;
369 …if (_fx_utility_32_unsigned_read((UCHAR *)&log_header -> fx_fault_tolerant_log_header_id) == FX_FA…
373 checksum = _fx_fault_tolerant_calculate_checksum((UCHAR *)log_header,
381 …total_size = _fx_utility_16_unsigned_read((UCHAR *)&log_header -> fx_fault_tolerant_log_header_tot…
Dfx_fault_tolerant_apply_logs.c97 FX_FAULT_TOLERANT_LOG_HEADER *log_header; in _fx_fault_tolerant_apply_logs() local
104 log_header = (FX_FAULT_TOLERANT_LOG_HEADER *)media_ptr -> fx_media_fault_tolerant_memory_buffer; in _fx_fault_tolerant_apply_logs()
110 …size = _fx_utility_16_unsigned_read((UCHAR *)&log_header -> fx_fault_tolerant_log_header_total_siz… in _fx_fault_tolerant_apply_logs()