Searched refs:next_mapping (Results 1 – 1 of 1) sorted by relevance
190 struct dm_thin_new_mapping *next_mapping; member742 if (pool->next_mapping) in ensure_next_mapping()745 pool->next_mapping = mempool_alloc(pool->mapping_pool, GFP_ATOMIC); in ensure_next_mapping()747 return pool->next_mapping ? 0 : -ENOMEM; in ensure_next_mapping()752 struct dm_thin_new_mapping *r = pool->next_mapping; in get_next_mapping()754 BUG_ON(!pool->next_mapping); in get_next_mapping()756 pool->next_mapping = NULL; in get_next_mapping()1676 if (pool->next_mapping) in __pool_destroy()1677 mempool_free(pool->next_mapping, pool->mapping_pool); in __pool_destroy()1769 pool->next_mapping = NULL; in pool_create()