Lines Matching refs:size

610 	/* Check the cluster size is not above the maximum (64kiB). */
773 ntfs_error(vol->sb, "Sector size (%i) is smaller than the "
774 "device block size (%lu). This is not "
793 ntfs_error(vol->sb, "Cluster size (%i) is smaller than the "
794 "sector size (%i). This is not supported. "
824 ntfs_error(vol->sb, "Mft record size (%i) exceeds the "
830 /* We cannot support mft record sizes below the sector size. */
832 ntfs_error(vol->sb, "Mft record size (%i) is smaller than the "
833 "sector size (%i). This is not supported. "
861 /* We cannot support index record sizes below the sector size. */
863 ntfs_error(vol->sb, "Index record size (%i) is smaller than "
864 "the sector size (%i). This is not "
870 * Get the size of the volume in clusters and check for 64-bit-ness.
883 * volume size to 2TiB (2^41). On a 64-bit architecture, the compiler
888 ntfs_error(vol->sb, "Volume size (%lluTiB) is too "
916 * Work out the size of the mft mirror in number of mft records. If the
917 * cluster size is less than or equal to the size taken by four mft
919 * cluster size is bigger than the size taken by four mft records, the
951 /* Determine the size of the MFT zone. */
953 switch (vol->mft_zone_multiplier) { /* % of volume size in clusters */
993 * halving the zone size until we are inside the volume.
1244 * If hiberfil.sys exists and is less than 4kiB in size it means Windows is
1249 * If hiberfil.sys exists and is larger than 4kiB in size, we need to read the
1428 * If the $UsnJrnl $DATA/$J attribute has a size equal to the lowest valid usn,
1513 "attribute (size is 0x%llx but should be at "
1545 "maximum size (0x%llx). $UsnJrnl is corrupt.",
1593 unsigned int size;
1604 /* The size of FILE_AttrDef must be above 0 and fit inside 31 bits. */
1613 size = PAGE_SIZE;
1621 page_address(page), size);
1624 if (size == PAGE_SIZE) {
1625 size = i_size & ~PAGE_MASK;
1626 if (size)
1658 unsigned int size;
1670 * The upcase size must not be above 64k Unicode characters, must not
1682 size = PAGE_SIZE;
1690 page_address(page), size);
1693 if (size == PAGE_SIZE) {
1694 size = i_size & ~PAGE_MASK;
1695 if (size)
1829 * Get the cluster allocation bitmap inode and verify the size, no
2447 * has a size in multiples of 8 bytes, i.e. up to 63 clusters could be outside
2603 s64 size;
2612 /* Optimal transfer block size. */
2622 size = get_nr_free_clusters(vol) << vol->cluster_size_bits >>
2624 if (size < 0LL)
2625 size = 0LL;
2627 sfs->f_bavail = sfs->f_bfree = size;
2631 size = i_size_read(vol->mft_ino) >> vol->mft_record_size_bits;
2641 sfs->f_files = size;
2643 sfs->f_ffree = __get_nr_free_mft_records(vol, size, max_index);
2762 ntfs_error(sb, "Device has unsupported sector size "
2764 "size on this architecture is %lu "
2771 * Setup the device access block size to NTFS_BLOCK_SIZE or the hard
2772 * sector size, whichever is bigger.
2777 ntfs_error(sb, "Unable to set device block size.");
2781 ntfs_debug("Set device block size to %i bytes (block size bits %i).",
2783 /* Determine the size of the device in units of block_size bytes. */
2787 ntfs_error(sb, "Unable to determine device size.");
2808 * If the boot sector indicates a sector size bigger than the current
2809 * device block size, switch the device block size to the sector size.
2822 "size to sector size (%i).",
2828 ntfs_debug("Changed device block size to %i bytes (block size "
2829 "bits %i) to match volume sector size.",
2837 * Ntfs allows 63 bits for the file size, i.e. correct would be:
2870 * The current mount is a compression user if the cluster size is