Lines Matching refs:size
602 /* Check the cluster size is not above the maximum (64kiB). */
765 ntfs_error(vol->sb, "Sector size (%i) is smaller than the "
766 "device block size (%lu). This is not "
785 ntfs_error(vol->sb, "Cluster size (%i) is smaller than the "
786 "sector size (%i). This is not supported. "
816 ntfs_error(vol->sb, "Mft record size (%i) exceeds the "
822 /* We cannot support mft record sizes below the sector size. */
824 ntfs_error(vol->sb, "Mft record size (%i) is smaller than the "
825 "sector size (%i). This is not supported. "
853 /* We cannot support index record sizes below the sector size. */
855 ntfs_error(vol->sb, "Index record size (%i) is smaller than "
856 "the sector size (%i). This is not "
862 * Get the size of the volume in clusters and check for 64-bit-ness.
875 * volume size to 2TiB (2^41). On a 64-bit architecture, the compiler
880 ntfs_error(vol->sb, "Volume size (%lluTiB) is too "
908 * Work out the size of the mft mirror in number of mft records. If the
909 * cluster size is less than or equal to the size taken by four mft
911 * cluster size is bigger than the size taken by four mft records, the
943 /* Determine the size of the MFT zone. */
945 switch (vol->mft_zone_multiplier) { /* % of volume size in clusters */
985 * halving the zone size until we are inside the volume.
1236 * If hiberfil.sys exists and is less than 4kiB in size it means Windows is
1241 * If hiberfil.sys exists and is larger than 4kiB in size, we need to read the
1420 * If the $UsnJrnl $DATA/$J attribute has a size equal to the lowest valid usn,
1505 "attribute (size is 0x%llx but should be at "
1537 "maximum size (0x%llx). $UsnJrnl is corrupt.",
1585 unsigned int size;
1596 /* The size of FILE_AttrDef must be above 0 and fit inside 31 bits. */
1605 size = PAGE_SIZE;
1613 page_address(page), size);
1616 if (size == PAGE_SIZE) {
1617 size = i_size & ~PAGE_MASK;
1618 if (size)
1650 unsigned int size;
1662 * The upcase size must not be above 64k Unicode characters, must not
1674 size = PAGE_SIZE;
1682 page_address(page), size);
1685 if (size == PAGE_SIZE) {
1686 size = i_size & ~PAGE_MASK;
1687 if (size)
1821 * Get the cluster allocation bitmap inode and verify the size, no
2439 * has a size in multiples of 8 bytes, i.e. up to 63 clusters could be outside
2595 s64 size;
2604 /* Optimal transfer block size. */
2614 size = get_nr_free_clusters(vol) << vol->cluster_size_bits >>
2616 if (size < 0LL)
2617 size = 0LL;
2619 sfs->f_bavail = sfs->f_bfree = size;
2623 size = i_size_read(vol->mft_ino) >> vol->mft_record_size_bits;
2633 sfs->f_files = size;
2635 sfs->f_ffree = __get_nr_free_mft_records(vol, size, max_index);
2754 ntfs_error(sb, "Device has unsupported sector size "
2756 "size on this architecture is %lu "
2763 * Setup the device access block size to NTFS_BLOCK_SIZE or the hard
2764 * sector size, whichever is bigger.
2769 ntfs_error(sb, "Unable to set device block size.");
2773 ntfs_debug("Set device block size to %i bytes (block size bits %i).",
2775 /* Determine the size of the device in units of block_size bytes. */
2778 ntfs_error(sb, "Unable to determine device size.");
2801 * If the boot sector indicates a sector size bigger than the current
2802 * device block size, switch the device block size to the sector size.
2815 "size to sector size (%i).",
2822 ntfs_debug("Changed device block size to %i bytes (block size "
2823 "bits %i) to match volume sector size.",
2831 * Ntfs allows 63 bits for the file size, i.e. correct would be:
2864 * The current mount is a compression user if the cluster size is