Lines Matching refs:sqnum
306 aeb->sqnum = be64_to_cpu(vid_hdr->sqnum); in add_fastmap()
310 aeb->vol_id, aeb->sqnum); in add_fastmap()
444 unsigned long long sqnum2 = be64_to_cpu(vid_hdr->sqnum); in ubi_compare_lebs()
446 if (sqnum2 == aeb->sqnum) { in ubi_compare_lebs()
460 second_is_newer = (sqnum2 > aeb->sqnum); in ubi_compare_lebs()
567 unsigned long long sqnum; in ubi_add_to_av() local
574 sqnum = be64_to_cpu(vid_hdr->sqnum); in ubi_add_to_av()
577 pnum, vol_id, lnum, ec, sqnum, bitflips); in ubi_add_to_av()
583 if (ai->max_sqnum < sqnum) in ubi_add_to_av()
584 ai->max_sqnum = sqnum; in ubi_add_to_av()
610 aeb->pnum, aeb->sqnum, aeb->ec); in ubi_add_to_av()
625 if (aeb->sqnum == sqnum && sqnum != 0) { in ubi_add_to_av()
627 sqnum); in ubi_add_to_av()
662 aeb->sqnum = sqnum; in ubi_add_to_av()
696 aeb->sqnum = sqnum; in ubi_add_to_av()
1813 if (aeb->sqnum != be64_to_cpu(vidh->sqnum)) { in self_check_ai()
1814 ubi_err(ubi, "bad sqnum %llu", aeb->sqnum); in self_check_ai()