Lines Matching refs:lnum
495 pos = (lprops->lnum - c->main_first) & (UBIFS_LPT_FANOUT - 1); in is_lprops_dirty()
532 lprops->lnum, free, dirty, flags); in ubifs_change_lp()
548 lprops = ubifs_lpt_lookup_dirty(c, lprops->lnum); in ubifs_change_lp()
552 ubifs_assert(c, lprops == ubifs_lpt_lookup_dirty(c, lprops->lnum)); in ubifs_change_lp()
649 int ubifs_change_one_lp(struct ubifs_info *c, int lnum, int free, int dirty, in ubifs_change_one_lp() argument
657 lp = ubifs_lpt_lookup_dirty(c, lnum); in ubifs_change_one_lp()
672 lnum, err); in ubifs_change_one_lp()
688 int ubifs_update_one_lp(struct ubifs_info *c, int lnum, int free, int dirty, in ubifs_update_one_lp() argument
696 lp = ubifs_lpt_lookup_dirty(c, lnum); in ubifs_update_one_lp()
711 lnum, err); in ubifs_update_one_lp()
725 int ubifs_read_one_lp(struct ubifs_info *c, int lnum, struct ubifs_lprops *lp) in ubifs_read_one_lp() argument
732 lpp = ubifs_lpt_lookup(c, lnum); in ubifs_read_one_lp()
736 lnum, err); in ubifs_read_one_lp()
863 lprops->lnum, lprops->free, lprops->dirty, in dbg_check_cats()
869 lprops->lnum, lprops->free, lprops->dirty, in dbg_check_cats()
879 lprops->lnum, lprops->free, lprops->dirty, in dbg_check_cats()
885 lprops->lnum, lprops->free, lprops->dirty, in dbg_check_cats()
909 lprops->lnum, lprops->free, lprops->dirty, in dbg_check_cats()
915 lprops->lnum, lprops->free, lprops->dirty, in dbg_check_cats()
921 lprops->lnum, lprops->free, lprops->dirty, in dbg_check_cats()
971 lp = ubifs_lpt_lookup(c, lprops->lnum); in dbg_check_heap()
978 (size_t)lprops, (size_t)lp, lprops->lnum, in dbg_check_heap()
979 lp->lnum); in dbg_check_heap()
989 if (lp->lnum == lprops->lnum) { in dbg_check_heap()
1021 int cat, lnum = lp->lnum, is_idx = 0, used = 0, free, dirty, ret; in scan_check_cb() local
1073 if ((lp->hpos != -1 && heap->arr[lp->hpos]->lnum != lnum) || in scan_check_cb()
1102 sleb = ubifs_scan(c, lnum, 0, buf, 0); in scan_check_cb()
1123 lnum, snod->offs); in scan_check_cb()
1134 found = ubifs_tnc_has_node(c, &snod->key, level, lnum, in scan_check_cb()
1149 lnum, free, dirty); in scan_check_cb()
1171 lnum != c->ihead_lnum) { in scan_check_cb()
1231 lnum, lp->free, lp->dirty, lp->flags, free, dirty); in scan_check_cb()
1232 ubifs_dump_leb(c, lnum); in scan_check_cb()