nfs_fs.h revision 96c1db7b9d601c31d103389cac074a6cce0d7633
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#define NFS_DEF_UDP_RETRANS (3) 24#define NFS_DEF_TCP_TIMEO (600) 25#define NFS_DEF_TCP_RETRANS (2) 26#define NFS_MAX_UDP_TIMEOUT (60 * HZ) 27#define NFS_MAX_TCP_TIMEOUT (600 * HZ) 28#define NFS_DEF_ACREGMIN (3) 29#define NFS_DEF_ACREGMAX (60) 30#define NFS_DEF_ACDIRMIN (30) 31#define NFS_DEF_ACDIRMAX (60) 32#define FLUSH_SYNC 1 33#define FLUSH_STABLE 4 34#define FLUSH_LOWPRI 8 35#define FLUSH_HIGHPRI 16 36#define FLUSH_COND_STABLE 32 37#define NFSDBG_VFS 0x0001 38#define NFSDBG_DIRCACHE 0x0002 39#define NFSDBG_LOOKUPCACHE 0x0004 40#define NFSDBG_PAGECACHE 0x0008 41#define NFSDBG_PROC 0x0010 42#define NFSDBG_XDR 0x0020 43#define NFSDBG_FILE 0x0040 44#define NFSDBG_ROOT 0x0080 45#define NFSDBG_CALLBACK 0x0100 46#define NFSDBG_CLIENT 0x0200 47#define NFSDBG_MOUNT 0x0400 48#define NFSDBG_FSCACHE 0x0800 49#define NFSDBG_PNFS 0x1000 50#define NFSDBG_PNFS_LD 0x2000 51#define NFSDBG_STATE 0x4000 52#define NFSDBG_ALL 0xFFFF 53#endif 54