Lines Matching defs:nr_clusters
199 s64 nr_clusters;
672 static void clone_ntfs(u64 nr_clusters)
689 progress_init(&progress, p_counter, nr_clusters, 100);
697 for (last_cl = cl = 0; cl < (u64)vol->nr_clusters; cl++) {
744 sle64_to_cpu(image_hdr.nr_clusters) :
748 while (pos < sle64_to_cpu(image_hdr.nr_clusters)) {
1320 lcn_bitmap.size = rounded_up_division(vol->nr_clusters, 8);
1326 bitmap_file_data_fixup(vol->nr_clusters, &lcn_bitmap);
1330 static s64 volume_size(ntfs_volume *volume, s64 nr_clusters)
1332 return nr_clusters * volume->cluster_size;
1344 s64 nr_clusters, s64 inuse)
1348 total = nr_clusters * cluster_size;
1365 sle64_to_cpu(image_hdr.nr_clusters) *
1370 sle64_to_cpu(image_hdr.nr_clusters),
1434 volume_size(vol, vol->nr_clusters));
1607 image_hdr.nr_clusters = cpu_to_sle64(image_hdr.nr_clusters);
1666 if (device_size < vol->nr_clusters * vol->cluster_size)
1681 image_hdr.nr_clusters = cpu_to_sle64(vol->nr_clusters);
1831 ntfs_size = sle64_to_cpu(image_hdr.nr_clusters) *
1835 ntfs_size = vol->nr_clusters * vol->cluster_size;
1873 print_disk_usage("", vol->cluster_size, vol->nr_clusters, image.inuse);
1887 nr_clusters_to_save = vol->nr_clusters;