Lines Matching defs:inode
22 #include "inode.h"
37 struct inode *inode;
50 inode = ocfs2_ilookup(sb, blkno);
52 * If the inode exists in memory, we only need to check it's
55 if (inode)
73 * as an inode, we return -ESTALE to be
78 mlog(ML_ERROR, "test inode bit failed %d\n", status);
83 /* If the inode allocator bit is clear, this inode must be stale */
89 inode = ocfs2_iget(osb, blkno, 0, 0);
104 if (IS_ERR(inode)) {
105 mlog_errno(PTR_ERR(inode));
106 result = ERR_CAST(inode);
111 if (handle->ih_generation != inode->i_generation) {
114 inode->i_generation);
115 iput(inode);
120 result = d_obtain_alias(inode);
134 struct inode *dir = d_inode(child);
166 mlog(ML_ERROR, "test inode bit failed %d\n", status);
192 static int ocfs2_encode_fh(struct inode *inode, u32 *fh_in, int *max_len,
193 struct inode *parent)
218 blkno = OCFS2_I(inode)->ip_blkno;
219 generation = inode->i_generation;