Lines Matching refs:alen
184 int lnum, offs, len, alen, done_lsave, done_ltab, err; in layout_cnodes() local
223 alen = ALIGN(offs, c->min_io_size); in layout_cnodes()
224 upd_ltab(c, lnum, c->leb_size - alen, alen - offs); in layout_cnodes()
266 alen = ALIGN(offs, c->min_io_size); in layout_cnodes()
267 upd_ltab(c, lnum, c->leb_size - alen, alen - offs); in layout_cnodes()
286 alen = ALIGN(offs, c->min_io_size); in layout_cnodes()
287 upd_ltab(c, lnum, c->leb_size - alen, alen - offs); in layout_cnodes()
302 alen = ALIGN(offs, c->min_io_size); in layout_cnodes()
303 upd_ltab(c, lnum, c->leb_size - alen, alen - offs); in layout_cnodes()
304 dbg_chk_lpt_sz(c, 4, alen - offs); in layout_cnodes()
305 err = dbg_chk_lpt_sz(c, 3, alen); in layout_cnodes()
362 int lnum, offs, len, from, err, wlen, alen, done_ltab, done_lsave; in write_cnodes() local
404 alen = ALIGN(wlen, c->min_io_size); in write_cnodes()
405 memset(buf + offs, 0xff, alen - wlen); in write_cnodes()
407 alen); in write_cnodes()
463 alen = ALIGN(wlen, c->min_io_size); in write_cnodes()
464 memset(buf + offs, 0xff, alen - wlen); in write_cnodes()
465 err = ubifs_leb_write(c, lnum, buf + from, from, alen); in write_cnodes()
489 alen = ALIGN(wlen, c->min_io_size); in write_cnodes()
490 memset(buf + offs, 0xff, alen - wlen); in write_cnodes()
491 err = ubifs_leb_write(c, lnum, buf + from, from, alen); in write_cnodes()
512 alen = ALIGN(wlen, c->min_io_size); in write_cnodes()
513 memset(buf + offs, 0xff, alen - wlen); in write_cnodes()
514 err = ubifs_leb_write(c, lnum, buf + from, from, alen); in write_cnodes()
518 dbg_chk_lpt_sz(c, 4, alen - wlen); in write_cnodes()