Elliott Hughes | 180edef | 2023-11-02 00:08:05 +0000 | [diff] [blame] | 1 | /* |
| 2 | * This file is auto-generated. Modifications will be lost. |
| 3 | * |
| 4 | * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ |
| 5 | * for more information. |
| 6 | */ |
Ben Cheng | 655a7c0 | 2013-10-16 16:09:24 -0700 | [diff] [blame] | 7 | #ifndef _UAPI_LINUX_NFS_FS_H |
| 8 | #define _UAPI_LINUX_NFS_FS_H |
| 9 | #include <linux/magic.h> |
| 10 | #define NFS_DEF_UDP_TIMEO (11) |
Ben Cheng | 655a7c0 | 2013-10-16 16:09:24 -0700 | [diff] [blame] | 11 | #define NFS_DEF_UDP_RETRANS (3) |
| 12 | #define NFS_DEF_TCP_TIMEO (600) |
| 13 | #define NFS_DEF_TCP_RETRANS (2) |
Tao Bao | d7db594 | 2015-01-28 10:07:51 -0800 | [diff] [blame] | 14 | #define NFS_MAX_UDP_TIMEOUT (60 * HZ) |
Tao Bao | d7db594 | 2015-01-28 10:07:51 -0800 | [diff] [blame] | 15 | #define NFS_MAX_TCP_TIMEOUT (600 * HZ) |
Ben Cheng | 655a7c0 | 2013-10-16 16:09:24 -0700 | [diff] [blame] | 16 | #define NFS_DEF_ACREGMIN (3) |
| 17 | #define NFS_DEF_ACREGMAX (60) |
| 18 | #define NFS_DEF_ACDIRMIN (30) |
Ben Cheng | 655a7c0 | 2013-10-16 16:09:24 -0700 | [diff] [blame] | 19 | #define NFS_DEF_ACDIRMAX (60) |
| 20 | #define FLUSH_SYNC 1 |
| 21 | #define FLUSH_STABLE 4 |
| 22 | #define FLUSH_LOWPRI 8 |
Ben Cheng | 655a7c0 | 2013-10-16 16:09:24 -0700 | [diff] [blame] | 23 | #define FLUSH_HIGHPRI 16 |
| 24 | #define FLUSH_COND_STABLE 32 |
| 25 | #define NFSDBG_VFS 0x0001 |
| 26 | #define NFSDBG_DIRCACHE 0x0002 |
Ben Cheng | 655a7c0 | 2013-10-16 16:09:24 -0700 | [diff] [blame] | 27 | #define NFSDBG_LOOKUPCACHE 0x0004 |
| 28 | #define NFSDBG_PAGECACHE 0x0008 |
| 29 | #define NFSDBG_PROC 0x0010 |
| 30 | #define NFSDBG_XDR 0x0020 |
Ben Cheng | 655a7c0 | 2013-10-16 16:09:24 -0700 | [diff] [blame] | 31 | #define NFSDBG_FILE 0x0040 |
| 32 | #define NFSDBG_ROOT 0x0080 |
| 33 | #define NFSDBG_CALLBACK 0x0100 |
| 34 | #define NFSDBG_CLIENT 0x0200 |
Ben Cheng | 655a7c0 | 2013-10-16 16:09:24 -0700 | [diff] [blame] | 35 | #define NFSDBG_MOUNT 0x0400 |
| 36 | #define NFSDBG_FSCACHE 0x0800 |
| 37 | #define NFSDBG_PNFS 0x1000 |
| 38 | #define NFSDBG_PNFS_LD 0x2000 |
Ben Cheng | 655a7c0 | 2013-10-16 16:09:24 -0700 | [diff] [blame] | 39 | #define NFSDBG_STATE 0x4000 |
Christopher Ferris | 25c18d4 | 2020-10-14 17:42:58 -0700 | [diff] [blame] | 40 | #define NFSDBG_XATTRCACHE 0x8000 |
Ben Cheng | 655a7c0 | 2013-10-16 16:09:24 -0700 | [diff] [blame] | 41 | #define NFSDBG_ALL 0xFFFF |
| 42 | #endif |