Edit File by line
/home/barbar84/public_h.../wp-conte.../plugins/sujqvwi/ExeBy/smexe_ro.../usr/include/linux
File: nfs3.h
/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
[0] Fix | Delete
/*
[1] Fix | Delete
* NFSv3 protocol definitions
[2] Fix | Delete
*/
[3] Fix | Delete
#ifndef _LINUX_NFS3_H
[4] Fix | Delete
#define _LINUX_NFS3_H
[5] Fix | Delete
[6] Fix | Delete
#define NFS3_PORT 2049
[7] Fix | Delete
#define NFS3_MAXDATA 32768
[8] Fix | Delete
#define NFS3_MAXPATHLEN PATH_MAX
[9] Fix | Delete
#define NFS3_MAXNAMLEN NAME_MAX
[10] Fix | Delete
#define NFS3_MAXGROUPS 16
[11] Fix | Delete
#define NFS3_FHSIZE 64
[12] Fix | Delete
#define NFS3_COOKIESIZE 4
[13] Fix | Delete
#define NFS3_CREATEVERFSIZE 8
[14] Fix | Delete
#define NFS3_COOKIEVERFSIZE 8
[15] Fix | Delete
#define NFS3_WRITEVERFSIZE 8
[16] Fix | Delete
#define NFS3_FIFO_DEV (-1)
[17] Fix | Delete
#define NFS3MODE_FMT 0170000
[18] Fix | Delete
#define NFS3MODE_DIR 0040000
[19] Fix | Delete
#define NFS3MODE_CHR 0020000
[20] Fix | Delete
#define NFS3MODE_BLK 0060000
[21] Fix | Delete
#define NFS3MODE_REG 0100000
[22] Fix | Delete
#define NFS3MODE_LNK 0120000
[23] Fix | Delete
#define NFS3MODE_SOCK 0140000
[24] Fix | Delete
#define NFS3MODE_FIFO 0010000
[25] Fix | Delete
[26] Fix | Delete
/* Flags for access() call */
[27] Fix | Delete
#define NFS3_ACCESS_READ 0x0001
[28] Fix | Delete
#define NFS3_ACCESS_LOOKUP 0x0002
[29] Fix | Delete
#define NFS3_ACCESS_MODIFY 0x0004
[30] Fix | Delete
#define NFS3_ACCESS_EXTEND 0x0008
[31] Fix | Delete
#define NFS3_ACCESS_DELETE 0x0010
[32] Fix | Delete
#define NFS3_ACCESS_EXECUTE 0x0020
[33] Fix | Delete
#define NFS3_ACCESS_FULL 0x003f
[34] Fix | Delete
[35] Fix | Delete
/* Flags for create mode */
[36] Fix | Delete
enum nfs3_createmode {
[37] Fix | Delete
NFS3_CREATE_UNCHECKED = 0,
[38] Fix | Delete
NFS3_CREATE_GUARDED = 1,
[39] Fix | Delete
NFS3_CREATE_EXCLUSIVE = 2
[40] Fix | Delete
};
[41] Fix | Delete
[42] Fix | Delete
/* NFSv3 file system properties */
[43] Fix | Delete
#define NFS3_FSF_LINK 0x0001
[44] Fix | Delete
#define NFS3_FSF_SYMLINK 0x0002
[45] Fix | Delete
#define NFS3_FSF_HOMOGENEOUS 0x0008
[46] Fix | Delete
#define NFS3_FSF_CANSETTIME 0x0010
[47] Fix | Delete
/* Some shorthands. See fs/nfsd/nfs3proc.c */
[48] Fix | Delete
#define NFS3_FSF_DEFAULT 0x001B
[49] Fix | Delete
#define NFS3_FSF_BILLYBOY 0x0018
[50] Fix | Delete
#define NFS3_FSF_READONLY 0x0008
[51] Fix | Delete
[52] Fix | Delete
enum nfs3_ftype {
[53] Fix | Delete
NF3NON = 0,
[54] Fix | Delete
NF3REG = 1,
[55] Fix | Delete
NF3DIR = 2,
[56] Fix | Delete
NF3BLK = 3,
[57] Fix | Delete
NF3CHR = 4,
[58] Fix | Delete
NF3LNK = 5,
[59] Fix | Delete
NF3SOCK = 6,
[60] Fix | Delete
NF3FIFO = 7, /* changed from NFSv2 (was 8) */
[61] Fix | Delete
NF3BAD = 8
[62] Fix | Delete
};
[63] Fix | Delete
[64] Fix | Delete
enum nfs3_time_how {
[65] Fix | Delete
DONT_CHANGE = 0,
[66] Fix | Delete
SET_TO_SERVER_TIME = 1,
[67] Fix | Delete
SET_TO_CLIENT_TIME = 2,
[68] Fix | Delete
};
[69] Fix | Delete
[70] Fix | Delete
struct nfs3_fh {
[71] Fix | Delete
unsigned short size;
[72] Fix | Delete
unsigned char data[NFS3_FHSIZE];
[73] Fix | Delete
};
[74] Fix | Delete
[75] Fix | Delete
#define NFS3_VERSION 3
[76] Fix | Delete
#define NFS3PROC_NULL 0
[77] Fix | Delete
#define NFS3PROC_GETATTR 1
[78] Fix | Delete
#define NFS3PROC_SETATTR 2
[79] Fix | Delete
#define NFS3PROC_LOOKUP 3
[80] Fix | Delete
#define NFS3PROC_ACCESS 4
[81] Fix | Delete
#define NFS3PROC_READLINK 5
[82] Fix | Delete
#define NFS3PROC_READ 6
[83] Fix | Delete
#define NFS3PROC_WRITE 7
[84] Fix | Delete
#define NFS3PROC_CREATE 8
[85] Fix | Delete
#define NFS3PROC_MKDIR 9
[86] Fix | Delete
#define NFS3PROC_SYMLINK 10
[87] Fix | Delete
#define NFS3PROC_MKNOD 11
[88] Fix | Delete
#define NFS3PROC_REMOVE 12
[89] Fix | Delete
#define NFS3PROC_RMDIR 13
[90] Fix | Delete
#define NFS3PROC_RENAME 14
[91] Fix | Delete
#define NFS3PROC_LINK 15
[92] Fix | Delete
#define NFS3PROC_READDIR 16
[93] Fix | Delete
#define NFS3PROC_READDIRPLUS 17
[94] Fix | Delete
#define NFS3PROC_FSSTAT 18
[95] Fix | Delete
#define NFS3PROC_FSINFO 19
[96] Fix | Delete
#define NFS3PROC_PATHCONF 20
[97] Fix | Delete
#define NFS3PROC_COMMIT 21
[98] Fix | Delete
[99] Fix | Delete
#define NFS_MNT3_VERSION 3
[100] Fix | Delete
[101] Fix | Delete
[102] Fix | Delete
#endif /* _LINUX_NFS3_H */
[103] Fix | Delete
[104] Fix | Delete
It is recommended that you Edit text format, this type of Fix handles quite a lot in one request
Function