Lines Matching refs:lnum
152 aeb->lnum = -1; in add_aeb()
243 if (aeb->lnum != tmp_aeb->lnum) { in assign_aeb_to_av()
244 if (aeb->lnum < tmp_aeb->lnum) in assign_aeb_to_av()
283 if (be32_to_cpu(new_vh->lnum) != aeb->lnum) { in update_vol()
284 if (be32_to_cpu(new_vh->lnum) < aeb->lnum) in update_vol()
297 ubi_assert(aeb->lnum == new_aeb->lnum); in update_vol()
318 if (av->highest_lnum == be32_to_cpu(new_vh->lnum)) in update_vol()
323 av->vol_id, aeb->lnum, new_aeb->pnum); in update_vol()
334 av->vol_id, aeb->lnum, new_aeb->pnum); in update_vol()
342 if (av->highest_lnum <= be32_to_cpu(new_vh->lnum)) { in update_vol()
343 av->highest_lnum = be32_to_cpu(new_vh->lnum); in update_vol()
536 new_aeb->lnum = be32_to_cpu(vh->lnum); in scan_pool()
794 aeb->lnum = j; in ubi_attach_fastmap()
796 if (av->highest_lnum <= aeb->lnum) in ubi_attach_fastmap()
797 av->highest_lnum = aeb->lnum; in ubi_attach_fastmap()
802 aeb->pnum, aeb->lnum, av->vol_id); in ubi_attach_fastmap()
1280 avhdr->lnum = 0; in ubi_write_fastmap()
1304 dvhdr->lnum = cpu_to_be32(i); in ubi_write_fastmap()