Annotation of sys/dev/raidframe/rf_evenodd_dags.h, Revision 1.1.1.1
1.1 nbrk 1: /* $OpenBSD: rf_evenodd_dags.h,v 1.3 2002/12/16 07:01:04 tdeval Exp $ */
2: /* $NetBSD: rf_evenodd_dags.h,v 1.2 1999/02/05 00:06:11 oster Exp $ */
3:
4: /*
5: * rf_evenodd_dags.h
6: */
7: /*
8: * Copyright (c) 1996 Carnegie-Mellon University.
9: * All rights reserved.
10: *
11: * Author: Chang-Ming Wu
12: *
13: * Permission to use, copy, modify and distribute this software and
14: * its documentation is hereby granted, provided that both the copyright
15: * notice and this permission notice appear in all copies of the
16: * software, derivative works or modified versions, and any portions
17: * thereof, and that both notices appear in supporting documentation.
18: *
19: * CARNEGIE MELLON ALLOWS FREE USE OF THIS SOFTWARE IN ITS "AS IS"
20: * CONDITION. CARNEGIE MELLON DISCLAIMS ANY LIABILITY OF ANY KIND
21: * FOR ANY DAMAGES WHATSOEVER RESULTING FROM THE USE OF THIS SOFTWARE.
22: *
23: * Carnegie Mellon requests users of this software to return to
24: *
25: * Software Distribution Coordinator or Software.Distribution@CS.CMU.EDU
26: * School of Computer Science
27: * Carnegie Mellon University
28: * Pittsburgh PA 15213-3890
29: *
30: * any improvements or extensions that they make and grant Carnegie the
31: * rights to redistribute these changes.
32: */
33:
34: #ifndef _RF__RF_EVENODD_DAGS_H_
35: #define _RF__RF_EVENODD_DAGS_H_
36:
37: #include "rf_types.h"
38:
39: #if RF_UTILITY == 0
40: #include "rf_dag.h"
41:
42: /*
43: * Extern decl's of the failure mode EO functions.
44: * Swiped from rf_pqdeg.h
45: */
46:
47: RF_CREATE_DAG_FUNC_DECL(rf_EO_100_CreateReadDAG);
48: RF_CREATE_DAG_FUNC_DECL(rf_EO_101_CreateReadDAG);
49: RF_CREATE_DAG_FUNC_DECL(rf_EO_110_CreateReadDAG);
50: RF_CREATE_DAG_FUNC_DECL(rf_EO_200_CreateReadDAG);
51: RF_CREATE_DAG_FUNC_DECL(rf_EOCreateDoubleDegradedReadDAG);
52: RF_CREATE_DAG_FUNC_DECL(rf_EO_100_CreateWriteDAG);
53: RF_CREATE_DAG_FUNC_DECL(rf_EO_010_CreateSmallWriteDAG);
54: RF_CREATE_DAG_FUNC_DECL(rf_EO_001_CreateSmallWriteDAG);
55: RF_CREATE_DAG_FUNC_DECL(rf_EO_010_CreateLargeWriteDAG);
56: RF_CREATE_DAG_FUNC_DECL(rf_EO_001_CreateLargeWriteDAG);
57: RF_CREATE_DAG_FUNC_DECL(rf_EO_011_CreateWriteDAG);
58: RF_CREATE_DAG_FUNC_DECL(rf_EO_110_CreateWriteDAG);
59: RF_CREATE_DAG_FUNC_DECL(rf_EO_101_CreateWriteDAG);
60: RF_CREATE_DAG_FUNC_DECL(rf_EO_DoubleDegRead);
61: RF_CREATE_DAG_FUNC_DECL(rf_EOCreateSmallWriteDAG);
62: RF_CREATE_DAG_FUNC_DECL(rf_EOCreateLargeWriteDAG);
63: RF_CREATE_DAG_FUNC_DECL(rf_EO_200_CreateWriteDAG);
64: #endif /* RF_UTILITY == 0 */
65:
66: #endif /* !_RF__RF_EVENODD_DAGS_H_ */
CVSweb