• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 /****************************************************************************
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>
22 #include <sys/ioctl.h>
23 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
24 #define AUTOFS_PROTO_VERSION 3
25 #define AUTOFS_MAX_PROTO_VERSION AUTOFS_PROTO_VERSION
26 #define AUTOFS_MIN_PROTO_VERSION AUTOFS_PROTO_VERSION
27 #if defined(__ia64__) || defined(__alpha__)
28 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
29 typedef unsigned long autofs_wqt_t;
30 #else
31 typedef unsigned int autofs_wqt_t;
32 #endif
33 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
34 #define autofs_ptype_missing 0
35 #define autofs_ptype_expire 1
36 struct autofs_packet_hdr {
37  int proto_version;
38 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
39  int type;
40 };
41 struct autofs_packet_missing {
42  struct autofs_packet_hdr hdr;
43 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
44  autofs_wqt_t wait_queue_token;
45  int len;
46  char name[NAME_MAX+1];
47 };
48 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
49 struct autofs_packet_expire {
50  struct autofs_packet_hdr hdr;
51  int len;
52  char name[NAME_MAX+1];
53 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
54 };
55 #define AUTOFS_IOC_READY _IO(0x93,0x60)
56 #define AUTOFS_IOC_FAIL _IO(0x93,0x61)
57 #define AUTOFS_IOC_CATATONIC _IO(0x93,0x62)
58 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
59 #define AUTOFS_IOC_PROTOVER _IOR(0x93,0x63,int)
60 #define AUTOFS_IOC_SETTIMEOUT32 _IOWR(0x93,0x64,compat_ulong_t)
61 #define AUTOFS_IOC_SETTIMEOUT _IOWR(0x93,0x64,unsigned long)
62 #define AUTOFS_IOC_EXPIRE _IOR(0x93,0x65,struct autofs_packet_expire)
63 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
64 #endif
65