Home
last modified time | relevance | path

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

/external/qemu/block/
Dqcow2.c685 QCowExtension ext_backing_fmt = {0, 0}; in qcow2_update_ext_header() local
695 ext_backing_fmt.len = cpu_to_be32(strlen(backing_fmt)); in qcow2_update_ext_header()
696 ext_backing_fmt.magic = cpu_to_be32(QCOW_EXT_MAGIC_BACKING_FORMAT); in qcow2_update_ext_header()
697 backing_fmt_len = ((sizeof(ext_backing_fmt) in qcow2_update_ext_header()
722 (sizeof(ext_backing_fmt) + strlen(backing_fmt)); in qcow2_update_ext_header()
724 memcpy(buf + offset, &ext_backing_fmt, sizeof(ext_backing_fmt)); in qcow2_update_ext_header()
725 offset += sizeof(ext_backing_fmt); in qcow2_update_ext_header()