Lines Matching refs:leb
368 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[0]); in process_lvol()
445 vfree(leb[1]); in process_lvol()
446 return leb[0]; in process_lvol()
449 if (leb[1]) { in process_lvol()
450 leb_corrupted[1] = vtbl_check(ubi, leb[1]); in process_lvol()
461 err = create_vtbl(ubi, ai, 0, 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()
472 vfree(leb[1]); in process_lvol()