Searched refs:new_bm (Results 1 – 3 of 3) sorted by relevance
/linux-6.1.9/drivers/md/ |
D | dm-cache-metadata.c | 1813 struct dm_block_manager *old_bm = NULL, *new_bm = NULL; in dm_cache_metadata_abort() local 1825 new_bm = dm_block_manager_create(cmd->bdev, DM_CACHE_METADATA_BLOCK_SIZE << SECTOR_SHIFT, in dm_cache_metadata_abort() 1836 if (IS_ERR(new_bm)) { in dm_cache_metadata_abort() 1839 r = PTR_ERR(new_bm); in dm_cache_metadata_abort() 1843 cmd->bm = new_bm; in dm_cache_metadata_abort() 1849 new_bm = NULL; in dm_cache_metadata_abort() 1856 if (new_bm && !IS_ERR(new_bm)) in dm_cache_metadata_abort() 1857 dm_block_manager_destroy(new_bm); in dm_cache_metadata_abort()
|
D | dm-thin-metadata.c | 1874 struct dm_block_manager *old_bm = NULL, *new_bm = NULL; in dm_pool_abort_metadata() local 1886 new_bm = dm_block_manager_create(pmd->bdev, THIN_METADATA_BLOCK_SIZE << SECTOR_SHIFT, in dm_pool_abort_metadata() 1898 if (IS_ERR(new_bm)) { in dm_pool_abort_metadata() 1901 r = PTR_ERR(new_bm); in dm_pool_abort_metadata() 1905 pmd->bm = new_bm; in dm_pool_abort_metadata() 1911 new_bm = NULL; in dm_pool_abort_metadata() 1918 if (new_bm && !IS_ERR(new_bm)) in dm_pool_abort_metadata() 1919 dm_block_manager_destroy(new_bm); in dm_pool_abort_metadata()
|
/linux-6.1.9/kernel/power/ |
D | snapshot.c | 2496 static int prepare_image(struct memory_bitmap *new_bm, struct memory_bitmap *bm) in prepare_image() argument 2509 error = memory_bm_create(new_bm, GFP_ATOMIC, PG_SAFE); in prepare_image() 2513 duplicate_memory_bitmap(new_bm, bm); in prepare_image()
|