Lines Matching defs:i_size
176 * we've only changed i_size in ram, and we haven't updated
177 * the disk i_size. There is no need to log the inode
991 if (start_pos < inode->vfs_inode.i_size) {
1385 * start offset is >= i_size, we might still have a non-NULL
2337 u64 ino_size = round_up(inode->vfs_inode.i_size, fs_info->sectorsize);
2425 * We are past the i_size here, but since we didn't
2611 ino_size = round_up(inode->i_size, fs_info->sectorsize);
2884 * do nothing except updating the inode's i_size if
3063 if (!(mode & FALLOC_FL_KEEP_SIZE) && offset + len > inode->i_size) {
3080 if (alloc_start > inode->i_size) {
3085 } else if (offset + len > inode->i_size) {
3088 * need to zero out the end of the block if i_size lands in the
3091 ret = btrfs_truncate_block(BTRFS_I(inode), inode->i_size, 0, 0);
3133 (cur_offset >= inode->i_size &&
3201 * size of the file so we need to update i_size and the inode item.
3461 const loff_t i_size = i_size_read(&inode->vfs_inode);
3473 if (i_size == 0 || offset >= i_size)
3478 * bytes used matches its i_size, then it can not have holes.
3482 inode_get_bytes(&inode->vfs_inode) == i_size)
3483 return i_size;
3508 lockend = round_up(i_size, fs_info->sectorsize);
3535 while (start < i_size) {
3660 /* We have an implicit hole from the last extent found up to i_size. */
3661 if (!found && start < i_size) {
3664 i_size - 1, &start);
3666 start = i_size;
3676 if (whence == SEEK_DATA && start >= i_size)
3679 return min_t(loff_t, start, i_size);