scan_eba         1518 drivers/mtd/ubi/eba.c 	int **scan_eba, **fm_eba;
scan_eba         1526 drivers/mtd/ubi/eba.c 	scan_eba = kmalloc_array(num_volumes, sizeof(*scan_eba), GFP_KERNEL);
scan_eba         1527 drivers/mtd/ubi/eba.c 	if (!scan_eba)
scan_eba         1532 drivers/mtd/ubi/eba.c 		kfree(scan_eba);
scan_eba         1541 drivers/mtd/ubi/eba.c 		scan_eba[i] = kmalloc_array(vol->reserved_pebs,
scan_eba         1542 drivers/mtd/ubi/eba.c 					    sizeof(**scan_eba),
scan_eba         1544 drivers/mtd/ubi/eba.c 		if (!scan_eba[i]) {
scan_eba         1558 drivers/mtd/ubi/eba.c 			scan_eba[i][j] = fm_eba[i][j] = UBI_LEB_UNMAPPED;
scan_eba         1565 drivers/mtd/ubi/eba.c 			scan_eba[i][aeb->lnum] = aeb->pnum;
scan_eba         1575 drivers/mtd/ubi/eba.c 			if (scan_eba[i][j] != fm_eba[i][j]) {
scan_eba         1576 drivers/mtd/ubi/eba.c 				if (scan_eba[i][j] == UBI_LEB_UNMAPPED ||
scan_eba         1582 drivers/mtd/ubi/eba.c 					scan_eba[i][j]);
scan_eba         1593 drivers/mtd/ubi/eba.c 		kfree(scan_eba[i]);
scan_eba         1597 drivers/mtd/ubi/eba.c 	kfree(scan_eba);