Home
last modified time | relevance | path

Searched refs:leb (Results 1 - 6 of 6) sorted by relevance

/kernel/linux/linux-5.10/drivers/mtd/ubi/
H A Dvtbl.c368 struct ubi_vtbl_record *leb[UBI_LAYOUT_VOLUME_EBS] = { NULL, NULL }; in process_lvol() local
400 leb[aeb->lnum] = vzalloc(ubi->vtbl_size); in process_lvol()
401 if (!leb[aeb->lnum]) { in process_lvol()
406 err = ubi_io_read_data(ubi, leb[aeb->lnum], aeb->pnum, 0, in process_lvol()
425 if (leb[0]) { in process_lvol()
426 leb_corrupted[0] = vtbl_check(ubi, leb[0]); in process_lvol()
433 if (leb[1]) in process_lvol()
434 leb_corrupted[1] = memcmp(leb[0], leb[1], in process_lvol()
438 err = create_vtbl(ubi, ai, 1, leb[ in process_lvol()
[all...]
H A Dblock.c186 int ret, leb, offset, bytes_left, to_read; in ubiblock_read() local
196 leb = pos; in ubiblock_read()
207 ret = ubi_read_sg(dev->desc, leb, &pdu->usgl, offset, to_read); in ubiblock_read()
213 leb += 1; in ubiblock_read()
/kernel/linux/linux-6.6/drivers/mtd/ubi/
H A Dvtbl.c368 struct ubi_vtbl_record *leb[UBI_LAYOUT_VOLUME_EBS] = { NULL, NULL }; in process_lvol() local
400 leb[aeb->lnum] = vzalloc(ubi->vtbl_size); in process_lvol()
401 if (!leb[aeb->lnum]) { in process_lvol()
406 err = ubi_io_read_data(ubi, leb[aeb->lnum], aeb->pnum, 0, in process_lvol()
425 if (leb[0]) { in process_lvol()
426 leb_corrupted[0] = vtbl_check(ubi, leb[0]); in process_lvol()
433 if (leb[1]) in process_lvol()
434 leb_corrupted[1] = memcmp(leb[0], leb[1], in process_lvol()
438 err = create_vtbl(ubi, ai, 1, leb[ 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()
/kernel/linux/linux-5.10/drivers/mtd/nand/raw/
H A Dmarvell_nand.c269 #define MARVELL_LAYOUT(ws, dc, ds, nc, fcc, db, sb, eb, ldb, lsb, leb) \
281 .last_ecc_bytes = leb, \
/kernel/linux/linux-6.6/drivers/mtd/nand/raw/
H A Dmarvell_nand.c271 #define MARVELL_LAYOUT(ws, dc, ds, nc, fcc, db, sb, eb, ldb, lsb, leb) \
283 .last_ecc_bytes = leb, \

Completed in 13 milliseconds