Home
last modified time | relevance | path

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

/openbmc/qemu/block/
H A Dvhdx-log.c874 uint32_t trailing_length = 0; in vhdx_log_write() local
925 trailing_length = aligned_length - (sectors * VHDX_LOG_SECTOR_SIZE); in vhdx_log_write()
926 if (trailing_length) { in vhdx_log_write()
987 } else if (i == sectors - 1 && trailing_length) { in vhdx_log_write()
989 ret = bdrv_co_pread(bs->file, file_offset + trailing_length, in vhdx_log_write()
990 VHDX_LOG_SECTOR_SIZE - trailing_length, in vhdx_log_write()
991 merged_sector + trailing_length, 0); in vhdx_log_write()
995 memcpy(merged_sector, data_tmp, trailing_length); in vhdx_log_write()
996 bytes_written = trailing_length; in vhdx_log_write()