Searched refs:refcount_table_size (Results 1 – 4 of 4) sorted by relevance
| /openbmc/qemu/block/ |
| H A D | qcow2-refcount.c | 93 unsigned i = s->refcount_table_size - 1; in update_max_refcount_table_index() 112 assert(s->refcount_table_size <= INT_MAX / REFTABLE_ENTRY_SIZE); in qcow2_refcount_init() 113 refcount_table_size2 = s->refcount_table_size * REFTABLE_ENTRY_SIZE; in qcow2_refcount_init() 116 if (s->refcount_table_size > 0) { in qcow2_refcount_init() 127 for(i = 0; i < s->refcount_table_size; i++) in qcow2_refcount_init() 257 if (refcount_table_index >= s->refcount_table_size) { in qcow2_get_refcount() 318 if (refcount_table_index < s->refcount_table_size) { in alloc_refcount_block() 439 if (refcount_table_index < s->refcount_table_size) { in alloc_refcount_block() 716 uint64_t old_table_size = s->refcount_table_size; in qcow2_refcount_area() 720 s->refcount_table_size in qcow2_refcount_area() 1528 qcow2_inc_refcounts_imrt(BlockDriverState * bs,BdrvCheckResult * res,void ** refcount_table,int64_t * refcount_table_size,int64_t offset,int64_t size) qcow2_inc_refcounts_imrt() argument 1665 check_refcounts_l2(BlockDriverState * bs,BdrvCheckResult * res,void ** refcount_table,int64_t * refcount_table_size,int64_t l2_offset,int flags,BdrvCheckMode fix,bool active) check_refcounts_l2() argument 1864 check_refcounts_l1(BlockDriverState * bs,BdrvCheckResult * res,void ** refcount_table,int64_t * refcount_table_size,int64_t l1_table_offset,int l1_size,int flags,BdrvCheckMode fix,bool active) check_refcounts_l1() argument [all...] |
| H A D | qcow2.h | 358 uint32_t refcount_table_size; 911 int64_t *refcount_table_size, 1036 int64_t *refcount_table_size); 355 uint32_t refcount_table_size; global() member
|
| H A D | qcow2-bitmap.c | 658 int64_t *refcount_table_size) in qcow2_check_bitmaps_refcounts() argument 669 ret = qcow2_inc_refcounts_imrt(bs, res, refcount_table, refcount_table_size, in qcow2_check_bitmaps_refcounts() 688 refcount_table, refcount_table_size, in qcow2_check_bitmaps_refcounts() 715 refcount_table, refcount_table_size, in qcow2_check_bitmaps_refcounts()
|
| H A D | qcow2.c | 1619 s->refcount_table_size = in qcow2_do_open() 3034 refcount_table_clusters = s->refcount_table_size >> (s->cluster_bits - 3); in qcow2_update_header() 5039 s->refcount_table_size = s->cluster_size / REFTABLE_ENTRY_SIZE; in qcow2_make_empty()
|