Home
last modified time | relevance | path

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

/external/qemu/block/
Dqcow2-refcount.c90 int64_t refcount_block_offset) in load_refcount_block() argument
103 ret = bdrv_pread(bs->file, refcount_block_offset, s->refcount_block_cache, in load_refcount_block()
109 s->refcount_block_cache_offset = refcount_block_offset; in load_refcount_block()
122 int64_t refcount_block_offset; in get_refcount() local
128 refcount_block_offset = s->refcount_table[refcount_table_index]; in get_refcount()
129 if (!refcount_block_offset) in get_refcount()
131 if (refcount_block_offset != s->refcount_block_cache_offset) { in get_refcount()
133 ret = load_refcount_block(bs, refcount_block_offset); in get_refcount()
191 uint64_t refcount_block_offset = in alloc_refcount_block() local
195 if (refcount_block_offset) { in alloc_refcount_block()
[all …]
Dqcow2.h129 int64_t refcount_block_offset; member
Dqcow2.c943 s->refcount_block_offset = offset; in qcow_create2()
958 qcow2_create_refcount_update(s, s->refcount_block_offset, in qcow_create2()
1016 lseek(fd, s->refcount_block_offset, SEEK_SET); in qcow_create2()