Lines Matching refs:addend
32 int addend);
459 int64_t offset, int64_t length, int addend) in update_refcount() argument
470 offset, length, addend); in update_refcount()
521 refcount += addend; in update_refcount()
551 dummy = update_refcount(bs, offset, cluster_offset - offset, -addend); in update_refcount()
566 int addend) in update_cluster_refcount() argument
571 ret = update_refcount(bs, cluster_index << s->cluster_bits, 1, addend); in update_cluster_refcount()
746 int64_t l1_table_offset, int l1_size, int addend) in qcow2_update_snapshot_refcount() argument
796 if (addend != 0) { in qcow2_update_snapshot_refcount()
800 nb_csectors * 512, addend); in qcow2_update_snapshot_refcount()
808 if (addend != 0) { in qcow2_update_snapshot_refcount()
809 … refcount = update_cluster_refcount(bs, offset >> s->cluster_bits, addend); in qcow2_update_snapshot_refcount()
834 if (addend != 0) { in qcow2_update_snapshot_refcount()
835 refcount = update_cluster_refcount(bs, l2_offset >> s->cluster_bits, addend); in qcow2_update_snapshot_refcount()