Lines Matching defs:inode
21 #include "inode.h"
24 static int ocfs2_do_flock(struct file *file, struct inode *inode,
101 struct inode *inode = file->f_mapping->host;
102 struct ocfs2_super *osb = OCFS2_SB(inode->i_sb);
106 if (__mandatory_lock(inode))
116 return ocfs2_do_flock(file, inode, cmd, fl);
121 struct inode *inode = file->f_mapping->host;
122 struct ocfs2_super *osb = OCFS2_SB(inode->i_sb);
126 if (__mandatory_lock(inode) && fl->fl_type != F_UNLCK)
129 return ocfs2_plock(osb->cconn, OCFS2_I(inode)->ip_blkno, file, cmd, fl);