Home
last modified time | relevance | path

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

/openbmc/qemu/block/
H A Dqcow2-snapshot.c766 int cur_l1_bytes, sn_l1_bytes; in qcow2_snapshot_goto() local
817 cur_l1_bytes = s->l1_size * L1E_SIZE; in qcow2_snapshot_goto()
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()
847 s->l1_table_offset, cur_l1_bytes, in qcow2_snapshot_goto()
853 ret = bdrv_pwrite_sync(bs->file, s->l1_table_offset, cur_l1_bytes, in qcow2_snapshot_goto()