Home
last modified time | relevance | path

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

/openbmc/linux/drivers/mtd/
H A Dsm_ftl.c766 if (!zone->lba_to_phys_table) in sm_init_zone()
768 memset(zone->lba_to_phys_table, -1, ftl->max_lba * 2); in sm_init_zone()
773 kfree(zone->lba_to_phys_table); in sm_init_zone()
787 kfree(zone->lba_to_phys_table); in sm_init_zone()
826 if (zone->lba_to_phys_table[lba] < 0) { in sm_init_zone()
828 zone->lba_to_phys_table[lba] = block; in sm_init_zone()
834 lba, zone->lba_to_phys_table[lba], block, zone_num); in sm_init_zone()
842 zone->lba_to_phys_table[lba])) { in sm_init_zone()
843 zone->lba_to_phys_table[lba] = block; in sm_init_zone()
1039 block = zone->lba_to_phys_table[block]; in sm_read()
[all …]
H A Dsm_ftl.h21 int16_t *lba_to_phys_table; /* LBA to physical table */ member