Home
last modified time | relevance | path

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

/qemu/block/
H A Dparallels.c256 int64_t i, pos, idx, to_allocate, first_free, host_off; in allocate_clusters() local
279 first_free = find_first_zero_bit(s->used_bmap, s->used_bmap_size); in allocate_clusters()
280 if (first_free == s->used_bmap_size) { in allocate_clusters()
313 next_used = find_next_bit(s->used_bmap, s->used_bmap_size, first_free); in allocate_clusters()
316 if (next_used - first_free < to_allocate) { in allocate_clusters()
317 to_allocate = next_used - first_free; in allocate_clusters()
322 host_off += first_free * s->cluster_size; in allocate_clusters()