Home
last modified time | relevance | path

Searched refs:vdo_completion (Results 1 – 25 of 25) sorted by relevance

/linux/drivers/md/dm-vdo/
H A Dcompletion.h19 static inline void vdo_run_completion(struct vdo_completion *completion) in vdo_run_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) in vdo_reset_completion()
44 void vdo_launch_completion_with_priority(struct vdo_completion *completion,
50 static inline void vdo_launch_completion(struct vdo_completion *completion) in vdo_launch_completion()
62 static inline void vdo_continue_completion(struct vdo_completion *completion, int result) in vdo_continue_completion()
68 void vdo_finish_completion(struct vdo_completion *completion);
74 static inline void vdo_fail_completion(struct vdo_completion *completion, int result) in vdo_fail_completion()
85 static inline int vdo_assert_completion_type(struct vdo_completion *completion, in vdo_assert_completion_type()
[all …]
H A Dcompletion.c51 void vdo_initialize_completion(struct vdo_completion *completion, in vdo_initialize_completion()
61 static inline void assert_incomplete(struct vdo_completion *completion) in assert_incomplete()
71 void vdo_set_completion_result(struct vdo_completion *completion, int result) in vdo_set_completion_result()
86 void vdo_launch_completion_with_priority(struct vdo_completion *completion, in vdo_launch_completion_with_priority()
100 void vdo_finish_completion(struct vdo_completion *completion) in vdo_finish_completion()
108 void vdo_enqueue_completion(struct vdo_completion *completion, in vdo_enqueue_completion()
131 bool vdo_requeue_completion_if_needed(struct vdo_completion *completion, in vdo_requeue_completion_if_needed()
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) in as_action_manager()
79 static void no_preamble(void *context __always_unused, struct vdo_completion *completion) in no_preamble()
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) in preserve_error()
175 static void apply_to_zone(struct vdo_completion *completion) in apply_to_zone()
198 static void handle_preamble_error(struct vdo_completion *completion) in handle_preamble_error()
250 static void finish_action_callback(struct vdo_completion *completion) in finish_action_callback()
[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) in as_vdo_page_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 *parent);
H A Dslab-depot.h372 struct vdo_completion completion;
511 struct vdo_completion *parent);
517 static inline struct block_allocator *vdo_as_block_allocator(struct vdo_completion *completion) in vdo_as_block_allocator()
533 void vdo_modify_reference_count(struct vdo_completion *completion,
539 void vdo_notify_slab_journals_are_recovered(struct vdo_completion *completion);
572 struct vdo_completion *parent, void *context);
576 struct vdo_completion *parent);
583 void vdo_use_new_slabs(struct slab_depot *depot, struct vdo_completion *parent);
589 struct vdo_completion *parent);
591 void vdo_resume_slab_depot(struct slab_depot *depot, struct vdo_completion *parent);
[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 Dvdo.h42 typedef void (*vdo_read_only_notification_fn)(void *listener, struct vdo_completion *parent);
110 struct vdo_completion completion;
112 struct vdo_completion *waiter;
159 struct vdo_completion completion;
170 struct vdo_completion *completion;
305 void vdo_load_super_block(struct vdo *vdo, struct vdo_completion *parent);
327 void vdo_save_components(struct vdo *vdo, struct vdo_completion *parent);
335 void vdo_wait_until_not_entering_read_only_mode(struct vdo_completion *parent);
337 void vdo_allow_read_only_mode_entry(struct vdo_completion *parent);
H A Dflush.c24 struct vdo_completion completion;
72 static struct flusher *as_flusher(struct vdo_completion *completion) in as_flusher()
84 static inline struct vdo_flush *completion_as_vdo_flush(struct vdo_completion *completion) in completion_as_vdo_flush()
192 static void finish_notification(struct vdo_completion *completion) in finish_notification()
212 static void flush_packer_callback(struct vdo_completion *completion) in flush_packer_callback()
228 static void increment_generation(struct vdo_completion *completion) in increment_generation()
267 static void flush_vdo(struct vdo_completion *completion) in flush_vdo()
377 struct vdo_completion *completion = &flush->completion; in launch_flush()
460 static void vdo_complete_flush_callback(struct vdo_completion *completion) in vdo_complete_flush_callback()
517 struct vdo_completion *completion = &flush->completion; in vdo_complete_flush()
[all …]
H A Drepair.c58 struct vdo_completion completion;
197 as_repair_completion(struct vdo_completion *completion) in as_repair_completion()
206 struct vdo_completion *completion = &repair->completion; in prepare_repair_completion()
250 static void finish_repair(struct vdo_completion *completion) in finish_repair()
252 struct vdo_completion *parent = completion->parent; in finish_repair()
288 static void abort_repair(struct vdo_completion *completion) in abort_repair()
290 struct vdo_completion *parent = completion->parent; in abort_repair()
324 static void drain_slab_depot(struct vdo_completion *completion) in drain_slab_depot()
351 static void flush_block_map_updates(struct vdo_completion *completion) in flush_block_map_updates()
363 struct vdo_completion *completion);
[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 Dadmin-state.c224 struct vdo_completion *waiter, in begin_operation()
269 struct vdo_completion *waiter, in start_operation()
287 struct vdo_completion *waiter) in check_code()
309 struct vdo_completion *waiter) in assert_vdo_drain_operation()
324 struct vdo_completion *waiter, vdo_admin_initiator_fn initiator) in vdo_start_draining()
373 struct vdo_completion *waiter) in vdo_assert_load_operation()
388 struct vdo_completion *waiter, vdo_admin_initiator_fn initiator) in vdo_start_loading()
422 struct vdo_completion *waiter) in assert_vdo_resume_operation()
438 struct vdo_completion *waiter, vdo_admin_initiator_fn initiator) in vdo_start_resuming()
500 struct vdo_completion *waiter, in vdo_start_operation_with_waiter()
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 Dlogical-zone.c32 static struct logical_zone *as_logical_zone(struct vdo_completion *completion) in as_logical_zone()
178 struct vdo_completion *parent) in drain_logical_zone()
189 struct vdo_completion *parent) in vdo_drain_logical_zones()
201 struct vdo_completion *parent) in resume_logical_zone()
213 void vdo_resume_logical_zones(struct logical_zones *zones, struct vdo_completion *parent) in vdo_resume_logical_zones()
277 static void attempt_generation_complete_notification(struct vdo_completion *completion);
285 static void notify_flusher(struct vdo_completion *completion) in notify_flusher()
300 static void attempt_generation_complete_notification(struct vdo_completion *completion) in attempt_generation_complete_notification()
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.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 Dfunnel-workqueue.c96 static struct vdo_completion *poll_for_completion(struct simple_work_queue *queue) in poll_for_completion()
104 return container_of(link, struct vdo_completion, work_queue_entry_link); in poll_for_completion()
111 struct vdo_completion *completion) in enqueue_work_queue_completion()
174 static struct vdo_completion *wait_for_next_completion(struct simple_work_queue *queue) in wait_for_next_completion()
176 struct vdo_completion *completion; in wait_for_next_completion()
223 struct vdo_completion *completion) in process_completion()
238 struct vdo_completion *completion = poll_for_completion(queue); in service_work_queue()
538 void vdo_dump_completion_to_buffer(struct vdo_completion *completion, char *buffer, in vdo_dump_completion_to_buffer()
557 struct vdo_completion *completion) in vdo_enqueue_work_queue()
H A Dlogical-zone.h19 struct vdo_completion completion;
73 struct vdo_completion *completion);
76 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 Dtypes.h253 struct vdo_completion;
259 typedef void (*vdo_action_fn)(struct vdo_completion *completion);
291 struct vdo_completion { struct
365 struct vdo_completion completion;
H A Ddedupe.c286 struct vdo_completion completion;
309 static inline struct hash_zone *as_hash_zone(struct vdo_completion *completion) in as_hash_zone()
315 static inline struct hash_zones *as_hash_zones(struct vdo_completion *completion) in as_hash_zones()
484 static void unlock_duplicate_pbn(struct vdo_completion *completion);
629 static void finish_unlocking(struct vdo_completion *completion) in finish_unlocking()
685 static void unlock_duplicate_pbn(struct vdo_completion *completion) in unlock_duplicate_pbn()
742 static void finish_updating(struct vdo_completion *completion) in finish_updating()
1073 static void finish_verifying(struct vdo_completion *completion) in finish_verifying()
1134 static void verify_callback(struct vdo_completion *completion) in verify_callback()
1142 static void uncompress_and_verify(struct vdo_completion *completion) in uncompress_and_verify()
[all …]
H A Drecovery-journal.h93 struct vdo_completion completion;
303 struct vdo_completion *parent);
306 struct vdo_completion *parent);
H A Ddm-vdo-target.c1171 static struct vdo_completion *prepare_admin_completion(struct vdo *vdo, in prepare_admin_completion()
1175 struct vdo_completion *completion = &vdo->admin.completion; in prepare_admin_completion()
1254 static void finish_operation_callback(struct vdo_completion *completion) in finish_operation_callback()
1388 static void pre_load_callback(struct vdo_completion *completion) in pre_load_callback()
1638 static void check_may_grow_physical(struct vdo_completion *completion) in check_may_grow_physical()
1966 static void write_super_block_for_suspend(struct vdo_completion *completion) in write_super_block_for_suspend()
1996 static void suspend_callback(struct vdo_completion *completion) in suspend_callback()
2179 static void load_callback(struct vdo_completion *completion) in load_callback()
2283 static void handle_load_error(struct vdo_completion *completion) in handle_load_error()
2319 static void write_super_block_for_resume(struct vdo_completion *completion) in write_super_block_for_resume()
[all …]
H A Drepair.h12 void vdo_repair(struct vdo_completion *parent);
H A Dio-submitter.h23 void vdo_submit_vio(struct vdo_completion *completion);
H A Dvio.h41 static inline struct vio *as_vio(struct vdo_completion *completion) in as_vio()