Lines Matching refs:allocated_size
371 ni->initialized_size = ni->allocated_size = 0; in __ntfs_init_inode()
876 ni->allocated_size = 0; in ntfs_read_locked_inode()
942 ni->allocated_size = sle64_to_cpu( in ntfs_read_locked_inode()
943 a->data.non_resident.allocated_size); in ntfs_read_locked_inode()
995 ni->allocated_size = 0; in ntfs_read_locked_inode()
1106 ni->allocated_size = sle64_to_cpu( in ntfs_read_locked_inode()
1107 a->data.non_resident.allocated_size); in ntfs_read_locked_inode()
1111 ni->allocated_size = le32_to_cpu(a->length) - in ntfs_read_locked_inode()
1114 if (vi->i_size > ni->allocated_size) { in ntfs_read_locked_inode()
1150 vi->i_blocks = ni->allocated_size >> 9; in ntfs_read_locked_inode()
1323 ni->allocated_size = le32_to_cpu(a->length) - in ntfs_read_locked_attr_inode()
1325 if (vi->i_size > ni->allocated_size) { in ntfs_read_locked_attr_inode()
1381 ni->allocated_size = sle64_to_cpu( in ntfs_read_locked_attr_inode()
1382 a->data.non_resident.allocated_size); in ntfs_read_locked_attr_inode()
1392 vi->i_blocks = ni->allocated_size >> 9; in ntfs_read_locked_attr_inode()
1579 vi->i_size = ni->initialized_size = ni->allocated_size = 0; in ntfs_read_locked_index_inode()
1640 ni->allocated_size = sle64_to_cpu(a->data.non_resident.allocated_size); in ntfs_read_locked_index_inode()
1675 vi->i_blocks = ni->allocated_size >> 9; in ntfs_read_locked_index_inode()
2037 a->data.non_resident.allocated_size) in ntfs_read_inode_mount()
2044 ni->allocated_size = sle64_to_cpu( in ntfs_read_inode_mount()
2045 a->data.non_resident.allocated_size); in ntfs_read_inode_mount()
2407 old_alloc_size = ni->allocated_size; in ntfs_truncate()
2478 ni->allocated_size = le32_to_cpu(a->length) - in ntfs_truncate()
2740 ni->allocated_size = new_alloc_size; in ntfs_truncate()
2741 a->data.non_resident.allocated_size = cpu_to_sle64(new_alloc_size); in ntfs_truncate()