Searched refs:get_refcount (Results 1 – 2 of 2) sorted by relevance
/external/qemu/block/ |
D | qcow2-refcount.c | 118 static int get_refcount(BlockDriverState *bs, int64_t cluster_index) in get_refcount() function 576 return get_refcount(bs, cluster_index); in update_cluster_refcount() 596 refcount = get_refcount(bs, next_cluster_index); in alloc_clusters_noref() 811 refcount = get_refcount(bs, offset >> s->cluster_bits); in qcow2_update_snapshot_refcount() 837 refcount = get_refcount(bs, l2_offset >> s->cluster_bits); in qcow2_update_snapshot_refcount() 974 refcount = get_refcount(bs, offset >> s->cluster_bits); in check_refcounts_l2() 1054 refcount = get_refcount(bs, (l2_offset & ~QCOW_OFLAG_COPIED) in check_refcounts_l1() 1177 refcount1 = get_refcount(bs, i); in qcow2_check_refcounts()
|
D | qcow2.c | 1258 refcount = get_refcount(bs, k); 1260 while (k < nb_clusters && get_refcount(bs, k) == refcount)
|