Home
last modified time | relevance | path

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

/qemu/block/
H A Dvvfat.c318 uint32_t cluster_count; /* total number of clusters of this partition */ member
938 s->cluster_count=sector2cluster(s, s->sector_count); in init_directories()
989 if(cluster > s->cluster_count) { in init_directories()
1263 + s->sectors_per_cluster * s->cluster_count; in vvfat_open()
1527 if(cluster_num > s->cluster_count || read_cluster(s, cluster_num) != 0) { in vvfat_read()
2068 int cluster_count = 0; in check_directory_consistency() local
2111 cluster_count = check_directory_consistency(s, in check_directory_consistency()
2113 if (cluster_count == 0) { in check_directory_consistency()
2119 cluster_count = get_cluster_count_for_direntry(s, direntries + i, path2); in check_directory_consistency()
2120 if (cluster_count != in check_directory_consistency()
[all …]
H A Dqcow2-refcount.c2381 int cluster_count, in alloc_clusters_imrt() argument
2396 contiguous_free_clusters < cluster_count; in alloc_clusters_imrt()
2419 if (contiguous_free_clusters < cluster_count) { in alloc_clusters_imrt()
2427 cluster + cluster_count in alloc_clusters_imrt()
2436 for (i = 0; i < cluster_count; i++) { in alloc_clusters_imrt()
3721 int64_t i, end_cluster, cluster_count = 0, threshold; in qcow2_detect_metadata_preallocation() local
3740 for (i = 0; i < end_cluster && cluster_count < threshold; i++) { in qcow2_detect_metadata_preallocation()
3746 cluster_count += !!refcount; in qcow2_detect_metadata_preallocation()
3749 return cluster_count >= threshold; in qcow2_detect_metadata_preallocation()