qcow2-cluster.c | 444 unsigned int l1_index, l2_index; local 495 l2_index = (offset >> s->cluster_bits) & (s->l2_size - 1); 496 *cluster_offset = be64_to_cpu(l2_table[l2_index]); 501 c = count_contiguous_free_clusters(nb_clusters, &l2_table[l2_index]); 505 &l2_table[l2_index], 0, QCOW_OFLAG_COPIED); 536 unsigned int l1_index, l2_index; local 573 l2_index = (offset >> s->cluster_bits) & (s->l2_size - 1); 577 *new_l2_index = l2_index; 600 int l2_index, ret; local 605 ret = get_cluster_table(bs, offset, &l2_table, &l2_offset, &l2_index); 670 int i, j = 0, l2_index, ret; local 754 int l2_index, ret; local [all...] |