Lines Matching refs:bitflips
322 int len, err, second_is_newer, bitflips = 0, corrupted = 0; in ubi_compare_lebs() local
364 return bitflips << 1; in ubi_compare_lebs()
375 bitflips = 1; in ubi_compare_lebs()
404 bitflips = 0; in ubi_compare_lebs()
408 bitflips |= !!err; in ubi_compare_lebs()
419 return second_is_newer | (bitflips << 1) | (corrupted << 2); in ubi_compare_lebs()
445 int ec, const struct ubi_vid_hdr *vid_hdr, int bitflips) in ubi_add_to_av() argument
458 pnum, vol_id, lnum, ec, sqnum, bitflips); in ubi_add_to_av()
541 aeb->scrub = ((cmp_res & 2) || bitflips); in ubi_add_to_av()
577 aeb->scrub = bitflips; in ubi_add_to_av()
818 int err, bitflips = 0, vol_id = -1, ec_err = 0; in scan_peb() local
838 bitflips = 1; in scan_peb()
857 bitflips = 1; in scan_peb()
921 bitflips = 1; in scan_peb()
973 if (ec_err || bitflips) in scan_peb()
1035 err = ubi_add_to_av(ubi, ai, pnum, ec, vidh, bitflips); in scan_peb()