version 1.3, 1999/08/13 03:41:56 |
version 1.3.2.1, 2000/11/20 11:42:54 |
|
|
#include "rf_dagdegwr.h" |
#include "rf_dagdegwr.h" |
#include "rf_dagutils.h" |
#include "rf_dagutils.h" |
#include "rf_dagfuncs.h" |
#include "rf_dagfuncs.h" |
#include "rf_threadid.h" |
|
#include "rf_etimer.h" |
#include "rf_etimer.h" |
#include "rf_general.h" |
#include "rf_general.h" |
#include "rf_configure.h" |
#include "rf_configure.h" |
Line 314 rf_e_EncOneSect( |
|
Line 313 rf_e_EncOneSect( |
|
#if RF_EO_MATRIX_DIM > 17 |
#if RF_EO_MATRIX_DIM > 17 |
int shortsPerEU = bytesPerEU / sizeof(short); |
int shortsPerEU = bytesPerEU / sizeof(short); |
short *destShortBuf, *srcShortBuf1, *srcShortBuf2; |
short *destShortBuf, *srcShortBuf1, *srcShortBuf2; |
register short temp1; |
short temp1; |
#elif RF_EO_MATRIX_DIM == 17 |
#elif RF_EO_MATRIX_DIM == 17 |
int longsPerEU = bytesPerEU / sizeof(long); |
int longsPerEU = bytesPerEU / sizeof(long); |
long *destLongBuf, *srcLongBuf1, *srcLongBuf2; |
long *destLongBuf, *srcLongBuf1, *srcLongBuf2; |
register long temp1; |
long temp1; |
#endif |
#endif |
|
|
#if RF_EO_MATRIX_DIM > 17 |
#if RF_EO_MATRIX_DIM > 17 |
Line 473 rf_doubleEOdecode( |
|
Line 472 rf_doubleEOdecode( |
|
int shortsPerEU = bytesPerEU / sizeof(short); |
int shortsPerEU = bytesPerEU / sizeof(short); |
short *rrdbuf_current, *pbuf_current, *ebuf_current; |
short *rrdbuf_current, *pbuf_current, *ebuf_current; |
short *dest_smaller, *dest_smaller_current, *dest_larger, *dest_larger_current; |
short *dest_smaller, *dest_smaller_current, *dest_larger, *dest_larger_current; |
register short *temp; |
short *temp; |
short *P; |
short *P; |
|
|
RF_ASSERT(bytesPerEU % sizeof(short) == 0); |
RF_ASSERT(bytesPerEU % sizeof(short) == 0); |
Line 483 rf_doubleEOdecode( |
|
Line 482 rf_doubleEOdecode( |
|
int longsPerEU = bytesPerEU / sizeof(long); |
int longsPerEU = bytesPerEU / sizeof(long); |
long *rrdbuf_current, *pbuf_current, *ebuf_current; |
long *rrdbuf_current, *pbuf_current, *ebuf_current; |
long *dest_smaller, *dest_smaller_current, *dest_larger, *dest_larger_current; |
long *dest_smaller, *dest_smaller_current, *dest_larger, *dest_larger_current; |
register long *temp; |
long *temp; |
long *P; |
long *P; |
|
|
RF_ASSERT(bytesPerEU % sizeof(long) == 0); |
RF_ASSERT(bytesPerEU % sizeof(long) == 0); |
Line 713 rf_EvenOddDoubleRecoveryFunc(node) |
|
Line 712 rf_EvenOddDoubleRecoveryFunc(node) |
|
startSector = fsuoff[0]; |
startSector = fsuoff[0]; |
endSector = fsuend[0]; |
endSector = fsuend[0]; |
|
|
/* find out the the column of failed disk being accessed */ |
/* find out the column of failed disk being accessed */ |
fcol[0] = rf_EUCol(layoutPtr, pda->raidAddress); |
fcol[0] = rf_EUCol(layoutPtr, pda->raidAddress); |
|
|
/* find out the other failed colume not accessed */ |
/* find out the other failed colume not accessed */ |