Lines Matching refs:pba_to_lba
933 if (info->pba_to_lba[i] == UNDEF) { in sddr09_find_unused_pba()
965 info->pba_to_lba[pba] = lba; in sddr09_write_lba()
1342 kfree(info->pba_to_lba); in sddr09_read_map()
1344 info->pba_to_lba = kmalloc(numblocks*sizeof(int), GFP_NOIO); in sddr09_read_map()
1346 if (info->lba_to_pba == NULL || info->pba_to_lba == NULL) { in sddr09_read_map()
1348 kfree(info->pba_to_lba); in sddr09_read_map()
1350 info->pba_to_lba = NULL; in sddr09_read_map()
1358 info->lba_to_pba[i] = info->pba_to_lba[i] = UNDEF; in sddr09_read_map()
1372 info->pba_to_lba[i] = lba; in sddr09_read_map()
1381 info->pba_to_lba[i] = UNUSABLE; in sddr09_read_map()
1389 info->pba_to_lba[i] = UNUSABLE; in sddr09_read_map()
1408 info->pba_to_lba[i] = UNUSABLE; in sddr09_read_map()
1416 info->pba_to_lba[i] = UNUSABLE; in sddr09_read_map()
1424 info->pba_to_lba[i] = UNUSABLE; in sddr09_read_map()
1443 info->pba_to_lba[i] = UNDEF /* UNUSABLE */; in sddr09_read_map()
1452 info->pba_to_lba[i] = lba; in sddr09_read_map()
1468 if (info->pba_to_lba[i+j] != UNUSABLE) { in sddr09_read_map()
1470 info->pba_to_lba[i+j] = SPARE; in sddr09_read_map()
1494 kfree(info->pba_to_lba); in sddr09_card_info_destructor()