Searched refs:lba_to_pba (Results 1 – 3 of 3) sorted by relevance
/drivers/usb/storage/ |
D | sddr55.c | 104 int *lba_to_pba; /* logical to physical map */ member 161 kfree(info->lba_to_pba); in sddr55_status() 163 info->lba_to_pba = NULL; in sddr55_status() 230 pba = info->lba_to_pba[lba]; in sddr55_read_data() 357 pba = info->lba_to_pba[lba]; in sddr55_write_data() 492 info->lba_to_pba[lba] = new_pba; in sddr55_write_data() 692 kfree(info->lba_to_pba); in sddr55_read_map() 694 info->lba_to_pba = kmalloc(numblocks*sizeof(int), GFP_NOIO); in sddr55_read_map() 697 if (info->lba_to_pba == NULL || info->pba_to_lba == NULL) { in sddr55_read_map() 698 kfree(info->lba_to_pba); in sddr55_read_map() [all …]
|
D | alauda.c | 106 u16 **lba_to_pba; /* logical to physical block map */ member 299 if (media_info->lba_to_pba != NULL) in alauda_free_maps() 301 kfree(media_info->lba_to_pba[i]); in alauda_free_maps() 302 media_info->lba_to_pba[i] = NULL; in alauda_free_maps() 451 MEDIA_INFO(us).lba_to_pba = kcalloc(num_zones, sizeof(u16*), GFP_NOIO); in alauda_init_media() 579 u16 *lba_to_pba = kcalloc(zonesize, sizeof(u16), GFP_NOIO); in alauda_read_map() local 581 if (lba_to_pba == NULL || pba_to_lba == NULL) { in alauda_read_map() 590 lba_to_pba[i] = pba_to_lba[i] = UNDEF; in alauda_read_map() 664 if (lba_to_pba[lba_offset] != UNDEF) { in alauda_read_map() 668 lba_real, lba_to_pba[lba_offset], blocknum); in alauda_read_map() [all …]
|
D | sddr09.c | 266 int *lba_to_pba; /* logical to physical map */ member 796 pba = info->lba_to_pba[lba]; in sddr09_read_data() 878 pba = info->lba_to_pba[lba]; in sddr09_write_lba() 889 info->lba_to_pba[lba] = pba; in sddr09_write_lba() 1238 kfree(info->lba_to_pba); in sddr09_read_map() 1240 info->lba_to_pba = kmalloc(numblocks*sizeof(int), GFP_NOIO); in sddr09_read_map() 1243 if (info->lba_to_pba == NULL || info->pba_to_lba == NULL) { in sddr09_read_map() 1250 info->lba_to_pba[i] = info->pba_to_lba[i] = UNDEF; in sddr09_read_map() 1347 if (info->lba_to_pba[lba] != UNDEF) { in sddr09_read_map() 1350 lba, info->lba_to_pba[lba], i); in sddr09_read_map() [all …]
|