Home
last modified time | relevance | path

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

/external/qemu/block/
Dqcow2.c150 be64_to_cpus(&header.backing_file_offset); in qcow_open()
220 if (header.backing_file_offset) in qcow_open()
221 ext_end = header.backing_file_offset; in qcow_open()
228 if (header.backing_file_offset != 0) { in qcow_open()
232 if (bdrv_pread(bs->file, header.backing_file_offset, bs->backing_file, len) != len) in qcow_open()
717 size_t backing_file_offset = 0; in qcow2_update_ext_header() local
735 backing_file_offset = sizeof(QCowHeader) + offset; in qcow2_update_ext_header()
744 uint64_t be_backing_file_offset = cpu_to_be64(backing_file_offset); in qcow2_update_ext_header()
747 ret = bdrv_pwrite_sync(bs->file, offsetof(QCowHeader, backing_file_offset), in qcow2_update_ext_header()
879 header.backing_file_offset = cpu_to_be64(header_size); in qcow_create2()
Dqcow.c44 uint64_t backing_file_offset; member
103 be64_to_cpus(&header.backing_file_offset); in qcow_open()
154 if (header.backing_file_offset != 0) { in qcow_open()
158 if (bdrv_pread(bs->file, header.backing_file_offset, bs->backing_file, len) != len) in qcow_open()
775 header.backing_file_offset = cpu_to_be64(header_size); in qcow_create()
Dqcow2.h57 uint64_t backing_file_offset; member