Lines Matching defs:chk_lpt_sz
1747 long long chk_lpt_sz, lpt_sz;
1755 d->chk_lpt_sz = 0;
1771 d->chk_lpt_sz += len;
1774 d->chk_lpt_sz += len;
1779 chk_lpt_sz = c->leb_size;
1780 chk_lpt_sz *= d->chk_lpt_lebs;
1781 chk_lpt_sz += len - c->nhead_offs;
1782 if (d->chk_lpt_sz != chk_lpt_sz) {
1784 d->chk_lpt_sz, chk_lpt_sz);
1787 if (d->chk_lpt_sz > c->lpt_sz) {
1789 d->chk_lpt_sz, c->lpt_sz);
1792 if (d->chk_lpt_sz2 && d->chk_lpt_sz != d->chk_lpt_sz2) {
1794 d->chk_lpt_sz, d->chk_lpt_sz2);
1807 if (d->chk_lpt_sz - d->chk_lpt_wastage > lpt_sz) {
1808 ubifs_err(c, "LPT chk_lpt_sz %lld + waste %lld exceeds %lld",
1809 d->chk_lpt_sz, d->chk_lpt_wastage, lpt_sz);
1817 d->chk_lpt_sz2 = d->chk_lpt_sz;
1818 d->chk_lpt_sz = 0;
1824 d->chk_lpt_sz += len;