Lines Matching defs:dm_cache_migration
419 struct dm_cache_migration {
475 static struct dm_cache_migration *alloc_migration(struct cache *cache)
477 struct dm_cache_migration *mg;
489 static void free_migration(struct dm_cache_migration *mg)
1071 static void quiesce(struct dm_cache_migration *mg,
1078 static struct dm_cache_migration *ws_to_mg(struct work_struct *ws)
1082 return container_of(k, struct dm_cache_migration, k);
1087 struct dm_cache_migration *mg = container_of(context, struct dm_cache_migration, k);
1095 static void copy(struct dm_cache_migration *mg, bool promote)
1125 struct dm_cache_migration *mg = bio->bi_private;
1137 static void overwrite(struct dm_cache_migration *mg,
1169 static void mg_complete(struct dm_cache_migration *mg, bool success)
1232 struct dm_cache_migration *mg = ws_to_mg(ws);
1240 struct dm_cache_migration *mg = ws_to_mg(ws);
1301 struct dm_cache_migration *mg = ws_to_mg(ws);
1315 struct dm_cache_migration *mg = ws_to_mg(ws);
1342 struct dm_cache_migration *mg = ws_to_mg(ws);
1359 struct dm_cache_migration *mg = ws_to_mg(ws);
1393 static int mg_lock_writes(struct dm_cache_migration *mg)
1430 struct dm_cache_migration *mg;
1454 static void invalidate_complete(struct dm_cache_migration *mg, bool success)
1474 struct dm_cache_migration *mg = ws_to_mg(ws);
1507 struct dm_cache_migration *mg = ws_to_mg(ws);
1523 static int invalidate_lock(struct dm_cache_migration *mg)
1562 struct dm_cache_migration *mg;
3456 migration_cache = KMEM_CACHE(dm_cache_migration, 0);