Lines Matching refs:ltab

132 	       lnum, c->ltab[lnum - c->lpt_first].free,  in upd_ltab()
133 c->ltab[lnum - c->lpt_first].dirty, free, dirty); in upd_ltab()
135 c->ltab[lnum - c->lpt_first].free = free; in upd_ltab()
136 c->ltab[lnum - c->lpt_first].dirty += dirty; in upd_ltab()
155 if (c->ltab[i].tgc || c->ltab[i].cmt) in alloc_lpt_leb()
157 if (c->ltab[i].free == c->leb_size) { in alloc_lpt_leb()
158 c->ltab[i].cmt = 1; in alloc_lpt_leb()
165 if (c->ltab[i].tgc || c->ltab[i].cmt) in alloc_lpt_leb()
167 if (c->ltab[i].free == c->leb_size) { in alloc_lpt_leb()
168 c->ltab[i].cmt = 1; in alloc_lpt_leb()
339 if (c->ltab[i].cmt) { in realloc_lpt_leb()
340 c->ltab[i].cmt = 0; in realloc_lpt_leb()
346 if (c->ltab[i].cmt) { in realloc_lpt_leb()
347 c->ltab[i].cmt = 0; in realloc_lpt_leb()
689 else if (c->ltab[i].free == c->leb_size) in need_write_all()
691 else if (c->ltab[i].free + c->ltab[i].dirty == c->leb_size) in need_write_all()
715 if (c->ltab[i].dirty > 0 && in lpt_tgc_start()
716 c->ltab[i].free + c->ltab[i].dirty == c->leb_size) { in lpt_tgc_start()
717 c->ltab[i].tgc = 1; in lpt_tgc_start()
718 c->ltab[i].free = c->leb_size; in lpt_tgc_start()
719 c->ltab[i].dirty = 0; in lpt_tgc_start()
739 if (c->ltab[i].tgc) { in lpt_tgc_end()
743 c->ltab[i].tgc = 0; in lpt_tgc_end()
1156 ubifs_assert(c, !c->ltab[i].tgc); in lpt_gc()
1158 c->ltab[i].free + c->ltab[i].dirty == c->leb_size) in lpt_gc()
1160 if (c->ltab[i].dirty > dirty) { in lpt_gc()
1161 dirty = c->ltab[i].dirty; in lpt_gc()
1243 memcpy(c->ltab_cmt, c->ltab, in ubifs_lpt_start_commit()
1447 vfree(c->ltab); in ubifs_lpt_free()
1628 if (len != c->ltab[i].free) { in dbg_check_ltab_lnum()
1630 lnum, len, c->ltab[i].free); in dbg_check_ltab_lnum()
1633 if (dirty != c->ltab[i].dirty) { in dbg_check_ltab_lnum()
1635 lnum, dirty, c->ltab[i].dirty); in dbg_check_ltab_lnum()
1712 if (c->ltab[i].tgc || c->ltab[i].cmt) in dbg_chk_lpt_free_spc()
1716 else if (c->ltab[i].free == c->leb_size) in dbg_chk_lpt_free_spc()