1 /* $NetBSD: rf_nwayxor.h,v 1.3 1999/02/05 00:06:13 oster Exp $ */
6 * Copyright (c) 1996 Carnegie-Mellon University.
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.
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.
21 * Carnegie Mellon requests users of this software to return to
23 * Software Distribution Coordinator or Software.Distribution@CS.CMU.EDU
24 * School of Computer Science
25 * Carnegie Mellon University
26 * Pittsburgh PA 15213-3890
28 * any improvements or extensions that they make and grant Carnegie the
29 * rights to redistribute these changes.
32 * rf_nwayxor.h -- types and prototypes for nwayxor module
35 #ifndef _RF__RF_NWAYXOR_H_
36 #define _RF__RF_NWAYXOR_H_
38 #include <dev/raidframe/raidframevar.h>
41 #include "rf_reconstruct.h"
43 int rf_ConfigureNWayXor(RF_ShutdownList_t
** listp
);
44 void rf_nWayXor1(RF_ReconBuffer_t
** src_rbs
, RF_ReconBuffer_t
* dest_rb
, int len
);
45 void rf_nWayXor2(RF_ReconBuffer_t
** src_rbs
, RF_ReconBuffer_t
* dest_rb
, int len
);
46 void rf_nWayXor3(RF_ReconBuffer_t
** src_rbs
, RF_ReconBuffer_t
* dest_rb
, int len
);
47 void rf_nWayXor4(RF_ReconBuffer_t
** src_rbs
, RF_ReconBuffer_t
* dest_rb
, int len
);
48 void rf_nWayXor5(RF_ReconBuffer_t
** src_rbs
, RF_ReconBuffer_t
* dest_rb
, int len
);
49 void rf_nWayXor6(RF_ReconBuffer_t
** src_rbs
, RF_ReconBuffer_t
* dest_rb
, int len
);
50 void rf_nWayXor7(RF_ReconBuffer_t
** src_rbs
, RF_ReconBuffer_t
* dest_rb
, int len
);
51 void rf_nWayXor8(RF_ReconBuffer_t
** src_rbs
, RF_ReconBuffer_t
* dest_rb
, int len
);
52 void rf_nWayXor9(RF_ReconBuffer_t
** src_rbs
, RF_ReconBuffer_t
* dest_rb
, int len
);
54 #endif /* !_RF__RF_NWAYXOR_H_ */