Home
last modified time | relevance | path

Searched refs:cluster_count (Results 1 – 5 of 5) sorted by relevance

/FileX-v6.2.1/common/src/
Dfx_file_extended_truncate_release.c101 ULONG cluster_count; in _fx_file_extended_truncate_release() local
282 cluster_count = 0; in _fx_file_extended_truncate_release()
289 cluster_count++; in _fx_file_extended_truncate_release()
332 if (size > (((ULONG64) bytes_per_cluster) * ((ULONG64) cluster_count))) in _fx_file_extended_truncate_release()
348 file_ptr -> fx_file_current_relative_cluster = cluster_count - 1; in _fx_file_extended_truncate_release()
359cluster_count = (ULONG) (file_ptr -> fx_file_current_available_size + (((ULONG64) bytes_per_clust… in _fx_file_extended_truncate_release()
362 file_ptr -> fx_file_total_clusters = cluster_count; in _fx_file_extended_truncate_release()
370 if ((cluster_count == 0) && (media_ptr -> fx_media_fault_tolerant_enabled)) in _fx_file_extended_truncate_release()
417 if (cluster_count > 0) in _fx_file_extended_truncate_release()
421 cluster_count--; in _fx_file_extended_truncate_release()
[all …]
Dfx_file_extended_seek.c88 ULONG cluster_count; in _fx_file_extended_seek() local
168 cluster_count = file_ptr -> fx_file_current_relative_cluster; in _fx_file_extended_seek()
177 cluster_count = (file_ptr -> fx_file_consecutive_cluster - 1); in _fx_file_extended_seek()
186 cluster_count++; in _fx_file_extended_seek()
222 file_ptr -> fx_file_current_relative_cluster = cluster_count - 1; in _fx_file_extended_seek()
244 if (byte_offset > (((ULONG64) bytes_per_cluster) * ((ULONG64) cluster_count))) in _fx_file_extended_seek()
Dfx_file_delete.c100 ULONG cluster_count; in _fx_file_delete() local
263 cluster_count = 0; in _fx_file_delete()
298 cluster_count++; in _fx_file_delete()
319 if ((cluster == contents) || (cluster_count > media_ptr -> fx_media_total_clusters)) in _fx_file_delete()
361 media_ptr -> fx_media_available_clusters + cluster_count; in _fx_file_delete()
Dfx_file_extended_truncate.c93 ULONG cluster_count; in _fx_file_extended_truncate() local
225 cluster_count = 0; in _fx_file_extended_truncate()
232 cluster_count++; in _fx_file_extended_truncate()
270 if (size > (((ULONG64) bytes_per_cluster) * ((ULONG64) cluster_count))) in _fx_file_extended_truncate()
282 file_ptr -> fx_file_current_relative_cluster = cluster_count - 1; in _fx_file_extended_truncate()
Dfx_file_open.c98 ULONG cluster_count; in _fx_file_open() local
312 cluster_count = 0; in _fx_file_open()
337 cluster_count++; in _fx_file_open()
354 if ((cluster == contents) || (cluster_count > media_ptr -> fx_media_total_clusters)) in _fx_file_open()
407 file_ptr -> fx_file_current_relative_cluster = cluster_count - 1; in _fx_file_open()
429 ((ULONG64)cluster_count); in _fx_file_open()
433 ((cluster_count) && (contents < fat_last))) in _fx_file_open()
450 file_ptr -> fx_file_total_clusters = cluster_count; in _fx_file_open()