blob: 152b2c6a331a68a71c08371af73c7092a27350e3 [file] [log] [blame]
The Android Open Source Project1dc9e472009-03-03 19:28:35 -08001/****************************************************************************
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 ***
Ben Cheng654325d2012-03-07 21:13:49 -080010 *** 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 ***
The Android Open Source Project1dc9e472009-03-03 19:28:35 -080017 ****************************************************************************
18 ****************************************************************************/
19#ifndef _LINUX_NFSD_FH_H
20#define _LINUX_NFSD_FH_H
The Android Open Source Project1dc9e472009-03-03 19:28:35 -080021#include <asm/types.h>
22#include <linux/nfsd/const.h>
Ben Cheng654325d2012-03-07 21:13:49 -080023/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
The Android Open Source Project1dc9e472009-03-03 19:28:35 -080024#include <linux/nfsd/debug.h>
The Android Open Source Project1dc9e472009-03-03 19:28:35 -080025struct nfs_fhbase_old {
26 __u32 fb_dcookie;
27 __u32 fb_ino;
Ben Cheng654325d2012-03-07 21:13:49 -080028/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
The Android Open Source Project1dc9e472009-03-03 19:28:35 -080029 __u32 fb_dirino;
30 __u32 fb_dev;
31 __u32 fb_xdev;
32 __u32 fb_xino;
Ben Cheng654325d2012-03-07 21:13:49 -080033/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
The Android Open Source Project1dc9e472009-03-03 19:28:35 -080034 __u32 fb_generation;
35};
The Android Open Source Project1dc9e472009-03-03 19:28:35 -080036struct nfs_fhbase_new {
37 __u8 fb_version;
Ben Cheng654325d2012-03-07 21:13:49 -080038/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
The Android Open Source Project1dc9e472009-03-03 19:28:35 -080039 __u8 fb_auth_type;
40 __u8 fb_fsid_type;
41 __u8 fb_fileid_type;
42 __u32 fb_auth[1];
Ben Cheng654325d2012-03-07 21:13:49 -080043/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
The Android Open Source Project1dc9e472009-03-03 19:28:35 -080044};
The Android Open Source Project1dc9e472009-03-03 19:28:35 -080045struct knfsd_fh {
46 unsigned int fh_size;
47 union {
Ben Cheng654325d2012-03-07 21:13:49 -080048/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
The Android Open Source Project1dc9e472009-03-03 19:28:35 -080049 struct nfs_fhbase_old fh_old;
50 __u32 fh_pad[NFS4_FHSIZE/4];
51 struct nfs_fhbase_new fh_new;
52 } fh_base;
Ben Cheng654325d2012-03-07 21:13:49 -080053/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
The Android Open Source Project1dc9e472009-03-03 19:28:35 -080054};
The Android Open Source Project1dc9e472009-03-03 19:28:35 -080055#define ofh_dcookie fh_base.fh_old.fb_dcookie
56#define ofh_ino fh_base.fh_old.fb_ino
57#define ofh_dirino fh_base.fh_old.fb_dirino
Ben Cheng654325d2012-03-07 21:13:49 -080058/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
The Android Open Source Project1dc9e472009-03-03 19:28:35 -080059#define ofh_dev fh_base.fh_old.fb_dev
60#define ofh_xdev fh_base.fh_old.fb_xdev
61#define ofh_xino fh_base.fh_old.fb_xino
62#define ofh_generation fh_base.fh_old.fb_generation
Ben Cheng654325d2012-03-07 21:13:49 -080063/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
The Android Open Source Project1dc9e472009-03-03 19:28:35 -080064#define fh_version fh_base.fh_new.fb_version
65#define fh_fsid_type fh_base.fh_new.fb_fsid_type
66#define fh_auth_type fh_base.fh_new.fb_auth_type
67#define fh_fileid_type fh_base.fh_new.fb_fileid_type
Ben Cheng654325d2012-03-07 21:13:49 -080068/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
The Android Open Source Project1dc9e472009-03-03 19:28:35 -080069#define fh_auth fh_base.fh_new.fb_auth
70#define fh_fsid fh_base.fh_new.fb_auth
The Android Open Source Project1dc9e472009-03-03 19:28:35 -080071#endif