Lines Matching refs:nblocks
464 int nblocks, in set_parity() argument
470 end = data + nblocks * (FT_SECTOR_SIZE / sizeof(long)); in set_parity()
552 static int compute_syndromes(unsigned long *data, int nblocks, unsigned long *s) in compute_syndromes() argument
556 set_parity(data, nblocks, p, 1); in compute_syndromes()
569 -nblocks); in compute_syndromes()
577 nblocks); in compute_syndromes()
592 static inline int correct_block(__u8 *data, int nblocks, in correct_block() argument
614 if ((bad_loc[nbad++] = gflog[t1]) >= nblocks) { in correct_block()
635 >= nblocks) { in correct_block()
699 static int sanity_check(unsigned long *data, int nblocks) in sanity_check() argument
704 if (!compute_syndromes(data, nblocks, s)) { in sanity_check()