Home
last modified time | relevance | path

Searched refs:leb (Results 1 – 4 of 4) sorted by relevance

/openbmc/u-boot/drivers/mtd/ubi/
H A Dvtbl.c408 if (!leb[aeb->lnum]) {
432 if (leb[0]) {
440 if (leb[1])
441 leb_corrupted[1] = memcmp(leb[0], leb[1],
452 vfree(leb[1]);
453 return leb[0];
456 if (leb[1]) {
473 vfree(leb[0]);
474 return leb[1];
478 vfree(leb[0]);
[all …]
/openbmc/linux/drivers/mtd/ubi/
H A Dvtbl.c401 if (!leb[aeb->lnum]) { in process_lvol()
425 if (leb[0]) { in process_lvol()
433 if (leb[1]) in process_lvol()
434 leb_corrupted[1] = memcmp(leb[0], leb[1], in process_lvol()
445 vfree(leb[1]); in process_lvol()
446 return leb[0]; in process_lvol()
449 if (leb[1]) { in process_lvol()
466 vfree(leb[0]); in process_lvol()
467 return leb[1]; in process_lvol()
471 vfree(leb[0]); in process_lvol()
[all …]
H A Dblock.c189 int leb = pos; in ubiblock_read() local
212 ret = ubi_read_sg(dev->desc, leb, &pdu->usgl, offset, to_read); in ubiblock_read()
218 leb += 1; in ubiblock_read()
/openbmc/linux/drivers/mtd/nand/raw/
H A Dmarvell_nand.c271 #define MARVELL_LAYOUT(ws, dc, ds, nc, fcc, db, sb, eb, ldb, lsb, leb) \ argument
283 .last_ecc_bytes = leb, \