Lines Matching defs:size

72  * If any of the records exceed the initialized size of the $MFT/$DATA
80 * NOTE: @b has to be at least of size @count * vol->mft_record_size.
130 * If any of the records exceed the initialized size of the $MFT/$DATA
252 ntfs_log_error("Record %llu has corrupt allocation size "
260 ntfs_log_error("Record %llu has corrupt in-use size "
392 * @mrec: destination buffer of size >= @vol->mft_record_size bytes
435 ntfs_log_error("Sector size is bigger than MFT record size. "
553 unsigned int size;
564 size = PAGE_SIZE;
603 for (; pass <= 2; size = PAGE_SIZE) {
604 /* Cap size to pass_end. */
607 if (size > ll)
608 size = ll;
609 ll = ntfs_attr_pread(mftbmp_na, ofs, size, buf);
618 size = ll << 3;
621 ntfs_log_debug("Before inner for loop: size 0x%x, "
623 "*byte 0x%hhx, b %u.\n", size,
626 for (; bit < size && data_pos + bit < pass_end;
648 ntfs_log_debug("After inner for loop: size 0x%x, "
650 "*byte 0x%hhx, b %u.\n", size,
653 data_pos += size;
732 * Determine the last lcn of the mft bitmap. The allocated size of the
794 /* Get the size for the new mapping pairs array for this extent. */
797 ntfs_log_error("Get size for mapping pairs failed for "
1057 * the mft data attribute. The allocated size of the mft data
1143 /* Get the size for the new mapping pairs array for this extent. */
1146 ntfs_log_error("Get size for mapping pairs failed for "
1261 static int ntfs_mft_record_init(ntfs_volume *vol, s64 size)
1286 while (size > mft_na->allocated_size) {
1301 * Extend mft data initialized size (and data size of course) to reach
1307 while (size > mft_na->initialized_size) {
1365 static int ntfs_mft_rec_init(ntfs_volume *vol, s64 size)
1376 if (size > mft_na->allocated_size || size > mft_na->initialized_size) {
1379 ntfs_log_error("$MFT: size=%lld allocated_size=%lld "
1381 (long long)size,
1599 /* Initialize time, allocated and data size in ntfs_inode struct. */
1663 * create free mft records. We extend the allocated size of $MFT/$DATA by 16
1664 * records at a time or one cluster, if cluster size is above 16kiB. If there
1666 * or one cluster, if cluster size is above the mft record size, but we only do
1672 * allocated mft record, incrementing mft data size and initialized size
1679 * extend the initialized size (and data size) by 8 bytes, allocating another
1680 * cluster if required. The bitmap data size has to be at least equal to the
1925 /* Initialize time, allocated and data size in ntfs_inode struct. */