Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/fs/ntfs/
Dattrib.c1890 s64 ntfs_attr_extend_allocation(ntfs_inode *ni, s64 new_alloc_size, in ntfs_attr_extend_allocation() argument
1917 (unsigned long long)new_alloc_size, in ntfs_attr_extend_allocation()
1929 new_alloc_size = (new_alloc_size + vol->cluster_size - 1) & in ntfs_attr_extend_allocation()
1932 BUG_ON(new_data_size >= 0 && new_data_size > new_alloc_size); in ntfs_attr_extend_allocation()
1934 err = ntfs_attr_size_bounds_check(vol, ni->type, new_alloc_size); 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()
2036 if (new_alloc_size < vol->mft_record_size && in ntfs_attr_extend_allocation()
2039 new_alloc_size)) { in ntfs_attr_extend_allocation()
2138 if (new_alloc_size == allocated_size) { in ntfs_attr_extend_allocation()
[all …]
Dattrib.h94 extern s64 ntfs_attr_extend_allocation(ntfs_inode *ni, s64 new_alloc_size,
Dinode.c2346 s64 new_size, old_size, nr_freed, new_alloc_size, old_alloc_size; in ntfs_truncate() local
2414 new_alloc_size = (new_size + vol->cluster_size - 1) & in ntfs_truncate()
2417 new_alloc_size = (new_size + 7) & ~7; in ntfs_truncate()
2434 if (new_alloc_size - old_alloc_size >= 0) { in ntfs_truncate()
2436 if (new_alloc_size == old_alloc_size) in ntfs_truncate()
2685 nr_freed = ntfs_cluster_free(ni, new_alloc_size >> in ntfs_truncate()
2698 new_alloc_size >> vol->cluster_size_bits); in ntfs_truncate()
2750 a->data.non_resident.highest_vcn = cpu_to_sle64((new_alloc_size >> in ntfs_truncate()
2753 ni->allocated_size = new_alloc_size; in ntfs_truncate()
2754 a->data.non_resident.allocated_size = cpu_to_sle64(new_alloc_size); in ntfs_truncate()
[all …]
/kernel/linux/linux-5.10/mm/
Dmemblock.c403 phys_addr_t old_alloc_size, new_alloc_size; in memblock_double_array() local
422 new_alloc_size = PAGE_ALIGN(new_size); in memblock_double_array()
441 new_alloc_size, PAGE_SIZE); in memblock_double_array()
445 new_alloc_size, PAGE_SIZE); in memblock_double_array()
482 BUG_ON(memblock_reserve(addr, new_alloc_size)); in memblock_double_array()