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()
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()
460 memset(buffer, 0, VHDX_LOG_SECTOR_SIZE); in vhdx_log_flush_desc()
478 file_offset += VHDX_LOG_SECTOR_SIZE; in vhdx_log_flush_desc()
504 data = qemu_blockalign(bs, VHDX_LOG_SECTOR_SIZE); in vhdx_log_flush()
911 sector_offset = offset % VHDX_LOG_SECTOR_SIZE; in vhdx_log_write()
999 bytes_written = VHDX_LOG_SECTOR_SIZE; in vhdx_log_write()
[all …]
H A Dvhdx.h163 #define VHDX_LOG_SECTOR_SIZE (4 * KiB) macro