/FileX-v6.2.1/common/src/ |
D | fx_media_check_lost_cluster_check.c | 83 ULONG cluster, next_cluster = 0; in _fx_media_check_lost_cluster_check() local 118 status = _fx_utility_FAT_entry_read(media_ptr, cluster, &next_cluster); in _fx_media_check_lost_cluster_check() 132 …if (((next_cluster > (ULONG)FX_FREE_CLUSTER) && (next_cluster < media_ptr -> fx_media_fat_reserved… in _fx_media_check_lost_cluster_check() 133 (next_cluster >= fat_last)) in _fx_media_check_lost_cluster_check()
|
D | fx_file_read.c | 90 ULONG cluster, next_cluster; in _fx_file_read() local 223 next_cluster = cluster = file_ptr -> fx_file_current_physical_cluster; in _fx_file_read() 227 status = _fx_utility_FAT_entry_read(media_ptr, cluster, &next_cluster); in _fx_file_read() 230 if ((status != FX_SUCCESS) || (next_cluster < FX_FAT_ENTRY_START) || in _fx_file_read() 231 (next_cluster > media_ptr -> fx_media_fat_reserved)) in _fx_file_read() 248 if (next_cluster != cluster + 1) in _fx_file_read() 254 cluster = next_cluster; in _fx_file_read() 377 … file_ptr -> fx_file_current_physical_cluster, &next_cluster); in _fx_file_read() 380 if ((status != FX_SUCCESS) || (next_cluster < FX_FAT_ENTRY_START) || in _fx_file_read() 381 (next_cluster > media_ptr -> fx_media_fat_reserved)) in _fx_file_read() [all …]
|
D | fx_fault_tolerant_cleanup_FAT_chain.c | 178 ULONG next_cluster = 0; in _fx_fault_tolerant_cleanup_FAT_chain() local 241 status = _fx_utility_FAT_entry_read(media_ptr, current_cluster, &next_cluster); in _fx_fault_tolerant_cleanup_FAT_chain() 250 if (next_cluster == FX_FREE_CLUSTER) in _fx_fault_tolerant_cleanup_FAT_chain() 265 next_session = next_cluster; in _fx_fault_tolerant_cleanup_FAT_chain() 271 current_cluster = next_cluster; in _fx_fault_tolerant_cleanup_FAT_chain() 272 } while ((next_cluster >= FX_FAT_ENTRY_START) && in _fx_fault_tolerant_cleanup_FAT_chain() 273 (next_cluster < media_ptr -> fx_media_fat_reserved) && in _fx_fault_tolerant_cleanup_FAT_chain() 274 (next_cluster != tail_cluster) && in _fx_fault_tolerant_cleanup_FAT_chain() 280 next_session = next_cluster; in _fx_fault_tolerant_cleanup_FAT_chain()
|
D | fx_utility_FAT_flush.c | 88 ULONG cluster, next_cluster; in _fx_utility_FAT_flush() local 157 … next_cluster = media_ptr -> fx_media_fat_cache[multi_sector_entry].fx_fat_cache_entry_value; in _fx_utility_FAT_flush() 164 *FAT_ptr = (UCHAR)((next_cluster >> 4) & 0xFF); in _fx_utility_FAT_flush() 171 *FAT_ptr = (UCHAR)(temp | ((next_cluster >> 8) & 0xF)); in _fx_utility_FAT_flush() 210 next_cluster = media_ptr -> fx_media_fat_cache[i].fx_fat_cache_entry_value; in _fx_utility_FAT_flush() 241 *FAT_ptr = (UCHAR)(temp | ((next_cluster << 4) & 0xF0)); in _fx_utility_FAT_flush() 255 *FAT_ptr = (UCHAR)((next_cluster >> 4) & 0xFF); in _fx_utility_FAT_flush() 263 *FAT_ptr = (UCHAR)(next_cluster & 0xFF); in _fx_utility_FAT_flush() 278 *FAT_ptr = (UCHAR)(temp | ((next_cluster >> 8) & 0xF)); in _fx_utility_FAT_flush() 395 next_cluster = media_ptr -> fx_media_fat_cache[i].fx_fat_cache_entry_value; in _fx_utility_FAT_flush() [all …]
|
D | fx_utility_FAT_entry_write.c | 79 UINT _fx_utility_FAT_entry_write(FX_MEDIA *media_ptr, ULONG cluster, ULONG next_cluster) in _fx_utility_FAT_entry_write() argument 97 return(_fx_fault_tolerant_add_FAT_log(media_ptr, cluster, next_cluster)); in _fx_utility_FAT_entry_write() 148 (cache_entry_ptr + i) -> fx_fat_cache_entry_value = next_cluster; in _fx_utility_FAT_entry_write() 153 … if ((media_ptr -> fx_media_driver_free_sector_update) && (next_cluster == FX_FREE_CLUSTER)) in _fx_utility_FAT_entry_write() 222 cache_entry_ptr -> fx_fat_cache_entry_value = next_cluster; in _fx_utility_FAT_entry_write() 226 if ((media_ptr -> fx_media_driver_free_sector_update) && (next_cluster == FX_FREE_CLUSTER)) in _fx_utility_FAT_entry_write()
|
D | fx_directory_delete.c | 98 ULONG cluster, next_cluster; in _fx_directory_delete() local 226 status = _fx_utility_FAT_entry_read(media_ptr, cluster, &next_cluster); in _fx_directory_delete() 243 …if ((cluster < FX_FAT_ENTRY_START) || (cluster == next_cluster) || (i > media_ptr -> fx_media_tota… in _fx_directory_delete() 256 cluster = next_cluster; in _fx_directory_delete() 360 status = _fx_utility_FAT_entry_read(media_ptr, cluster, &next_cluster); in _fx_directory_delete() 377 …if ((cluster < FX_FAT_ENTRY_START) || (cluster == next_cluster) || (i > media_ptr -> fx_media_tota… in _fx_directory_delete() 414 cluster = next_cluster; in _fx_directory_delete()
|
D | fx_directory_next_entry_find.c | 89 ULONG cluster, next_cluster = 0; in _fx_directory_next_entry_find() local 220 status = _fx_utility_FAT_entry_read(media_ptr, cluster, &next_cluster); in _fx_directory_next_entry_find() 233 …if ((cluster < FX_FAT_ENTRY_START) || (cluster == next_cluster) || (i > media_ptr -> fx_media_tota… in _fx_directory_next_entry_find() 243 cluster = next_cluster; in _fx_directory_next_entry_find()
|
D | fx_directory_next_full_entry_find.c | 99 ULONG cluster, next_cluster = 0; in _fx_directory_next_full_entry_find() local 231 status = _fx_utility_FAT_entry_read(media_ptr, cluster, &next_cluster); in _fx_directory_next_full_entry_find() 245 …if ((cluster < FX_FAT_ENTRY_START) || (cluster == next_cluster) || (i > media_ptr -> fx_media_tota… in _fx_directory_next_full_entry_find() 255 cluster = next_cluster; in _fx_directory_next_full_entry_find()
|
D | fx_unicode_directory_search.c | 111 ULONG cluster, next_cluster = 0; in _fx_unicode_directory_search() local 193 status = _fx_utility_FAT_entry_read(media_ptr, cluster, &next_cluster); in _fx_unicode_directory_search() 204 if ((cluster == next_cluster) || (i > media_ptr -> fx_media_total_clusters)) in _fx_unicode_directory_search() 211 cluster = next_cluster; in _fx_unicode_directory_search()
|
D | fx_file_write.c | 105 ULONG cluster, next_cluster; in _fx_file_write() local 1038 next_cluster = cluster = file_ptr -> fx_file_current_physical_cluster; in _fx_file_write() 1043 status = _fx_utility_FAT_entry_read(media_ptr, cluster, &next_cluster); in _fx_file_write() 1046 if ((status != FX_SUCCESS) || (next_cluster < FX_FAT_ENTRY_START) || in _fx_file_write() 1047 (next_cluster > media_ptr -> fx_media_fat_reserved)) in _fx_file_write() 1067 if (next_cluster != cluster + 1) in _fx_file_write() 1073 cluster = next_cluster; in _fx_file_write() 1170 … file_ptr -> fx_file_current_physical_cluster, &next_cluster); in _fx_file_write() 1173 if ((status != FX_SUCCESS) || (next_cluster < FX_FAT_ENTRY_START) || in _fx_file_write() 1174 (next_cluster > media_ptr -> fx_media_fat_reserved)) in _fx_file_write() [all …]
|
D | fx_unicode_directory_entry_read.c | 87 ULONG cluster, next_cluster = 0; in _fx_unicode_directory_entry_read() local 192 status = _fx_utility_FAT_entry_read(media_ptr, cluster, &next_cluster); in _fx_unicode_directory_entry_read() 205 cluster = next_cluster; in _fx_unicode_directory_entry_read() 452 status = _fx_utility_FAT_entry_read(media_ptr, cluster, &next_cluster); in _fx_unicode_directory_entry_read() 463 cluster = next_cluster; in _fx_unicode_directory_entry_read()
|
D | fx_directory_entry_read.c | 89 ULONG cluster, next_cluster = 0; in _fx_directory_entry_read() local 199 status = _fx_utility_FAT_entry_read(media_ptr, cluster, &next_cluster); in _fx_directory_entry_read() 212 cluster = next_cluster; in _fx_directory_entry_read() 427 status = _fx_utility_FAT_entry_read(media_ptr, cluster, &next_cluster); in _fx_directory_entry_read() 438 cluster = next_cluster; in _fx_directory_entry_read()
|
D | fx_unicode_directory_entry_change.c | 89 ULONG cluster, next_cluster; in _fx_unicode_directory_entry_change() local 284 status = _fx_utility_FAT_entry_read(media_ptr, cluster, &next_cluster); in _fx_unicode_directory_entry_change() 295 cluster = next_cluster; in _fx_unicode_directory_entry_change()
|
D | fx_directory_search.c | 107 ULONG cluster, next_cluster = 0; in _fx_directory_search() local 526 status = _fx_utility_FAT_entry_read(media_ptr, cluster, &next_cluster); in _fx_directory_search() 537 …if ((cluster < FX_FAT_ENTRY_START) || (cluster == next_cluster) || (i > media_ptr -> fx_media_tota… in _fx_directory_search() 544 cluster = next_cluster; in _fx_directory_search()
|
D | fx_directory_entry_write.c | 95 ULONG cluster, next_cluster; in _fx_directory_entry_write() local 645 status = _fx_utility_FAT_entry_read(media_ptr, cluster, &next_cluster); in _fx_directory_entry_write() 656 cluster = next_cluster; in _fx_directory_entry_write() 874 … status = _fx_utility_FAT_entry_read(media_ptr, cluster, &next_cluster); in _fx_directory_entry_write() 885 cluster = next_cluster; in _fx_directory_entry_write()
|
/FileX-v6.2.1/common/inc/ |
D | fx_utility.h | 71 UINT _fx_utility_FAT_entry_write(FX_MEDIA *media_ptr, ULONG cluster, ULONG next_cluster);
|