Lines Matching refs:lba_to_pba
96 int *lba_to_pba; /* logical to physical map */ member
154 kfree(info->lba_to_pba); in sddr55_status()
156 info->lba_to_pba = NULL; in sddr55_status()
223 pba = info->lba_to_pba[lba]; in sddr55_read_data()
350 pba = info->lba_to_pba[lba]; in sddr55_write_data()
485 info->lba_to_pba[lba] = new_pba; in sddr55_write_data()
686 kfree(info->lba_to_pba); in sddr55_read_map()
688 info->lba_to_pba = kmalloc_array(numblocks, sizeof(int), GFP_NOIO); in sddr55_read_map()
691 if (info->lba_to_pba == NULL || info->pba_to_lba == NULL) { in sddr55_read_map()
692 kfree(info->lba_to_pba); in sddr55_read_map()
694 info->lba_to_pba = NULL; in sddr55_read_map()
700 memset(info->lba_to_pba, 0xff, numblocks*sizeof(int)); in sddr55_read_map()
742 if (info->lba_to_pba[lba + zone * 1000] != NOT_ALLOCATED && in sddr55_read_map()
753 info->lba_to_pba[lba + zone * 1000] = i; in sddr55_read_map()
767 kfree(info->lba_to_pba); in sddr55_card_info_destructor()
837 if (info->lba_to_pba == NULL || time_after(jiffies, info->last_access + HZ/2)) { in sddr55_transport()
949 pba = info->lba_to_pba[lba]; in sddr55_transport()