• 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 _LINUX_AUTO_FS4_H
20 #define _LINUX_AUTO_FS4_H
21 #include <linux/types.h>
22 #include <linux/auto_fs.h>
23 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
24 #undef AUTOFS_PROTO_VERSION
25 #undef AUTOFS_MIN_PROTO_VERSION
26 #undef AUTOFS_MAX_PROTO_VERSION
27 #define AUTOFS_PROTO_VERSION 5
28 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
29 #define AUTOFS_MIN_PROTO_VERSION 3
30 #define AUTOFS_MAX_PROTO_VERSION 5
31 #define AUTOFS_PROTO_SUBVERSION 2
32 #define AUTOFS_EXP_IMMEDIATE 1
33 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
34 #define AUTOFS_EXP_LEAVES 2
35 #define AUTOFS_TYPE_ANY 0U
36 #define AUTOFS_TYPE_INDIRECT 1U
37 #define AUTOFS_TYPE_DIRECT 2U
38 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
39 #define AUTOFS_TYPE_OFFSET 4U
40 enum autofs_notify {
41   NFY_NONE,
42   NFY_MOUNT,
43 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
44   NFY_EXPIRE
45 };
46 #define autofs_ptype_expire_multi 2
47 #define autofs_ptype_missing_indirect 3
48 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
49 #define autofs_ptype_expire_indirect 4
50 #define autofs_ptype_missing_direct 5
51 #define autofs_ptype_expire_direct 6
52 struct autofs_packet_expire_multi {
53 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
54   struct autofs_packet_hdr hdr;
55   autofs_wqt_t wait_queue_token;
56   int len;
57   char name[NAME_MAX + 1];
58 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
59 };
60 union autofs_packet_union {
61   struct autofs_packet_hdr hdr;
62   struct autofs_packet_missing missing;
63 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
64   struct autofs_packet_expire expire;
65   struct autofs_packet_expire_multi expire_multi;
66 };
67 struct autofs_v5_packet {
68 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
69   struct autofs_packet_hdr hdr;
70   autofs_wqt_t wait_queue_token;
71   __u32 dev;
72   __u64 ino;
73 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
74   __u32 uid;
75   __u32 gid;
76   __u32 pid;
77   __u32 tgid;
78 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
79   __u32 len;
80   char name[NAME_MAX + 1];
81 };
82 typedef struct autofs_v5_packet autofs_packet_missing_indirect_t;
83 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
84 typedef struct autofs_v5_packet autofs_packet_expire_indirect_t;
85 typedef struct autofs_v5_packet autofs_packet_missing_direct_t;
86 typedef struct autofs_v5_packet autofs_packet_expire_direct_t;
87 union autofs_v5_packet_union {
88 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
89   struct autofs_packet_hdr hdr;
90   struct autofs_v5_packet v5_packet;
91   autofs_packet_missing_indirect_t missing_indirect;
92   autofs_packet_expire_indirect_t expire_indirect;
93 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
94   autofs_packet_missing_direct_t missing_direct;
95   autofs_packet_expire_direct_t expire_direct;
96 };
97 #define AUTOFS_IOC_EXPIRE_MULTI _IOW(0x93, 0x66, int)
98 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
99 #define AUTOFS_IOC_EXPIRE_INDIRECT AUTOFS_IOC_EXPIRE_MULTI
100 #define AUTOFS_IOC_EXPIRE_DIRECT AUTOFS_IOC_EXPIRE_MULTI
101 #define AUTOFS_IOC_PROTOSUBVER _IOR(0x93, 0x67, int)
102 #define AUTOFS_IOC_ASKUMOUNT _IOR(0x93, 0x70, int)
103 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
104 #endif
105