Lines Matching refs:sqnum
146 aeb->copy_flag = aeb->sqnum = 0; in add_aeb()
296 aeb->sqnum = new_aeb->sqnum; in update_vol()
487 new_aeb->sqnum = be64_to_cpu(vh->sqnum); in scan_pool()
491 if (*max_sqnum < new_aeb->sqnum) in scan_pool()
492 *max_sqnum = new_aeb->sqnum; in scan_pool()
570 ai->max_sqnum = fmsb->sqnum; in ubi_attach_fastmap()
821 if (aeb->vol_id == UBI_FM_SB_VOLUME_ID && aeb->sqnum > max_sqnum) { in find_fm_anchor()
822 max_sqnum = aeb->sqnum; in find_fm_anchor()
840 new->sqnum = old->sqnum; in clone_aeb()
871 unsigned long long sqnum = 0; in ubi_scan_fastmap() local
1021 if (sqnum < be64_to_cpu(vh->sqnum)) in ubi_scan_fastmap()
1022 sqnum = be64_to_cpu(vh->sqnum); in ubi_scan_fastmap()
1048 fmsb2->sqnum = sqnum; in ubi_scan_fastmap()
1189 fmsb->sqnum = 0; in ubi_write_fastmap()
1329 avhdr->sqnum = cpu_to_be64(ubi_next_sqnum(ubi)); in ubi_write_fastmap()
1353 dvhdr->sqnum = cpu_to_be64(ubi_next_sqnum(ubi)); in ubi_write_fastmap()
1356 new_fm->e[i]->pnum, be64_to_cpu(dvhdr->sqnum)); in ubi_write_fastmap()
1484 vh->sqnum = cpu_to_be64(ubi_next_sqnum(ubi)); in invalidate_fastmap()