Lines Matching refs:file
33 #include "file.h"
1871 * The file system may already holding a PRMODE/EXMODE open lock.
1973 int ocfs2_file_lock(struct file *file, int ex, int trylock)
1978 struct ocfs2_file_private *fp = file->private_data;
1980 struct ocfs2_super *osb = OCFS2_SB(file->f_mapping->host->i_sb);
2069 void ocfs2_file_unlock(struct file *file)
2074 struct ocfs2_file_private *fp = file->private_data;
2076 struct ocfs2_super *osb = OCFS2_SB(file->f_mapping->host->i_sb);
3267 static int ocfs2_dlm_debug_release(struct inode *inode, struct file *file)
3269 struct seq_file *seq = file->private_data;
3275 return seq_release_private(inode, file);
3278 static int ocfs2_dlm_debug_open(struct inode *inode, struct file *file)
3283 priv = __seq_open_private(file, &ocfs2_dlm_seq_ops, sizeof(*priv));
4242 /* Lock quota info, this function expects at least shared lock on the quota file