Lines Matching refs:lnum
416 int lnum; in write_orph_nodes() local
419 for (lnum = c->ohead_lnum + 1; lnum <= c->orph_last; lnum++) { in write_orph_nodes()
420 err = ubifs_leb_unmap(c, lnum); in write_orph_nodes()
561 int lnum, err; in ubifs_clear_orphans() local
563 for (lnum = c->orph_first; lnum <= c->orph_last; lnum++) { in ubifs_clear_orphans()
564 err = ubifs_leb_unmap(c, lnum); in ubifs_clear_orphans()
648 snod->type, sleb->lnum, snod->offs); in do_kill_orphans()
677 cmt_no, sleb->lnum, snod->offs); in do_kill_orphans()
683 dbg_rcvry("out of date LEB %d", sleb->lnum); in do_kill_orphans()
727 cmt_no, sleb->lnum, snod->offs); in do_kill_orphans()
757 int lnum, err = 0, outofdate = 0, last_flagged = 0; in kill_orphans() local
777 for (lnum = c->orph_first; lnum <= c->orph_last; lnum++) { in kill_orphans()
780 dbg_rcvry("LEB %d", lnum); in kill_orphans()
781 sleb = ubifs_scan(c, lnum, 0, c->sbuf, 1); in kill_orphans()
784 sleb = ubifs_recover_leb(c, lnum, 0, in kill_orphans()
798 c->ohead_lnum = lnum; in kill_orphans()
977 int lnum, err = 0; in dbg_scan_orphans() local
990 for (lnum = c->orph_first; lnum <= c->orph_last; lnum++) { in dbg_scan_orphans()
993 sleb = ubifs_scan(c, lnum, 0, buf, 0); in dbg_scan_orphans()