Lines Matching refs:l2_table
1604 uint64_t l2_offset, uint64_t *l2_table, in fix_l2_entry_by_zero() argument
1615 uint64_t l2_bitmap = get_l2_bitmap(s, l2_table, l2_index); in fix_l2_entry_by_zero()
1621 set_l2_bitmap(s, l2_table, l2_index, l2_bitmap); in fix_l2_entry_by_zero()
1622 set_l2_entry(s, l2_table, l2_index, 0); in fix_l2_entry_by_zero()
1624 set_l2_entry(s, l2_table, l2_index, QCOW_OFLAG_ZERO); in fix_l2_entry_by_zero()
1638 &l2_table[idx], 0); in fix_l2_entry_by_zero()
1673 g_autofree uint64_t *l2_table = g_malloc(l2_size_bytes); in check_refcounts_l2() local
1677 ret = bdrv_co_pread(bs->file, l2_offset, l2_size_bytes, l2_table, 0); in check_refcounts_l2()
1690 l2_entry = get_l2_entry(s, l2_table, i); in check_refcounts_l2()
1691 l2_bitmap = get_l2_bitmap(s, l2_table, i); in check_refcounts_l2()
1782 l2_table, i, active, in check_refcounts_l2()
1956 uint64_t *l2_table = qemu_blockalign(bs, s->cluster_size); in check_oflag_copied() local
2009 l2_table, 0); in check_oflag_copied()
2018 uint64_t l2_entry = get_l2_entry(s, l2_table, j); in check_oflag_copied()
2041 set_l2_entry(s, l2_table, j, in check_oflag_copied()
2062 ret = bdrv_co_pwrite(bs->file, l2_offset, s->cluster_size, l2_table, 0); in check_oflag_copied()
2077 qemu_vfree(l2_table); in check_oflag_copied()