Lines Matching refs:byte_offset
80 UINT _fx_file_extended_seek(FX_FILE *file_ptr, ULONG64 byte_offset) in _fx_file_extended_seek() argument
113 …FX_TRACE_IN_LINE_INSERT(FX_TRACE_FILE_SEEK, file_ptr, byte_offset, file_ptr -> fx_file_current_fil… in _fx_file_extended_seek()
119 if (byte_offset == file_ptr -> fx_file_current_file_offset) in _fx_file_extended_seek()
145 if (byte_offset > file_ptr -> fx_file_current_file_size) in _fx_file_extended_seek()
149 byte_offset = file_ptr -> fx_file_current_file_size; in _fx_file_extended_seek()
153 … if (byte_offset >= (ULONG64)file_ptr -> fx_file_consecutive_cluster * (ULONG64)bytes_per_cluster) in _fx_file_extended_seek()
160 … ((ULONG64)file_ptr -> fx_file_current_relative_cluster * (ULONG64)bytes_per_cluster < byte_offset) in _fx_file_extended_seek()
165 bytes_remaining = byte_offset - in _fx_file_extended_seek()
175 bytes_remaining = byte_offset - in _fx_file_extended_seek()
244 if (byte_offset > (((ULONG64) bytes_per_cluster) * ((ULONG64) cluster_count))) in _fx_file_extended_seek()
258 file_ptr -> fx_file_current_relative_cluster = (ULONG)(byte_offset / bytes_per_cluster); in _fx_file_extended_seek()
263 bytes_remaining = byte_offset % bytes_per_cluster; in _fx_file_extended_seek()
277 file_ptr -> fx_file_current_file_offset = byte_offset; in _fx_file_extended_seek()
289 file_ptr -> fx_file_current_file_offset = byte_offset; in _fx_file_extended_seek()