Searched refs:nb_available (Results 1 – 2 of 2) sorted by relevance
448 uint64_t nb_available, nb_needed; in qcow2_get_cluster_offset() local460 nb_available = (1ULL << l1_bits) - (offset & ((1ULL << l1_bits) - 1)); in qcow2_get_cluster_offset()464 nb_available = (nb_available >> 9) + index_in_cluster; in qcow2_get_cluster_offset()466 if (nb_needed > nb_available) { in qcow2_get_cluster_offset()467 nb_needed = nb_available; in qcow2_get_cluster_offset()508 nb_available = (c * s->cluster_sectors); in qcow2_get_cluster_offset()510 if (nb_available > nb_needed) in qcow2_get_cluster_offset()511 nb_available = nb_needed; in qcow2_get_cluster_offset()513 *num = nb_available - index_in_cluster; in qcow2_get_cluster_offset()687 if (m->nb_available & (s->cluster_sectors - 1)) { in qcow2_alloc_cluster_link_l2()[all …]
140 int nb_available; member