Lines Matching refs:allocated_size
122 allocated_size_vcn = ni->allocated_size >> in ntfs_map_runlist_nolock()
356 if (!ni->allocated_size) { in ntfs_attr_vcn_to_lcn_nolock()
479 if (!ni->allocated_size) { in ntfs_attr_find_vcn_nolock()
1691 a->data.non_resident.allocated_size = cpu_to_sle64(new_size); in ntfs_attr_make_non_resident()
1700 a->data.non_resident.allocated_size; in ntfs_attr_make_non_resident()
1714 ni->allocated_size = new_size; in ntfs_attr_make_non_resident()
1716 ni->itype.compressed.size = ni->allocated_size; in ntfs_attr_make_non_resident()
1733 vi->i_blocks = ni->allocated_size >> 9; in ntfs_attr_make_non_resident()
1814 ni->allocated_size = arec_size - mp_ofs; in ntfs_attr_make_non_resident()
1908 s64 ll, allocated_size, start = data_start; in ntfs_attr_extend_allocation() local
1923 allocated_size = ni->allocated_size; in ntfs_attr_extend_allocation()
1930 (unsigned long long)allocated_size, in ntfs_attr_extend_allocation()
1952 allocated_size = ni->allocated_size; in ntfs_attr_extend_allocation()
1954 if (start < 0 || start >= allocated_size) { in ntfs_attr_extend_allocation()
2005 allocated_size = ni->allocated_size; in ntfs_attr_extend_allocation()
2011 vcn = NInoNonResident(ni) ? allocated_size >> vol->cluster_size_bits : in ntfs_attr_extend_allocation()
2019 if (unlikely(new_alloc_size <= allocated_size)) { in ntfs_attr_extend_allocation()
2021 new_alloc_size = allocated_size; in ntfs_attr_extend_allocation()
2056 ni->allocated_size = le32_to_cpu(a->length) - in ntfs_attr_extend_allocation()
2092 allocated_size = ni->allocated_size; in ntfs_attr_extend_allocation()
2094 if (start < 0 || start >= allocated_size) in ntfs_attr_extend_allocation()
2107 allocated_size = ni->allocated_size; in ntfs_attr_extend_allocation()
2109 if (start < 0 || start >= allocated_size) { in ntfs_attr_extend_allocation()
2152 if (new_alloc_size == allocated_size) { in ntfs_attr_extend_allocation()
2164 if ((start >= 0 && start <= allocated_size) || ni->type != AT_DATA || in ntfs_attr_extend_allocation()
2182 if (!rl && !allocated_size) in ntfs_attr_extend_allocation()
2187 if (start < 0 || start >= allocated_size) in ntfs_attr_extend_allocation()
2219 rl2 = ntfs_cluster_alloc(vol, allocated_size >> vol->cluster_size_bits, in ntfs_attr_extend_allocation()
2220 (new_alloc_size - allocated_size) >> in ntfs_attr_extend_allocation()
2225 if (start < 0 || start >= allocated_size) in ntfs_attr_extend_allocation()
2238 if (start < 0 || start >= allocated_size) in ntfs_attr_extend_allocation()
2258 allocated_size) >> vol->cluster_size_bits); in ntfs_attr_extend_allocation()
2270 if (start < 0 || start >= allocated_size) in ntfs_attr_extend_allocation()
2292 if (start < 0 || start >= allocated_size) in ntfs_attr_extend_allocation()
2306 if (start < 0 || start >= allocated_size) in ntfs_attr_extend_allocation()
2338 ni->allocated_size = new_alloc_size; in ntfs_attr_extend_allocation()
2339 a->data.non_resident.allocated_size = cpu_to_sle64(new_alloc_size); in ntfs_attr_extend_allocation()
2351 ni->itype.compressed.size += new_alloc_size - allocated_size; in ntfs_attr_extend_allocation()
2376 if (start < 0 || start >= allocated_size) in ntfs_attr_extend_allocation()
2386 allocated_size >> vol->cluster_size_bits, NULL, 0, in ntfs_attr_extend_allocation()
2392 ni->allocated_size = new_alloc_size; in ntfs_attr_extend_allocation()
2400 allocated_size; in ntfs_attr_extend_allocation()
2416 (allocated_size >> vol->cluster_size_bits) - 1); in ntfs_attr_extend_allocation()
2418 ll = allocated_size >> vol->cluster_size_bits; in ntfs_attr_extend_allocation()