Lines Matching refs:old_map
1148 struct dm_table *new_map, *old_map = NULL; in do_resume() local
1181 old_map = dm_swap_table(md, new_map); in do_resume()
1182 if (IS_ERR(old_map)) { in do_resume()
1186 return PTR_ERR(old_map); in do_resume()
1212 if (old_map) in do_resume()
1213 dm_table_destroy(old_map); in do_resume()
1454 struct dm_table *t, *old_map = NULL; in table_load() local
1511 old_map = hc->new_map; in table_load()
1518 if (old_map) { in table_load()
1520 dm_table_destroy(old_map); in table_load()
1541 struct dm_table *old_map = NULL; in table_clear() local
1554 old_map = hc->new_map; in table_clear()
1564 if (old_map) { in table_clear()
1566 dm_table_destroy(old_map); in table_clear()
2194 struct dm_table *t, *old_map; in dm_early_create() local
2249 old_map = dm_swap_table(md, t); in dm_early_create()
2250 if (IS_ERR(old_map)) { in dm_early_create()
2251 r = PTR_ERR(old_map); in dm_early_create()