Searched refs:vdo_completion (Results 1 - 25 of 34) sorted by path

12

/linux-master/drivers/md/dm-vdo/
H A Daction-manager.c34 struct vdo_completion *parent;
54 struct vdo_completion completion;
66 static inline struct action_manager *as_action_manager(struct vdo_completion *completion)
79 static void no_preamble(void *context __always_unused, struct vdo_completion *completion)
143 static void finish_action_callback(struct vdo_completion *completion);
144 static void apply_to_zone(struct vdo_completion *completion);
151 static void preserve_error(struct vdo_completion *completion)
175 static void apply_to_zone(struct vdo_completion *completion)
198 static void handle_preamble_error(struct vdo_completion *completion)
250 static void finish_action_callback(struct vdo_completion *completio
[all...]
H A Daction-manager.h43 struct vdo_completion *parent);
51 typedef void (*vdo_action_preamble_fn)(void *context, struct vdo_completion *parent);
95 struct vdo_completion *parent);
101 struct vdo_completion *parent);
108 void *context, struct vdo_completion *parent);
H A Dadmin-state.c224 struct vdo_completion *waiter,
269 struct vdo_completion *waiter,
287 struct vdo_completion *waiter)
309 struct vdo_completion *waiter)
324 struct vdo_completion *waiter, vdo_admin_initiator_fn initiator)
373 struct vdo_completion *waiter)
388 struct vdo_completion *waiter, vdo_admin_initiator_fn initiator)
422 struct vdo_completion *waiter)
438 struct vdo_completion *waiter, vdo_admin_initiator_fn initiator)
500 struct vdo_completion *waite
[all...]
H A Dadmin-state.h57 struct vdo_completion *waiter;
140 struct vdo_completion *waiter);
144 struct vdo_completion *waiter, vdo_admin_initiator_fn initiator);
152 struct vdo_completion *waiter, vdo_admin_initiator_fn initiator);
162 struct vdo_completion *waiter, vdo_admin_initiator_fn initiator);
173 struct vdo_completion *waiter,
H A Dblock-map.c101 struct vdo_completion *completion;
667 static void handle_load_error(struct vdo_completion *completion)
693 static void page_is_loaded(struct vdo_completion *completion)
735 static void handle_rebuild_read_error(struct vdo_completion *completion)
792 static void write_pages(struct vdo_completion *completion);
795 static void handle_flush_error(struct vdo_completion *completion)
1005 static void handle_page_write_error(struct vdo_completion *completion)
1030 static void page_is_written_out(struct vdo_completion *completion);
1044 static void page_is_written_out(struct vdo_completion *completion)
1093 static void write_pages(struct vdo_completion *flush_completio
[all...]
H A Dblock-map.h167 struct vdo_completion completion;
291 struct vdo_completion *completion);
293 static inline struct vdo_page_completion *as_vdo_page_completion(struct vdo_completion *completion)
299 void vdo_release_page_completion(struct vdo_completion *completion);
306 void vdo_request_page_write(struct vdo_completion *completion);
308 int __must_check vdo_get_cached_page(struct vdo_completion *completion,
331 struct vdo_completion *completion);
340 struct vdo_completion *parent);
342 void vdo_resume_block_map(struct block_map *map, struct vdo_completion *parent);
347 void vdo_grow_block_map(struct block_map *map, struct vdo_completion *paren
[all...]
H A Dcompletion.c51 void vdo_initialize_completion(struct vdo_completion *completion,
61 static inline void assert_incomplete(struct vdo_completion *completion)
71 void vdo_set_completion_result(struct vdo_completion *completion, int result)
86 void vdo_launch_completion_with_priority(struct vdo_completion *completion,
100 void vdo_finish_completion(struct vdo_completion *completion)
108 void vdo_enqueue_completion(struct vdo_completion *completion,
131 bool vdo_requeue_completion_if_needed(struct vdo_completion *completion,
H A Dcompletion.h19 static inline void vdo_run_completion(struct vdo_completion *completion)
29 void vdo_set_completion_result(struct vdo_completion *completion, int result);
31 void vdo_initialize_completion(struct vdo_completion *completion, struct vdo *vdo,
38 static inline void vdo_reset_completion(struct vdo_completion *completion)
44 void vdo_launch_completion_with_priority(struct vdo_completion *completion,
50 static inline void vdo_launch_completion(struct vdo_completion *completion)
62 static inline void vdo_continue_completion(struct vdo_completion *completion, int result)
68 void vdo_finish_completion(struct vdo_completion *completion);
74 static inline void vdo_fail_completion(struct vdo_completion *completion, int result)
85 static inline int vdo_assert_completion_type(struct vdo_completion *completio
[all...]
H A Ddata-vio.c160 struct vdo_completion completion;
215 as_data_vio_pool(struct vdo_completion *completion)
418 static void attempt_logical_block_lock(struct vdo_completion *completion)
487 struct vdo_completion *completion = &data_vio->vio.completion;
696 static void process_release_callback(struct vdo_completion *completion)
725 data_vio = as_data_vio(container_of(entry, struct vdo_completion,
1008 void drain_data_vio_pool(struct data_vio_pool *pool, struct vdo_completion *completion)
1019 void resume_data_vio_pool(struct data_vio_pool *pool, struct vdo_completion *completion)
1156 static void release_allocated_lock(struct vdo_completion *completion)
1236 static void release_logical_lock(struct vdo_completion *completio
[all...]
H A Ddata-vio.h270 struct vdo_completion decrement_completion;
287 static inline struct data_vio *as_data_vio(struct vdo_completion *completion)
335 void drain_data_vio_pool(struct data_vio_pool *pool, struct vdo_completion *completion);
336 void resume_data_vio_pool(struct data_vio_pool *pool, struct vdo_completion *completion);
348 void complete_data_vio(struct vdo_completion *completion);
349 void handle_data_vio_error(struct vdo_completion *completion);
641 struct vdo_completion *completion = &data_vio->vio.completion;
668 void continue_data_vio_with_block_map_slot(struct vdo_completion *completion);
H A Ddedupe.c291 struct vdo_completion completion;
314 static inline struct hash_zone *as_hash_zone(struct vdo_completion *completion)
320 static inline struct hash_zones *as_hash_zones(struct vdo_completion *completion)
489 static void unlock_duplicate_pbn(struct vdo_completion *completion);
634 static void finish_unlocking(struct vdo_completion *completion)
690 static void unlock_duplicate_pbn(struct vdo_completion *completion)
746 static void finish_updating(struct vdo_completion *completion)
1077 static void finish_verifying(struct vdo_completion *completion)
1138 static void verify_callback(struct vdo_completion *completion)
1146 static void uncompress_and_verify(struct vdo_completion *completio
[all...]
H A Ddedupe.h62 struct vdo_completion completion;
74 void vdo_acquire_hash_lock(struct vdo_completion *completion);
75 void vdo_continue_hash_lock(struct vdo_completion *completion);
85 void vdo_drain_hash_zones(struct hash_zones *zones, struct vdo_completion *parent);
104 void vdo_resume_hash_zones(struct hash_zones *zones, struct vdo_completion *parent);
H A Ddm-vdo-target.c1168 static struct vdo_completion *prepare_admin_completion(struct vdo *vdo,
1172 struct vdo_completion *completion = &vdo->admin.completion;
1251 static void finish_operation_callback(struct vdo_completion *completion)
1385 static void pre_load_callback(struct vdo_completion *completion)
1635 static void check_may_grow_physical(struct vdo_completion *completion)
1963 static void write_super_block_for_suspend(struct vdo_completion *completion)
1993 static void suspend_callback(struct vdo_completion *completion)
2176 static void load_callback(struct vdo_completion *completion)
2280 static void handle_load_error(struct vdo_completion *completion)
2308 static void write_super_block_for_resume(struct vdo_completion *completio
[all...]
H A Dflush.c24 struct vdo_completion completion;
67 * as_flusher() - Convert a generic vdo_completion to a flusher.
72 static struct flusher *as_flusher(struct vdo_completion *completion)
79 * completion_as_vdo_flush() - Convert a generic vdo_completion to a vdo_flush.
84 static inline struct vdo_flush *completion_as_vdo_flush(struct vdo_completion *completion)
192 static void finish_notification(struct vdo_completion *completion)
212 static void flush_packer_callback(struct vdo_completion *completion)
228 static void increment_generation(struct vdo_completion *completion)
263 * @completion: A flush request (as a vdo_completion)
267 static void flush_vdo(struct vdo_completion *completio
[all...]
H A Dflush.h17 struct vdo_completion completion;
40 void vdo_drain_flusher(struct flusher *flusher, struct vdo_completion *completion);
42 void vdo_resume_flusher(struct flusher *flusher, struct vdo_completion *parent);
H A Dfunnel-workqueue.c96 static struct vdo_completion *poll_for_completion(struct simple_work_queue *queue)
104 return container_of(link, struct vdo_completion, work_queue_entry_link);
111 struct vdo_completion *completion)
174 static struct vdo_completion *wait_for_next_completion(struct simple_work_queue *queue)
176 struct vdo_completion *completion;
223 struct vdo_completion *completion)
238 struct vdo_completion *completion = poll_for_completion(queue);
538 void vdo_dump_completion_to_buffer(struct vdo_completion *completion, char *buffer,
557 struct vdo_completion *completion)
H A Dfunnel-workqueue.h24 struct vdo_completion;
33 void vdo_enqueue_work_queue(struct vdo_work_queue *queue, struct vdo_completion *completion);
41 void vdo_dump_completion_to_buffer(struct vdo_completion *completion, char *buffer,
H A Dio-submitter.c122 void vdo_submit_vio(struct vdo_completion *completion)
164 static void submit_data_vio(struct vdo_completion *completion)
344 struct vdo_completion *completion = &vio->completion;
H A Dio-submitter.h23 void vdo_submit_vio(struct vdo_completion *completion);
H A Dlogical-zone.c27 * as_logical_zone() - Convert a generic vdo_completion to a logical_zone.
32 static struct logical_zone *as_logical_zone(struct vdo_completion *completion)
178 struct vdo_completion *parent)
189 struct vdo_completion *parent)
201 struct vdo_completion *parent)
213 void vdo_resume_logical_zones(struct logical_zones *zones, struct vdo_completion *parent)
277 static void attempt_generation_complete_notification(struct vdo_completion *completion);
285 static void notify_flusher(struct vdo_completion *completion)
300 static void attempt_generation_complete_notification(struct vdo_completion *completion)
H A Dlogical-zone.h19 struct vdo_completion completion;
73 struct vdo_completion *completion);
76 struct vdo_completion *parent);
H A Dpacker.c276 static void finish_compressed_write(struct vdo_completion *completion)
296 static void handle_compressed_write_error(struct vdo_completion *completion)
662 void vdo_remove_lock_holder_from_packer(struct vdo_completion *completion)
727 void vdo_drain_packer(struct packer *packer, struct vdo_completion *completion)
739 void vdo_resume_packer(struct packer *packer, struct vdo_completion *parent)
H A Dpacker.h112 void vdo_remove_lock_holder_from_packer(struct vdo_completion *completion);
116 void vdo_drain_packer(struct packer *packer, struct vdo_completion *completion);
118 void vdo_resume_packer(struct packer *packer, struct vdo_completion *parent);
H A Dphysical-zone.c543 struct vdo_completion *completion = &data_vio->vio.completion;
H A Drecovery-journal.c378 struct vdo_completion *parent)
481 static void complete_reaping(struct vdo_completion *completion)
495 static void handle_flush_error(struct vdo_completion *completion)
556 static void reap_recovery_journal_callback(struct vdo_completion *completion)
1264 static void complete_write(struct vdo_completion *completion)
1302 static void handle_write_error(struct vdo_completion *completion)
1634 struct vdo_completion *parent)
1669 struct vdo_completion *parent)

Completed in 424 milliseconds

12