blob: f8228eca87227ce5af4801c86ba500e3e9e0e42d [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_LINUX_NFS_FS_H
20#define _UAPI_LINUX_NFS_FS_H
21#include <linux/magic.h>
22#define NFS_DEF_UDP_TIMEO (11)
Ben Cheng655a7c02013-10-16 16:09:24 -070023#define NFS_DEF_UDP_RETRANS (3)
24#define NFS_DEF_TCP_TIMEO (600)
25#define NFS_DEF_TCP_RETRANS (2)
Tao Baod7db5942015-01-28 10:07:51 -080026#define NFS_MAX_UDP_TIMEOUT (60 * HZ)
Tao Baod7db5942015-01-28 10:07:51 -080027#define NFS_MAX_TCP_TIMEOUT (600 * HZ)
Ben Cheng655a7c02013-10-16 16:09:24 -070028#define NFS_DEF_ACREGMIN (3)
29#define NFS_DEF_ACREGMAX (60)
30#define NFS_DEF_ACDIRMIN (30)
Ben Cheng655a7c02013-10-16 16:09:24 -070031#define NFS_DEF_ACDIRMAX (60)
32#define FLUSH_SYNC 1
33#define FLUSH_STABLE 4
34#define FLUSH_LOWPRI 8
Ben Cheng655a7c02013-10-16 16:09:24 -070035#define FLUSH_HIGHPRI 16
36#define FLUSH_COND_STABLE 32
37#define NFSDBG_VFS 0x0001
38#define NFSDBG_DIRCACHE 0x0002
Ben Cheng655a7c02013-10-16 16:09:24 -070039#define NFSDBG_LOOKUPCACHE 0x0004
40#define NFSDBG_PAGECACHE 0x0008
41#define NFSDBG_PROC 0x0010
42#define NFSDBG_XDR 0x0020
Ben Cheng655a7c02013-10-16 16:09:24 -070043#define NFSDBG_FILE 0x0040
44#define NFSDBG_ROOT 0x0080
45#define NFSDBG_CALLBACK 0x0100
46#define NFSDBG_CLIENT 0x0200
Ben Cheng655a7c02013-10-16 16:09:24 -070047#define NFSDBG_MOUNT 0x0400
48#define NFSDBG_FSCACHE 0x0800
49#define NFSDBG_PNFS 0x1000
50#define NFSDBG_PNFS_LD 0x2000
Ben Cheng655a7c02013-10-16 16:09:24 -070051#define NFSDBG_STATE 0x4000
Christopher Ferris25c18d42020-10-14 17:42:58 -070052#define NFSDBG_XATTRCACHE 0x8000
Ben Cheng655a7c02013-10-16 16:09:24 -070053#define NFSDBG_ALL 0xFFFF
54#endif