Home
last modified time | relevance | path

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

/FileX-v6.2.1/common/src/
Dfx_fault_tolerant_add_FAT_log.c75 ULONG file_size; in _fx_fault_tolerant_add_FAT_log() local
79file_size = media_ptr -> fx_media_fault_tolerant_file_size + FX_FAULT_TOLERANT_FAT_LOG_ENTRY_SIZE; in _fx_fault_tolerant_add_FAT_log()
82 if (file_size > media_ptr -> fx_media_fault_tolerant_memory_buffer_size) in _fx_fault_tolerant_add_FAT_log()
106 media_ptr -> fx_media_fault_tolerant_file_size = (USHORT)file_size; in _fx_fault_tolerant_add_FAT_log()
Dfx_fault_tolerant_add_dir_log.c81 ULONG file_size; in _fx_fault_tolerant_add_dir_log() local
85file_size = media_ptr -> fx_media_fault_tolerant_file_size + data_size + FX_FAULT_TOLERANT_DIR_LOG… in _fx_fault_tolerant_add_dir_log()
88 if (file_size > media_ptr -> fx_media_fault_tolerant_memory_buffer_size) in _fx_fault_tolerant_add_dir_log()
125 media_ptr -> fx_media_fault_tolerant_file_size = (USHORT)file_size; in _fx_fault_tolerant_add_dir_log()
/FileX-v6.2.1/test/regression_test/
Dfilex_fault_tolerant_loop_write_data_test.c122 ULONG file_size; in ftest_0_entry() local
202 file_size = 1500; in ftest_0_entry()
262 status = fx_file_write(&my_file, (void *) write_buffer, file_size); in ftest_0_entry()
291 seek_index = (ULONG)rand() % (file_size + 1); in ftest_0_entry()
319 if (seek_index + write_size > file_size) in ftest_0_entry()
320 file_size = seek_index + write_size; in ftest_0_entry()
337 if ((status != FX_SUCCESS) || (actual != file_size)) in ftest_0_entry()
Dfilex_file_allocate_test.c111 ULONG file_size = 1000; in ftest_0_entry() local
246 status = fx_file_allocate(&my_file, file_size); in ftest_0_entry()
263 status = fx_file_write(&my_file, (void *) large_data_buffer, file_size); in ftest_0_entry()
310 if ((status != FX_SUCCESS) || (actual != file_size)) in ftest_0_entry()