Home
last modified time | relevance | path

Searched refs:bad_loc (Results 1 – 1 of 1) sorted by relevance

/linux-2.4.37.9/drivers/char/ftape/lowlevel/
Dftape-ecc.c593 int nbad, int *bad_loc, Matrix Ainv, in correct_block() argument
614 if ((bad_loc[nbad++] = gflog[t1]) >= nblocks) { in correct_block()
618 "attempt to correct data at %d", bad_loc[0]); in correct_block()
623 t1 = gfadd(gfmul_exp(s[1], bad_loc[0]), s[2]); in correct_block()
624 t2 = gfadd(gfmul_exp(s[0], bad_loc[0]), s[1]); in correct_block()
627 Ainv[0][0] = gfpow[bad_loc[0]]; in correct_block()
634 if ((bad_loc[nbad++] = gflog[gfdiv(t1, t2)]) in correct_block()
640 bad_loc[1]); in correct_block()
642 if (!gfinv2(bad_loc[0], bad_loc[1], Ainv)) { in correct_block()
675 l = bad_loc[i]; in correct_block()