Lines Matching defs:i_size
251 * extend the file past i_size without locking
258 BTRFS_I(inode)->disk_i_size = inode->i_size;
482 u64 i_size;
498 * We need to save i_size before now because it could change in between
500 * unlock the page in truncate and fallocate, and then modify the i_size
507 i_size = i_size_read(inode);
509 actual_end = min_t(u64, i_size, end + 1);
518 * we don't want to send crud past the end of i_size through
3150 * extent items past i_size that needed to be deleted. In v3.12,
3151 * truncate was changed to update i_size in sync with the extent
3705 btrfs_i_size_write(dir, dir->vfs_inode.i_size - name_len * 2);
3870 btrfs_i_size_write(BTRFS_I(dir), dir->i_size - name_len * 2);
4147 if (inode->i_size > BTRFS_EMPTY_DIR_SIZE)
4205 * csum items that cross the new i_size are truncated to the new size
4772 * rest of the block before we expand the i_size, otherwise we could
6198 btrfs_i_size_write(parent_inode, parent_inode->vfs_inode.i_size +
7372 * Need to update the i_size under the extent lock so buffered
7373 * readers will get the updated i_size when we unlock.
8071 if (offset + count <= inode->i_size) {
8499 ret = btrfs_wait_ordered_range(inode, inode->i_size & (~mask),
8566 inode->i_size,
8603 ret = btrfs_truncate_block(inode, inode->i_size, 0, 0);
9205 new_inode->i_size > BTRFS_EMPTY_DIR_SIZE)
9232 if (new_inode && S_ISREG(old_inode->i_mode) && new_inode->i_size)
9788 u64 i_size;
9877 (actual_len > inode->i_size) &&
9878 (cur_offset > inode->i_size)) {
9880 i_size = actual_len;
9882 i_size = cur_offset;
9883 i_size_write(inode, i_size);
10251 isize = ALIGN_DOWN(inode->i_size, fs_info->sectorsize);