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

12

/linux-master/drivers/md/dm-vdo/
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 Drepair.h12 void vdo_repair(struct vdo_completion *parent);
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 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 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 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 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 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 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 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)
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 *paren
[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 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 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 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 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 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 Drepair.c56 struct vdo_completion completion;
196 as_repair_completion(struct vdo_completion *completion)
205 struct vdo_completion *completion = &repair->completion;
249 static void finish_repair(struct vdo_completion *completion)
251 struct vdo_completion *parent = completion->parent;
287 static void abort_repair(struct vdo_completion *completion)
289 struct vdo_completion *parent = completion->parent;
322 static void drain_slab_depot(struct vdo_completion *completion)
349 static void flush_block_map_updates(struct vdo_completion *completion)
361 struct vdo_completion *completio
[all...]
H A Dio-submitter.h23 void vdo_submit_vio(struct vdo_completion *completion);
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 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 Drecovery-journal.h42 * less than the on-disk size. Each in-memory block is also a vdo_completion. Each in-memory block
93 struct vdo_completion completion;
303 struct vdo_completion *parent);
306 struct vdo_completion *parent);
H A Dvdo.c65 struct vdo_completion vdo_completion; member in struct:sync_completion
751 static void finish_reading_super_block(struct vdo_completion *completion)
766 static void handle_super_block_read_error(struct vdo_completion *completion)
775 struct vdo_completion *parent = vio->completion.parent;
786 void vdo_load_super_block(struct vdo *vdo, struct vdo_completion *parent)
914 static void continue_super_block_parent(struct vdo_completion *completion)
925 static void handle_save_error(struct vdo_completion *completion)
947 struct vdo_completion *parent = vio->completion.parent;
958 void vdo_save_components(struct vdo *vdo, struct vdo_completion *paren
[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;
697 static void process_release_callback(struct vdo_completion *completion)
726 data_vio = as_data_vio(container_of(entry, struct vdo_completion,
1009 void drain_data_vio_pool(struct data_vio_pool *pool, struct vdo_completion *completion)
1020 void resume_data_vio_pool(struct data_vio_pool *pool, struct vdo_completion *completion)
1157 static void release_allocated_lock(struct vdo_completion *completion)
1237 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);

Completed in 289 milliseconds

12