Searched refs:id_str_size (Results 1 – 1 of 1) sorted by relevance
85 uint16_t id_str_size; member1752 int i, id_str_size, name_size; in qcow_read_snapshots() local1774 id_str_size = be16_to_cpu(h.id_str_size); in qcow_read_snapshots()1779 sn->id_str = qemu_malloc(id_str_size + 1); in qcow_read_snapshots()1782 if (bdrv_pread(s->hd, offset, sn->id_str, id_str_size) != id_str_size) in qcow_read_snapshots()1784 offset += id_str_size; in qcow_read_snapshots()1785 sn->id_str[id_str_size] = '\0'; in qcow_read_snapshots()1808 int i, name_size, id_str_size, snapshots_size; in qcow_write_snapshots() local1837 id_str_size = strlen(sn->id_str); in qcow_write_snapshots()1839 h.id_str_size = cpu_to_be16(id_str_size); in qcow_write_snapshots()[all …]