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()
1677 a->data.non_resident.allocated_size = cpu_to_sle64(new_size); in ntfs_attr_make_non_resident()
1686 a->data.non_resident.allocated_size; in ntfs_attr_make_non_resident()
1700 ni->allocated_size = new_size; in ntfs_attr_make_non_resident()
1702 ni->itype.compressed.size = ni->allocated_size; in ntfs_attr_make_non_resident()
1719 vi->i_blocks = ni->allocated_size >> 9; in ntfs_attr_make_non_resident()
1800 ni->allocated_size = arec_size - mp_ofs; in ntfs_attr_make_non_resident()
1894 s64 ll, allocated_size, start = data_start; in ntfs_attr_extend_allocation() local
1909 allocated_size = ni->allocated_size; in ntfs_attr_extend_allocation()
1916 (unsigned long long)allocated_size, in ntfs_attr_extend_allocation()
1938 allocated_size = ni->allocated_size; in ntfs_attr_extend_allocation()
1940 if (start < 0 || start >= allocated_size) { in ntfs_attr_extend_allocation()
1991 allocated_size = ni->allocated_size; in ntfs_attr_extend_allocation()
1997 vcn = NInoNonResident(ni) ? allocated_size >> vol->cluster_size_bits : in ntfs_attr_extend_allocation()
2005 if (unlikely(new_alloc_size <= allocated_size)) { in ntfs_attr_extend_allocation()
2007 new_alloc_size = allocated_size; in ntfs_attr_extend_allocation()
2042 ni->allocated_size = le32_to_cpu(a->length) - in ntfs_attr_extend_allocation()
2078 allocated_size = ni->allocated_size; in ntfs_attr_extend_allocation()
2080 if (start < 0 || start >= allocated_size) in ntfs_attr_extend_allocation()
2093 allocated_size = ni->allocated_size; in ntfs_attr_extend_allocation()
2095 if (start < 0 || start >= allocated_size) { in ntfs_attr_extend_allocation()
2138 if (new_alloc_size == allocated_size) { in ntfs_attr_extend_allocation()
2150 if ((start >= 0 && start <= allocated_size) || ni->type != AT_DATA || in ntfs_attr_extend_allocation()
2168 if (!rl && !allocated_size) in ntfs_attr_extend_allocation()
2173 if (start < 0 || start >= allocated_size) in ntfs_attr_extend_allocation()
2205 rl2 = ntfs_cluster_alloc(vol, allocated_size >> vol->cluster_size_bits, in ntfs_attr_extend_allocation()
2206 (new_alloc_size - allocated_size) >> in ntfs_attr_extend_allocation()
2211 if (start < 0 || start >= allocated_size) in ntfs_attr_extend_allocation()
2224 if (start < 0 || start >= allocated_size) in ntfs_attr_extend_allocation()
2244 allocated_size) >> vol->cluster_size_bits); in ntfs_attr_extend_allocation()
2256 if (start < 0 || start >= allocated_size) in ntfs_attr_extend_allocation()
2278 if (start < 0 || start >= allocated_size) in ntfs_attr_extend_allocation()
2292 if (start < 0 || start >= allocated_size) in ntfs_attr_extend_allocation()
2324 ni->allocated_size = new_alloc_size; in ntfs_attr_extend_allocation()
2325 a->data.non_resident.allocated_size = cpu_to_sle64(new_alloc_size); in ntfs_attr_extend_allocation()
2337 ni->itype.compressed.size += new_alloc_size - allocated_size; in ntfs_attr_extend_allocation()
2362 if (start < 0 || start >= allocated_size) in ntfs_attr_extend_allocation()
2372 allocated_size >> vol->cluster_size_bits, NULL, 0, in ntfs_attr_extend_allocation()
2378 ni->allocated_size = new_alloc_size; in ntfs_attr_extend_allocation()
2386 allocated_size; in ntfs_attr_extend_allocation()
2402 (allocated_size >> vol->cluster_size_bits) - 1); in ntfs_attr_extend_allocation()
2404 ll = allocated_size >> vol->cluster_size_bits; in ntfs_attr_extend_allocation()