Back to home page

OSCL-LXR

 
 

    


0001 /* SPDX-License-Identifier: GPL-2.0-or-later */
0002 /* AFS Cache Manager 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_CM_H
0009 #define AFS_CM_H
0010 
0011 #define AFS_CM_PORT     7001    /* AFS file server port */
0012 #define CM_SERVICE      1   /* AFS File Service ID */
0013 
0014 enum AFS_CM_Operations {
0015     CBCallBack      = 204,  /* break callback promises */
0016     CBInitCallBackState = 205,  /* initialise callback state */
0017     CBProbe         = 206,  /* probe client */
0018     CBGetLock       = 207,  /* get contents of CM lock table */
0019     CBGetCE         = 208,  /* get cache file description */
0020     CBGetXStatsVersion  = 209,  /* get version of extended statistics */
0021     CBGetXStats     = 210,  /* get contents of extended statistics data */
0022     CBInitCallBackState3    = 213,  /* initialise callback state, version 3 */
0023     CBProbeUuid     = 214,  /* check the client hasn't rebooted */
0024     CBTellMeAboutYourself   = 65538, /* get client capabilities */
0025 };
0026 
0027 #define AFS_CAP_ERROR_TRANSLATION   0x1
0028 
0029 #endif /* AFS_FS_H */