Home
last modified time | relevance | path

Searched refs:sn_l1_table (Results 1 – 1 of 1) sorted by relevance

/openbmc/qemu/block/
H A Dqcow2-snapshot.c768 uint64_t *sn_l1_table = NULL; in qcow2_snapshot_goto() local
828 sn_l1_table = g_try_malloc0(cur_l1_bytes); in qcow2_snapshot_goto()
829 if (cur_l1_bytes && sn_l1_table == NULL) { in qcow2_snapshot_goto()
834 ret = bdrv_pread(bs->file, sn->l1_table_offset, sn_l1_bytes, sn_l1_table, in qcow2_snapshot_goto()
854 sn_l1_table, 0); in qcow2_snapshot_goto()
877 s->l1_table[i] = be64_to_cpu(sn_l1_table[i]); in qcow2_snapshot_goto()
884 g_free(sn_l1_table); in qcow2_snapshot_goto()
885 sn_l1_table = NULL; in qcow2_snapshot_goto()
905 g_free(sn_l1_table); in qcow2_snapshot_goto()