Lines Matching defs:file
6 * This file contains the code mapping from inodes to NFS file handles,
7 * and for mapping back from file handles to dentries.
14 #include <linux/file.h>
282 struct file *file;
313 file = dentry_open(path, O_RDONLY, cred);
314 error = PTR_ERR(file);
315 if (IS_ERR(file))
319 if (!file->f_op->iterate && !file->f_op->iterate_shared)
326 error = iterate_dir(file, &buffer.ctx);
341 fput(file);
349 * @fid: where to store the file handle fragment
430 * Try to get any dentry for the given file handle from the filesystem.
443 * file handle is stale or to get a reference to an inode without
482 * the parent directory in the file handle and make sure
491 * file handle. If this fails we'll have to give up.