Lines Matching refs:inode
19 * clients to directly read from or write to this inode. This must be called
29 struct inode *inode,
33 struct xfs_inode *ip = XFS_I(inode);
36 while ((error = break_layout(inode, false)) == -EWOULDBLOCK) {
39 error = break_layout(inode, true);
75 * inode state as we modify the data/metadata in the inode here. Hence we have
77 * to set the inode prealloc flag to ensure that the extents we allocate are not
78 * removed if the inode is reclaimed from memory before xfs_fs_block_commit()
112 struct inode *inode,
119 struct xfs_inode *ip = XFS_I(inode);
160 limit = max(limit, round_up(i_size_read(inode),
161 inode->i_sb->s_blocksize));
167 error = filemap_write_and_wait(inode->i_mapping);
170 error = invalidate_inode_pages2(inode->i_mapping);
260 struct inode *inode,
265 struct xfs_inode *ip = XFS_I(inode);
276 size = i_size_read(inode);
300 error = invalidate_inode_pages2_range(inode->i_mapping,
325 setattr_copy(&nop_mnt_idmap, inode, iattr);
327 i_size_write(inode, iattr->ia_size);