Searched refs:next_mapping (Results 1 – 2 of 2) sorted by relevance
2262 DLOG(mapping_t* next_mapping; in insert_mapping()2264 ((next_mapping = array_get(&(s->mapping), index + 1)) && in insert_mapping()2265 next_mapping->begin >= end))); in insert_mapping()2378 if (next_mapping == NULL || next_mapping->begin > c1) { in commit_mappings()2388 next_mapping->dir_index = mapping->dir_index; in commit_mappings()2389 next_mapping->first_mapping_index = in commit_mappings()2393 next_mapping->path = mapping->path; in commit_mappings()2394 next_mapping->mode = mapping->mode; in commit_mappings()2395 next_mapping->read_only = mapping->read_only; in commit_mappings()2399 next_mapping->info.dir.first_dir_index = in commit_mappings()[all …]
273 struct dm_thin_new_mapping *next_mapping; member1260 if (pool->next_mapping) in ensure_next_mapping()1263 pool->next_mapping = mempool_alloc(&pool->mapping_pool, GFP_ATOMIC); in ensure_next_mapping()1265 return pool->next_mapping ? 0 : -ENOMEM; in ensure_next_mapping()1270 struct dm_thin_new_mapping *m = pool->next_mapping; in get_next_mapping()1272 BUG_ON(!pool->next_mapping); in get_next_mapping()1278 pool->next_mapping = NULL; in get_next_mapping()2928 if (pool->next_mapping) in __pool_destroy()2929 mempool_free(pool->next_mapping, &pool->mapping_pool); in __pool_destroy()3026 pool->next_mapping = NULL; in pool_create()