Home
last modified time | relevance | path

Searched refs:FX_MEDIA (Results 1 – 25 of 303) sorted by relevance

12345678910>>...13

/FileX-v6.2.1/common/inc/
Dfx_media.h55 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, …
64 UINT _fx_media_open(FX_MEDIA *media_ptr, CHAR *media_name,
65 VOID (*media_driver)(FX_MEDIA *), VOID *driver_info_ptr,
67 UINT _fx_media_read(FX_MEDIA *media_ptr, ULONG logical_sector, VOID *buffer_ptr);
68 UINT _fx_media_space_available(FX_MEDIA *media_ptr, ULONG *available_bytes_ptr);
[all …]
Dfx_directory.h55 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 …]
Dfx_unicode.h61 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…
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…
82 UINT _fxe_unicode_directory_rename(FX_MEDIA *media_ptr, UCHAR *old_unicode_name, ULONG old_unicode_…
[all …]
Dfx_fault_tolerant.h344 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 …]
Dfx_utility.h64 …*_fx_utility_logical_sector_cache_entry_read(FX_MEDIA *media_ptr, ULONG64 logical_sector, FX_CACHE…
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);
74 ULONG _fx_utility_FAT_sector_get(FX_MEDIA *media_ptr, ULONG cluster);
Dfx_api.h1096 } FX_MEDIA; typedef
1098 typedef FX_MEDIA * FX_MEDIA_PTR;
1145 FX_MEDIA *fx_file_media_ptr;
1352 #define fx_media_open(m, n, d, i, p, s) _fxe_media_open(m, n, d, i, p, s, sizeof(FX_MEDIA))
1388 UINT fx_directory_attributes_read(FX_MEDIA *media_ptr, CHAR *directory_name, UINT *attributes_ptr);
1389 UINT fx_directory_attributes_set(FX_MEDIA *media_ptr, CHAR *directory_name, UINT attributes);
1390 UINT fx_directory_create(FX_MEDIA *media_ptr, CHAR *directory_name);
1391 UINT fx_directory_default_get(FX_MEDIA *media_ptr, CHAR **return_path_name);
1392 UINT fx_directory_default_get_copy(FX_MEDIA *media_ptr, CHAR *return_path_name_buffer, UINT return_…
1393 UINT fx_directory_default_set(FX_MEDIA *media_ptr, CHAR *new_path_name);
[all …]
Dfx_file.h62 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);
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,
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,
78 UINT _fx_file_rename(FX_MEDIA *media_ptr, CHAR *old_file_name, CHAR *new_file_name);
98 UINT _fxe_file_attributes_read(FX_MEDIA *media_ptr, CHAR *file_name, UINT *attributes_ptr);
99 UINT _fxe_file_attributes_set(FX_MEDIA *media_ptr, CHAR *file_name, UINT attributes);
102 UINT _fxe_file_create(FX_MEDIA *media_ptr, CHAR *file_name);
[all …]
/FileX-v6.2.1/common/src/
Dfxe_media_open.c88 UINT _fxe_media_open(FX_MEDIA *media_ptr, CHAR *media_name, in _fxe_media_open()
89 VOID (*media_driver)(FX_MEDIA *), VOID *driver_info_ptr, in _fxe_media_open() argument
95 FX_MEDIA *current_media; in _fxe_media_open()
105 …ia_driver == FX_NULL) || (memory_ptr == FX_NULL) || (media_control_block_size != sizeof(FX_MEDIA))) in _fxe_media_open()
Dfx_media_open_notify_set.c72 UINT _fx_media_open_notify_set(FX_MEDIA *media_ptr, VOID (*media_open_notify)(FX_MEDIA *media)) in _fx_media_open_notify_set()
Dfx_media_close_notify_set.c72 UINT _fx_media_close_notify_set(FX_MEDIA *media_ptr, VOID (*media_close_notify)(FX_MEDIA *media)) in _fx_media_close_notify_set()
Dfxe_media_close_notify_set.c76 UINT _fxe_media_close_notify_set(FX_MEDIA *media_ptr, VOID (*media_close_notify)(FX_MEDIA *media)) in _fxe_media_close_notify_set()
Dfxe_media_open_notify_set.c76 UINT _fxe_media_open_notify_set(FX_MEDIA *media_ptr, VOID (*media_open_notify)(FX_MEDIA *media)) in _fxe_media_open_notify_set()
/FileX-v6.2.1/test/regression_test/
Dfilex_fault_tolerant_enable_4_test.c33 static FX_MEDIA ram_disk;
60 extern void _fx_ram_driver(FX_MEDIA *media_ptr);
62 extern UINT _filex_fault_tolerant_log_check(FX_MEDIA *media_ptr);
63 extern UINT (*driver_write_callback)(FX_MEDIA *media_ptr, UINT sector_type, UCHAR *block_ptr, UI…
64 static UINT my_driver_write(FX_MEDIA *media_ptr, UINT sector_type, UCHAR *block_ptr, UINT *opera…
216 static UINT my_driver_write(FX_MEDIA *media_ptr, UINT sector_type, UCHAR *block_ptr, UINT *operatio… in my_driver_write()
251 memset(media_ptr, 0, sizeof(FX_MEDIA)); in my_driver_write()
Dfilex_fault_tolerant_file_delete_test.c38 static FX_MEDIA ram_disk;
66 extern void _fx_ram_driver(FX_MEDIA *media_ptr);
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…
76 static void _fx_terrible_driver(FX_MEDIA *media_ptr) in _fx_terrible_driver()
361 static UINT my_driver_write(FX_MEDIA *media_ptr, UINT sector_type, UCHAR *block_ptr, UINT *operatio… in my_driver_write()
396 memset(media_ptr, 0, sizeof(FX_MEDIA)); in my_driver_write()
Dfilex_fault_tolerant_log_full_test.c30 static FX_MEDIA ram_disk;
53 extern void _fx_ram_driver(FX_MEDIA *media_ptr);
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…
259 static UINT my_driver_write(FX_MEDIA *media_ptr, UINT sector_type, UCHAR *block_ptr, UINT *operatio… in my_driver_write()
Dfilex_fault_tolerant_file_write_fat_crossover_2_test.c54 static FX_MEDIA ram_disk;
82 extern void _fx_ram_driver(FX_MEDIA *media_ptr);
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…
248 static UINT my_driver_write(FX_MEDIA *media_ptr, UINT sector_type, UCHAR *block_ptr, UINT *operatio… in my_driver_write()
287 memset(media_ptr, 0, sizeof(FX_MEDIA)); in my_driver_write()
Dfilex_fault_tolerant_file_attributes_set_directory_interrupt_test.c50 static FX_MEDIA ram_disk;
77 extern void _fx_ram_driver(FX_MEDIA *media_ptr);
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…
359 static UINT my_driver_write(FX_MEDIA *media_ptr, UINT sector_type, UCHAR *block_ptr, UINT *operatio… in my_driver_write()
394 memset(media_ptr, 0, sizeof(FX_MEDIA)); in my_driver_write()
Dfilex_fault_tolerant_directory_attributes_set_directory_interrupt_test.c48 static FX_MEDIA ram_disk;
74 extern void _fx_ram_driver(FX_MEDIA *media_ptr);
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…
298 static UINT my_driver_write(FX_MEDIA *media_ptr, UINT sector_type, UCHAR *block_ptr, UINT *operatio… in my_driver_write()
333 memset(media_ptr, 0, sizeof(FX_MEDIA)); in my_driver_write()
Dfilex_fault_tolerant_directory_attributes_set_redo_log_interrupt_test.c48 static FX_MEDIA ram_disk;
74 extern void _fx_ram_driver(FX_MEDIA *media_ptr);
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…
356 static UINT my_driver_write(FX_MEDIA *media_ptr, UINT sector_type, UCHAR *block_ptr, UINT *operatio… in my_driver_write()
391 memset(media_ptr, 0, sizeof(FX_MEDIA)); in my_driver_write()
Dfilex_fault_tolerant_file_allocate_fat_crossover_test.c54 static FX_MEDIA ram_disk;
82 extern void _fx_ram_driver(FX_MEDIA *media_ptr);
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…
250 static UINT my_driver_write(FX_MEDIA *media_ptr, UINT sector_type, UCHAR *block_ptr, UINT *operatio… in my_driver_write()
289 memset(media_ptr, 0, sizeof(FX_MEDIA)); in my_driver_write()
Dfilex_fault_tolerant_file_attributes_set_redo_log_interrupt_test.c50 static FX_MEDIA ram_disk;
77 extern void _fx_ram_driver(FX_MEDIA *media_ptr);
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…
359 static UINT my_driver_write(FX_MEDIA *media_ptr, UINT sector_type, UCHAR *block_ptr, UINT *operatio… in my_driver_write()
394 memset(media_ptr, 0, sizeof(FX_MEDIA)); in my_driver_write()
Dfilex_fault_tolerant_file_best_effort_allocate_fat_crossover_test.c54 static FX_MEDIA ram_disk;
82 extern void _fx_ram_driver(FX_MEDIA *media_ptr);
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…
251 static UINT my_driver_write(FX_MEDIA *media_ptr, UINT sector_type, UCHAR *block_ptr, UINT *operatio… in my_driver_write()
290 memset(media_ptr, 0, sizeof(FX_MEDIA)); in my_driver_write()
Dfilex_fault_tolerant_file_corruption_test.c25 extern void _fx_ram_driver(FX_MEDIA *media_ptr);
26 extern UINT (*driver_write_callback)(FX_MEDIA *media_ptr,
30 extern VOID (*driver_fault_tolerant_enable_callback)(FX_MEDIA *media_ptr,
33 static UINT my_driver_write_callback(FX_MEDIA *media_ptr,
37 static VOID my_fault_tolerant_enable_callback(FX_MEDIA *media_ptr,
47 static FX_MEDIA ram_disk;
57 extern FX_MEDIA *_fx_system_media_opened_ptr;
323 static UINT my_driver_write_callback(FX_MEDIA *media_ptr, in my_driver_write_callback()
347 static VOID my_fault_tolerant_enable_callback(FX_MEDIA *media_ptr, in my_fault_tolerant_enable_callback()
Dfilex_fault_tolerant_file_delete_fat_multiple_sectors_test.c52 static FX_MEDIA ram_disk;
80 extern void _fx_ram_driver(FX_MEDIA *media_ptr);
82 extern UINT _filex_fault_tolerant_log_check(FX_MEDIA *media_ptr);
83 extern UINT (*driver_write_callback)(FX_MEDIA *media_ptr, UINT sector_type, UCHAR *block_ptr, UI…
84 static UINT my_driver_write(FX_MEDIA *media_ptr, UINT sector_type, UCHAR *block_ptr, UINT *opera…
402 static UINT my_driver_write(FX_MEDIA *media_ptr, UINT sector_type, UCHAR *block_ptr, UINT *operatio… in my_driver_write()
450 memset(media_ptr, 0, sizeof(FX_MEDIA)); in my_driver_write()
Dfilex_fault_tolerant_file_write_fat_crossover_test.c53 static FX_MEDIA ram_disk;
83 extern void _fx_ram_driver(FX_MEDIA *media_ptr);
85 extern UINT _filex_fault_tolerant_log_check(FX_MEDIA *media_ptr);
86 extern UINT (*driver_write_callback)(FX_MEDIA *media_ptr, UINT sector_type, UCHAR *block_ptr, UINT…
87 static UINT my_driver_write(FX_MEDIA *media_ptr, UINT sector_type, UCHAR *block_ptr, UINT *operati…
374 static UINT my_driver_write(FX_MEDIA *media_ptr, UINT sector_type, UCHAR *block_ptr, UINT *operatio… in my_driver_write()
413 memset(media_ptr, 0, sizeof(FX_MEDIA)); in my_driver_write()

12345678910>>...13