Home
last modified time | relevance | path

Searched refs:lba_to_pba_table (Results 1 – 2 of 2) sorted by relevance

/Linux-v5.4/drivers/memstick/core/
Dms_block.c1117 pba = msb->lba_to_pba_table[lba]; in msb_update_block()
1148 msb->lba_to_pba_table[lba] = new_pba; in msb_update_block()
1340 msb->lba_to_pba_table = in msb_ftl_initialize()
1344 if (!msb->used_blocks_bitmap || !msb->lba_to_pba_table || in msb_ftl_initialize()
1347 kfree(msb->lba_to_pba_table); in msb_ftl_initialize()
1355 memset(msb->lba_to_pba_table, MS_BLOCK_INVALID, in msb_ftl_initialize()
1455 if (msb->lba_to_pba_table[lba] == MS_BLOCK_INVALID) { in msb_ftl_scan()
1457 msb->lba_to_pba_table[lba] = pba; in msb_ftl_scan()
1461 other_block = msb->lba_to_pba_table[lba]; in msb_ftl_scan()
1470 msb->lba_to_pba_table[lba] = pba; in msb_ftl_scan()
[all …]
Dms_block.h180 u16 *lba_to_pba_table; member