Lines Matching refs:l1_table_offset
1245 int64_t l1_table_offset, int l1_size, int addend) in qcow2_update_snapshot_refcount() argument
1268 if (l1_table_offset != s->l1_table_offset) { in qcow2_update_snapshot_refcount()
1276 ret = bdrv_pread(bs->file, l1_table_offset, l1_size2, l1_table, 0); in qcow2_update_snapshot_refcount()
1437 ret = bdrv_pwrite_sync(bs->file, l1_table_offset, l1_size2, l1_table, in qcow2_update_snapshot_refcount()
1865 int64_t l1_table_offset, int l1_size, in check_refcounts_l1() argument
1880 l1_table_offset, l1_size_bytes); in check_refcounts_l1()
1892 ret = bdrv_co_pread(bs->file, l1_table_offset, l1_size_bytes, l1_table, 0); in check_refcounts_l1()
2229 s->l1_table_offset, s->l1_size, CHECK_FRAG_INFO, in calculate_refcounts()
2244 if (offset_into_cluster(s, sn->l1_table_offset)) { in calculate_refcounts()
2247 "corrupted\n", sn->id_str, sn->name, sn->l1_table_offset); in calculate_refcounts()
2259 sn->l1_table_offset, sn->l1_size, 0, fix, in calculate_refcounts()
2943 if (overlaps_with(s->l1_table_offset, s->l1_size * L1E_SIZE)) { in qcow2_check_metadata_overlap()
2964 overlaps_with(s->snapshots[i].l1_table_offset, in qcow2_check_metadata_overlap()
2997 uint64_t l1_ofs = s->snapshots[i].l1_table_offset; in qcow2_check_metadata_overlap()