Lines Matching refs:lba_to_pba
254 int *lba_to_pba; /* logical to physical map */ member
782 pba = info->lba_to_pba[lba]; in sddr09_read_data()
866 pba = info->lba_to_pba[lba]; in sddr09_write_lba()
876 info->lba_to_pba[lba] = pba; in sddr09_write_lba()
1233 kfree(info->lba_to_pba); in sddr09_read_map()
1235 info->lba_to_pba = 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()
1342 if (info->lba_to_pba[lba] != UNDEF) { in sddr09_read_map()
1345 lba, info->lba_to_pba[lba], i); in sddr09_read_map()
1350 info->lba_to_pba[lba] = i; in sddr09_read_map()
1390 kfree(info->lba_to_pba); in sddr09_read_map()
1392 info->lba_to_pba = NULL; in sddr09_read_map()
1406 kfree(info->lba_to_pba); in sddr09_card_info_destructor()