Lines Matching refs:file
17 static long autofs_root_ioctl(struct file *, unsigned int, unsigned long);
19 static long autofs_root_compat_ioctl(struct file *,
22 static int autofs_dir_open(struct inode *inode, struct file *file);
74 static int autofs_dir_open(struct inode *inode, struct file *file)
76 struct dentry *dentry = file->f_path.dentry;
79 pr_debug("file=%p dentry=%p %pd\n", file, dentry, dentry);
85 * An empty directory in an autofs file system is always a
90 * autofs file system so just let the libfs routines handle
94 if (!path_is_mountpoint(&file->f_path) && simple_empty(dentry)) {
101 return dcache_dir_open(inode, file);
502 * to create directories within the file system.
545 * file system needs to be preserved over restarts.
585 * that the file no longer exists. However, doing that means that the
607 * file system needs to be preserved over restarts.
689 * file system needs to be preserved over restarts.
731 * file system needs to be preserved over restarts.
859 static int autofs_root_ioctl_unlocked(struct inode *inode, struct file *filp,
910 static long autofs_root_ioctl(struct file *filp,
919 static long autofs_root_compat_ioctl(struct file *filp,