Lines Matching refs:new_size
469 u64 new_size = control->new_size; in btrfs_truncate_inode_items() local
483 ASSERT(new_size == 0 || control->min_type == BTRFS_EXTENT_DATA_KEY); in btrfs_truncate_inode_items()
485 control->last_size = new_size; in btrfs_truncate_inode_items()
562 if (item_end < new_size) in btrfs_truncate_inode_items()
564 if (found_key.offset >= new_size) in btrfs_truncate_inode_items()
584 extent_num_bytes = ALIGN(new_size - in btrfs_truncate_inode_items()
587 clear_start = ALIGN(new_size, fs_info->sectorsize); in btrfs_truncate_inode_items()
616 u32 size = (u32)(new_size - found_key.offset); in btrfs_truncate_inode_items()
637 control->sub_bytes += item_end + 1 - new_size; in btrfs_truncate_inode_items()
669 control->last_size = new_size; in btrfs_truncate_inode_items()
745 ASSERT(control->last_size >= new_size); in btrfs_truncate_inode_items()
746 if (!ret && control->last_size > new_size) in btrfs_truncate_inode_items()
747 control->last_size = new_size; in btrfs_truncate_inode_items()