Lines Matching refs:new_size
468 u64 new_size = control->new_size; in btrfs_truncate_inode_items() local
482 ASSERT(new_size == 0 || control->min_type == BTRFS_EXTENT_DATA_KEY); in btrfs_truncate_inode_items()
484 control->last_size = new_size; in btrfs_truncate_inode_items()
561 if (item_end < new_size) in btrfs_truncate_inode_items()
563 if (found_key.offset >= new_size) in btrfs_truncate_inode_items()
583 extent_num_bytes = ALIGN(new_size - in btrfs_truncate_inode_items()
586 clear_start = ALIGN(new_size, fs_info->sectorsize); in btrfs_truncate_inode_items()
615 u32 size = (u32)(new_size - found_key.offset); in btrfs_truncate_inode_items()
636 control->sub_bytes += item_end + 1 - new_size; in btrfs_truncate_inode_items()
668 control->last_size = new_size; in btrfs_truncate_inode_items()
747 ASSERT(control->last_size >= new_size); in btrfs_truncate_inode_items()
748 if (!ret && control->last_size > new_size) in btrfs_truncate_inode_items()
749 control->last_size = new_size; in btrfs_truncate_inode_items()