Home
last modified time | relevance | path

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

/drivers/mtd/ubi/
Dattach.c201 aeb->sqnum = be64_to_cpu(vidh->sqnum); in add_fastmap()
206 aeb->vol_id, aeb->sqnum); in add_fastmap()
364 unsigned long long sqnum2 = be64_to_cpu(vid_hdr->sqnum); in ubi_compare_lebs()
366 if (sqnum2 == aeb->sqnum) { in ubi_compare_lebs()
380 second_is_newer = (sqnum2 > aeb->sqnum); in ubi_compare_lebs()
487 unsigned long long sqnum; in ubi_add_to_av() local
494 sqnum = be64_to_cpu(vid_hdr->sqnum); in ubi_add_to_av()
497 pnum, vol_id, lnum, ec, sqnum, bitflips); in ubi_add_to_av()
503 if (ai->max_sqnum < sqnum) in ubi_add_to_av()
504 ai->max_sqnum = sqnum; in ubi_add_to_av()
[all …]
Dfastmap.c154 aeb->copy_flag = aeb->sqnum = 0; in add_aeb()
329 aeb->sqnum = new_aeb->sqnum; in update_vol()
539 new_aeb->sqnum = be64_to_cpu(vh->sqnum); in scan_pool()
543 if (*max_sqnum < new_aeb->sqnum) in scan_pool()
544 *max_sqnum = new_aeb->sqnum; in scan_pool()
622 ai->max_sqnum = fmsb->sqnum; in ubi_attach_fastmap()
865 if (aeb->vol_id == UBI_FM_SB_VOLUME_ID && aeb->sqnum > max_sqnum) { in find_fm_anchor()
866 max_sqnum = aeb->sqnum; in find_fm_anchor()
896 unsigned long long sqnum = 0; in ubi_scan_fastmap() local
1030 if (sqnum < be64_to_cpu(vh->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()
703 vid_hdr->sqnum = cpu_to_be64(ubi_next_sqnum(ubi)); in recover_peb()
817 vid_hdr->sqnum = cpu_to_be64(ubi_next_sqnum(ubi)); in ubi_eba_write_leb()
881 vid_hdr->sqnum = cpu_to_be64(ubi_next_sqnum(ubi)); in ubi_eba_write_leb()
934 vid_hdr->sqnum = cpu_to_be64(ubi_next_sqnum(ubi)); in ubi_eba_write_leb_st()
1003 vid_hdr->sqnum = cpu_to_be64(ubi_next_sqnum(ubi)); in ubi_eba_write_leb_st()
1055 vid_hdr->sqnum = cpu_to_be64(ubi_next_sqnum(ubi)); in ubi_eba_atomic_leb_change()
1128 vid_hdr->sqnum = cpu_to_be64(ubi_next_sqnum(ubi)); in ubi_eba_atomic_leb_change()
[all …]
Dubi-media.h292 __be64 sqnum; member
425 __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.h653 unsigned long long sqnum; member
Dvtbl.c324 vid_hdr->sqnum = cpu_to_be64(++ai->max_sqnum); in create_vtbl()