OpenCores
URL https://opencores.org/ocsvn/or1k_soc_on_altera_embedded_dev_kit/or1k_soc_on_altera_embedded_dev_kit/trunk

Subversion Repositories or1k_soc_on_altera_embedded_dev_kit

[/] [or1k_soc_on_altera_embedded_dev_kit/] [trunk/] [linux-2.6/] [linux-2.6.24/] [fs/] [afs/] [afs_cm.h] - Blame information for rev 3

Details | Compare with Previous | View Log

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

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.