Lines Matching refs:lnum
145 aeb->lnum = -1; in add_aeb()
214 if (aeb->lnum != tmp_aeb->lnum) { in assign_aeb_to_av()
215 if (aeb->lnum < tmp_aeb->lnum) in assign_aeb_to_av()
254 if (be32_to_cpu(new_vh->lnum) != aeb->lnum) { in update_vol()
255 if (be32_to_cpu(new_vh->lnum) < aeb->lnum) in update_vol()
268 ubi_assert(aeb->lnum == new_aeb->lnum); in update_vol()
286 if (av->highest_lnum == be32_to_cpu(new_vh->lnum)) in update_vol()
291 av->vol_id, aeb->lnum, new_aeb->pnum); in update_vol()
303 av->vol_id, aeb->lnum, new_aeb->pnum); in update_vol()
311 if (av->highest_lnum <= be32_to_cpu(new_vh->lnum)) { in update_vol()
312 av->highest_lnum = be32_to_cpu(new_vh->lnum); in update_vol()
487 new_aeb->lnum = be32_to_cpu(vh->lnum); in scan_pool()
753 aeb->lnum = j; in ubi_attach_fastmap()
755 if (av->highest_lnum <= aeb->lnum) in ubi_attach_fastmap()
756 av->highest_lnum = aeb->lnum; in ubi_attach_fastmap()
761 aeb->pnum, aeb->lnum, av->vol_id); in ubi_attach_fastmap()
842 new->lnum = old->lnum; in clone_aeb()
1332 avhdr->lnum = 0; in ubi_write_fastmap()
1356 dvhdr->lnum = cpu_to_be32(i); in ubi_write_fastmap()