/FileX-v6.2.1/common/src/ |
D | fx_file_write.c | 208 ((ULONG)media_ptr -> fx_media_sectors_per_cluster); in _fx_file_write() 693 (media_ptr -> fx_media_sectors_per_cluster - 1)) && in _fx_file_write() 705 ((ULONG)media_ptr -> fx_media_sectors_per_cluster)); in _fx_file_write() 720 ((ULONG)media_ptr -> fx_media_sectors_per_cluster)); in _fx_file_write() 867 ((ULONG)media_ptr -> fx_media_sectors_per_cluster)) + in _fx_file_write() 876 … ((ULONG)media_ptr -> fx_media_sectors_per_cluster)) + i, in _fx_file_write() 896 … ((ULONG)media_ptr -> fx_media_sectors_per_cluster)) + i, in _fx_file_write() 937 … ((ULONG)media_ptr -> fx_media_sectors_per_cluster)) + in _fx_file_write() 948 … ((ULONG)media_ptr -> fx_media_sectors_per_cluster)) + in _fx_file_write() 1040 for (i = (media_ptr -> fx_media_sectors_per_cluster - in _fx_file_write() [all …]
|
D | fx_utility_FAT_entry_write.c | 170 … ((cluster - FX_FAT_ENTRY_START) * media_ptr -> fx_media_sectors_per_cluster)); in _fx_utility_FAT_entry_write() 171 … media_ptr -> fx_media_driver_sectors = media_ptr -> fx_media_sectors_per_cluster; in _fx_utility_FAT_entry_write() 243 … ((cluster - FX_FAT_ENTRY_START) * media_ptr -> fx_media_sectors_per_cluster)); in _fx_utility_FAT_entry_write() 244 media_ptr -> fx_media_driver_sectors = media_ptr -> fx_media_sectors_per_cluster; in _fx_utility_FAT_entry_write()
|
D | fx_file_read.c | 224 for (i = (media_ptr -> fx_media_sectors_per_cluster - in _fx_file_read() 225 …r -> fx_file_current_relative_sector); i < sectors; i += media_ptr -> fx_media_sectors_per_cluster) in _fx_file_read() 323 media_ptr -> fx_media_sectors_per_cluster; in _fx_file_read() 327 (sectors - 1)) % media_ptr -> fx_media_sectors_per_cluster; in _fx_file_read() 371 media_ptr -> fx_media_sectors_per_cluster) in _fx_file_read() 404 ((ULONG)media_ptr -> fx_media_sectors_per_cluster)); in _fx_file_read()
|
D | fx_unicode_directory_entry_change.c | 115 …or - media_ptr -> fx_media_data_sector_start) / (media_ptr -> fx_media_sectors_per_cluster) + FX_F… in _fx_unicode_directory_entry_change() 120 ((ULONG)media_ptr -> fx_media_sectors_per_cluster))); in _fx_unicode_directory_entry_change() 267 if (relative_sector < (media_ptr -> fx_media_sectors_per_cluster - 1)) in _fx_unicode_directory_entry_change() 312 ((ULONG)media_ptr -> fx_media_sectors_per_cluster)); in _fx_unicode_directory_entry_change()
|
D | fx_media_boot_info_extract.c | 159 media_ptr -> fx_media_sectors_per_cluster = ((UINT)boot_sector[FX_SECTORS_CLUSTER] & 0xFF); in _fx_media_boot_info_extract() 162 if (media_ptr -> fx_media_sectors_per_cluster == 0) in _fx_media_boot_info_extract()
|
D | fx_file_extended_allocate.c | 174 ((ULONG)media_ptr -> fx_media_sectors_per_cluster); in _fx_file_extended_allocate() 397 (media_ptr -> fx_media_sectors_per_cluster - 1)) && in _fx_file_extended_allocate() 409 ((ULONG)media_ptr -> fx_media_sectors_per_cluster)); in _fx_file_extended_allocate() 423 ((ULONG)media_ptr -> fx_media_sectors_per_cluster)); in _fx_file_extended_allocate()
|
D | fx_file_extended_seek.c | 131 ((ULONG)media_ptr -> fx_media_sectors_per_cluster); in _fx_file_extended_seek() 274 … ((ULONG)media_ptr -> fx_media_sectors_per_cluster)) + in _fx_file_extended_seek() 286 … ((ULONG)media_ptr -> fx_media_sectors_per_cluster)) + in _fx_file_extended_seek()
|
D | fx_file_open.c | 297 ((ULONG)media_ptr -> fx_media_sectors_per_cluster); in _fx_file_open() 428 ((ULONG64)media_ptr -> fx_media_sectors_per_cluster) * in _fx_file_open() 466 ((ULONG)media_ptr -> fx_media_sectors_per_cluster)); in _fx_file_open() 483 ((ULONG)media_ptr -> fx_media_sectors_per_cluster)) + in _fx_file_open() 495 ((ULONG)media_ptr -> fx_media_sectors_per_cluster)) + in _fx_file_open()
|
D | fx_file_extended_best_effort_allocate.c | 178 ((ULONG)media_ptr -> fx_media_sectors_per_cluster); in _fx_file_extended_best_effort_allocate() 429 (media_ptr -> fx_media_sectors_per_cluster - 1)) && in _fx_file_extended_best_effort_allocate() 441 ((ULONG)media_ptr -> fx_media_sectors_per_cluster)); in _fx_file_extended_best_effort_allocate() 455 ((ULONG)media_ptr -> fx_media_sectors_per_cluster)); in _fx_file_extended_best_effort_allocate()
|
D | fx_directory_free_search.c | 424 …rs_needed = (sectors + (media_ptr -> fx_media_sectors_per_cluster - 1)) / media_ptr -> fx_media_se… in _fx_directory_free_search() 512 ((ULONG) media_ptr -> fx_media_sectors_per_cluster)); in _fx_directory_free_search() 515 sectors = media_ptr -> fx_media_sectors_per_cluster; in _fx_directory_free_search() 720 …tries = directory_entries + ((clusters_needed * media_ptr -> fx_media_sectors_per_cluster) * medi… in _fx_directory_free_search()
|
D | fx_fault_tolerant_read_log_file.c | 81 media_ptr -> fx_media_sectors_per_cluster + in _fx_fault_tolerant_read_log_file()
|
D | fx_file_extended_truncate_release.c | 180 ((ULONG)media_ptr -> fx_media_sectors_per_cluster); in _fx_file_extended_truncate_release() 269 ((ULONG)media_ptr -> fx_media_sectors_per_cluster); in _fx_file_extended_truncate_release() 351 ((ULONG)media_ptr -> fx_media_sectors_per_cluster)) + in _fx_file_extended_truncate_release() 631 ((ULONG)media_ptr -> fx_media_sectors_per_cluster); in _fx_file_extended_truncate_release() 713 ((ULONG)media_ptr -> fx_media_sectors_per_cluster)) + in _fx_file_extended_truncate_release()
|
D | fx_media_extended_space_available.c | 100 …_per_cluster = media_ptr -> fx_media_bytes_per_sector * media_ptr -> fx_media_sectors_per_cluster; in _fx_media_extended_space_available()
|
D | fx_fault_tolerant_write_log_file.c | 84 media_ptr -> fx_media_sectors_per_cluster + in _fx_fault_tolerant_write_log_file()
|
D | fx_unicode_directory_entry_read.c | 116 ((ULONG)media_ptr -> fx_media_sectors_per_cluster); in _fx_unicode_directory_entry_read() 214 ((ULONG)media_ptr -> fx_media_sectors_per_cluster)) + in _fx_unicode_directory_entry_read() 435 if (relative_sector < (media_ptr -> fx_media_sectors_per_cluster - 1)) in _fx_unicode_directory_entry_read() 483 ((ULONG)media_ptr -> fx_media_sectors_per_cluster)); in _fx_unicode_directory_entry_read()
|
D | fx_directory_entry_read.c | 123 ((ULONG)media_ptr -> fx_media_sectors_per_cluster); in _fx_directory_entry_read() 221 ((ULONG)media_ptr -> fx_media_sectors_per_cluster)) + in _fx_directory_entry_read() 410 if (relative_sector < (media_ptr -> fx_media_sectors_per_cluster - 1)) in _fx_directory_entry_read() 458 ((ULONG)media_ptr -> fx_media_sectors_per_cluster)); in _fx_directory_entry_read()
|
D | fx_file_extended_truncate.c | 218 ((ULONG)media_ptr -> fx_media_sectors_per_cluster); in _fx_file_extended_truncate() 285 ((ULONG)media_ptr -> fx_media_sectors_per_cluster)) + in _fx_file_extended_truncate()
|
D | fx_directory_entry_write.c | 146 …or - media_ptr -> fx_media_data_sector_start) / (media_ptr -> fx_media_sectors_per_cluster) + FX_F… in _fx_directory_entry_write() 151 ((ULONG)media_ptr -> fx_media_sectors_per_cluster))); in _fx_directory_entry_write() 628 if (relative_sector < (media_ptr -> fx_media_sectors_per_cluster - 1)) in _fx_directory_entry_write() 673 ((ULONG)media_ptr -> fx_media_sectors_per_cluster)); in _fx_directory_entry_write() 857 if (relative_sector < (media_ptr -> fx_media_sectors_per_cluster - 1)) in _fx_directory_entry_write() 902 ((ULONG)media_ptr -> fx_media_sectors_per_cluster)); in _fx_directory_entry_write()
|
D | fx_directory_create.c | 381 ((ULONG) media_ptr -> fx_media_sectors_per_cluster)); in _fx_directory_create() 384 sectors = media_ptr -> fx_media_sectors_per_cluster; in _fx_directory_create()
|
D | fx_media_open.c | 482 media_ptr -> fx_media_sectors_per_cluster); 543 media_ptr -> fx_media_sectors_per_cluster; 592 … media_ptr -> fx_media_root_directory_entries = (i * media_ptr -> fx_media_sectors_per_cluster *
|
D | fx_directory_next_entry_find.c | 248 ((ULONG64)media_ptr -> fx_media_sectors_per_cluster) * i) / in _fx_directory_next_entry_find()
|
D | fx_directory_delete.c | 261 ((ULONG)media_ptr -> fx_media_sectors_per_cluster) * i) / in _fx_directory_delete()
|
D | fx_directory_next_full_entry_find.c | 260 ((ULONG64) media_ptr -> fx_media_sectors_per_cluster) * i) in _fx_directory_next_full_entry_find()
|
/FileX-v6.2.1/test/regression_test/ |
D | filex_fault_tolerant_enable_test.c | 193 temp = ram_disk.fx_media_sectors_per_cluster; in ftest_0_entry() 194 ram_disk.fx_media_sectors_per_cluster = 0; in ftest_0_entry() 196 ram_disk.fx_media_sectors_per_cluster = temp; in ftest_0_entry() 259 … bytes_per_cluster = ram_disk.fx_media_bytes_per_sector * ram_disk.fx_media_sectors_per_cluster; in ftest_0_entry() 278 …start_sector = (start_cluster - FX_FAT_ENTRY_START) * ram_disk.fx_media_sectors_per_cluster + ram_… in ftest_0_entry() 284 …_fx_utility_memory_copy(source_buffer, buffer, 1 * ram_disk.fx_media_sectors_per_cluster * ram_dis… in ftest_0_entry()
|
D | filex_fault_tolerant_file_allocate_test.c | 208 …t_tolerant_clusters * ram_disk.fx_media_bytes_per_sector * ram_disk.fx_media_sectors_per_cluster)) in ftest_0_entry()
|