/FileX-v6.2.1/common/inc/ |
D | fx_directory.h | 55 UINT _fx_directory_attributes_read(FX_MEDIA *media_ptr, CHAR *directory_name, UINT *attributes_ptr); 56 UINT _fx_directory_attributes_set(FX_MEDIA *media_ptr, CHAR *directory_name, UINT attributes); 57 UINT _fx_directory_create(FX_MEDIA *media_ptr, CHAR *directory_name); 58 UINT _fx_directory_default_get(FX_MEDIA *media_ptr, CHAR **return_path_name); 59 UINT _fx_directory_default_get_copy(FX_MEDIA *media_ptr, CHAR *return_path_name_buffer, UINT return… 60 UINT _fx_directory_default_set(FX_MEDIA *media_ptr, CHAR *new_path_name); 61 UINT _fx_directory_delete(FX_MEDIA *media_ptr, CHAR *directory_name); 62 UINT _fx_directory_entry_read_FAT(FX_MEDIA *media_ptr, FX_DIR_ENTRY *source_dir, ULONG *entry_ptr, 64 UINT _fx_directory_first_entry_find(FX_MEDIA *media_ptr, CHAR *directory_name); 65 UINT _fx_directory_first_full_entry_find(FX_MEDIA *media_ptr, CHAR *directory_name, UINT *attribute… [all …]
|
D | fx_system.h | 61 UINT _fx_system_date_set(UINT year, UINT month, UINT day); 62 UINT _fx_system_time_set(UINT hour, UINT minute, UINT second); 63 UINT _fx_system_date_get(UINT *year, UINT *month, UINT *day); 64 UINT _fx_system_time_get(UINT *hour, UINT *minute, UINT *second); 67 UINT _fxe_system_date_set(UINT year, UINT month, UINT day); 68 UINT _fxe_system_time_set(UINT hour, UINT minute, UINT second); 69 UINT _fxe_system_date_get(UINT *year, UINT *month, UINT *day); 70 UINT _fxe_system_time_get(UINT *hour, UINT *minute, UINT *second); 98 SYSTEM_DECLARE UINT _fx_system_date; 103 SYSTEM_DECLARE UINT _fx_system_time;
|
D | fx_file.h | 58 UINT _fx_file_allocate(FX_FILE *file_ptr, ULONG size); 62 UINT _fx_file_attributes_read(FX_MEDIA *media_ptr, CHAR *file_name, UINT *attributes_ptr); 63 UINT _fx_file_attributes_set(FX_MEDIA *media_ptr, CHAR *file_name, UINT attributes); 64 UINT _fx_file_best_effort_allocate(FX_FILE *file_ptr, ULONG size, ULONG *actual_size_allocated); 65 UINT _fx_file_close(FX_FILE *file_ptr); 66 UINT _fx_file_create(FX_MEDIA *media_ptr, CHAR *file_name); 67 UINT _fx_file_date_time_set(FX_MEDIA *media_ptr, CHAR *file_name, 68 UINT year, UINT month, UINT day, UINT hour, UINT minute, UINT second); 69 UINT _fx_file_delete(FX_MEDIA *media_ptr, CHAR *file_name); 70 UINT _fx_file_open(FX_MEDIA *media_ptr, FX_FILE *file_ptr, CHAR *file_name, [all …]
|
D | fx_media.h | 55 UINT _fx_media_abort(FX_MEDIA *media_ptr); 56 UINT _fx_media_cache_invalidate(FX_MEDIA *media_ptr); 57 UINT _fx_media_check(FX_MEDIA *media_ptr, UCHAR *scratch_memory_ptr, ULONG scratch_memory_size, ULO… 58 UINT _fx_media_close(FX_MEDIA *media_ptr); 59 UINT _fx_media_flush(FX_MEDIA *media_ptr); 60 UINT _fx_media_format(FX_MEDIA *media_ptr, VOID (*driver)(FX_MEDIA *media), VOID *driver_info_ptr, … 61 … CHAR *volume_name, UINT number_of_fats, UINT directory_entries, UINT hidden_sectors, 62 ULONG total_sectors, UINT bytes_per_sector, UINT sectors_per_cluster, 63 UINT heads, UINT sectors_per_track); 64 UINT _fx_media_open(FX_MEDIA *media_ptr, CHAR *media_name, [all …]
|
D | fx_api.h | 708 …UINT fx_dir_entry_long_name_present; /* 0 (default) => LFN not … 709 …UINT fx_dir_entry_long_name_shorted; /* LFN too large, file nam… 713 …UINT fx_dir_entry_created_time; /* Created time … 714 …UINT fx_dir_entry_created_date; /* Created date … 715 …UINT fx_dir_entry_last_accessed_date; /* Last accessed date … 716 …UINT fx_dir_entry_time; /* Modified time … 717 …UINT fx_dir_entry_date; /* Modified cluster … 817 UINT fx_media_sector_cache_hashed; 843 UINT fx_media_bytes_per_sector; 844 UINT fx_media_sectors_per_track; [all …]
|
D | fx_fault_tolerant.h | 344 UINT _fx_fault_tolerant_enable(FX_MEDIA *media_ptr, VOID *memory_buffer, UINT memory_size); 345 UINT _fxe_fault_tolerant_enable(FX_MEDIA *media_ptr, VOID *memory_buffer, UINT memory_size); 348 UINT _fx_fault_tolerant_transaction_start(FX_MEDIA *media_ptr); 353 UINT _fx_fault_tolerant_transaction_end(FX_MEDIA *media_ptr); 356 UINT _fx_fault_tolerant_reset_log_file(FX_MEDIA *media_ptr); 359 UINT _fx_fault_tolerant_apply_logs(FX_MEDIA *media_ptr); 362 UINT _fx_fault_tolerant_recover(FX_MEDIA *media_ptr); 365 UINT _fx_fault_tolerant_add_FAT_log(FX_MEDIA *media_ptr, ULONG cluster, ULONG value); 368 UINT _fx_fault_tolerant_add_dir_log(FX_MEDIA *media_ptr, ULONG64 logical_sector, ULONG offset, 372 UINT _fx_fault_tolerant_set_FAT_chain(FX_MEDIA *media_ptr, UINT use_bitmap, ULONG insertion_front, [all …]
|
D | fx_unicode.h | 61 UINT _fx_unicode_directory_create(FX_MEDIA *media_ptr, UCHAR *source_unicode_name, ULONG source_un… 63 UINT _fx_unicode_directory_rename(FX_MEDIA *media_ptr, UCHAR *old_unicode_name, ULONG old_unicode_… 65 UINT _fx_unicode_file_create(FX_MEDIA *media_ptr, UCHAR *source_unicode_name, ULONG source_unicode… 68 ULONG _fx_unicode_length_get_extended(UCHAR *unicode_name, UINT buffer_length); 69 UINT _fx_unicode_name_get(FX_MEDIA *media_ptr, CHAR *source_short_name, 71 UINT _fx_unicode_name_get_extended(FX_MEDIA *media_ptr, CHAR *source_short_name, 73 UINT _fx_unicode_file_rename(FX_MEDIA *media_ptr, UCHAR *old_unicode_name, ULONG old_unicode_lengt… 75 UINT _fx_unicode_short_name_get(FX_MEDIA *media_ptr, UCHAR *source_unicode_name, ULONG source_unic… 77 UINT _fx_unicode_short_name_get_extended(FX_MEDIA *media_ptr, UCHAR *source_unicode_name, ULONG so… 80 UINT _fxe_unicode_directory_create(FX_MEDIA *media_ptr, UCHAR *source_unicode_name, ULONG source_un… [all …]
|
D | fx_utility.h | 55 UINT _fx_utility_16_unsigned_read(UCHAR *source_ptr); 56 VOID _fx_utility_16_unsigned_write(UCHAR *dest_ptr, UINT value); 65 UINT _fx_utility_logical_sector_read(FX_MEDIA *media_ptr, ULONG64 logical_sector, 67 UINT _fx_utility_logical_sector_write(FX_MEDIA *media_ptr, ULONG64 logical_sector, 69 UINT _fx_utility_logical_sector_flush(FX_MEDIA *media_ptr, ULONG64 starting_sector, ULONG64 sect… 70 UINT _fx_utility_FAT_entry_read(FX_MEDIA *media_ptr, ULONG cluster, ULONG *entry_ptr); 71 UINT _fx_utility_FAT_entry_write(FX_MEDIA *media_ptr, ULONG cluster, ULONG next_cluster); 72 UINT _fx_utility_FAT_flush(FX_MEDIA *media_ptr); 73 UINT _fx_utility_FAT_map_flush(FX_MEDIA *media_ptr); 75 UINT _fx_utility_string_length_get(CHAR *string, UINT max_length);
|
/FileX-v6.2.1/common/src/ |
D | fxe_directory_first_full_entry_find.c | 83 UINT _fxe_directory_first_full_entry_find(FX_MEDIA *media_ptr, in _fxe_directory_first_full_entry_find() 84 CHAR *directory_name, UINT *attributes, ULONG *size, in _fxe_directory_first_full_entry_find() 85 … UINT *year, UINT *month, UINT *day, UINT *hour, UINT *minute, UINT *second) in _fxe_directory_first_full_entry_find() 88 UINT status; in _fxe_directory_first_full_entry_find()
|
D | fxe_directory_next_full_entry_find.c | 83 UINT _fxe_directory_next_full_entry_find(FX_MEDIA *media_ptr, in _fxe_directory_next_full_entry_find() 84 CHAR *directory_name, UINT *attributes, ULONG *size, in _fxe_directory_next_full_entry_find() 85 … UINT *year, UINT *month, UINT *day, UINT *hour, UINT *minute, UINT *second) in _fxe_directory_next_full_entry_find() 88 UINT status; in _fxe_directory_next_full_entry_find()
|
D | fxe_media_format.c | 94 UINT _fxe_media_format(FX_MEDIA *media_ptr, VOID (*driver)(FX_MEDIA *media), VOID *driver_info_ptr… in _fxe_media_format() 95 … CHAR *volume_name, UINT number_of_fats, UINT directory_entries, UINT hidden_sectors, in _fxe_media_format() 96 ULONG total_sectors, UINT bytes_per_sector, UINT sectors_per_cluster, in _fxe_media_format() 97 UINT heads, UINT sectors_per_track) in _fxe_media_format() 100 UINT status; in _fxe_media_format()
|
D | fxe_directory_information_get.c | 83 UINT _fxe_directory_information_get(FX_MEDIA *media_ptr, CHAR *directory_name, in _fxe_directory_information_get() 84 UINT *attributes, ULONG *size, in _fxe_directory_information_get() 85 UINT *year, UINT *month, UINT *day, in _fxe_directory_information_get() 86 UINT *hour, UINT *minute, UINT *second) in _fxe_directory_information_get() 89 UINT status; in _fxe_directory_information_get()
|
D | fx_directory_first_full_entry_find.c | 86 UINT _fx_directory_first_full_entry_find(FX_MEDIA *media_ptr, in _fx_directory_first_full_entry_find() 87 CHAR *directory_name, UINT *attributes, ULONG *size, in _fx_directory_first_full_entry_find() 88 … UINT *year, UINT *month, UINT *day, UINT *hour, UINT *minute, UINT *second) in _fx_directory_first_full_entry_find() 91 UINT status; in _fx_directory_first_full_entry_find()
|
D | fx_file_date_time_set.c | 81 UINT _fx_file_date_time_set(FX_MEDIA *media_ptr, CHAR *file_name, in _fx_file_date_time_set() 82 UINT year, UINT month, UINT day, UINT hour, UINT minute, UINT second) in _fx_file_date_time_set() 85 UINT status; in _fx_file_date_time_set()
|
D | fxe_file_date_time_set.c | 81 UINT _fxe_file_date_time_set(FX_MEDIA *media_ptr, CHAR *file_name, in _fxe_file_date_time_set() 82 UINT year, UINT month, UINT day, UINT hour, UINT minute, UINT second) in _fxe_file_date_time_set() 85 UINT status; in _fxe_file_date_time_set()
|
/FileX-v6.2.1/test/regression_test/ |
D | filex_fault_tolerant_file_attributes_set_directory_interrupt_test.c | 30 extern void test_control_return(UINT status); 63 static UINT error_couter = 0; 64 static UINT directory_write_interrupt = FX_FALSE; 78 extern void test_control_return(UINT status); 79 extern UINT _filex_fault_tolerant_log_check(FX_MEDIA *media_ptr); 80 extern UINT (*driver_write_callback)(FX_MEDIA *media_ptr, UINT sector_type, UCHAR *block_ptr, UI… 81 static UINT my_driver_write(FX_MEDIA *media_ptr, UINT sector_type, UCHAR *block_ptr, UINT *opera… 130 UINT status; in ftest_0_entry() 131 UINT attributes; in ftest_0_entry() 132 UINT i; in ftest_0_entry() [all …]
|
D | filex_fault_tolerant_directory_attributes_set_directory_interrupt_test.c | 30 extern void test_control_return(UINT status); 61 static UINT error_couter = 0; 62 static UINT directory_write_interrupt = FX_FALSE; 75 extern void test_control_return(UINT status); 76 extern UINT _filex_fault_tolerant_log_check(FX_MEDIA *media_ptr); 77 extern UINT (*driver_write_callback)(FX_MEDIA *media_ptr, UINT sector_type, UCHAR *block_ptr, UI… 78 static UINT my_driver_write(FX_MEDIA *media_ptr, UINT sector_type, UCHAR *block_ptr, UINT *opera… 127 UINT status; in ftest_0_entry() 128 UINT attributes; in ftest_0_entry() 129 UINT i; in ftest_0_entry() [all …]
|
D | filex_fault_tolerant_directory_attributes_set_redo_log_interrupt_test.c | 30 extern void test_control_return(UINT status); 61 static UINT error_couter = 0; 62 static UINT log_write_interrupt = FX_FALSE; 75 extern void test_control_return(UINT status); 76 extern UINT _filex_fault_tolerant_log_check(FX_MEDIA *media_ptr); 77 extern UINT (*driver_write_callback)(FX_MEDIA *media_ptr, UINT sector_type, UCHAR *block_ptr, UI… 78 static UINT my_driver_write(FX_MEDIA *media_ptr, UINT sector_type, UCHAR *block_ptr, UINT *opera… 127 UINT status; in ftest_0_entry() 128 UINT attributes; in ftest_0_entry() 129 UINT i; in ftest_0_entry() [all …]
|
D | filex_fault_tolerant_file_attributes_set_redo_log_interrupt_test.c | 30 extern void test_control_return(UINT status); 63 static UINT error_couter = 0; 64 static UINT log_write_interrupt = FX_FALSE; 78 extern void test_control_return(UINT status); 79 extern UINT _filex_fault_tolerant_log_check(FX_MEDIA *media_ptr); 80 extern UINT (*driver_write_callback)(FX_MEDIA *media_ptr, UINT sector_type, UCHAR *block_ptr, UI… 81 static UINT my_driver_write(FX_MEDIA *media_ptr, UINT sector_type, UCHAR *block_ptr, UINT *opera… 130 UINT status; in ftest_0_entry() 131 UINT attributes; in ftest_0_entry() 132 UINT i; in ftest_0_entry() [all …]
|
D | filex_fault_tolerant_recover_fail_test.c | 14 extern void test_control_return(UINT status); 47 static UINT error_couter = 0; 48 static UINT data_write_interrupt = FX_FALSE; 50 static UINT write_buffer_size = 2048; 51 static UINT write_index; 53 static UINT read_buffer_size = 4096; 54 static UINT data_size = 0; 69 extern void test_control_return(UINT status); 70 extern UINT _filex_fault_tolerant_log_check(FX_MEDIA *media_ptr); 71 extern UINT (*driver_write_callback)(FX_MEDIA *media_ptr, UINT sector_type, UCHAR *block_ptr, UI… [all …]
|
D | filex_fault_tolerant_file_delete_test.c | 18 extern void test_control_return(UINT status); 52 static UINT fat_write_interrupt = FX_FALSE; 54 static UINT read_buffer_size = 1024; 67 extern void test_control_return(UINT status); 68 extern UINT _filex_fault_tolerant_log_check(FX_MEDIA *media_ptr); 69 extern UINT(*driver_write_callback)(FX_MEDIA *media_ptr, UINT sector_type, UCHAR *block_ptr, UINT *… 70 static UINT my_driver_write(FX_MEDIA *media_ptr, UINT sector_type, UCHAR *block_ptr, UINT *opera… 75 static UINT driver_called_counter = 0; 131 UINT status; in ftest_0_entry() 133 UINT i; in ftest_0_entry() [all …]
|
D | filex_fault_tolerant_log_full_test.c | 12 extern void test_control_return(UINT status); 45 static UINT i; 54 extern void test_control_return(UINT status); 55 extern UINT _filex_fault_tolerant_log_check(FX_MEDIA *media_ptr); 56 extern UINT (*driver_write_callback)(FX_MEDIA *media_ptr, UINT sector_type, UCHAR *block_ptr, UI… 57 static UINT my_driver_write(FX_MEDIA *media_ptr, UINT sector_type, UCHAR *block_ptr, UINT *opera… 104 UINT status; in ftest_0_entry() 259 static UINT my_driver_write(FX_MEDIA *media_ptr, UINT sector_type, UCHAR *block_ptr, UINT *operatio… in my_driver_write()
|
D | filex_fault_tolerant_file_write_fat_crossover_2_test.c | 36 extern void test_control_return(UINT status); 68 static UINT fat_write_interrupt = FX_FALSE; 70 static UINT interrupt_count_down; 83 extern void test_control_return(UINT status); 84 extern UINT _filex_fault_tolerant_log_check(FX_MEDIA *media_ptr); 85 extern UINT (*driver_write_callback)(FX_MEDIA *media_ptr, UINT sector_type, UCHAR *block_ptr, UINT… 86 static UINT my_driver_write(FX_MEDIA *media_ptr, UINT sector_type, UCHAR *block_ptr, UINT *operati… 133 UINT status; in ftest_0_entry() 223 UINT oldtype; in ftest_1_entry() 227 UINT status; in ftest_1_entry() [all …]
|
D | filex_fault_tolerant_file_allocate_fat_crossover_test.c | 36 extern void test_control_return(UINT status); 68 static UINT fat_write_interrupt = FX_FALSE; 70 static UINT interrupt_count_down; 83 extern void test_control_return(UINT status); 84 extern UINT _filex_fault_tolerant_log_check(FX_MEDIA *media_ptr); 85 extern UINT (*driver_write_callback)(FX_MEDIA *media_ptr, UINT sector_type, UCHAR *block_ptr, UINT… 86 static UINT my_driver_write(FX_MEDIA *media_ptr, UINT sector_type, UCHAR *block_ptr, UINT *operati… 133 UINT status; in ftest_0_entry() 225 UINT oldtype; in ftest_1_entry() 230 UINT status; in ftest_1_entry() [all …]
|
D | filex_fault_tolerant_file_best_effort_allocate_fat_crossover_test.c | 36 extern void test_control_return(UINT status); 68 static UINT fat_write_interrupt = FX_FALSE; 70 static UINT interrupt_count_down; 83 extern void test_control_return(UINT status); 84 extern UINT _filex_fault_tolerant_log_check(FX_MEDIA *media_ptr); 85 extern UINT (*driver_write_callback)(FX_MEDIA *media_ptr, UINT sector_type, UCHAR *block_ptr, UINT… 86 static UINT my_driver_write(FX_MEDIA *media_ptr, UINT sector_type, UCHAR *block_ptr, UINT *operati… 133 UINT status; in ftest_0_entry() 225 UINT oldtype; in ftest_1_entry() 230 UINT status; in ftest_1_entry() [all …]
|