1 /* SPDX-License-Identifier: GPL-2.0-or-later * 1 2 /* AFS File Service definitions 3 * 4 * Copyright (C) 2007 Red Hat, Inc. All Rights 5 * Written by David Howells (dhowells@redhat.c 6 */ 7 8 #ifndef AFS_FS_H 9 #define AFS_FS_H 10 11 #define AFS_FS_PORT 7000 /* AFS 12 #define FS_SERVICE 1 /* AFS 13 14 enum AFS_FS_Operations { 15 FSFETCHDATA = 130, /* AFS 16 FSFETCHACL = 131, /* AFS 17 FSFETCHSTATUS = 132, /* AFS 18 FSSTOREDATA = 133, /* AFS 19 FSSTOREACL = 134, /* AFS 20 FSSTORESTATUS = 135, /* AFS 21 FSREMOVEFILE = 136, /* AFS 22 FSCREATEFILE = 137, /* AFS 23 FSRENAME = 138, /* AFS 24 FSSYMLINK = 139, /* AFS 25 FSLINK = 140, /* AFS 26 FSMAKEDIR = 141, /* AFS 27 FSREMOVEDIR = 142, /* AFS 28 FSGIVEUPCALLBACKS = 147, /* AFS 29 FSGETVOLUMEINFO = 148, /* AFS 30 FSGETVOLUMESTATUS = 149, /* AFS 31 FSGETROOTVOLUME = 151, /* AFS 32 FSBULKSTATUS = 155, /* AFS 33 FSSETLOCK = 156, /* AFS 34 FSEXTENDLOCK = 157, /* AFS 35 FSRELEASELOCK = 158, /* AFS 36 FSLOOKUP = 161, /* AFS 37 FSINLINEBULKSTATUS = 65536, /* AF 38 FSFETCHDATA64 = 65537, /* AF 39 FSSTOREDATA64 = 65538, /* AF 40 FSGIVEUPALLCALLBACKS = 65539, /* AF 41 FSGETCAPABILITIES = 65540, /* Pr 42 }; 43 44 enum AFS_FS_Errors { 45 VRESTARTING = -100, /* Server is r 46 VSALVAGE = 101, /* volume need 47 VNOVNODE = 102, /* no such fil 48 VNOVOL = 103, /* no such vol 49 VVOLEXISTS = 104, /* volume name 50 VNOSERVICE = 105, /* volume not 51 VOFFLINE = 106, /* volume is c 52 VONLINE = 107, /* volume is a 53 VDISKFULL = 108, /* disk partit 54 VOVERQUOTA = 109, /* volume's ma 55 VBUSY = 110, /* volume is t 56 VMOVED = 111, /* volume move 57 VIO = 112, /* I/O error i 58 VSALVAGING = 113, /* Volume is b 59 VRESTRICTED = 120, /* Volume is r 60 }; 61 62 #endif /* AFS_FS_H */ 63
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.