Lines Matching refs:lba_to_pba
60 int *lba_to_pba; /* logical to physical map */ member
240 if (info->lba_to_pba) in sddr55_status()
241 kfree(info->lba_to_pba); in sddr55_status()
244 info->lba_to_pba = NULL; in sddr55_status()
326 pba = info->lba_to_pba[lba]; in sddr55_read_data()
481 pba = info->lba_to_pba[lba]; in sddr55_write_data()
617 info->lba_to_pba[lba] = new_pba; in sddr55_write_data()
817 if (info->lba_to_pba) in sddr55_read_map()
818 kfree(info->lba_to_pba); in sddr55_read_map()
821 info->lba_to_pba = kmalloc(numblocks*sizeof(int), GFP_NOIO); in sddr55_read_map()
824 if (info->lba_to_pba == NULL || info->pba_to_lba == NULL) { in sddr55_read_map()
825 if (info->lba_to_pba != NULL) in sddr55_read_map()
826 kfree(info->lba_to_pba); in sddr55_read_map()
829 info->lba_to_pba = NULL; in sddr55_read_map()
835 memset(info->lba_to_pba, 0xff, numblocks*sizeof(int)); in sddr55_read_map()
873 if (info->lba_to_pba[lba + zone * 1000] != NOT_ALLOCATED && in sddr55_read_map()
882 info->lba_to_pba[lba + zone * 1000] = i; in sddr55_read_map()
896 if (info->lba_to_pba) in sddr55_card_info_destructor()
897 kfree(info->lba_to_pba); in sddr55_card_info_destructor()
971 if (info->lba_to_pba == NULL || time_after(jiffies, info->last_access + HZ/2)) { in sddr55_transport()
1104 pba = info->lba_to_pba[lba]; in sddr55_transport()