Searched refs:l2p_table (Results 1 – 3 of 3) sorted by relevance
799 xd_card->zone[i].l2p_table = NULL; in xd_init_l2p_tbl()818 vfree(zone->l2p_table); in free_zone()819 zone->l2p_table = NULL; in free_zone()904 zone->l2p_table[log_off] = phy_off; in xd_set_l2p_tbl()914 if (zone->l2p_table[log_off] == 0xFFFF) { in xd_get_l2p_tbl()953 return (u32)zone->l2p_table[log_off] + ((u32)(zone_no) << 10); in xd_get_l2p_tbl()1312 if (!zone->l2p_table) { in xd_build_l2p_tbl()1313 zone->l2p_table = vmalloc(2000); in xd_build_l2p_tbl()1314 if (!zone->l2p_table) in xd_build_l2p_tbl()1317 memset((u8 *)(zone->l2p_table), 0xff, 2000); in xd_build_l2p_tbl()[all …]
2141 ms_card->segment[i].l2p_table = NULL;2170 if (segment->l2p_table)2171 return segment->l2p_table[log_off];2186 if (segment->l2p_table)2187 segment->l2p_table[log_off] = phy_blk;2242 tmp_blk = segment->l2p_table[log_off];2250 segment->l2p_table[log_off] = phy_blk;2268 segment->l2p_table[log_off] = phy_blk;2305 if (!segment->l2p_table) {2306 segment->l2p_table = vmalloc(array_size(table_size, 2));[all …]
358 u16 *l2p_table; member