Lines Matching refs:pba_to_lba
255 int *pba_to_lba; /* physical to logical map */ member
836 if (info->pba_to_lba[zonestart+i] == UNDEF) { in sddr09_find_unused_pba()
842 if (info->pba_to_lba[zonestart+i] == UNDEF) { in sddr09_find_unused_pba()
875 info->pba_to_lba[pba] = lba; in sddr09_write_lba()
1234 kfree(info->pba_to_lba); in sddr09_read_map()
1236 info->pba_to_lba = kmalloc_array(numblocks, sizeof(int), GFP_NOIO); in sddr09_read_map()
1238 if (info->lba_to_pba == NULL || info->pba_to_lba == NULL) { in sddr09_read_map()
1245 info->lba_to_pba[i] = info->pba_to_lba[i] = UNDEF; in sddr09_read_map()
1270 info->pba_to_lba[i] = UNUSABLE; in sddr09_read_map()
1278 info->pba_to_lba[i] = UNUSABLE; in sddr09_read_map()
1299 info->pba_to_lba[i] = UNUSABLE; in sddr09_read_map()
1308 info->pba_to_lba[i] = UNUSABLE; in sddr09_read_map()
1317 info->pba_to_lba[i] = UNUSABLE; in sddr09_read_map()
1349 info->pba_to_lba[i] = lba; in sddr09_read_map()
1359 info->pba_to_lba[i] = UNDEF; in sddr09_read_map()
1361 info->pba_to_lba[i] = UNUSABLE; in sddr09_read_map()
1375 if (info->pba_to_lba[i+j] != UNUSABLE) { in sddr09_read_map()
1377 info->pba_to_lba[i+j] = SPARE; in sddr09_read_map()
1391 kfree(info->pba_to_lba); in sddr09_read_map()
1393 info->pba_to_lba = NULL; in sddr09_read_map()
1407 kfree(info->pba_to_lba); in sddr09_card_info_destructor()