Lines Matching defs:i_size

465 			 * If this is a directory we need to reset the i_size to
485 * If this is a directory we need to reset the i_size to 0 so
520 * Also, don't overwrite i_size on directories during replay.
522 * state of the tree found in the subvolume, and i_size is modified
1941 btrfs_i_size_write(BTRFS_I(dir), dir->i_size + name.len * 2);
2459 * added beyond the inode's i_size. If we did it after,
3715 * possible to rmdir the parent directory, since its i_size could
4132 btrfs_set_token_inode_size(&token, item, inode->i_size);
4283 const u64 i_size = i_size_read(&inode->vfs_inode);
4372 ins_keys[dst_index].offset < i_size &&
4466 key.offset < i_size &&
4704 * Log all prealloc extents beyond the inode's i_size to make sure we do not
4717 const u64 i_size = i_size_read(&inode->vfs_inode);
4721 u64 truncate_offset = i_size;
4733 key.offset = i_size;
4740 * i_size and crosses the i_size boundary. This is to ensure later we
4741 * truncate down to the end of that extent and not to the i_size, as
4744 * that starts at an offset beyond i_size.
4765 if (extent_end > i_size)
4799 key.offset < i_size) {
4959 * If the in-memory inode's i_size is smaller then the inode
4960 * size stored in the btree, return the inode's i_size, so
4969 if (*size_ret > inode->vfs_inode.i_size)
4970 *size_ret = inode->vfs_inode.i_size;
5072 const u64 i_size = i_size_read(&inode->vfs_inode);
5076 if (!btrfs_fs_incompat(fs_info, NO_HOLES) || i_size == 0)
5141 if (prev_extent_end < i_size) {
5145 hole_len = ALIGN(i_size - prev_extent_end, fs_info->sectorsize);
5367 * directory's i_size to the correct value (see replay_one_name() and
5802 const u64 i_size = i_size_read(&inode->vfs_inode);
5826 min_key->offset >= i_size) {
6471 * we use the inode's current i_size, after log replay
6612 * is logged with an i_size of 0 or whatever value was logged
6613 * before. If later the i_size of the inode is increased by a
6617 * inode with the new i_size, the hole between old i_size and
6618 * the new i_size, and syncs the log.