blob: 8a28d08072b9e112df147394f580237fa07d7412 [file] [log] [blame]
Ben Cheng655a7c02013-10-16 16:09:24 -07001/****************************************************************************
2 ****************************************************************************
3 ***
4 *** This header was automatically generated from a Linux kernel header
5 *** of the same name, to make information necessary for userspace to
6 *** call into the kernel available to libc. It contains only constants,
7 *** structures, and macros generated from the original header, and thus,
8 *** contains no copyrightable information.
9 ***
10 *** To edit the content of this header, modify the corresponding
11 *** source file (e.g. under external/kernel-headers/original/) then
12 *** run bionic/libc/kernel/tools/update_all.py
13 ***
14 *** Any manual change here will be lost the next time this script will
15 *** be run. You've been warned!
16 ***
17 ****************************************************************************
18 ****************************************************************************/
19#ifndef _UAPI_LINUX_AUTO_FS_H
20#define _UAPI_LINUX_AUTO_FS_H
21#include <linux/types.h>
Christopher Ferris6a9755d2017-01-13 14:09:31 -080022#include <linux/limits.h>
Ben Cheng655a7c02013-10-16 16:09:24 -070023/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Christopher Ferris6a9755d2017-01-13 14:09:31 -080024#include <sys/ioctl.h>
Ben Cheng655a7c02013-10-16 16:09:24 -070025#define AUTOFS_PROTO_VERSION 3
26#define AUTOFS_MAX_PROTO_VERSION AUTOFS_PROTO_VERSION
27#define AUTOFS_MIN_PROTO_VERSION AUTOFS_PROTO_VERSION
Ben Cheng655a7c02013-10-16 16:09:24 -070028/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Christopher Ferris6a9755d2017-01-13 14:09:31 -080029#if defined(__ia64__) || defined(__alpha__)
Ben Cheng655a7c02013-10-16 16:09:24 -070030typedef unsigned long autofs_wqt_t;
31#else
32typedef unsigned int autofs_wqt_t;
Ben Cheng655a7c02013-10-16 16:09:24 -070033/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Christopher Ferris6a9755d2017-01-13 14:09:31 -080034#endif
Ben Cheng655a7c02013-10-16 16:09:24 -070035#define autofs_ptype_missing 0
36#define autofs_ptype_expire 1
37struct autofs_packet_hdr {
Ben Cheng655a7c02013-10-16 16:09:24 -070038/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Christopher Ferris6a9755d2017-01-13 14:09:31 -080039 int proto_version;
Tao Baod7db5942015-01-28 10:07:51 -080040 int type;
Ben Cheng655a7c02013-10-16 16:09:24 -070041};
42struct autofs_packet_missing {
Ben Cheng655a7c02013-10-16 16:09:24 -070043/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Christopher Ferris6a9755d2017-01-13 14:09:31 -080044 struct autofs_packet_hdr hdr;
Tao Baod7db5942015-01-28 10:07:51 -080045 autofs_wqt_t wait_queue_token;
46 int len;
47 char name[NAME_MAX + 1];
Ben Cheng655a7c02013-10-16 16:09:24 -070048/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Christopher Ferris6a9755d2017-01-13 14:09:31 -080049};
Ben Cheng655a7c02013-10-16 16:09:24 -070050struct autofs_packet_expire {
Tao Baod7db5942015-01-28 10:07:51 -080051 struct autofs_packet_hdr hdr;
52 int len;
Ben Cheng655a7c02013-10-16 16:09:24 -070053/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Christopher Ferris6a9755d2017-01-13 14:09:31 -080054 char name[NAME_MAX + 1];
Ben Cheng655a7c02013-10-16 16:09:24 -070055};
Tao Baod7db5942015-01-28 10:07:51 -080056#define AUTOFS_IOC_READY _IO(0x93, 0x60)
57#define AUTOFS_IOC_FAIL _IO(0x93, 0x61)
Ben Cheng655a7c02013-10-16 16:09:24 -070058/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Christopher Ferris6a9755d2017-01-13 14:09:31 -080059#define AUTOFS_IOC_CATATONIC _IO(0x93, 0x62)
Tao Baod7db5942015-01-28 10:07:51 -080060#define AUTOFS_IOC_PROTOVER _IOR(0x93, 0x63, int)
61#define AUTOFS_IOC_SETTIMEOUT32 _IOWR(0x93, 0x64, compat_ulong_t)
62#define AUTOFS_IOC_SETTIMEOUT _IOWR(0x93, 0x64, unsigned long)
Ben Cheng655a7c02013-10-16 16:09:24 -070063/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Christopher Ferris6a9755d2017-01-13 14:09:31 -080064#define AUTOFS_IOC_EXPIRE _IOR(0x93, 0x65, struct autofs_packet_expire)
Ben Cheng655a7c02013-10-16 16:09:24 -070065#endif