Lines Matching refs:old_map
1041 struct dm_table *new_map, *old_map = NULL; in do_resume() local
1070 old_map = dm_swap_table(md, new_map); in do_resume()
1071 if (IS_ERR(old_map)) { in do_resume()
1075 return PTR_ERR(old_map); in do_resume()
1094 if (old_map) in do_resume()
1095 dm_table_destroy(old_map); in do_resume()
1334 struct dm_table *t, *old_map = NULL; in table_load() local
1392 old_map = hc->new_map; in table_load()
1399 if (old_map) { in table_load()
1401 dm_table_destroy(old_map); in table_load()
1422 struct dm_table *old_map = NULL; in table_clear() local
1434 old_map = hc->new_map; in table_clear()
1443 if (old_map) { in table_clear()
1445 dm_table_destroy(old_map); in table_clear()
2074 struct dm_table *t, *old_map; in dm_early_create() local
2130 old_map = dm_swap_table(md, t); in dm_early_create()
2131 if (IS_ERR(old_map)) { in dm_early_create()
2132 r = PTR_ERR(old_map); in dm_early_create()