Lines Matching refs:leb_size
99 sbuf = vmalloc(c->leb_size);
103 err = ubi_read(c->ubi, lnum, sbuf, 0, c->leb_size);
110 len = c->leb_size;
111 while (offs + UBIFS_MST_NODE_SZ <= c->leb_size) {
155 if (offs < c->leb_size) {
165 if (offs < c->leb_size)
260 } else if (offs1 == 0 && offs2 + sz >= c->leb_size) {
285 if (offs2 + sz + sz <= c->leb_size)
378 check_len = c->leb_size - empty_offs;
410 memset(*buf, 0xff, c->leb_size - empty_offs);
568 int err, len = c->leb_size - offs, need_clean = 0, quiet = 1;
686 len = c->leb_size - offs;
734 if (c->leb_size - offs < UBIFS_CS_NODE_SZ)
844 if (offs + len > c->leb_size)
845 len = c->leb_size - offs;
1060 if (wbuf->offs == c->leb_size) {
1085 if (lp.free + lp.dirty == c->leb_size) {
1087 if (lp.free != c->leb_size) {
1088 err = ubifs_change_one_lp(c, lnum, c->leb_size,
1395 err = ubi_read(c->ubi, lnum, c->sbuf, 0, c->leb_size);
1406 len = c->leb_size - 1;