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

/linux-4.4.14/drivers/mtd/ubi/
H A Dvtbl.c378 struct ubi_vtbl_record *leb[UBI_LAYOUT_VOLUME_EBS] = { NULL, NULL }; process_lvol() local
410 leb[aeb->lnum] = vzalloc(ubi->vtbl_size); process_lvol()
411 if (!leb[aeb->lnum]) { process_lvol()
416 err = ubi_io_read_data(ubi, leb[aeb->lnum], aeb->pnum, 0, process_lvol()
435 if (leb[0]) { process_lvol()
436 leb_corrupted[0] = vtbl_check(ubi, leb[0]); process_lvol()
443 if (leb[1]) process_lvol()
444 leb_corrupted[1] = memcmp(leb[0], leb[1], process_lvol()
448 err = create_vtbl(ubi, ai, 1, leb[0]); process_lvol()
455 vfree(leb[1]); process_lvol()
456 return leb[0]; process_lvol()
459 if (leb[1]) { process_lvol()
460 leb_corrupted[1] = vtbl_check(ubi, leb[1]); process_lvol()
471 err = create_vtbl(ubi, ai, 0, leb[1]); process_lvol()
476 vfree(leb[0]); process_lvol()
477 return leb[1]; process_lvol()
481 vfree(leb[0]); process_lvol()
482 vfree(leb[1]); process_lvol()
H A Dblock.c192 int ret, leb, offset, bytes_left, to_read; ubiblock_read() local
202 leb = pos; ubiblock_read()
213 ret = ubi_read_sg(dev->desc, leb, &pdu->usgl, offset, to_read); ubiblock_read()
219 leb += 1; ubiblock_read()

Completed in 100 milliseconds