Searched refs:id_str_size (Results 1 – 2 of 2) sorted by relevance
90 int i, id_str_size, name_size; in qcow2_do_read_snapshots() local128 id_str_size = be16_to_cpu(h.id_str_size); in qcow2_do_read_snapshots()199 sn->id_str = g_malloc(id_str_size + 1); in qcow2_do_read_snapshots()205 offset += id_str_size; in qcow2_do_read_snapshots()206 sn->id_str[id_str_size] = '\0'; in qcow2_do_read_snapshots()277 int i, name_size, id_str_size, snapshots_size; in qcow2_write_snapshots() local346 id_str_size = strlen(sn->id_str); in qcow2_write_snapshots()349 h.id_str_size = cpu_to_be16(id_str_size); in qcow2_write_snapshots()385 offset += id_str_size; in qcow2_write_snapshots()577 char *id_str, int id_str_size) in find_new_snapshot_id() argument[all …]
191 uint16_t id_str_size; member