Home
last modified time | relevance | path

Searched refs:fx_media_sectors_per_cluster (Results 1 – 25 of 35) sorted by relevance

12

/FileX-v6.2.1/common/src/
Dfx_file_write.c208 ((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 …]
Dfx_utility_FAT_entry_write.c170 … ((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()
Dfx_file_read.c224 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()
Dfx_unicode_directory_entry_change.c115 …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()
Dfx_media_boot_info_extract.c159 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()
Dfx_file_extended_allocate.c174 ((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()
Dfx_file_extended_seek.c131 ((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()
Dfx_file_open.c297 ((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()
Dfx_file_extended_best_effort_allocate.c178 ((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()
Dfx_directory_free_search.c424 …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()
Dfx_fault_tolerant_read_log_file.c81 media_ptr -> fx_media_sectors_per_cluster + in _fx_fault_tolerant_read_log_file()
Dfx_file_extended_truncate_release.c180 ((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()
Dfx_media_extended_space_available.c100 …_per_cluster = media_ptr -> fx_media_bytes_per_sector * media_ptr -> fx_media_sectors_per_cluster; in _fx_media_extended_space_available()
Dfx_fault_tolerant_write_log_file.c84 media_ptr -> fx_media_sectors_per_cluster + in _fx_fault_tolerant_write_log_file()
Dfx_unicode_directory_entry_read.c116 ((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()
Dfx_directory_entry_read.c123 ((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()
Dfx_file_extended_truncate.c218 ((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()
Dfx_directory_entry_write.c146 …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()
Dfx_directory_create.c381 ((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()
Dfx_media_open.c482 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 *
Dfx_directory_next_entry_find.c248 ((ULONG64)media_ptr -> fx_media_sectors_per_cluster) * i) / in _fx_directory_next_entry_find()
Dfx_directory_delete.c261 ((ULONG)media_ptr -> fx_media_sectors_per_cluster) * i) / in _fx_directory_delete()
Dfx_directory_next_full_entry_find.c260 ((ULONG64) media_ptr -> fx_media_sectors_per_cluster) * i) in _fx_directory_next_full_entry_find()
/FileX-v6.2.1/test/regression_test/
Dfilex_fault_tolerant_enable_test.c193 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()
Dfilex_fault_tolerant_file_allocate_test.c208 …t_tolerant_clusters * ram_disk.fx_media_bytes_per_sector * ram_disk.fx_media_sectors_per_cluster)) in ftest_0_entry()

12