Lines Matching refs:file
34 #include "file.h"
1872 * The file system may already holding a PRMODE/EXMODE open lock.
1974 int ocfs2_file_lock(struct file *file, int ex, int trylock)
1979 struct ocfs2_file_private *fp = file->private_data;
1981 struct ocfs2_super *osb = OCFS2_SB(file->f_mapping->host->i_sb);
2070 void ocfs2_file_unlock(struct file *file)
2075 struct ocfs2_file_private *fp = file->private_data;
2077 struct ocfs2_super *osb = OCFS2_SB(file->f_mapping->host->i_sb);
3257 static int ocfs2_dlm_debug_release(struct inode *inode, struct file *file)
3259 struct seq_file *seq = file->private_data;
3265 return seq_release_private(inode, file);
3268 static int ocfs2_dlm_debug_open(struct inode *inode, struct file *file)
3273 priv = __seq_open_private(file, &ocfs2_dlm_seq_ops, sizeof(*priv));
4221 /* Lock quota info, this function expects at least shared lock on the quota file