Home
last modified time | relevance | path

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

/Linux-v4.19/drivers/mtd/ubi/
Dvtbl.c381 struct ubi_vtbl_record *leb[UBI_LAYOUT_VOLUME_EBS] = { NULL, NULL }; in process_lvol() local
413 leb[aeb->lnum] = vzalloc(ubi->vtbl_size); in process_lvol()
414 if (!leb[aeb->lnum]) { in process_lvol()
419 err = ubi_io_read_data(ubi, leb[aeb->lnum], aeb->pnum, 0, in process_lvol()
438 if (leb[0]) { in process_lvol()
439 leb_corrupted[0] = vtbl_check(ubi, leb[0]); in process_lvol()
446 if (leb[1]) in process_lvol()
447 leb_corrupted[1] = memcmp(leb[0], leb[1], in process_lvol()
451 err = create_vtbl(ubi, ai, 1, leb[0]); in process_lvol()
458 vfree(leb[1]); in process_lvol()
[all …]
Dblock.c194 int ret, leb, offset, bytes_left, to_read; in ubiblock_read() local
204 leb = pos; in ubiblock_read()
215 ret = ubi_read_sg(dev->desc, leb, &pdu->usgl, offset, to_read); in ubiblock_read()
221 leb += 1; in ubiblock_read()
/Linux-v4.19/drivers/mtd/nand/raw/
Dmarvell_nand.c200 #define MARVELL_LAYOUT(ws, dc, ds, nc, fcc, db, sb, eb, ldb, lsb, leb) \ argument
212 .last_ecc_bytes = leb, \