Home
last modified time | relevance | path

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

/external/qemu/block/
Dqcow2.h60 uint64_t refcount_table_offset; member
99 uint64_t refcount_table_offset; member
123 int64_t refcount_table_offset; member
Dqcow2-refcount.c46 ret = bdrv_pread(s->hd, s->refcount_table_offset, in qcow2_refcount_init()
146 if (bdrv_pwrite(s->hd, offsetof(QCowHeader, refcount_table_offset), in grow_refcount_table()
150 old_table_offset = s->refcount_table_offset; in grow_refcount_table()
154 s->refcount_table_offset = table_offset; in grow_refcount_table()
193 ret = bdrv_pwrite(s->hd, s->refcount_table_offset + in alloc_refcount_block()
828 s->refcount_table_offset, in qcow2_check_refcounts()
Dqcow2.c174 be64_to_cpus(&header.refcount_table_offset); in qcow_open()
199 s->refcount_table_offset = header.refcount_table_offset; in qcow_open()
720 s->refcount_table_offset = offset; in qcow_create2()
721 header.refcount_table_offset = cpu_to_be64(offset); in qcow_create2()
740 qcow2_create_refcount_update(s, s->refcount_table_offset, s->cluster_size); in qcow_create2()
767 lseek(fd, s->refcount_table_offset, SEEK_SET); in qcow_create2()