Lines Matching refs:alen
194 int lnum, offs, len, alen, done_lsave, done_ltab, err; in layout_cnodes() local
233 alen = ALIGN(offs, c->min_io_size); in layout_cnodes()
234 upd_ltab(c, lnum, c->leb_size - alen, alen - offs); in layout_cnodes()
276 alen = ALIGN(offs, c->min_io_size); in layout_cnodes()
277 upd_ltab(c, lnum, c->leb_size - alen, alen - offs); in layout_cnodes()
296 alen = ALIGN(offs, c->min_io_size); in layout_cnodes()
297 upd_ltab(c, lnum, c->leb_size - alen, alen - offs); in layout_cnodes()
312 alen = ALIGN(offs, c->min_io_size); in layout_cnodes()
313 upd_ltab(c, lnum, c->leb_size - alen, alen - offs); in layout_cnodes()
314 dbg_chk_lpt_sz(c, 4, alen - offs); in layout_cnodes()
315 err = dbg_chk_lpt_sz(c, 3, alen); in layout_cnodes()
373 int lnum, offs, len, from, err, wlen, alen, done_ltab, done_lsave; in write_cnodes() local
415 alen = ALIGN(wlen, c->min_io_size); in write_cnodes()
416 memset(buf + offs, 0xff, alen - wlen); in write_cnodes()
418 alen); in write_cnodes()
474 alen = ALIGN(wlen, c->min_io_size); in write_cnodes()
475 memset(buf + offs, 0xff, alen - wlen); in write_cnodes()
476 err = ubifs_leb_write(c, lnum, buf + from, from, alen); in write_cnodes()
500 alen = ALIGN(wlen, c->min_io_size); in write_cnodes()
501 memset(buf + offs, 0xff, alen - wlen); in write_cnodes()
502 err = ubifs_leb_write(c, lnum, buf + from, from, alen); in write_cnodes()
523 alen = ALIGN(wlen, c->min_io_size); in write_cnodes()
524 memset(buf + offs, 0xff, alen - wlen); in write_cnodes()
525 err = ubifs_leb_write(c, lnum, buf + from, from, alen); in write_cnodes()
529 dbg_chk_lpt_sz(c, 4, alen - wlen); in write_cnodes()