Searched refs:leb (Results 1 – 2 of 2) sorted by relevance
/linux-4.1.27/drivers/mtd/ubi/ |
D | vtbl.c | 375 struct ubi_vtbl_record *leb[UBI_LAYOUT_VOLUME_EBS] = { NULL, NULL }; in process_lvol() local 407 leb[aeb->lnum] = vzalloc(ubi->vtbl_size); in process_lvol() 408 if (!leb[aeb->lnum]) { in process_lvol() 413 err = ubi_io_read_data(ubi, leb[aeb->lnum], aeb->pnum, 0, in process_lvol() 432 if (leb[0]) { in process_lvol() 433 leb_corrupted[0] = vtbl_check(ubi, leb[0]); in process_lvol() 440 if (leb[1]) in process_lvol() 441 leb_corrupted[1] = memcmp(leb[0], leb[1], in process_lvol() 445 err = create_vtbl(ubi, ai, 1, leb[0]); in process_lvol() 452 vfree(leb[1]); in process_lvol() [all …]
|
D | block.c | 191 int ret, leb, offset, bytes_left, to_read; in ubiblock_read() local 201 leb = pos; in ubiblock_read() 212 ret = ubi_read_sg(dev->desc, leb, &pdu->usgl, offset, to_read); in ubiblock_read() 218 leb += 1; in ubiblock_read()
|