Lines Matching defs:file
19 int jfs_fsync(struct file *file, loff_t start, loff_t end, int datasync)
21 struct inode *inode = file->f_mapping->host;
24 rc = file_write_and_wait_range(file, start, end);
43 static int jfs_open(struct inode *inode, struct file *file)
47 if ((rc = dquot_file_open(inode, file)))
51 * We attempt to allow only one "active" file open per aggregate
55 * If the file is empty, it was probably just created and going
57 * file is actually grown.
59 if (S_ISREG(inode->i_mode) && file->f_mode & FMODE_WRITE &&
73 static int jfs_release(struct inode *inode, struct file *file)