Lines Matching defs:mg

477 	struct dm_cache_migration *mg;  in alloc_migration()  local
489 static void free_migration(struct dm_cache_migration *mg) in free_migration()
1070 static void quiesce(struct dm_cache_migration *mg, in quiesce()
1086 struct dm_cache_migration *mg = container_of(context, struct dm_cache_migration, k); in copy_complete() local
1094 static void copy(struct dm_cache_migration *mg, bool promote) in copy()
1124 struct dm_cache_migration *mg = bio->bi_private; in overwrite_endio() local
1136 static void overwrite(struct dm_cache_migration *mg, in overwrite()
1168 static void mg_complete(struct dm_cache_migration *mg, bool success) in mg_complete()
1231 struct dm_cache_migration *mg = ws_to_mg(ws); in mg_success() local
1239 struct dm_cache_migration *mg = ws_to_mg(ws); in mg_update_metadata() local
1300 struct dm_cache_migration *mg = ws_to_mg(ws); in mg_update_metadata_after_copy() local
1314 struct dm_cache_migration *mg = ws_to_mg(ws); in mg_upgrade_lock() local
1341 struct dm_cache_migration *mg = ws_to_mg(ws); in mg_full_copy() local
1358 struct dm_cache_migration *mg = ws_to_mg(ws); in mg_copy() local
1392 static int mg_lock_writes(struct dm_cache_migration *mg) in mg_lock_writes()
1429 struct dm_cache_migration *mg; in mg_start() local
1453 static void invalidate_complete(struct dm_cache_migration *mg, bool success) in invalidate_complete()
1473 struct dm_cache_migration *mg = ws_to_mg(ws); in invalidate_completed() local
1506 struct dm_cache_migration *mg = ws_to_mg(ws); in invalidate_remove() local
1522 static int invalidate_lock(struct dm_cache_migration *mg) in invalidate_lock()
1561 struct dm_cache_migration *mg; in invalidate_start() local