HomeSort by relevance Sort by last modified time
    Searched full:cluster_index (Results 1 - 1 of 1) sorted by null

  /external/qemu/block/
qcow2-refcount.c 79 static int get_refcount(BlockDriverState *bs, int64_t cluster_index)
85 refcount_table_index = cluster_index >> (s->cluster_bits - REFCOUNT_SHIFT);
96 block_index = cluster_index &
166 static int64_t alloc_refcount_block(BlockDriverState *bs, int64_t cluster_index)
174 refcount_table_index = cluster_index >> (s->cluster_bits - REFCOUNT_SHIFT);
256 int64_t cluster_index = cluster_offset >> s->cluster_bits; local
260 table_index = cluster_index >> (s->cluster_bits - REFCOUNT_SHIFT);
274 refcount_block_offset = alloc_refcount_block(bs, cluster_index);
280 block_index = cluster_index &
293 if (refcount == 0 && cluster_index < s->free_cluster_index)
    [all...]

Completed in 21 milliseconds