Searched refs:new_pba (Results 1 – 3 of 3) sorted by relevance
/linux-5.19.10/drivers/usb/storage/ |
D | sddr55.c | 318 unsigned int new_pba; in sddr55_write_data() local 469 new_pba = (status[3] + (status[4] << 8) + (status[5] << 16)) in sddr55_write_data() 474 info->pba_to_lba[new_pba] = BAD_BLOCK; in sddr55_write_data() 482 lba, pba, new_pba); in sddr55_write_data() 485 info->lba_to_pba[lba] = new_pba; in sddr55_write_data() 489 if (info->pba_to_lba[new_pba] != UNUSED_BLOCK) { in sddr55_write_data() 491 new_pba, info->pba_to_lba[new_pba]); in sddr55_write_data() 499 info->pba_to_lba[new_pba] = lba % 1000; in sddr55_write_data()
|
D | alauda.c | 803 u16 pba, lbap, new_pba; in alauda_write_lba() local 828 new_pba = alauda_find_unused_pba(&MEDIA_INFO(us), zone); in alauda_write_lba() 829 if (!new_pba) { in alauda_write_lba() 882 result = alauda_write_block(us, new_pba, blockbuffer); in alauda_write_lba() 886 new_pba_offset = new_pba - (zone * zonesize); in alauda_write_lba() 888 MEDIA_INFO(us).lba_to_pba[zone][lba_offset] = new_pba; in alauda_write_lba() 889 usb_stor_dbg(us, "Remapped LBA %d to PBA %d\n", lba, new_pba); in alauda_write_lba()
|
/linux-5.19.10/drivers/memstick/core/ |
D | ms_block.c | 1120 u16 pba, new_pba; in msb_update_block() local 1133 new_pba = msb_get_free_block(msb, in msb_update_block() 1136 if (new_pba == MS_BLOCK_INVALID) { in msb_update_block() 1142 new_pba); in msb_update_block() 1143 error = msb_write_block(msb, new_pba, lba, sg, offset); in msb_update_block() 1145 msb_mark_bad(msb, new_pba); in msb_update_block() 1154 msb->lba_to_pba_table[lba] = new_pba; in msb_update_block()
|