Lines Matching refs:scan_eba
1297 int **scan_eba, **fm_eba; in self_check_eba() local
1305 scan_eba = kmalloc(sizeof(*scan_eba) * num_volumes, GFP_KERNEL); in self_check_eba()
1306 if (!scan_eba) in self_check_eba()
1311 kfree(scan_eba); in self_check_eba()
1320 scan_eba[i] = kmalloc(vol->reserved_pebs * sizeof(**scan_eba), in self_check_eba()
1322 if (!scan_eba[i]) { in self_check_eba()
1335 scan_eba[i][j] = fm_eba[i][j] = UBI_LEB_UNMAPPED; in self_check_eba()
1342 scan_eba[i][aeb->lnum] = aeb->pnum; in self_check_eba()
1352 if (scan_eba[i][j] != fm_eba[i][j]) { in self_check_eba()
1353 if (scan_eba[i][j] == UBI_LEB_UNMAPPED || in self_check_eba()
1359 scan_eba[i][j]); in self_check_eba()
1370 kfree(scan_eba[i]); in self_check_eba()
1374 kfree(scan_eba); in self_check_eba()