xref: /openbmc/linux/fs/afs/afs_cm.h (revision 08e0e7c82eeadec6f4871a386b86bf0f0fbcb4eb)
1*08e0e7c8SDavid Howells /* AFS Cache Manager definitions
2*08e0e7c8SDavid Howells  *
3*08e0e7c8SDavid Howells  * Copyright (C) 2007 Red Hat, Inc. All Rights Reserved.
4*08e0e7c8SDavid Howells  * Written by David Howells (dhowells@redhat.com)
5*08e0e7c8SDavid Howells  *
6*08e0e7c8SDavid Howells  * This program is free software; you can redistribute it and/or
7*08e0e7c8SDavid Howells  * modify it under the terms of the GNU General Public License
8*08e0e7c8SDavid Howells  * as published by the Free Software Foundation; either version
9*08e0e7c8SDavid Howells  * 2 of the License, or (at your option) any later version.
10*08e0e7c8SDavid Howells  */
11*08e0e7c8SDavid Howells 
12*08e0e7c8SDavid Howells #ifndef AFS_CM_H
13*08e0e7c8SDavid Howells #define AFS_CM_H
14*08e0e7c8SDavid Howells 
15*08e0e7c8SDavid Howells #define AFS_CM_PORT		7001	/* AFS file server port */
16*08e0e7c8SDavid Howells #define CM_SERVICE		1	/* AFS File Service ID */
17*08e0e7c8SDavid Howells 
18*08e0e7c8SDavid Howells enum AFS_CM_Operations {
19*08e0e7c8SDavid Howells 	CBCallBack		= 204,	/* break callback promises */
20*08e0e7c8SDavid Howells 	CBInitCallBackState	= 205,	/* initialise callback state */
21*08e0e7c8SDavid Howells 	CBProbe			= 206,	/* probe client */
22*08e0e7c8SDavid Howells 	CBGetLock		= 207,	/* get contents of CM lock table */
23*08e0e7c8SDavid Howells 	CBGetCE			= 208,	/* get cache file description */
24*08e0e7c8SDavid Howells 	CBGetXStatsVersion	= 209,	/* get version of extended statistics */
25*08e0e7c8SDavid Howells 	CBGetXStats		= 210,	/* get contents of extended statistics data */
26*08e0e7c8SDavid Howells };
27*08e0e7c8SDavid Howells 
28*08e0e7c8SDavid Howells #endif /* AFS_FS_H */
29