rf_nwayxor.h revision 1.1 1 /* $NetBSD: rf_nwayxor.h,v 1.1 1998/11/13 04:20:31 oster Exp $ */
2 /*
3 * rf_nwayxor.h
4 */
5 /*
6 * Copyright (c) 1996 Carnegie-Mellon University.
7 * All rights reserved.
8 *
9 * Author: Jim Zelenka
10 *
11 * Permission to use, copy, modify and distribute this software and
12 * its documentation is hereby granted, provided that both the copyright
13 * notice and this permission notice appear in all copies of the
14 * software, derivative works or modified versions, and any portions
15 * thereof, and that both notices appear in supporting documentation.
16 *
17 * CARNEGIE MELLON ALLOWS FREE USE OF THIS SOFTWARE IN ITS "AS IS"
18 * CONDITION. CARNEGIE MELLON DISCLAIMS ANY LIABILITY OF ANY KIND
19 * FOR ANY DAMAGES WHATSOEVER RESULTING FROM THE USE OF THIS SOFTWARE.
20 *
21 * Carnegie Mellon requests users of this software to return to
22 *
23 * Software Distribution Coordinator or Software.Distribution (at) CS.CMU.EDU
24 * School of Computer Science
25 * Carnegie Mellon University
26 * Pittsburgh PA 15213-3890
27 *
28 * any improvements or extensions that they make and grant Carnegie the
29 * rights to redistribute these changes.
30 */
31 /*
32 * rf_nwayxor.h -- types and prototypes for nwayxor module
33 */
34 /*
35 * :
36 * Log: rf_nwayxor.h,v
37 * Revision 1.4 1996/06/10 11:55:47 jimz
38 * Straightened out some per-array/not-per-array distinctions, fixed
39 * a couple bugs related to confusion. Added shutdown lists. Removed
40 * layout shutdown function (now subsumed by shutdown lists).
41 *
42 * Revision 1.3 1996/06/02 17:31:48 jimz
43 * Moved a lot of global stuff into array structure, where it belongs.
44 * Fixed up paritylogging, pss modules in this manner. Some general
45 * code cleanup. Removed lots of dead code, some dead files.
46 *
47 * Revision 1.2 1996/05/23 21:46:35 jimz
48 * checkpoint in code cleanup (release prep)
49 * lots of types, function names have been fixed
50 *
51 * Revision 1.1 1996/05/18 19:56:47 jimz
52 * Initial revision
53 *
54 */
55
56 #ifndef _RF__RF_NWAYXOR_H_
57 #define _RF__RF_NWAYXOR_H_
58
59 #include "rf_types.h"
60 #include "rf_raid.h"
61 #include "rf_reconstruct.h"
62
63 int rf_ConfigureNWayXor(RF_ShutdownList_t **listp);
64 void rf_nWayXor1(RF_ReconBuffer_t **src_rbs, RF_ReconBuffer_t *dest_rb, int len);
65 void rf_nWayXor2(RF_ReconBuffer_t **src_rbs, RF_ReconBuffer_t *dest_rb, int len);
66 void rf_nWayXor3(RF_ReconBuffer_t **src_rbs, RF_ReconBuffer_t *dest_rb, int len);
67 void rf_nWayXor4(RF_ReconBuffer_t **src_rbs, RF_ReconBuffer_t *dest_rb, int len);
68 void rf_nWayXor5(RF_ReconBuffer_t **src_rbs, RF_ReconBuffer_t *dest_rb, int len);
69 void rf_nWayXor6(RF_ReconBuffer_t **src_rbs, RF_ReconBuffer_t *dest_rb, int len);
70 void rf_nWayXor7(RF_ReconBuffer_t **src_rbs, RF_ReconBuffer_t *dest_rb, int len);
71 void rf_nWayXor8(RF_ReconBuffer_t **src_rbs, RF_ReconBuffer_t *dest_rb, int len);
72 void rf_nWayXor9(RF_ReconBuffer_t **src_rbs, RF_ReconBuffer_t *dest_rb, int len);
73
74 #endif /* !_RF__RF_NWAYXOR_H_ */
75