Lines Matching full:clusters
279 # Compressed clusters are not supported => bit #62 = 0
292 # All metadata for an empty guest image needs 4 clusters:
294 # Header takes cluster #0, other clusters ##1-3 can be used
305 # Number of clusters necessary for L1 table
313 # Host clusters allocated for L2 tables
339 """Return indices of clusters allocated for refcount blocks."""
343 # Allocate all yet not allocated clusters
346 # Indices of new refcount blocks necessary to cover clusters
354 """Return indices of clusters allocated for the refcount table
355 and updated indices of clusters allocated for blocks and indices
359 clusters = set()
362 # Number of clusters necessary for the refcount table based on
367 # Clusters allocated for the current length of the refcount table
369 # Clusters allocated for the refcount table including
373 # New refcount blocks necessary for clusters occupied by the
378 # Allocate clusters for new refcount blocks
379 new = self._get_available_clusters((data | clusters) |
383 # clusters in 'new'
385 clusters |= new
396 return table_clusters, blocks, clusters
420 # All metadata for an empty guest image needs 4 clusters:
422 # Header takes cluster #0, other clusters ##1-3 can be used
444 # Clusters allocated for refcount blocks
535 """Return a set of indices of not allocated clusters.
537 'used' contains indices of currently allocated clusters.
538 All clusters that cannot be allocated between 'used' clusters will have
552 'used' contains indices of currently allocated clusters. 'size' is the
553 length of the sequence of free clusters.
554 If the sequence of 'size' is not available between 'used' clusters, its
587 """Return a set of random indices of clusters allocated for guest data.
594 """Return indices of clusters allocated for image metadata."""