Searched refs:next_mapping (Results 1 – 1 of 1) sorted by relevance
252 struct dm_thin_new_mapping *next_mapping; member942 if (pool->next_mapping) in ensure_next_mapping()945 pool->next_mapping = mempool_alloc(pool->mapping_pool, GFP_ATOMIC); in ensure_next_mapping()947 return pool->next_mapping ? 0 : -ENOMEM; in ensure_next_mapping()952 struct dm_thin_new_mapping *m = pool->next_mapping; in get_next_mapping()954 BUG_ON(!pool->next_mapping); in get_next_mapping()960 pool->next_mapping = NULL; in get_next_mapping()2513 if (pool->next_mapping) in __pool_destroy()2514 mempool_free(pool->next_mapping, pool->mapping_pool); in __pool_destroy()2607 pool->next_mapping = NULL; in pool_create()