Searched refs:pba_to_lba (Results 1 – 3 of 3) sorted by relevance
105 int *pba_to_lba; /* physical to logical map */ member163 kfree(info->pba_to_lba); in sddr55_status()165 info->pba_to_lba = NULL; in sddr55_status()399 if (info->pba_to_lba[pba] == UNUSED_BLOCK) { in sddr55_write_data()483 info->pba_to_lba[new_pba] = BAD_BLOCK; in sddr55_write_data()495 info->pba_to_lba[pba] = UNUSED_BLOCK; in sddr55_write_data()498 if (info->pba_to_lba[new_pba] != UNUSED_BLOCK) { in sddr55_write_data()500 new_pba, info->pba_to_lba[new_pba]); in sddr55_write_data()508 info->pba_to_lba[new_pba] = lba % 1000; in sddr55_write_data()696 kfree(info->pba_to_lba); in sddr55_read_map()[all …]
107 u16 **pba_to_lba; /* physical to logical block map */ member305 if (media_info->pba_to_lba != NULL) in alauda_free_maps()307 kfree(media_info->pba_to_lba[i]); in alauda_free_maps()308 media_info->pba_to_lba[i] = NULL; in alauda_free_maps()451 MEDIA_INFO(us).pba_to_lba = kcalloc(num_zones, sizeof(u16*), GFP_NOIO); in alauda_init_media()556 u16 *pba_to_lba = info->pba_to_lba[zone]; in alauda_find_unused_pba() local560 if (pba_to_lba[i] == UNDEF) in alauda_find_unused_pba()581 u16 *pba_to_lba = kcalloc(zonesize, sizeof(u16), GFP_NOIO); in alauda_read_map() local582 if (lba_to_pba == NULL || pba_to_lba == NULL) { in alauda_read_map()591 lba_to_pba[i] = pba_to_lba[i] = UNDEF; in alauda_read_map()[all …]
269 int *pba_to_lba; /* physical to logical map */ member852 if (info->pba_to_lba[zonestart+i] == UNDEF) { in sddr09_find_unused_pba()858 if (info->pba_to_lba[zonestart+i] == UNDEF) { in sddr09_find_unused_pba()892 info->pba_to_lba[pba] = lba; in sddr09_write_lba()1244 kfree(info->pba_to_lba); in sddr09_read_map()1246 info->pba_to_lba = kmalloc(numblocks*sizeof(int), GFP_NOIO); in sddr09_read_map()1248 if (info->lba_to_pba == NULL || info->pba_to_lba == NULL) { in sddr09_read_map()1255 info->lba_to_pba[i] = info->pba_to_lba[i] = UNDEF; in sddr09_read_map()1280 info->pba_to_lba[i] = UNUSABLE; in sddr09_read_map()1288 info->pba_to_lba[i] = UNUSABLE; in sddr09_read_map()[all …]