Home
last modified time | relevance | path

Searched refs:sqnum (Results 1 – 7 of 7) sorted by relevance

/drivers/mtd/ubi/
Dattach.c328 unsigned long long sqnum2 = be64_to_cpu(vid_hdr->sqnum); in ubi_compare_lebs()
330 if (sqnum2 == aeb->sqnum) { in ubi_compare_lebs()
344 second_is_newer = (sqnum2 > aeb->sqnum); in ubi_compare_lebs()
451 unsigned long long sqnum; in ubi_add_to_av() local
458 sqnum = be64_to_cpu(vid_hdr->sqnum); in ubi_add_to_av()
461 pnum, vol_id, lnum, ec, sqnum, bitflips); in ubi_add_to_av()
467 if (ai->max_sqnum < sqnum) in ubi_add_to_av()
468 ai->max_sqnum = sqnum; in ubi_add_to_av()
494 aeb->pnum, aeb->sqnum, aeb->ec); in ubi_add_to_av()
509 if (aeb->sqnum == sqnum && sqnum != 0) { in ubi_add_to_av()
[all …]
Dfastmap.c89 aeb->copy_flag = aeb->sqnum = 0; in add_aeb()
473 new_aeb->sqnum = be64_to_cpu(vh->sqnum); in scan_pool()
477 if (*max_sqnum < new_aeb->sqnum) in scan_pool()
478 *max_sqnum = new_aeb->sqnum; in scan_pool()
571 ai->max_sqnum = fmsb->sqnum; in ubi_attach_fastmap()
753 aeb->scrub = aeb->copy_flag = aeb->sqnum = 0; in ubi_attach_fastmap()
858 unsigned long long sqnum = 0; in ubi_scan_fastmap() local
976 if (sqnum < be64_to_cpu(vh->sqnum)) in ubi_scan_fastmap()
977 sqnum = be64_to_cpu(vh->sqnum); in ubi_scan_fastmap()
1002 fmsb2->sqnum = sqnum; in ubi_scan_fastmap()
[all …]
Deba.c62 unsigned long long sqnum; in ubi_next_sqnum() local
65 sqnum = ubi->global_sqnum++; in ubi_next_sqnum()
68 return sqnum; in ubi_next_sqnum()
526 vid_hdr->sqnum = cpu_to_be64(ubi_next_sqnum(ubi)); in recover_peb()
639 vid_hdr->sqnum = cpu_to_be64(ubi_next_sqnum(ubi)); in ubi_eba_write_leb()
701 vid_hdr->sqnum = cpu_to_be64(ubi_next_sqnum(ubi)); in ubi_eba_write_leb()
754 vid_hdr->sqnum = cpu_to_be64(ubi_next_sqnum(ubi)); in ubi_eba_write_leb_st()
821 vid_hdr->sqnum = cpu_to_be64(ubi_next_sqnum(ubi)); in ubi_eba_write_leb_st()
873 vid_hdr->sqnum = cpu_to_be64(ubi_next_sqnum(ubi)); in ubi_eba_atomic_leb_change()
943 vid_hdr->sqnum = cpu_to_be64(ubi_next_sqnum(ubi)); in ubi_eba_atomic_leb_change()
[all …]
Dubi-media.h292 __be64 sqnum; member
427 __be64 sqnum; member
Ddebug.c96 (unsigned long long)be64_to_cpu(vid_hdr->sqnum)); in ubi_dump_vid_hdr()
196 pr_err("\tsqnum %llu\n", aeb->sqnum); in ubi_dump_aeb()
Dubi.h613 unsigned long long sqnum; member
Dvtbl.c326 vid_hdr->sqnum = cpu_to_be64(++ai->max_sqnum); in create_vtbl()