Home
last modified time | relevance | path

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

/openbmc/qemu/block/
H A Dvhdx-log.c69 if (log->read % VHDX_LOG_SECTOR_SIZE) { in vhdx_log_peek_hdr()
102 idx += VHDX_LOG_SECTOR_SIZE; in vhdx_log_inc_idx()
150 ret = bdrv_pread(bs->file, offset, VHDX_LOG_SECTOR_SIZE, buffer, 0); in vhdx_log_read_sectors()
201 ret = bdrv_co_pwrite(bs->file, offset, VHDX_LOG_SECTOR_SIZE, buffer_tmp, 0); in vhdx_log_write_sectors()
205 buffer_tmp += VHDX_LOG_SECTOR_SIZE; in vhdx_log_write_sectors()
234 if (hdr->entry_length % (VHDX_LOG_SECTOR_SIZE)) { in vhdx_log_hdr_is_valid()
283 if (desc->file_offset % VHDX_LOG_SECTOR_SIZE) { in vhdx_log_desc_is_valid()
288 if (desc->zero_length % VHDX_LOG_SECTOR_SIZE == 0) { in vhdx_log_desc_is_valid()
364 desc_sectors * VHDX_LOG_SECTOR_SIZE); in vhdx_log_read_desc()
428 buffer = qemu_blockalign(bs, VHDX_LOG_SECTOR_SIZE); in vhdx_log_flush_desc()
[all …]
H A Dvhdx.h163 #define VHDX_LOG_SECTOR_SIZE (4 * KiB) macro