Lines Matching refs:sqnum
147 aeb->copy_flag = aeb->sqnum = 0; in add_aeb()
297 aeb->sqnum = new_aeb->sqnum; in update_vol()
486 new_aeb->sqnum = be64_to_cpu(vh->sqnum); in scan_pool()
490 if (*max_sqnum < new_aeb->sqnum) in scan_pool()
491 *max_sqnum = new_aeb->sqnum; in scan_pool()
569 ai->max_sqnum = fmsb->sqnum; in ubi_attach_fastmap()
812 if (aeb->vol_id == UBI_FM_SB_VOLUME_ID && aeb->sqnum > max_sqnum) { in find_fm_anchor()
813 max_sqnum = aeb->sqnum; in find_fm_anchor()
831 new->sqnum = old->sqnum; in clone_aeb()
862 unsigned long long sqnum = 0; in ubi_scan_fastmap() local
1012 if (sqnum < be64_to_cpu(vh->sqnum)) in ubi_scan_fastmap()
1013 sqnum = be64_to_cpu(vh->sqnum); in ubi_scan_fastmap()
1039 fmsb2->sqnum = sqnum; in ubi_scan_fastmap()
1181 fmsb->sqnum = 0; in ubi_write_fastmap()
1332 avhdr->sqnum = cpu_to_be64(ubi_next_sqnum(ubi)); in ubi_write_fastmap()
1356 dvhdr->sqnum = cpu_to_be64(ubi_next_sqnum(ubi)); in ubi_write_fastmap()
1359 new_fm->e[i]->pnum, be64_to_cpu(dvhdr->sqnum)); in ubi_write_fastmap()
1487 vh->sqnum = cpu_to_be64(ubi_next_sqnum(ubi)); in invalidate_fastmap()