Home
last modified time | relevance | path

Searched refs:vdo_waiter (Results 1 – 15 of 15) sorted by relevance

/linux/drivers/md/dm-vdo/
H A Dwait-queue.h38 struct vdo_waiter;
42 struct vdo_waiter *last_waiter;
51 typedef void (*vdo_waiter_callback_fn)(struct vdo_waiter *waiter, void *context);
58 typedef bool (*vdo_waiter_match_fn)(struct vdo_waiter *waiter, void *context);
61 struct vdo_waiter { struct
66 struct vdo_waiter *next_waiter; argument
78 static inline bool vdo_waiter_is_waiting(struct vdo_waiter *waiter) in vdo_waiter_is_waiting()
107 struct vdo_waiter *waiter);
109 struct vdo_waiter *vdo_waitq_dequeue_waiter(struct vdo_wait_queue *waitq);
120 struct vdo_waiter *vdo_waitq_get_first_waiter(const struct vdo_wait_queue *waitq);
H A Dwait-queue.c21 void vdo_waitq_enqueue_waiter(struct vdo_wait_queue *waitq, struct vdo_waiter *waiter) in vdo_waitq_enqueue_waiter()
60 struct vdo_waiter *from_head = from_waitq->last_waiter->next_waiter; in vdo_waitq_transfer_all_waiters()
61 struct vdo_waiter *to_head = to_waitq->last_waiter->next_waiter; in vdo_waitq_transfer_all_waiters()
106 struct vdo_waiter *vdo_waitq_get_first_waiter(const struct vdo_wait_queue *waitq) in vdo_waitq_get_first_waiter()
108 struct vdo_waiter *last_waiter = waitq->last_waiter; in vdo_waitq_get_first_waiter()
138 struct vdo_waiter *waiter = vdo_waitq_dequeue_waiter(&iteration_waitq); in vdo_waitq_dequeue_matching_waiters()
154 struct vdo_waiter *vdo_waitq_dequeue_waiter(struct vdo_wait_queue *waitq) in vdo_waitq_dequeue_waiter()
156 struct vdo_waiter *first_waiter = vdo_waitq_get_first_waiter(waitq); in vdo_waitq_dequeue_waiter()
157 struct vdo_waiter *last_waiter = waitq->last_waiter; in vdo_waitq_dequeue_waiter()
195 struct vdo_waiter *waiter = vdo_waitq_dequeue_waiter(waitq); in vdo_waitq_notify_next_waiter()
H A Dslab-depot.h76 struct vdo_waiter resource_waiter;
78 struct vdo_waiter slab_summary_waiter;
80 struct vdo_waiter flush_waiter;
165 struct vdo_waiter waiter;
262 struct vdo_waiter summary_waiter;
542 struct vdo_waiter *waiter);
H A Dflush.h21 struct vdo_waiter waiter;
H A Dblock-map.h171 struct vdo_waiter waiter;
185 struct vdo_waiter waiter;
H A Dblock-map.c88 struct vdo_waiter waiter;
163 static inline struct vdo_page_completion *page_completion_from_waiter(struct vdo_waiter *waiter) in page_completion_from_waiter()
515 static void complete_waiter_with_error(struct vdo_waiter *waiter, void *result_ptr) in complete_waiter_with_error()
529 static void complete_waiter_with_page(struct vdo_waiter *waiter, void *page_info) in complete_waiter_with_page()
893 static bool completion_needs_page(struct vdo_waiter *waiter, void *context) in completion_needs_page()
908 struct vdo_waiter *oldest_waiter; in allocate_free_page()
1517 static void write_page_callback(struct vdo_waiter *waiter, void *context) in write_page_callback()
1522 static void acquire_vio(struct vdo_waiter *waiter, struct block_map_zone *zone) in acquire_vio()
1552 static void write_page_if_not_dirtied(struct vdo_waiter *waiter, void *context) in write_page_if_not_dirtied()
1742 static void abort_lookup_for_waiter(struct vdo_waiter *waiter, void *context) in abort_lookup_for_waiter()
[all …]
H A Dslab-depot.c126 static void release_journal_locks(struct vdo_waiter *waiter, void *context);
361 static void update_slab_summary_entry(struct vdo_slab *slab, struct vdo_waiter *waiter, in update_slab_summary_entry()
450 static void flush_for_reaping(struct vdo_waiter *waiter, void *context) in flush_for_reaping()
559 static void release_journal_locks(struct vdo_waiter *waiter, void *context) in release_journal_locks()
744 static void write_slab_journal_block(struct vdo_waiter *waiter, void *context) in write_slab_journal_block()
1015 static void finish_summary_update(struct vdo_waiter *waiter, void *context) in finish_summary_update()
1030 static void write_reference_block(struct vdo_waiter *waiter, void *context);
1041 static void launch_reference_block_write(struct vdo_waiter *waiter, void *context) in launch_reference_block_write()
1185 static void write_reference_block(struct vdo_waiter *waiter, void *context) in write_reference_block()
1691 static void add_entry_from_waiter(struct vdo_waiter *waiter, void *context) in add_entry_from_waiter()
[all …]
H A Drecovery-journal.h120 struct vdo_waiter write_waiter;
H A Dvio.h203 void acquire_vio_from_pool(struct vio_pool *pool, struct vdo_waiter *waiter);
H A Ddump.c154 struct vdo_waiter *waiter, *first = vdo_waitq_get_first_waiter(waitq); in dump_vio_waiters()
H A Drecovery-journal.c269 static void continue_waiter(struct vdo_waiter *waiter, void *context) in continue_waiter()
1088 static void assign_entry(struct vdo_waiter *waiter, void *context) in assign_entry()
1177 static void continue_committed_waiter(struct vdo_waiter *waiter, void *context) in continue_committed_waiter()
1376 static void write_block(struct vdo_waiter *waiter, void __always_unused *context) in write_block()
H A Dflush.c96 static struct vdo_flush *vdo_waiter_as_flush(struct vdo_waiter *waiter) in vdo_waiter_as_flush()
H A Dphysical-zone.c521 static void retry_allocation(struct vdo_waiter *waiter, void __always_unused *context) in retry_allocation()
H A Dvio.c415 void acquire_vio_from_pool(struct vio_pool *pool, struct vdo_waiter *waiter) in acquire_vio_from_pool()
H A Ddedupe.c568 static void abort_waiter(struct vdo_waiter *waiter, void __always_unused *context) in abort_waiter()
926 static void enter_forked_lock(struct vdo_waiter *waiter, void *context) in enter_forked_lock()