Lines Matching full:blen
433 int wlen, blen, err; in layout_in_empty_space() local
521 blen = buf_len; in layout_in_empty_space()
523 blen = ALIGN(wlen, c->min_io_size); in layout_in_empty_space()
526 buf_offs += blen; in layout_in_empty_space()
530 c->leb_size - buf_offs, blen - used, in layout_in_empty_space()
536 used -= blen; in layout_in_empty_space()
543 blen - used, 0, 0); in layout_in_empty_space()
829 int avail, wlen, err, lnum_pos = 0, blen, nxt_offs; in write_index() local
984 blen = buf_len; in write_index()
987 blen = ALIGN(wlen, c->min_io_size); in write_index()
988 ubifs_pad(c, c->cbuf + wlen, blen - wlen); in write_index()
992 err = ubifs_leb_write(c, lnum, c->cbuf, buf_offs, blen); in write_index()
995 buf_offs += blen; in write_index()
1004 used -= blen; in write_index()
1008 memmove(c->cbuf, c->cbuf + blen, used); in write_index()