Lines Matching defs:dm_cache_migration
488 struct dm_cache_migration {
544 static struct dm_cache_migration *alloc_migration(struct cache *cache)
546 struct dm_cache_migration *mg;
558 static void free_migration(struct dm_cache_migration *mg)
1137 static void quiesce(struct dm_cache_migration *mg,
1144 static struct dm_cache_migration *ws_to_mg(struct work_struct *ws)
1147 return container_of(k, struct dm_cache_migration, k);
1152 struct dm_cache_migration *mg = container_of(context, struct dm_cache_migration, k);
1160 static void copy(struct dm_cache_migration *mg, bool promote)
1190 struct dm_cache_migration *mg = bio->bi_private;
1202 static void overwrite(struct dm_cache_migration *mg,
1234 static void mg_complete(struct dm_cache_migration *mg, bool success)
1297 struct dm_cache_migration *mg = ws_to_mg(ws);
1304 struct dm_cache_migration *mg = ws_to_mg(ws);
1365 struct dm_cache_migration *mg = ws_to_mg(ws);
1379 struct dm_cache_migration *mg = ws_to_mg(ws);
1406 struct dm_cache_migration *mg = ws_to_mg(ws);
1423 struct dm_cache_migration *mg = ws_to_mg(ws);
1456 static int mg_lock_writes(struct dm_cache_migration *mg)
1493 struct dm_cache_migration *mg;
1515 static void invalidate_complete(struct dm_cache_migration *mg, bool success)
1535 struct dm_cache_migration *mg = ws_to_mg(ws);
1565 struct dm_cache_migration *mg = ws_to_mg(ws);
1581 static int invalidate_lock(struct dm_cache_migration *mg)
1620 struct dm_cache_migration *mg;
3496 migration_cache = KMEM_CACHE(dm_cache_migration, 0);