Lines Matching refs:allocated_size

108 		allocated_size_vcn = ni->allocated_size >>  in ntfs_map_runlist_nolock()
342 if (!ni->allocated_size) { in ntfs_attr_vcn_to_lcn_nolock()
465 if (!ni->allocated_size) { in ntfs_attr_find_vcn_nolock()
1701 a->data.non_resident.allocated_size = cpu_to_sle64(new_size); in ntfs_attr_make_non_resident()
1710 a->data.non_resident.allocated_size; in ntfs_attr_make_non_resident()
1724 ni->allocated_size = new_size; in ntfs_attr_make_non_resident()
1726 ni->itype.compressed.size = ni->allocated_size; in ntfs_attr_make_non_resident()
1743 vi->i_blocks = ni->allocated_size >> 9; in ntfs_attr_make_non_resident()
1824 ni->allocated_size = arec_size - mp_ofs; in ntfs_attr_make_non_resident()
1918 s64 ll, allocated_size, start = data_start; in ntfs_attr_extend_allocation() local
1933 allocated_size = ni->allocated_size; in ntfs_attr_extend_allocation()
1940 (unsigned long long)allocated_size, in ntfs_attr_extend_allocation()
1962 allocated_size = ni->allocated_size; in ntfs_attr_extend_allocation()
1964 if (start < 0 || start >= allocated_size) { in ntfs_attr_extend_allocation()
2015 allocated_size = ni->allocated_size; in ntfs_attr_extend_allocation()
2021 vcn = NInoNonResident(ni) ? allocated_size >> vol->cluster_size_bits : in ntfs_attr_extend_allocation()
2029 if (unlikely(new_alloc_size <= allocated_size)) { in ntfs_attr_extend_allocation()
2031 new_alloc_size = allocated_size; in ntfs_attr_extend_allocation()
2066 ni->allocated_size = le32_to_cpu(a->length) - in ntfs_attr_extend_allocation()
2102 allocated_size = ni->allocated_size; in ntfs_attr_extend_allocation()
2104 if (start < 0 || start >= allocated_size) in ntfs_attr_extend_allocation()
2117 allocated_size = ni->allocated_size; in ntfs_attr_extend_allocation()
2119 if (start < 0 || start >= allocated_size) { in ntfs_attr_extend_allocation()
2162 if (new_alloc_size == allocated_size) { in ntfs_attr_extend_allocation()
2174 if ((start >= 0 && start <= allocated_size) || ni->type != AT_DATA || in ntfs_attr_extend_allocation()
2192 if (!rl && !allocated_size) in ntfs_attr_extend_allocation()
2197 if (start < 0 || start >= allocated_size) in ntfs_attr_extend_allocation()
2229 rl2 = ntfs_cluster_alloc(vol, allocated_size >> vol->cluster_size_bits, in ntfs_attr_extend_allocation()
2230 (new_alloc_size - allocated_size) >> in ntfs_attr_extend_allocation()
2235 if (start < 0 || start >= allocated_size) in ntfs_attr_extend_allocation()
2248 if (start < 0 || start >= allocated_size) in ntfs_attr_extend_allocation()
2268 allocated_size) >> vol->cluster_size_bits); in ntfs_attr_extend_allocation()
2280 if (start < 0 || start >= allocated_size) in ntfs_attr_extend_allocation()
2302 if (start < 0 || start >= allocated_size) in ntfs_attr_extend_allocation()
2316 if (start < 0 || start >= allocated_size) in ntfs_attr_extend_allocation()
2348 ni->allocated_size = new_alloc_size; in ntfs_attr_extend_allocation()
2349 a->data.non_resident.allocated_size = cpu_to_sle64(new_alloc_size); in ntfs_attr_extend_allocation()
2361 ni->itype.compressed.size += new_alloc_size - allocated_size; in ntfs_attr_extend_allocation()
2386 if (start < 0 || start >= allocated_size) in ntfs_attr_extend_allocation()
2396 allocated_size >> vol->cluster_size_bits, NULL, 0, in ntfs_attr_extend_allocation()
2402 ni->allocated_size = new_alloc_size; in ntfs_attr_extend_allocation()
2410 allocated_size; in ntfs_attr_extend_allocation()
2426 (allocated_size >> vol->cluster_size_bits) - 1); in ntfs_attr_extend_allocation()
2428 ll = allocated_size >> vol->cluster_size_bits; in ntfs_attr_extend_allocation()