Lines Matching refs:old_map
1155 struct dm_table *new_map, *old_map = NULL; in do_resume() local
1206 old_map = dm_swap_table(md, new_map); in do_resume()
1207 if (IS_ERR(old_map)) { in do_resume()
1211 return PTR_ERR(old_map); in do_resume()
1237 if (old_map) in do_resume()
1238 dm_table_destroy(old_map); in do_resume()
1518 struct dm_table *t, *old_map = NULL; in table_load() local
1575 old_map = hc->new_map; in table_load()
1582 if (old_map) { in table_load()
1584 dm_table_destroy(old_map); in table_load()
1605 struct dm_table *old_map = NULL; in table_clear() local
1618 old_map = hc->new_map; in table_clear()
1629 if (old_map) { in table_clear()
1631 dm_table_destroy(old_map); in table_clear()
2272 struct dm_table *t, *old_map; in dm_early_create() local
2327 old_map = dm_swap_table(md, t); in dm_early_create()
2328 if (IS_ERR(old_map)) { in dm_early_create()
2329 r = PTR_ERR(old_map); in dm_early_create()