• Home
  • Raw
  • Download

Lines Matching refs:ws

118 	struct work_struct ws;  member
125 INIT_WORK(&k->ws, fn); in init_continuation()
132 queue_work(wq, &k->ws); in queue_continuation()
173 struct work_struct *ws, *tmp; in __commit() local
194 list_for_each_entry_safe(ws, tmp, &work_items, entry) { in __commit()
195 k = container_of(ws, struct continuation, ws); in __commit()
197 INIT_LIST_HEAD(&ws->entry); /* to avoid a WARN_ON */ in __commit()
198 queue_work(b->wq, ws); in __commit()
241 list_add_tail(&k->ws.entry, &b->work_items); in continue_after_commit()
1141 dm_cell_quiesce_v2(mg->cache->prison, mg->cell, &mg->k.ws); in quiesce()
1144 static struct dm_cache_migration *ws_to_mg(struct work_struct *ws) in ws_to_mg() argument
1146 struct continuation *k = container_of(ws, struct continuation, ws); in ws_to_mg()
1295 static void mg_success(struct work_struct *ws) in mg_success() argument
1297 struct dm_cache_migration *mg = ws_to_mg(ws); in mg_success()
1301 static void mg_update_metadata(struct work_struct *ws) in mg_update_metadata() argument
1304 struct dm_cache_migration *mg = ws_to_mg(ws); in mg_update_metadata()
1363 static void mg_update_metadata_after_copy(struct work_struct *ws) in mg_update_metadata_after_copy() argument
1365 struct dm_cache_migration *mg = ws_to_mg(ws); in mg_update_metadata_after_copy()
1373 mg_update_metadata(ws); in mg_update_metadata_after_copy()
1376 static void mg_upgrade_lock(struct work_struct *ws) in mg_upgrade_lock() argument
1379 struct dm_cache_migration *mg = ws_to_mg(ws); in mg_upgrade_lock()
1400 mg_update_metadata(ws); in mg_upgrade_lock()
1404 static void mg_full_copy(struct work_struct *ws) in mg_full_copy() argument
1406 struct dm_cache_migration *mg = ws_to_mg(ws); in mg_full_copy()
1413 mg_upgrade_lock(ws); in mg_full_copy()
1421 static void mg_copy(struct work_struct *ws) in mg_copy() argument
1423 struct dm_cache_migration *mg = ws_to_mg(ws); in mg_copy()
1439 mg_full_copy(ws); in mg_copy()
1453 mg_full_copy(ws); in mg_copy()
1484 mg_copy(&mg->k.ws); in mg_lock_writes()
1533 static void invalidate_completed(struct work_struct *ws) in invalidate_completed() argument
1535 struct dm_cache_migration *mg = ws_to_mg(ws); in invalidate_completed()
1562 static void invalidate_remove(struct work_struct *ws) in invalidate_remove() argument
1565 struct dm_cache_migration *mg = ws_to_mg(ws); in invalidate_remove()
1611 queue_work(cache->wq, &mg->k.ws); in invalidate_lock()
1862 static void process_deferred_bios(struct work_struct *ws) in process_deferred_bios() argument
1864 struct cache *cache = container_of(ws, struct cache, deferred_bio_worker); in process_deferred_bios()
1915 static void do_waker(struct work_struct *ws) in do_waker() argument
1917 struct cache *cache = container_of(to_delayed_work(ws), struct cache, waker); in do_waker()
1925 static void check_migrations(struct work_struct *ws) in check_migrations() argument
1929 struct cache *cache = container_of(ws, struct cache, migration_worker); in check_migrations()