![]() |
|
|||
0001 /* SPDX-License-Identifier: GPL-2.0-or-later */ 0002 /* AFS File Service definitions 0003 * 0004 * Copyright (C) 2007 Red Hat, Inc. All Rights Reserved. 0005 * Written by David Howells (dhowells@redhat.com) 0006 */ 0007 0008 #ifndef AFS_FS_H 0009 #define AFS_FS_H 0010 0011 #define AFS_FS_PORT 7000 /* AFS file server port */ 0012 #define FS_SERVICE 1 /* AFS File Service ID */ 0013 0014 enum AFS_FS_Operations { 0015 FSFETCHDATA = 130, /* AFS Fetch file data */ 0016 FSFETCHACL = 131, /* AFS Fetch file ACL */ 0017 FSFETCHSTATUS = 132, /* AFS Fetch file status */ 0018 FSSTOREDATA = 133, /* AFS Store file data */ 0019 FSSTOREACL = 134, /* AFS Store file ACL */ 0020 FSSTORESTATUS = 135, /* AFS Store file status */ 0021 FSREMOVEFILE = 136, /* AFS Remove a file */ 0022 FSCREATEFILE = 137, /* AFS Create a file */ 0023 FSRENAME = 138, /* AFS Rename or move a file or directory */ 0024 FSSYMLINK = 139, /* AFS Create a symbolic link */ 0025 FSLINK = 140, /* AFS Create a hard link */ 0026 FSMAKEDIR = 141, /* AFS Create a directory */ 0027 FSREMOVEDIR = 142, /* AFS Remove a directory */ 0028 FSGIVEUPCALLBACKS = 147, /* AFS Discard callback promises */ 0029 FSGETVOLUMEINFO = 148, /* AFS Get information about a volume */ 0030 FSGETVOLUMESTATUS = 149, /* AFS Get volume status information */ 0031 FSGETROOTVOLUME = 151, /* AFS Get root volume name */ 0032 FSBULKSTATUS = 155, /* AFS Fetch multiple file statuses */ 0033 FSSETLOCK = 156, /* AFS Request a file lock */ 0034 FSEXTENDLOCK = 157, /* AFS Extend a file lock */ 0035 FSRELEASELOCK = 158, /* AFS Release a file lock */ 0036 FSLOOKUP = 161, /* AFS lookup file in directory */ 0037 FSINLINEBULKSTATUS = 65536, /* AFS Fetch multiple file statuses with inline errors */ 0038 FSFETCHDATA64 = 65537, /* AFS Fetch file data */ 0039 FSSTOREDATA64 = 65538, /* AFS Store file data */ 0040 FSGIVEUPALLCALLBACKS = 65539, /* AFS Give up all outstanding callbacks on a server */ 0041 FSGETCAPABILITIES = 65540, /* Probe and get the capabilities of a fileserver */ 0042 }; 0043 0044 enum AFS_FS_Errors { 0045 VRESTARTING = -100, /* Server is restarting */ 0046 VSALVAGE = 101, /* volume needs salvaging */ 0047 VNOVNODE = 102, /* no such file/dir (vnode) */ 0048 VNOVOL = 103, /* no such volume or volume unavailable */ 0049 VVOLEXISTS = 104, /* volume name already exists */ 0050 VNOSERVICE = 105, /* volume not currently in service */ 0051 VOFFLINE = 106, /* volume is currently offline (more info available [VVL-spec]) */ 0052 VONLINE = 107, /* volume is already online */ 0053 VDISKFULL = 108, /* disk partition is full */ 0054 VOVERQUOTA = 109, /* volume's maximum quota exceeded */ 0055 VBUSY = 110, /* volume is temporarily unavailable */ 0056 VMOVED = 111, /* volume moved to new server - ask this FS where */ 0057 VIO = 112, /* I/O error in volume */ 0058 VSALVAGING = 113, /* Volume is being salvaged */ 0059 VRESTRICTED = 120, /* Volume is restricted from using */ 0060 }; 0061 0062 #endif /* AFS_FS_H */
[ Source navigation ] | [ Diff markup ] | [ Identifier search ] | [ general search ] |
This page was automatically generated by the 2.1.0 LXR engine. The LXR team |
![]() ![]() |