Lines Matching refs:file_length
498 int64_t file_length; in vhdx_log_flush() local
518 file_length = bdrv_getlength(bs->file->bs); in vhdx_log_flush()
519 if (file_length < 0) { in vhdx_log_flush()
520 ret = file_length; in vhdx_log_flush()
526 if (hdr_tmp.flushed_file_offset > file_length) { in vhdx_log_flush()
556 if (file_length < desc_entries->hdr.last_file_offset) { in vhdx_log_flush()
878 int64_t file_length; in vhdx_log_write() local
932 file_length = bdrv_co_getlength(bs->file->bs); in vhdx_log_write()
933 if (file_length < 0) { in vhdx_log_write()
934 ret = file_length; in vhdx_log_write()
947 .flushed_file_offset = file_length, in vhdx_log_write()
948 .last_file_offset = file_length, in vhdx_log_write()