Lines Matching defs:mg

546 	struct dm_cache_migration *mg;  in alloc_migration()  local
558 static void free_migration(struct dm_cache_migration *mg) in free_migration()
1137 static void quiesce(struct dm_cache_migration *mg, in quiesce()
1152 struct dm_cache_migration *mg = container_of(context, struct dm_cache_migration, k); in copy_complete() local
1160 static void copy(struct dm_cache_migration *mg, bool promote) in copy()
1190 struct dm_cache_migration *mg = bio->bi_private; in overwrite_endio() local
1202 static void overwrite(struct dm_cache_migration *mg, in overwrite()
1234 static void mg_complete(struct dm_cache_migration *mg, bool success) in mg_complete()
1297 struct dm_cache_migration *mg = ws_to_mg(ws); in mg_success() local
1304 struct dm_cache_migration *mg = ws_to_mg(ws); in mg_update_metadata() local
1365 struct dm_cache_migration *mg = ws_to_mg(ws); in mg_update_metadata_after_copy() local
1379 struct dm_cache_migration *mg = ws_to_mg(ws); in mg_upgrade_lock() local
1406 struct dm_cache_migration *mg = ws_to_mg(ws); in mg_full_copy() local
1423 struct dm_cache_migration *mg = ws_to_mg(ws); in mg_copy() local
1456 static int mg_lock_writes(struct dm_cache_migration *mg) in mg_lock_writes()
1493 struct dm_cache_migration *mg; in mg_start() local
1515 static void invalidate_complete(struct dm_cache_migration *mg, bool success) in invalidate_complete()
1535 struct dm_cache_migration *mg = ws_to_mg(ws); in invalidate_completed() local
1565 struct dm_cache_migration *mg = ws_to_mg(ws); in invalidate_remove() local
1581 static int invalidate_lock(struct dm_cache_migration *mg) in invalidate_lock()
1620 struct dm_cache_migration *mg; in invalidate_start() local