nfs_fs.h revision 655a7c081f83b8351ed5f11a6c6accd9458293a8
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_NFS_FS_H 20#define _UAPI_LINUX_NFS_FS_H 21#include <linux/magic.h> 22#define NFS_DEF_UDP_TIMEO (11) 23/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 24#define NFS_DEF_UDP_RETRANS (3) 25#define NFS_DEF_TCP_TIMEO (600) 26#define NFS_DEF_TCP_RETRANS (2) 27#define NFS_MAX_UDP_TIMEOUT (60*HZ) 28/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 29#define NFS_MAX_TCP_TIMEOUT (600*HZ) 30#define NFS_DEF_ACREGMIN (3) 31#define NFS_DEF_ACREGMAX (60) 32#define NFS_DEF_ACDIRMIN (30) 33/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 34#define NFS_DEF_ACDIRMAX (60) 35#define FLUSH_SYNC 1 36#define FLUSH_STABLE 4 37#define FLUSH_LOWPRI 8 38/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 39#define FLUSH_HIGHPRI 16 40#define FLUSH_COND_STABLE 32 41#define NFSDBG_VFS 0x0001 42#define NFSDBG_DIRCACHE 0x0002 43/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 44#define NFSDBG_LOOKUPCACHE 0x0004 45#define NFSDBG_PAGECACHE 0x0008 46#define NFSDBG_PROC 0x0010 47#define NFSDBG_XDR 0x0020 48/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 49#define NFSDBG_FILE 0x0040 50#define NFSDBG_ROOT 0x0080 51#define NFSDBG_CALLBACK 0x0100 52#define NFSDBG_CLIENT 0x0200 53/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 54#define NFSDBG_MOUNT 0x0400 55#define NFSDBG_FSCACHE 0x0800 56#define NFSDBG_PNFS 0x1000 57#define NFSDBG_PNFS_LD 0x2000 58/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 59#define NFSDBG_STATE 0x4000 60#define NFSDBG_ALL 0xFFFF 61#endif 62