Searched refs:bytes_remaining (Results 1 – 6 of 6) sorted by relevance
89 ULONG64 bytes_remaining; in _fx_file_extended_seek() local165 bytes_remaining = byte_offset - in _fx_file_extended_seek()175 bytes_remaining = byte_offset - in _fx_file_extended_seek()209 if (bytes_remaining > bytes_per_cluster) in _fx_file_extended_seek()213 bytes_remaining = bytes_remaining - bytes_per_cluster; in _fx_file_extended_seek()226 if ((bytes_remaining == bytes_per_cluster) && in _fx_file_extended_seek()235 bytes_remaining = 0; in _fx_file_extended_seek()263 bytes_remaining = byte_offset % bytes_per_cluster; in _fx_file_extended_seek()268 if (bytes_remaining == bytes_per_cluster) in _fx_file_extended_seek()275 … ((bytes_remaining - 1) / (ULONG)media_ptr -> fx_media_bytes_per_sector)); in _fx_file_extended_seek()[all …]
87 ULONG bytes_remaining, i; in _fx_file_read() local155 bytes_remaining = request_size; in _fx_file_read()158 while (bytes_remaining) in _fx_file_read()163 (bytes_remaining < media_ptr -> fx_media_bytes_per_sector)) in _fx_file_read()190 if (copy_bytes > bytes_remaining) in _fx_file_read()194 copy_bytes = bytes_remaining; in _fx_file_read()207 bytes_remaining = bytes_remaining - copy_bytes; in _fx_file_read()220 sectors = (UINT)(bytes_remaining / media_ptr -> fx_media_bytes_per_sector); in _fx_file_read()336 bytes_remaining = bytes_remaining - in _fx_file_read()352 …if ((bytes_remaining == 0) && ((file_ptr -> fx_file_current_file_offset + (ULONG64)request_size) >= in _fx_file_read()
100 ULONG64 bytes_remaining; in _fx_file_open() local295 bytes_remaining = file_ptr -> fx_file_dir_entry.fx_dir_entry_file_size; in _fx_file_open()325 …bytes_available = ((bytes_remaining + bytes_per_cluster - 1) / bytes_per_cluster) * bytes_per_clu… in _fx_file_open()394 if (bytes_remaining > bytes_per_cluster) in _fx_file_open()398 bytes_remaining = bytes_remaining - bytes_per_cluster; in _fx_file_open()411 if ((bytes_remaining == bytes_per_cluster) && in _fx_file_open()420 bytes_remaining = 0; in _fx_file_open()477 if (bytes_remaining == bytes_per_cluster) in _fx_file_open()484 ((ULONG)(((bytes_remaining - 1) / (ULONG)media_ptr -> fx_media_bytes_per_sector))); in _fx_file_open()485 …file_ptr -> fx_file_current_relative_sector = (ULONG)(((bytes_remaining - 1) / (ULONG)media_ptr … in _fx_file_open()[all …]
94 ULONG64 bytes_remaining; in _fx_file_extended_truncate() local223 bytes_remaining = size; in _fx_file_extended_truncate()255 if (bytes_remaining >= bytes_per_cluster) in _fx_file_extended_truncate()259 bytes_remaining = bytes_remaining - bytes_per_cluster; in _fx_file_extended_truncate()286 (bytes_remaining / (ULONG)media_ptr -> fx_media_bytes_per_sector); in _fx_file_extended_truncate()287 …file_ptr -> fx_file_current_relative_sector = (UINT)((bytes_remaining / (ULONG)media_ptr -> fx_m… in _fx_file_extended_truncate()289 …file_ptr -> fx_file_current_logical_offset = (ULONG)bytes_remaining % ((ULONG)media_ptr -> fx_m… in _fx_file_extended_truncate()
102 ULONG64 bytes_remaining; in _fx_file_extended_truncate_release() local280 bytes_remaining = size; in _fx_file_extended_truncate_release()317 if (bytes_remaining >= bytes_per_cluster) in _fx_file_extended_truncate_release()321 bytes_remaining = bytes_remaining - bytes_per_cluster; in _fx_file_extended_truncate_release()352 (bytes_remaining / (ULONG)media_ptr -> fx_media_bytes_per_sector); in _fx_file_extended_truncate_release()353 …file_ptr -> fx_file_current_relative_sector = (UINT)((bytes_remaining / (ULONG)media_ptr -> fx_m… in _fx_file_extended_truncate_release()355 …file_ptr -> fx_file_current_logical_offset = (ULONG)bytes_remaining % ((ULONG)media_ptr -> fx_m… in _fx_file_extended_truncate_release()636 bytes_remaining = size; in _fx_file_extended_truncate_release()673 if (bytes_remaining >= bytes_per_cluster) in _fx_file_extended_truncate_release()677 bytes_remaining = bytes_remaining - bytes_per_cluster; in _fx_file_extended_truncate_release()[all …]
98 ULONG64 bytes_remaining; in _fx_file_write() local296 bytes_remaining = file_ptr -> fx_file_current_file_offset + size; in _fx_file_write()314 … bytes_remaining -= file_ptr -> fx_file_current_relative_cluster * bytes_per_cluster; in _fx_file_write()327 bytes_remaining -= bytes_per_cluster; in _fx_file_write()375 if (bytes_remaining <= bytes_per_cluster) in _fx_file_write()392 if (bytes_remaining <= bytes_per_cluster) in _fx_file_write()398 bytes_remaining -= bytes_per_cluster; in _fx_file_write()857 bytes_remaining = size; in _fx_file_write()916 while (bytes_remaining) in _fx_file_write()921 (bytes_remaining < media_ptr -> fx_media_bytes_per_sector)) in _fx_file_write()[all …]