blob: dfe7b91af9649854d5e0cc685910edd653621d5a [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_CODA_HEADER_
20#define _UAPI_CODA_HEADER_
21#if defined(__NetBSD__) || (defined(DJGPP) || defined(__CYGWIN32__)) && !defined(KERNEL)
22#include <sys/types.h>
23/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
24#endif
25#ifndef CODA_MAXSYMLINKS
26#define CODA_MAXSYMLINKS 10
27#endif
28/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
29#if defined(DJGPP) || defined(__CYGWIN32__)
30#ifdef KERNEL
31typedef unsigned long u_long;
32typedef unsigned int u_int;
33/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
34typedef unsigned short u_short;
35typedef u_long ino_t;
36typedef u_long dev_t;
37typedef void * caddr_t;
38/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
39#ifdef DOS
40typedef unsigned __int64 u_quad_t;
41#else
42typedef unsigned long long u_quad_t;
43/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
44#endif
45#define inline
46struct timespec {
Tao Baod7db5942015-01-28 10:07:51 -080047 long ts_sec;
Ben Cheng655a7c02013-10-16 16:09:24 -070048/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Tao Baod7db5942015-01-28 10:07:51 -080049 long ts_nsec;
Ben Cheng655a7c02013-10-16 16:09:24 -070050};
51#else
52#include <sys/time.h>
53/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
54typedef unsigned long long u_quad_t;
55#endif
56#endif
57#ifdef __linux__
58/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
59#include <linux/time.h>
60#define cdev_t u_quad_t
61#if !defined(_UQUAD_T_) && (!defined(__GLIBC__) || __GLIBC__ < 2)
62#define _UQUAD_T_ 1
63/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
64typedef unsigned long long u_quad_t;
65#endif
66#else
67#define cdev_t dev_t
68/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
69#endif
70#ifdef __CYGWIN32__
71struct timespec {
Tao Baod7db5942015-01-28 10:07:51 -080072 time_t tv_sec;
Ben Cheng655a7c02013-10-16 16:09:24 -070073/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Tao Baod7db5942015-01-28 10:07:51 -080074 long tv_nsec;
Ben Cheng655a7c02013-10-16 16:09:24 -070075};
76#endif
77#ifndef __BIT_TYPES_DEFINED__
78/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
79#define __BIT_TYPES_DEFINED__
80typedef signed char int8_t;
81typedef unsigned char u_int8_t;
82typedef short int16_t;
83/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
84typedef unsigned short u_int16_t;
85typedef int int32_t;
86typedef unsigned int u_int32_t;
87#endif
88/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
89#define CODA_MAXNAMLEN 255
90#define CODA_MAXPATHLEN 1024
91#define CODA_MAXSYMLINK 10
92#define C_O_READ 0x001
93/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
94#define C_O_WRITE 0x002
95#define C_O_TRUNC 0x010
96#define C_O_EXCL 0x100
97#define C_O_CREAT 0x200
98/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
99#define C_M_READ 00400
100#define C_M_WRITE 00200
101#define C_A_C_OK 8
102#define C_A_R_OK 4
103/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
104#define C_A_W_OK 2
105#define C_A_X_OK 1
106#define C_A_F_OK 0
107#ifndef _VENUS_DIRENT_T_
108/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
109#define _VENUS_DIRENT_T_ 1
110struct venus_dirent {
Tao Baod7db5942015-01-28 10:07:51 -0800111 u_int32_t d_fileno;
112 u_int16_t d_reclen;
Ben Cheng655a7c02013-10-16 16:09:24 -0700113/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Tao Baod7db5942015-01-28 10:07:51 -0800114 u_int8_t d_type;
115 u_int8_t d_namlen;
116 char d_name[CODA_MAXNAMLEN + 1];
Ben Cheng655a7c02013-10-16 16:09:24 -0700117};
118/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
119#undef DIRSIZ
Tao Baod7db5942015-01-28 10:07:51 -0800120#define DIRSIZ(dp) ((sizeof(struct venus_dirent) - (CODA_MAXNAMLEN + 1)) + (((dp)->d_namlen + 1 + 3) & ~3))
Ben Cheng655a7c02013-10-16 16:09:24 -0700121#define CDT_UNKNOWN 0
122#define CDT_FIFO 1
123/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
124#define CDT_CHR 2
125#define CDT_DIR 4
126#define CDT_BLK 6
127#define CDT_REG 8
128/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
129#define CDT_LNK 10
130#define CDT_SOCK 12
131#define CDT_WHT 14
132#define IFTOCDT(mode) (((mode) & 0170000) >> 12)
133/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
134#define CDTTOIF(dirtype) ((dirtype) << 12)
135#endif
136#ifndef _VUID_T_
137#define _VUID_T_
138/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
139typedef u_int32_t vuid_t;
140typedef u_int32_t vgid_t;
141#endif
142struct CodaFid {
143/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Tao Baod7db5942015-01-28 10:07:51 -0800144 u_int32_t opaque[4];
Ben Cheng655a7c02013-10-16 16:09:24 -0700145};
Tao Baod7db5942015-01-28 10:07:51 -0800146#define coda_f2i(fid) (fid ? (fid->opaque[3] ^ (fid->opaque[2] << 10) ^ (fid->opaque[1] << 20) ^ fid->opaque[0]) : 0)
Ben Cheng655a7c02013-10-16 16:09:24 -0700147#ifndef _VENUS_VATTR_T_
148/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
149#define _VENUS_VATTR_T_
Tao Baod7db5942015-01-28 10:07:51 -0800150enum coda_vtype {
151 C_VNON,
152 C_VREG,
Ben Cheng655a7c02013-10-16 16:09:24 -0700153/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Tao Baod7db5942015-01-28 10:07:51 -0800154 C_VDIR,
155 C_VBLK,
156 C_VCHR,
157 C_VLNK,
Ben Cheng655a7c02013-10-16 16:09:24 -0700158/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Tao Baod7db5942015-01-28 10:07:51 -0800159 C_VSOCK,
160 C_VFIFO,
161 C_VBAD
Ben Cheng655a7c02013-10-16 16:09:24 -0700162};
163/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Tao Baod7db5942015-01-28 10:07:51 -0800164struct coda_vattr {
165 long va_type;
166 u_short va_mode;
167 short va_nlink;
168/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
169 vuid_t va_uid;
170 vgid_t va_gid;
171 long va_fileid;
172 u_quad_t va_size;
173/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
174 long va_blocksize;
175 struct timespec va_atime;
176 struct timespec va_mtime;
177 struct timespec va_ctime;
178/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
179 u_long va_gen;
180 u_long va_flags;
181 cdev_t va_rdev;
182 u_quad_t va_bytes;
183/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
184 u_quad_t va_filerev;
185};
Ben Cheng655a7c02013-10-16 16:09:24 -0700186#endif
187struct coda_statfs {
Ben Cheng655a7c02013-10-16 16:09:24 -0700188/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Tao Baod7db5942015-01-28 10:07:51 -0800189 int32_t f_blocks;
190 int32_t f_bfree;
191 int32_t f_bavail;
192 int32_t f_files;
193/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
194 int32_t f_ffree;
Ben Cheng655a7c02013-10-16 16:09:24 -0700195};
Ben Cheng655a7c02013-10-16 16:09:24 -0700196#define CODA_ROOT 2
197#define CODA_OPEN_BY_FD 3
Tao Baod7db5942015-01-28 10:07:51 -0800198/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Ben Cheng655a7c02013-10-16 16:09:24 -0700199#define CODA_OPEN 4
200#define CODA_CLOSE 5
Ben Cheng655a7c02013-10-16 16:09:24 -0700201#define CODA_IOCTL 6
202#define CODA_GETATTR 7
Tao Baod7db5942015-01-28 10:07:51 -0800203/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Ben Cheng655a7c02013-10-16 16:09:24 -0700204#define CODA_SETATTR 8
205#define CODA_ACCESS 9
Ben Cheng655a7c02013-10-16 16:09:24 -0700206#define CODA_LOOKUP 10
207#define CODA_CREATE 11
Tao Baod7db5942015-01-28 10:07:51 -0800208/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Ben Cheng655a7c02013-10-16 16:09:24 -0700209#define CODA_REMOVE 12
210#define CODA_LINK 13
Ben Cheng655a7c02013-10-16 16:09:24 -0700211#define CODA_RENAME 14
212#define CODA_MKDIR 15
Tao Baod7db5942015-01-28 10:07:51 -0800213/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Ben Cheng655a7c02013-10-16 16:09:24 -0700214#define CODA_RMDIR 16
215#define CODA_SYMLINK 18
Ben Cheng655a7c02013-10-16 16:09:24 -0700216#define CODA_READLINK 19
217#define CODA_FSYNC 20
Tao Baod7db5942015-01-28 10:07:51 -0800218/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Ben Cheng655a7c02013-10-16 16:09:24 -0700219#define CODA_VGET 22
220#define CODA_SIGNAL 23
Ben Cheng655a7c02013-10-16 16:09:24 -0700221#define CODA_REPLACE 24
222#define CODA_FLUSH 25
Tao Baod7db5942015-01-28 10:07:51 -0800223/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Ben Cheng655a7c02013-10-16 16:09:24 -0700224#define CODA_PURGEUSER 26
225#define CODA_ZAPFILE 27
Ben Cheng655a7c02013-10-16 16:09:24 -0700226#define CODA_ZAPDIR 28
227#define CODA_PURGEFID 30
Tao Baod7db5942015-01-28 10:07:51 -0800228/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Ben Cheng655a7c02013-10-16 16:09:24 -0700229#define CODA_OPEN_BY_PATH 31
230#define CODA_RESOLVE 32
Ben Cheng655a7c02013-10-16 16:09:24 -0700231#define CODA_REINTEGRATE 33
232#define CODA_STATFS 34
Tao Baod7db5942015-01-28 10:07:51 -0800233/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Ben Cheng655a7c02013-10-16 16:09:24 -0700234#define CODA_STORE 35
235#define CODA_RELEASE 36
Ben Cheng655a7c02013-10-16 16:09:24 -0700236#define CODA_NCALLS 37
237#define DOWNCALL(opcode) (opcode >= CODA_REPLACE && opcode <= CODA_PURGEFID)
Ben Cheng655a7c02013-10-16 16:09:24 -0700238/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Tao Baod7db5942015-01-28 10:07:51 -0800239#define VC_MAXDATASIZE 8192
240#define VC_MAXMSGSIZE sizeof(union inputArgs) + sizeof(union outputArgs) + VC_MAXDATASIZE
Ben Cheng655a7c02013-10-16 16:09:24 -0700241#define CIOC_KERNEL_VERSION _IOWR('c', 10, size_t)
242#define CODA_KERNEL_VERSION 3
Tao Baod7db5942015-01-28 10:07:51 -0800243/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Ben Cheng655a7c02013-10-16 16:09:24 -0700244struct coda_in_hdr {
Tao Baod7db5942015-01-28 10:07:51 -0800245 u_int32_t opcode;
246 u_int32_t unique;
247 pid_t pid;
Ben Cheng655a7c02013-10-16 16:09:24 -0700248/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Tao Baod7db5942015-01-28 10:07:51 -0800249 pid_t pgid;
250 vuid_t uid;
Ben Cheng655a7c02013-10-16 16:09:24 -0700251};
252struct coda_out_hdr {
Ben Cheng655a7c02013-10-16 16:09:24 -0700253/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Tao Baod7db5942015-01-28 10:07:51 -0800254 u_int32_t opcode;
255 u_int32_t unique;
256 u_int32_t result;
Ben Cheng655a7c02013-10-16 16:09:24 -0700257};
Tao Baod7db5942015-01-28 10:07:51 -0800258/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Ben Cheng655a7c02013-10-16 16:09:24 -0700259struct coda_root_out {
Tao Baod7db5942015-01-28 10:07:51 -0800260 struct coda_out_hdr oh;
261 struct CodaFid VFid;
Ben Cheng655a7c02013-10-16 16:09:24 -0700262};
Ben Cheng655a7c02013-10-16 16:09:24 -0700263/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Tao Baod7db5942015-01-28 10:07:51 -0800264struct coda_root_in {
265 struct coda_in_hdr in;
Ben Cheng655a7c02013-10-16 16:09:24 -0700266};
267struct coda_open_in {
Ben Cheng655a7c02013-10-16 16:09:24 -0700268/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Tao Baod7db5942015-01-28 10:07:51 -0800269 struct coda_in_hdr ih;
270 struct CodaFid VFid;
271 int flags;
Ben Cheng655a7c02013-10-16 16:09:24 -0700272};
Ben Cheng655a7c02013-10-16 16:09:24 -0700273/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Tao Baod7db5942015-01-28 10:07:51 -0800274struct coda_open_out {
275 struct coda_out_hdr oh;
276 cdev_t dev;
277 ino_t inode;
278/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Ben Cheng655a7c02013-10-16 16:09:24 -0700279};
280struct coda_store_in {
Tao Baod7db5942015-01-28 10:07:51 -0800281 struct coda_in_hdr ih;
282 struct CodaFid VFid;
Ben Cheng655a7c02013-10-16 16:09:24 -0700283/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Tao Baod7db5942015-01-28 10:07:51 -0800284 int flags;
Ben Cheng655a7c02013-10-16 16:09:24 -0700285};
Ben Cheng655a7c02013-10-16 16:09:24 -0700286struct coda_store_out {
Tao Baod7db5942015-01-28 10:07:51 -0800287 struct coda_out_hdr out;
288/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Ben Cheng655a7c02013-10-16 16:09:24 -0700289};
290struct coda_release_in {
Tao Baod7db5942015-01-28 10:07:51 -0800291 struct coda_in_hdr ih;
292 struct CodaFid VFid;
Ben Cheng655a7c02013-10-16 16:09:24 -0700293/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Tao Baod7db5942015-01-28 10:07:51 -0800294 int flags;
Ben Cheng655a7c02013-10-16 16:09:24 -0700295};
Ben Cheng655a7c02013-10-16 16:09:24 -0700296struct coda_release_out {
Tao Baod7db5942015-01-28 10:07:51 -0800297 struct coda_out_hdr out;
298/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Ben Cheng655a7c02013-10-16 16:09:24 -0700299};
300struct coda_close_in {
Tao Baod7db5942015-01-28 10:07:51 -0800301 struct coda_in_hdr ih;
302 struct CodaFid VFid;
Ben Cheng655a7c02013-10-16 16:09:24 -0700303/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Tao Baod7db5942015-01-28 10:07:51 -0800304 int flags;
Ben Cheng655a7c02013-10-16 16:09:24 -0700305};
Ben Cheng655a7c02013-10-16 16:09:24 -0700306struct coda_close_out {
Tao Baod7db5942015-01-28 10:07:51 -0800307 struct coda_out_hdr out;
308/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Ben Cheng655a7c02013-10-16 16:09:24 -0700309};
310struct coda_ioctl_in {
Tao Baod7db5942015-01-28 10:07:51 -0800311 struct coda_in_hdr ih;
312 struct CodaFid VFid;
Ben Cheng655a7c02013-10-16 16:09:24 -0700313/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Tao Baod7db5942015-01-28 10:07:51 -0800314 int cmd;
315 int len;
316 int rwflag;
317 char * data;
Ben Cheng655a7c02013-10-16 16:09:24 -0700318/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Ben Cheng655a7c02013-10-16 16:09:24 -0700319};
320struct coda_ioctl_out {
Tao Baod7db5942015-01-28 10:07:51 -0800321 struct coda_out_hdr oh;
322 int len;
Ben Cheng655a7c02013-10-16 16:09:24 -0700323/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Tao Baod7db5942015-01-28 10:07:51 -0800324 caddr_t data;
Ben Cheng655a7c02013-10-16 16:09:24 -0700325};
Ben Cheng655a7c02013-10-16 16:09:24 -0700326struct coda_getattr_in {
Tao Baod7db5942015-01-28 10:07:51 -0800327 struct coda_in_hdr ih;
Ben Cheng655a7c02013-10-16 16:09:24 -0700328/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Tao Baod7db5942015-01-28 10:07:51 -0800329 struct CodaFid VFid;
330};
Ben Cheng655a7c02013-10-16 16:09:24 -0700331struct coda_getattr_out {
Tao Baod7db5942015-01-28 10:07:51 -0800332 struct coda_out_hdr oh;
333/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
334 struct coda_vattr attr;
Ben Cheng655a7c02013-10-16 16:09:24 -0700335};
Ben Cheng655a7c02013-10-16 16:09:24 -0700336struct coda_setattr_in {
Tao Baod7db5942015-01-28 10:07:51 -0800337 struct coda_in_hdr ih;
Ben Cheng655a7c02013-10-16 16:09:24 -0700338/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Tao Baod7db5942015-01-28 10:07:51 -0800339 struct CodaFid VFid;
340 struct coda_vattr attr;
Ben Cheng655a7c02013-10-16 16:09:24 -0700341};
342struct coda_setattr_out {
Tao Baod7db5942015-01-28 10:07:51 -0800343/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
344 struct coda_out_hdr out;
Ben Cheng655a7c02013-10-16 16:09:24 -0700345};
Ben Cheng655a7c02013-10-16 16:09:24 -0700346struct coda_access_in {
Tao Baod7db5942015-01-28 10:07:51 -0800347 struct coda_in_hdr ih;
Ben Cheng655a7c02013-10-16 16:09:24 -0700348/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Tao Baod7db5942015-01-28 10:07:51 -0800349 struct CodaFid VFid;
350 int flags;
Ben Cheng655a7c02013-10-16 16:09:24 -0700351};
352struct coda_access_out {
Ben Cheng655a7c02013-10-16 16:09:24 -0700353/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Tao Baod7db5942015-01-28 10:07:51 -0800354 struct coda_out_hdr out;
355};
Ben Cheng655a7c02013-10-16 16:09:24 -0700356#define CLU_CASE_SENSITIVE 0x01
357#define CLU_CASE_INSENSITIVE 0x02
Tao Baod7db5942015-01-28 10:07:51 -0800358/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Ben Cheng655a7c02013-10-16 16:09:24 -0700359struct coda_lookup_in {
Tao Baod7db5942015-01-28 10:07:51 -0800360 struct coda_in_hdr ih;
361 struct CodaFid VFid;
362 int name;
Ben Cheng655a7c02013-10-16 16:09:24 -0700363/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Tao Baod7db5942015-01-28 10:07:51 -0800364 int flags;
Ben Cheng655a7c02013-10-16 16:09:24 -0700365};
Ben Cheng655a7c02013-10-16 16:09:24 -0700366struct coda_lookup_out {
Tao Baod7db5942015-01-28 10:07:51 -0800367 struct coda_out_hdr oh;
Ben Cheng655a7c02013-10-16 16:09:24 -0700368/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Tao Baod7db5942015-01-28 10:07:51 -0800369 struct CodaFid VFid;
370 int vtype;
Ben Cheng655a7c02013-10-16 16:09:24 -0700371};
372struct coda_create_in {
Ben Cheng655a7c02013-10-16 16:09:24 -0700373/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Tao Baod7db5942015-01-28 10:07:51 -0800374 struct coda_in_hdr ih;
375 struct CodaFid VFid;
376 struct coda_vattr attr;
377 int excl;
Ben Cheng655a7c02013-10-16 16:09:24 -0700378/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Tao Baod7db5942015-01-28 10:07:51 -0800379 int mode;
380 int name;
Ben Cheng655a7c02013-10-16 16:09:24 -0700381};
382struct coda_create_out {
Ben Cheng655a7c02013-10-16 16:09:24 -0700383/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Tao Baod7db5942015-01-28 10:07:51 -0800384 struct coda_out_hdr oh;
385 struct CodaFid VFid;
386 struct coda_vattr attr;
Ben Cheng655a7c02013-10-16 16:09:24 -0700387};
Ben Cheng655a7c02013-10-16 16:09:24 -0700388/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Tao Baod7db5942015-01-28 10:07:51 -0800389struct coda_remove_in {
390 struct coda_in_hdr ih;
391 struct CodaFid VFid;
392 int name;
393/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Ben Cheng655a7c02013-10-16 16:09:24 -0700394};
395struct coda_remove_out {
Tao Baod7db5942015-01-28 10:07:51 -0800396 struct coda_out_hdr out;
Ben Cheng655a7c02013-10-16 16:09:24 -0700397};
Tao Baod7db5942015-01-28 10:07:51 -0800398/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Ben Cheng655a7c02013-10-16 16:09:24 -0700399struct coda_link_in {
Tao Baod7db5942015-01-28 10:07:51 -0800400 struct coda_in_hdr ih;
401 struct CodaFid sourceFid;
402 struct CodaFid destFid;
Ben Cheng655a7c02013-10-16 16:09:24 -0700403/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Tao Baod7db5942015-01-28 10:07:51 -0800404 int tname;
Ben Cheng655a7c02013-10-16 16:09:24 -0700405};
Ben Cheng655a7c02013-10-16 16:09:24 -0700406struct coda_link_out {
Tao Baod7db5942015-01-28 10:07:51 -0800407 struct coda_out_hdr out;
408/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Ben Cheng655a7c02013-10-16 16:09:24 -0700409};
410struct coda_rename_in {
Tao Baod7db5942015-01-28 10:07:51 -0800411 struct coda_in_hdr ih;
412 struct CodaFid sourceFid;
Ben Cheng655a7c02013-10-16 16:09:24 -0700413/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Tao Baod7db5942015-01-28 10:07:51 -0800414 int srcname;
415 struct CodaFid destFid;
416 int destname;
Ben Cheng655a7c02013-10-16 16:09:24 -0700417};
Ben Cheng655a7c02013-10-16 16:09:24 -0700418/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Tao Baod7db5942015-01-28 10:07:51 -0800419struct coda_rename_out {
420 struct coda_out_hdr out;
Ben Cheng655a7c02013-10-16 16:09:24 -0700421};
422struct coda_mkdir_in {
Ben Cheng655a7c02013-10-16 16:09:24 -0700423/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Tao Baod7db5942015-01-28 10:07:51 -0800424 struct coda_in_hdr ih;
425 struct CodaFid VFid;
426 struct coda_vattr attr;
427 int name;
428/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Ben Cheng655a7c02013-10-16 16:09:24 -0700429};
430struct coda_mkdir_out {
Tao Baod7db5942015-01-28 10:07:51 -0800431 struct coda_out_hdr oh;
432 struct CodaFid VFid;
Ben Cheng655a7c02013-10-16 16:09:24 -0700433/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Tao Baod7db5942015-01-28 10:07:51 -0800434 struct coda_vattr attr;
Ben Cheng655a7c02013-10-16 16:09:24 -0700435};
Ben Cheng655a7c02013-10-16 16:09:24 -0700436struct coda_rmdir_in {
Tao Baod7db5942015-01-28 10:07:51 -0800437 struct coda_in_hdr ih;
Ben Cheng655a7c02013-10-16 16:09:24 -0700438/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Tao Baod7db5942015-01-28 10:07:51 -0800439 struct CodaFid VFid;
440 int name;
Ben Cheng655a7c02013-10-16 16:09:24 -0700441};
442struct coda_rmdir_out {
Tao Baod7db5942015-01-28 10:07:51 -0800443/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
444 struct coda_out_hdr out;
Ben Cheng655a7c02013-10-16 16:09:24 -0700445};
Ben Cheng655a7c02013-10-16 16:09:24 -0700446struct coda_symlink_in {
Tao Baod7db5942015-01-28 10:07:51 -0800447 struct coda_in_hdr ih;
Ben Cheng655a7c02013-10-16 16:09:24 -0700448/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Tao Baod7db5942015-01-28 10:07:51 -0800449 struct CodaFid VFid;
450 int srcname;
451 struct coda_vattr attr;
452 int tname;
453/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Ben Cheng655a7c02013-10-16 16:09:24 -0700454};
455struct coda_symlink_out {
Tao Baod7db5942015-01-28 10:07:51 -0800456 struct coda_out_hdr out;
Ben Cheng655a7c02013-10-16 16:09:24 -0700457};
Tao Baod7db5942015-01-28 10:07:51 -0800458/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Ben Cheng655a7c02013-10-16 16:09:24 -0700459struct coda_readlink_in {
Tao Baod7db5942015-01-28 10:07:51 -0800460 struct coda_in_hdr ih;
461 struct CodaFid VFid;
Ben Cheng655a7c02013-10-16 16:09:24 -0700462};
Ben Cheng655a7c02013-10-16 16:09:24 -0700463/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Tao Baod7db5942015-01-28 10:07:51 -0800464struct coda_readlink_out {
465 struct coda_out_hdr oh;
466 int count;
467 caddr_t data;
468/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Ben Cheng655a7c02013-10-16 16:09:24 -0700469};
470struct coda_fsync_in {
Tao Baod7db5942015-01-28 10:07:51 -0800471 struct coda_in_hdr ih;
472 struct CodaFid VFid;
Ben Cheng655a7c02013-10-16 16:09:24 -0700473/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Ben Cheng655a7c02013-10-16 16:09:24 -0700474};
475struct coda_fsync_out {
Tao Baod7db5942015-01-28 10:07:51 -0800476 struct coda_out_hdr out;
Ben Cheng655a7c02013-10-16 16:09:24 -0700477};
Tao Baod7db5942015-01-28 10:07:51 -0800478/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Ben Cheng655a7c02013-10-16 16:09:24 -0700479struct coda_vget_in {
Tao Baod7db5942015-01-28 10:07:51 -0800480 struct coda_in_hdr ih;
481 struct CodaFid VFid;
Ben Cheng655a7c02013-10-16 16:09:24 -0700482};
Ben Cheng655a7c02013-10-16 16:09:24 -0700483/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Tao Baod7db5942015-01-28 10:07:51 -0800484struct coda_vget_out {
485 struct coda_out_hdr oh;
486 struct CodaFid VFid;
487 int vtype;
488/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Ben Cheng655a7c02013-10-16 16:09:24 -0700489};
490struct coda_purgeuser_out {
Tao Baod7db5942015-01-28 10:07:51 -0800491 struct coda_out_hdr oh;
492 vuid_t uid;
Ben Cheng655a7c02013-10-16 16:09:24 -0700493/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Ben Cheng655a7c02013-10-16 16:09:24 -0700494};
495struct coda_zapfile_out {
Tao Baod7db5942015-01-28 10:07:51 -0800496 struct coda_out_hdr oh;
497 struct CodaFid CodaFid;
Ben Cheng655a7c02013-10-16 16:09:24 -0700498/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Ben Cheng655a7c02013-10-16 16:09:24 -0700499};
500struct coda_zapdir_out {
Tao Baod7db5942015-01-28 10:07:51 -0800501 struct coda_out_hdr oh;
502 struct CodaFid CodaFid;
Ben Cheng655a7c02013-10-16 16:09:24 -0700503/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Ben Cheng655a7c02013-10-16 16:09:24 -0700504};
505struct coda_purgefid_out {
Tao Baod7db5942015-01-28 10:07:51 -0800506 struct coda_out_hdr oh;
507 struct CodaFid CodaFid;
Ben Cheng655a7c02013-10-16 16:09:24 -0700508/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Ben Cheng655a7c02013-10-16 16:09:24 -0700509};
510struct coda_replace_out {
Tao Baod7db5942015-01-28 10:07:51 -0800511 struct coda_out_hdr oh;
512 struct CodaFid NewFid;
Ben Cheng655a7c02013-10-16 16:09:24 -0700513/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Tao Baod7db5942015-01-28 10:07:51 -0800514 struct CodaFid OldFid;
Ben Cheng655a7c02013-10-16 16:09:24 -0700515};
Ben Cheng655a7c02013-10-16 16:09:24 -0700516struct coda_open_by_fd_in {
Tao Baod7db5942015-01-28 10:07:51 -0800517 struct coda_in_hdr ih;
Ben Cheng655a7c02013-10-16 16:09:24 -0700518/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Tao Baod7db5942015-01-28 10:07:51 -0800519 struct CodaFid VFid;
520 int flags;
Ben Cheng655a7c02013-10-16 16:09:24 -0700521};
522struct coda_open_by_fd_out {
Ben Cheng655a7c02013-10-16 16:09:24 -0700523/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Tao Baod7db5942015-01-28 10:07:51 -0800524 struct coda_out_hdr oh;
525 int fd;
Ben Cheng655a7c02013-10-16 16:09:24 -0700526};
527struct coda_open_by_path_in {
Ben Cheng655a7c02013-10-16 16:09:24 -0700528/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Tao Baod7db5942015-01-28 10:07:51 -0800529 struct coda_in_hdr ih;
530 struct CodaFid VFid;
531 int flags;
Ben Cheng655a7c02013-10-16 16:09:24 -0700532};
Tao Baod7db5942015-01-28 10:07:51 -0800533/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Ben Cheng655a7c02013-10-16 16:09:24 -0700534struct coda_open_by_path_out {
Tao Baod7db5942015-01-28 10:07:51 -0800535 struct coda_out_hdr oh;
536 int path;
Ben Cheng655a7c02013-10-16 16:09:24 -0700537};
Ben Cheng655a7c02013-10-16 16:09:24 -0700538/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Tao Baod7db5942015-01-28 10:07:51 -0800539struct coda_statfs_in {
540 struct coda_in_hdr in;
Ben Cheng655a7c02013-10-16 16:09:24 -0700541};
542struct coda_statfs_out {
Ben Cheng655a7c02013-10-16 16:09:24 -0700543/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Tao Baod7db5942015-01-28 10:07:51 -0800544 struct coda_out_hdr oh;
545 struct coda_statfs stat;
Ben Cheng655a7c02013-10-16 16:09:24 -0700546};
547#define CODA_NOCACHE 0x80000000
Tao Baod7db5942015-01-28 10:07:51 -0800548/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Ben Cheng655a7c02013-10-16 16:09:24 -0700549union inputArgs {
Tao Baod7db5942015-01-28 10:07:51 -0800550 struct coda_in_hdr ih;
551 struct coda_open_in coda_open;
552 struct coda_store_in coda_store;
Ben Cheng655a7c02013-10-16 16:09:24 -0700553/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Tao Baod7db5942015-01-28 10:07:51 -0800554 struct coda_release_in coda_release;
555 struct coda_close_in coda_close;
556 struct coda_ioctl_in coda_ioctl;
557 struct coda_getattr_in coda_getattr;
Ben Cheng655a7c02013-10-16 16:09:24 -0700558/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Tao Baod7db5942015-01-28 10:07:51 -0800559 struct coda_setattr_in coda_setattr;
560 struct coda_access_in coda_access;
561 struct coda_lookup_in coda_lookup;
562 struct coda_create_in coda_create;
Ben Cheng655a7c02013-10-16 16:09:24 -0700563/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Tao Baod7db5942015-01-28 10:07:51 -0800564 struct coda_remove_in coda_remove;
565 struct coda_link_in coda_link;
566 struct coda_rename_in coda_rename;
567 struct coda_mkdir_in coda_mkdir;
Ben Cheng655a7c02013-10-16 16:09:24 -0700568/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Tao Baod7db5942015-01-28 10:07:51 -0800569 struct coda_rmdir_in coda_rmdir;
570 struct coda_symlink_in coda_symlink;
571 struct coda_readlink_in coda_readlink;
572 struct coda_fsync_in coda_fsync;
Ben Cheng655a7c02013-10-16 16:09:24 -0700573/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Tao Baod7db5942015-01-28 10:07:51 -0800574 struct coda_vget_in coda_vget;
575 struct coda_open_by_fd_in coda_open_by_fd;
576 struct coda_open_by_path_in coda_open_by_path;
577 struct coda_statfs_in coda_statfs;
Ben Cheng655a7c02013-10-16 16:09:24 -0700578/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Ben Cheng655a7c02013-10-16 16:09:24 -0700579};
580union outputArgs {
Tao Baod7db5942015-01-28 10:07:51 -0800581 struct coda_out_hdr oh;
582 struct coda_root_out coda_root;
Ben Cheng655a7c02013-10-16 16:09:24 -0700583/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Tao Baod7db5942015-01-28 10:07:51 -0800584 struct coda_open_out coda_open;
585 struct coda_ioctl_out coda_ioctl;
586 struct coda_getattr_out coda_getattr;
587 struct coda_lookup_out coda_lookup;
Ben Cheng655a7c02013-10-16 16:09:24 -0700588/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Tao Baod7db5942015-01-28 10:07:51 -0800589 struct coda_create_out coda_create;
590 struct coda_mkdir_out coda_mkdir;
591 struct coda_readlink_out coda_readlink;
592 struct coda_vget_out coda_vget;
Ben Cheng655a7c02013-10-16 16:09:24 -0700593/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Tao Baod7db5942015-01-28 10:07:51 -0800594 struct coda_purgeuser_out coda_purgeuser;
595 struct coda_zapfile_out coda_zapfile;
596 struct coda_zapdir_out coda_zapdir;
597 struct coda_purgefid_out coda_purgefid;
Ben Cheng655a7c02013-10-16 16:09:24 -0700598/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Tao Baod7db5942015-01-28 10:07:51 -0800599 struct coda_replace_out coda_replace;
600 struct coda_open_by_fd_out coda_open_by_fd;
601 struct coda_open_by_path_out coda_open_by_path;
602 struct coda_statfs_out coda_statfs;
Ben Cheng655a7c02013-10-16 16:09:24 -0700603/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Ben Cheng655a7c02013-10-16 16:09:24 -0700604};
605union coda_downcalls {
Tao Baod7db5942015-01-28 10:07:51 -0800606 struct coda_purgeuser_out purgeuser;
607 struct coda_zapfile_out zapfile;
Ben Cheng655a7c02013-10-16 16:09:24 -0700608/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Tao Baod7db5942015-01-28 10:07:51 -0800609 struct coda_zapdir_out zapdir;
610 struct coda_purgefid_out purgefid;
611 struct coda_replace_out replace;
Ben Cheng655a7c02013-10-16 16:09:24 -0700612};
Tao Baod7db5942015-01-28 10:07:51 -0800613/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Ben Cheng655a7c02013-10-16 16:09:24 -0700614#define PIOCPARM_MASK 0x0000ffff
615struct ViceIoctl {
Tao Baod7db5942015-01-28 10:07:51 -0800616 void __user * in;
617 void __user * out;
Ben Cheng655a7c02013-10-16 16:09:24 -0700618/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Tao Baod7db5942015-01-28 10:07:51 -0800619 u_short in_size;
620 u_short out_size;
Ben Cheng655a7c02013-10-16 16:09:24 -0700621};
622struct PioctlData {
Ben Cheng655a7c02013-10-16 16:09:24 -0700623/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Tao Baod7db5942015-01-28 10:07:51 -0800624 const char __user * path;
625 int follow;
626 struct ViceIoctl vi;
Ben Cheng655a7c02013-10-16 16:09:24 -0700627};
Tao Baod7db5942015-01-28 10:07:51 -0800628/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Ben Cheng655a7c02013-10-16 16:09:24 -0700629#define CODA_CONTROL ".CONTROL"
630#define CODA_CONTROLLEN 8
Tao Baod7db5942015-01-28 10:07:51 -0800631#define CTL_INO - 1
Ben Cheng655a7c02013-10-16 16:09:24 -0700632#define CODA_MOUNT_VERSION 1
Ben Cheng655a7c02013-10-16 16:09:24 -0700633/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Tao Baod7db5942015-01-28 10:07:51 -0800634struct coda_mount_data {
635 int version;
636 int fd;
Ben Cheng655a7c02013-10-16 16:09:24 -0700637};
Tao Baod7db5942015-01-28 10:07:51 -0800638/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Ben Cheng655a7c02013-10-16 16:09:24 -0700639#endif