Lines Matching defs:file
198 * Enable or disable caching for a file that is being opened as appropriate.
200 * that time. Enablement is deferred to file-open time to avoid stat() and
210 * The caller uses the file struct to pin i_writecount on the inode before
211 * calling us when a file is opened for writing, so we can make use of that.
216 void nfs_fscache_open_file(struct inode *inode, struct file *filp)
234 void nfs_fscache_release_file(struct inode *inode, struct file *filp)
244 int nfs_netfs_read_folio(struct file *file, struct folio *folio)
249 return netfs_read_folio(file, folio);
264 static int nfs_netfs_init_request(struct netfs_io_request *rreq, struct file *file)
266 rreq->netfs_priv = get_nfs_open_context(nfs_file_open_context(file));