Lines Matching refs:device_size
198 s64 device_size;
1368 sle64_to_cpu(image_hdr.device_size));
1606 image_hdr.device_size = cpu_to_sle64(image_hdr.device_size);
1651 return sle64_to_cpu(image_hdr.device_size);
1656 s64 device_size;
1660 device_size = ntfs_device_size_get(vol->u.dev, 1);
1661 if (device_size <= 0)
1662 err_exit("Couldn't get device size (%lld)!\n", device_size);
1664 print_volume_size("Current device size", device_size);
1666 if (device_size < vol->nr_clusters * vol->cluster_size)
1669 "device partitioning?\n", device_size);
1671 return device_size;
1674 static void initialise_image_hdr(s64 device_size, s64 inuse)
1680 image_hdr.device_size = cpu_to_sle64(device_size);
1816 s64 device_size; /* input device size in bytes */
1830 device_size = open_image();
1834 device_size = open_volume();
1880 initialise_image_hdr(device_size, image.inuse);