Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros | Enumerations
afs_vl.h File Reference
#include "afs.h"

Go to the source code of this file.

Data Structures

struct  afs_vldbentry
 

Macros

#define AFS_VL_PORT   7003 /* volume location service port */
 
#define VL_SERVICE   52 /* RxRPC service ID for the Volume Location service */
 
#define AFS_VLF_RWEXISTS   0x1000 /* R/W volume exists */
 
#define AFS_VLF_ROEXISTS   0x2000 /* R/O volume exists */
 
#define AFS_VLF_BACKEXISTS   0x4000 /* backup volume exists */
 
#define AFS_VLSF_NEWREPSITE   0x0001 /* unused */
 
#define AFS_VLSF_ROVOL   0x0002 /* this server holds a R/O instance of the volume */
 
#define AFS_VLSF_RWVOL   0x0004 /* this server holds a R/W instance of the volume */
 
#define AFS_VLSF_BACKVOL   0x0008 /* this server holds a backup instance of the volume */
 

Enumerations

enum  AFSVL_Operations { VLGETENTRYBYID = 503, VLGETENTRYBYNAME = 504, VLPROBE = 514 }
 
enum  AFSVL_Errors {
  AFSVL_IDEXIST = 363520, AFSVL_IO = 363521, AFSVL_NAMEEXIST = 363522, AFSVL_CREATEFAIL = 363523,
  AFSVL_NOENT = 363524, AFSVL_EMPTY = 363525, AFSVL_ENTDELETED = 363526, AFSVL_BADNAME = 363527,
  AFSVL_BADINDEX = 363528, AFSVL_BADVOLTYPE = 363529, AFSVL_BADSERVER = 363530, AFSVL_BADPARTITION = 363531,
  AFSVL_REPSFULL = 363532, AFSVL_NOREPSERVER = 363533, AFSVL_DUPREPSERVER = 363534, AFSVL_RWNOTFOUND = 363535,
  AFSVL_BADREFCOUNT = 363536, AFSVL_SIZEEXCEEDED = 363537, AFSVL_BADENTRY = 363538, AFSVL_BADVOLIDBUMP = 363539,
  AFSVL_IDALREADYHASHED = 363540, AFSVL_ENTRYLOCKED = 363541, AFSVL_BADVOLOPER = 363542, AFSVL_BADRELLOCKTYPE = 363543,
  AFSVL_RERELEASE = 363544, AFSVL_BADSERVERFLAG = 363545, AFSVL_PERM = 363546, AFSVL_NOMEM = 363547
}
 

Macro Definition Documentation

#define AFS_VL_PORT   7003 /* volume location service port */

Definition at line 17 of file afs_vl.h.

#define AFS_VLF_BACKEXISTS   0x4000 /* backup volume exists */

Definition at line 69 of file afs_vl.h.

#define AFS_VLF_ROEXISTS   0x2000 /* R/O volume exists */

Definition at line 68 of file afs_vl.h.

#define AFS_VLF_RWEXISTS   0x1000 /* R/W volume exists */

Definition at line 67 of file afs_vl.h.

#define AFS_VLSF_BACKVOL   0x0008 /* this server holds a backup instance of the volume */

Definition at line 80 of file afs_vl.h.

#define AFS_VLSF_NEWREPSITE   0x0001 /* unused */

Definition at line 77 of file afs_vl.h.

#define AFS_VLSF_ROVOL   0x0002 /* this server holds a R/O instance of the volume */

Definition at line 78 of file afs_vl.h.

#define AFS_VLSF_RWVOL   0x0004 /* this server holds a R/W instance of the volume */

Definition at line 79 of file afs_vl.h.

#define VL_SERVICE   52 /* RxRPC service ID for the Volume Location service */

Definition at line 18 of file afs_vl.h.

Enumeration Type Documentation

Enumerator:
AFSVL_IDEXIST 
AFSVL_IO 
AFSVL_NAMEEXIST 
AFSVL_CREATEFAIL 
AFSVL_NOENT 
AFSVL_EMPTY 
AFSVL_ENTDELETED 
AFSVL_BADNAME 
AFSVL_BADINDEX 
AFSVL_BADVOLTYPE 
AFSVL_BADSERVER 
AFSVL_BADPARTITION 
AFSVL_REPSFULL 
AFSVL_NOREPSERVER 
AFSVL_DUPREPSERVER 
AFSVL_RWNOTFOUND 
AFSVL_BADREFCOUNT 
AFSVL_SIZEEXCEEDED 
AFSVL_BADENTRY 
AFSVL_BADVOLIDBUMP 
AFSVL_IDALREADYHASHED 
AFSVL_ENTRYLOCKED 
AFSVL_BADVOLOPER 
AFSVL_BADRELLOCKTYPE 
AFSVL_RERELEASE 
AFSVL_BADSERVERFLAG 
AFSVL_PERM 
AFSVL_NOMEM 

Definition at line 26 of file afs_vl.h.

Enumerator:
VLGETENTRYBYID 
VLGETENTRYBYNAME 
VLPROBE 

Definition at line 20 of file afs_vl.h.