Home
last modified time | relevance | path

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

/drivers/mtd/ubi/
Dattach.c592 int cmp_res; in ubi_add_to_av() local
637 cmp_res = ubi_compare_lebs(ubi, aeb, pnum, vid_hdr); in ubi_add_to_av()
638 if (cmp_res < 0) in ubi_add_to_av()
639 return cmp_res; in ubi_add_to_av()
641 if (cmp_res & 1) { in ubi_add_to_av()
651 aeb->lnum, aeb->ec, cmp_res & 4, in ubi_add_to_av()
660 aeb->scrub = ((cmp_res & 2) || bitflips); in ubi_add_to_av()
675 cmp_res & 4, &ai->erase); in ubi_add_to_av()
Dfastmap.c248 int cmp_res; in update_vol() local
274 cmp_res = ubi_compare_lebs(ubi, aeb, new_aeb->pnum, new_vh); in update_vol()
275 if (cmp_res < 0) in update_vol()
276 return cmp_res; in update_vol()
279 if (cmp_res & 1) { in update_vol()