Searched refs:lba_to_phys_table (Results 1 – 2 of 2) sorted by relevance
770 zone->lba_to_phys_table = kmalloc(ftl->max_lba * 2, GFP_KERNEL); in sm_init_zone()772 if (!zone->lba_to_phys_table) in sm_init_zone()774 memset(zone->lba_to_phys_table, -1, ftl->max_lba * 2); in sm_init_zone()779 kfree(zone->lba_to_phys_table); in sm_init_zone()825 if (zone->lba_to_phys_table[lba] < 0) { in sm_init_zone()827 zone->lba_to_phys_table[lba] = block; in sm_init_zone()833 lba, zone->lba_to_phys_table[lba], block, zone_num); in sm_init_zone()841 zone->lba_to_phys_table[lba])) { in sm_init_zone()842 zone->lba_to_phys_table[lba] = block; in sm_init_zone()945 block_num = zone->lba_to_phys_table[ftl->cache_block]; in sm_cache_flush()[all …]
24 int16_t *lba_to_phys_table; /* LBA to physical table */ member