Lines Matching refs:old_map
1131 struct dm_table *new_map, *old_map = NULL; in do_resume() local
1160 old_map = dm_swap_table(md, new_map); in do_resume()
1161 if (IS_ERR(old_map)) { in do_resume()
1165 return PTR_ERR(old_map); in do_resume()
1188 if (old_map) in do_resume()
1189 dm_table_destroy(old_map); in do_resume()
1430 struct dm_table *t, *old_map = NULL; in table_load() local
1487 old_map = hc->new_map; in table_load()
1494 if (old_map) { in table_load()
1496 dm_table_destroy(old_map); in table_load()
1517 struct dm_table *old_map = NULL; in table_clear() local
1530 old_map = hc->new_map; in table_clear()
1540 if (old_map) { in table_clear()
1542 dm_table_destroy(old_map); in table_clear()
2170 struct dm_table *t, *old_map; in dm_early_create() local
2225 old_map = dm_swap_table(md, t); in dm_early_create()
2226 if (IS_ERR(old_map)) { in dm_early_create()
2227 r = PTR_ERR(old_map); in dm_early_create()