Lines Matching defs:file
18 * commands via a miscellaneous device file.
21 * an ioctl file descriptor on an autofs mount that may be covered by
28 typedef int (*ioctl_fn)(struct file *, struct autofs_sb_info *,
154 static int autofs_dev_ioctl_version(struct file *fp,
165 static int autofs_dev_ioctl_protover(struct file *fp,
174 static int autofs_dev_ioctl_protosubver(struct file *fp,
224 * Open a file descriptor on the autofs mount point corresponding
233 struct file *filp;
257 /* Open a file descriptor on an autofs mount point */
258 static int autofs_dev_ioctl_openmount(struct file *fp,
288 /* Close file descriptor allocated above (user can also use close(2)). */
289 static int autofs_dev_ioctl_closemount(struct file *fp,
300 static int autofs_dev_ioctl_ready(struct file *fp,
314 static int autofs_dev_ioctl_fail(struct file *fp,
338 static int autofs_dev_ioctl_setpipefd(struct file *fp,
356 struct file *pipe;
389 * mount requests. Also closes the kernel pipe file descriptor.
391 static int autofs_dev_ioctl_catatonic(struct file *fp,
400 static int autofs_dev_ioctl_timeout(struct file *fp,
420 static int autofs_dev_ioctl_requester(struct file *fp,
459 static int autofs_dev_ioctl_expire(struct file *fp,
473 static int autofs_dev_ioctl_askumount(struct file *fp,
486 * If we are supplied with the file descriptor of an autofs
494 * If we aren't supplied with a file descriptor then we
504 static int autofs_dev_ioctl_ismountpoint(struct file *fp,
597 struct file *fp;
639 * For obvious reasons the openmount can't have a file
641 * file during close to allow for immediate release,
688 static long autofs_dev_ioctl(struct file *file, unsigned int command,
698 static long autofs_dev_ioctl_compat(struct file *file, unsigned int command,
701 return autofs_dev_ioctl(file, command, (unsigned long) compat_ptr(u));