/linux-master/drivers/md/dm-vdo/ |
H A D | data-vio.c | 160 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 D | flush.c | 24 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 D | vdo.c | 65 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 D | vdo.h | 42 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 D | vio.h | 36 * as_vio() - Convert a generic vdo_completion to a vio. 41 static inline struct vio *as_vio(struct vdo_completion *completion)
|
H A D | types.h | 253 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 D | slab-depot.c | 278 static void finish_update(struct vdo_completion *completion) 291 static void handle_write_error(struct vdo_completion *completion) 413 static void complete_reaping(struct vdo_completion *completion) 427 static void handle_flush_error(struct vdo_completion *completion) 693 static void complete_write(struct vdo_completion *completion) 960 struct vdo_completion *parent) 1066 static void finish_reference_block_write(struct vdo_completion *completion) 1166 static void handle_io_error(struct vdo_completion *completion) 1190 struct vdo_completion *completion = &pooled->vio.completion; 2238 static void finish_reference_block_load(struct vdo_completion *completio [all...] |
H A D | slab-depot.h | 372 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 D | repair.c | 56 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 D | repair.h | 12 void vdo_repair(struct vdo_completion *parent);
|
H A D | recovery-journal.c | 378 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)
|
H A D | recovery-journal.h | 42 * 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 D | physical-zone.c | 543 struct vdo_completion *completion = &data_vio->vio.completion;
|
H A D | packer.c | 276 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 D | packer.h | 112 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 D | io-submitter.c | 122 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 D | io-submitter.h | 23 void vdo_submit_vio(struct vdo_completion *completion);
|
H A D | logical-zone.c | 27 * 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 D | logical-zone.h | 19 struct vdo_completion completion; 73 struct vdo_completion *completion); 76 struct vdo_completion *parent);
|
H A D | funnel-workqueue.c | 96 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 D | funnel-workqueue.h | 24 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 D | flush.h | 17 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 D | dm-vdo-target.c | 1168 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 D | dedupe.c | 291 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 D | dedupe.h | 62 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);
|