Home
last modified time | relevance | path

Searched refs:new_alloc_size (Results 1 - 8 of 8) sorted by relevance

/kernel/linux/linux-5.10/fs/ntfs/
H A Dattrib.c1858 * @new_alloc_size: new size in bytes to which to extend the allocation to
1863 * to @new_alloc_size bytes. If @data_start is -1, the whole extension may be
1867 * but the regions between @data_start and @new_alloc_size must be backed by
1875 * size as well as for @new_data_size to be greater than @new_alloc_size.
1914 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()
[all...]
H A Dattrib.h94 extern s64 ntfs_attr_extend_allocation(ntfs_inode *ni, s64 new_alloc_size,
H A Dinode.c2357 s64 new_size, old_size, nr_freed, new_alloc_size, old_alloc_size; in ntfs_truncate() local
2425 new_alloc_size = (new_size + vol->cluster_size - 1) & in ntfs_truncate()
2428 new_alloc_size = (new_size + 7) & ~7; in ntfs_truncate()
2445 if (new_alloc_size - old_alloc_size >= 0) { in ntfs_truncate()
2447 if (new_alloc_size == old_alloc_size) in ntfs_truncate()
2696 nr_freed = ntfs_cluster_free(ni, new_alloc_size >> in ntfs_truncate()
2709 new_alloc_size >> vol->cluster_size_bits); in ntfs_truncate()
2761 a->data.non_resident.highest_vcn = cpu_to_sle64((new_alloc_size >> in ntfs_truncate()
2764 ni->allocated_size = new_alloc_size; in ntfs_truncate()
2765 a->data.non_resident.allocated_size = cpu_to_sle64(new_alloc_size); in ntfs_truncate()
[all...]
/kernel/linux/linux-6.6/fs/ntfs/
H A Dattrib.c1858 * @new_alloc_size: new size in bytes to which to extend the allocation to
1863 * to @new_alloc_size bytes. If @data_start is -1, the whole extension may be
1867 * but the regions between @data_start and @new_alloc_size must be backed by
1875 * size as well as for @new_data_size to be greater than @new_alloc_size.
1914 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()
[all...]
H A Dattrib.h94 extern s64 ntfs_attr_extend_allocation(ntfs_inode *ni, s64 new_alloc_size,
H A 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...]
/kernel/linux/linux-5.10/mm/
H A Dmemblock.c409 phys_addr_t old_alloc_size, new_alloc_size; in memblock_double_array() local
428 new_alloc_size = PAGE_ALIGN(new_size); in memblock_double_array()
447 new_alloc_size, PAGE_SIZE); in memblock_double_array()
451 new_alloc_size, PAGE_SIZE); in memblock_double_array()
488 BUG_ON(memblock_reserve(addr, new_alloc_size)); in memblock_double_array()
/kernel/linux/linux-6.6/mm/
H A Dmemblock.c419 phys_addr_t old_alloc_size, new_alloc_size; in memblock_double_array() local
438 new_alloc_size = PAGE_ALIGN(new_size); in memblock_double_array()
457 new_alloc_size, PAGE_SIZE); in memblock_double_array()
461 new_alloc_size, PAGE_SIZE); in memblock_double_array()
498 BUG_ON(memblock_reserve(addr, new_alloc_size)); in memblock_double_array()

Completed in 18 milliseconds