Lines Matching defs:bud_bytes
149 c->bud_bytes += c->leb_size - bud->start;
151 dbg_log("LEB %d:%d, jhead %s, bud_bytes %lld", bud->lnum,
152 bud->start, dbg_jhead(bud->jhead), c->bud_bytes);
205 * It is not necessary to hold @c->buds_lock when reading @c->bud_bytes
206 * because we are holding @c->log_mutex. All @c->bud_bytes take place
207 * when both @c->log_mutex and @c->bud_bytes are locked.
209 if (c->bud_bytes + c->leb_size - offs > c->max_bud_bytes) {
211 c->bud_bytes, c->max_bud_bytes);
222 if (c->bud_bytes >= c->bg_bud_bytes &&
225 c->bud_bytes, c->max_bud_bytes);
473 c->bud_bytes -= c->cmt_bud_bytes;
721 * ('c->bud_bytes' is correct). Returns zero in case of success and %-EINVAL in
728 long long bud_bytes = 0;
736 bud_bytes += c->leb_size - bud->start;
738 if (c->bud_bytes != bud_bytes) {
739 ubifs_err(c, "bad bud_bytes %lld, calculated %lld",
740 c->bud_bytes, bud_bytes);