HomeSort by relevance Sort by last modified time
    Searched full:nb_clusters (Results 1 - 4 of 4) sorted by null

  /external/qemu/block/
qcow2-cluster.c 293 static int count_contiguous_clusters(uint64_t nb_clusters, int cluster_size,
302 for (i = start; i < start + nb_clusters; i++)
309 static int count_contiguous_free_clusters(uint64_t nb_clusters, uint64_t *l2_table)
313 while(nb_clusters-- && l2_table[i] == 0)
447 unsigned int index_in_cluster, nb_clusters; local
497 nb_clusters = size_to_clusters(s, nb_needed << 9);
501 c = count_contiguous_free_clusters(nb_clusters, &l2_table[l2_index]);
504 c = count_contiguous_clusters(nb_clusters, s->cluster_size,
674 if (m->nb_clusters == 0)
677 old_cluster = qemu_malloc(m->nb_clusters * sizeof(uint64_t))
757 unsigned int nb_clusters, i = 0; local
    [all...]
qcow2-refcount.c 590 int i, nb_clusters, refcount; local
592 nb_clusters = size_to_clusters(s, size);
594 for(i = 0; i < nb_clusters; i++) {
607 (s->free_cluster_index - nb_clusters) << s->cluster_bits);
609 return (s->free_cluster_index - nb_clusters) << s->cluster_bits;
698 uint64_t cluster_offset, int nb_clusters)
714 qcow2_free_clusters(bs, cluster_offset, nb_clusters << s->cluster_bits);
1108 int nb_clusters, refcount1, refcount2, i; local
    [all...]
qcow2.h 141 int nb_clusters; member in struct:QCowL2Meta
181 uint64_t cluster_offset, int nb_clusters);
qcow2.c 514 acb->l2meta.nb_clusters = 0;
541 if (m->nb_clusters != 0) {
599 if (acb->l2meta.nb_clusters == 0 && acb->l2meta.depends_on != NULL) {
634 if (acb->l2meta.nb_clusters != 0) {
814 qcow2_free_any_clusters(bs, meta.cluster_offset, meta.nb_clusters);
    [all...]

Completed in 36 milliseconds