Lines Matching refs:bitflips
441 int len, err, second_is_newer, bitflips = 0, corrupted = 0; in ubi_compare_lebs() local
483 return bitflips << 1; in ubi_compare_lebs()
494 bitflips = 1; in ubi_compare_lebs()
523 bitflips = 0; in ubi_compare_lebs()
527 bitflips |= !!err; in ubi_compare_lebs()
538 return second_is_newer | (bitflips << 1) | (corrupted << 2); in ubi_compare_lebs()
564 int ec, const struct ubi_vid_hdr *vid_hdr, int bitflips) in ubi_add_to_av() argument
577 pnum, vol_id, lnum, ec, sqnum, bitflips); in ubi_add_to_av()
660 aeb->scrub = ((cmp_res & 2) || bitflips); in ubi_add_to_av()
694 aeb->scrub = bitflips; in ubi_add_to_av()
948 int err, bitflips = 0, vol_id = -1, ec_err = 0; in scan_peb() local
968 bitflips = 1; in scan_peb()
987 bitflips = 1; in scan_peb()
1051 bitflips = 1; in scan_peb()
1118 if (ec_err || bitflips) in scan_peb()
1178 err = ubi_add_to_av(ubi, ai, pnum, ec, vidh, bitflips); in scan_peb()