Searched defs:update_refcount (Results 1 - 2 of 2) sorted by relevance

/external/qemu/block/
H A Dqcow2-refcount.c30 static int QEMU_WARN_UNUSED_RESULT update_refcount(BlockDriverState *bs,
259 ret = update_refcount(bs, new_block, s->cluster_size, 1);
265 * update_refcount uses the refcount cache itself */
458 static int QEMU_WARN_UNUSED_RESULT update_refcount(BlockDriverState *bs, function
469 printf("update_refcount: offset=%" PRId64 " size=%" PRId64 " addend=%d\n",
551 dummy = update_refcount(bs, offset, cluster_offset - offset, -addend);
571 ret = update_refcount(bs, cluster_index << s->cluster_bits, 1, addend);
623 ret = update_refcount(bs, offset, size, 1);
683 ret = update_refcount(bs, offset, size, -1);
798 ret = update_refcount(b
[all...]
/external/e2fsprogs/misc/
H A De2image.c1064 static int update_refcount(int fd, struct ext2_qcow2_image *img, function
1153 if (update_refcount(fd, img, offset, blk)) {
1185 if (update_refcount(fd, img, offset, offset)) {
1192 * So the previous update_refcount refcounted
1197 if (update_refcount(fd, img, offset, offset)) {
1210 if (update_refcount(fd, img, offset,
1213 if (update_refcount(fd, img, offset,
1229 update_refcount(fd, img, offset, offset);

Completed in 61 milliseconds