Home
last modified time | relevance | path

Searched refs:new_alloc_size (Results 1 – 3 of 3) sorted by relevance

/fs/ntfs/
Dattrib.c1914 s64 ntfs_attr_extend_allocation(ntfs_inode *ni, s64 new_alloc_size, in ntfs_attr_extend_allocation() argument
1941 (unsigned long long)new_alloc_size, in ntfs_attr_extend_allocation()
1953 new_alloc_size = (new_alloc_size + vol->cluster_size - 1) & in ntfs_attr_extend_allocation()
1956 BUG_ON(new_data_size >= 0 && new_data_size > new_alloc_size); in ntfs_attr_extend_allocation()
1958 err = ntfs_attr_size_bounds_check(vol, ni->type, new_alloc_size); 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()
2060 if (new_alloc_size < vol->mft_record_size && in ntfs_attr_extend_allocation()
2063 new_alloc_size)) { in ntfs_attr_extend_allocation()
2162 if (new_alloc_size == allocated_size) { in ntfs_attr_extend_allocation()
[all …]
Dinode.c2357 s64 new_size, old_size, nr_freed, new_alloc_size, old_alloc_size; in ntfs_truncate() local
2424 new_alloc_size = (new_size + vol->cluster_size - 1) & in ntfs_truncate()
2427 new_alloc_size = (new_size + 7) & ~7; in ntfs_truncate()
2444 if (new_alloc_size - old_alloc_size >= 0) { in ntfs_truncate()
2446 if (new_alloc_size == old_alloc_size) in ntfs_truncate()
2695 nr_freed = ntfs_cluster_free(ni, new_alloc_size >> in ntfs_truncate()
2708 new_alloc_size >> vol->cluster_size_bits); in ntfs_truncate()
2759 a->data.non_resident.highest_vcn = cpu_to_sle64((new_alloc_size >> in ntfs_truncate()
2762 ni->allocated_size = new_alloc_size; in ntfs_truncate()
2763 a->data.non_resident.allocated_size = cpu_to_sle64(new_alloc_size); in ntfs_truncate()
[all …]
Dattrib.h94 extern s64 ntfs_attr_extend_allocation(ntfs_inode *ni, s64 new_alloc_size,