Lines Matching refs:lnum
152 aeb->lnum = -1; in add_aeb()
241 if (aeb->lnum != tmp_aeb->lnum) { in assign_aeb_to_av()
242 if (aeb->lnum < tmp_aeb->lnum) in assign_aeb_to_av()
281 if (be32_to_cpu(new_vh->lnum) != aeb->lnum) { in update_vol()
282 if (be32_to_cpu(new_vh->lnum) < aeb->lnum) in update_vol()
295 ubi_assert(aeb->lnum == new_aeb->lnum); in update_vol()
316 if (av->highest_lnum == be32_to_cpu(new_vh->lnum)) in update_vol()
321 av->vol_id, aeb->lnum, new_aeb->pnum); in update_vol()
332 av->vol_id, aeb->lnum, new_aeb->pnum); in update_vol()
340 if (av->highest_lnum <= be32_to_cpu(new_vh->lnum)) { in update_vol()
341 av->highest_lnum = be32_to_cpu(new_vh->lnum); in update_vol()
534 new_aeb->lnum = be32_to_cpu(vh->lnum); in scan_pool()
787 aeb->lnum = j; in ubi_attach_fastmap()
789 if (av->highest_lnum <= aeb->lnum) in ubi_attach_fastmap()
790 av->highest_lnum = aeb->lnum; in ubi_attach_fastmap()
795 aeb->pnum, aeb->lnum, av->vol_id); in ubi_attach_fastmap()
1273 avhdr->lnum = 0; in ubi_write_fastmap()
1297 dvhdr->lnum = cpu_to_be32(i); in ubi_write_fastmap()