Lines Matching defs:bud_bytes
144 c->bud_bytes += c->leb_size - bud->start;
146 dbg_log("LEB %d:%d, jhead %s, bud_bytes %lld", bud->lnum,
147 bud->start, dbg_jhead(bud->jhead), c->bud_bytes);
200 * It is not necessary to hold @c->buds_lock when reading @c->bud_bytes
201 * because we are holding @c->log_mutex. All @c->bud_bytes take place
202 * when both @c->log_mutex and @c->bud_bytes are locked.
204 if (c->bud_bytes + c->leb_size - offs > c->max_bud_bytes) {
206 c->bud_bytes, c->max_bud_bytes);
217 if (c->bud_bytes >= c->bg_bud_bytes &&
220 c->bud_bytes, c->max_bud_bytes);
488 c->bud_bytes -= c->cmt_bud_bytes;
737 * ('c->bud_bytes' is correct). Returns zero in case of success and %-EINVAL in
744 long long bud_bytes = 0;
752 bud_bytes += c->leb_size - bud->start;
754 if (c->bud_bytes != bud_bytes) {
755 ubifs_err(c, "bad bud_bytes %lld, calculated %lld",
756 c->bud_bytes, bud_bytes);