Home
last modified time | relevance | path

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

/linux-6.12.1/drivers/md/dm-vdo/
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);
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()
Dslab-depot.h69 struct vdo_waiter resource_waiter;
71 struct vdo_waiter slab_summary_waiter;
73 struct vdo_waiter flush_waiter;
158 struct vdo_waiter waiter;
255 struct vdo_waiter summary_waiter;
531 struct vdo_waiter *waiter);
Dflush.h21 struct vdo_waiter waiter;
Dblock-map.h171 struct vdo_waiter waiter;
185 struct vdo_waiter waiter;
Ddata-vio.h172 struct vdo_waiter waiter;
178 struct vdo_waiter waiter;
292 static inline struct data_vio *vdo_waiter_as_data_vio(struct vdo_waiter *waiter) in vdo_waiter_as_data_vio()
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()
507 static void complete_waiter_with_error(struct vdo_waiter *waiter, void *result_ptr) in complete_waiter_with_error()
521 static void complete_waiter_with_page(struct vdo_waiter *waiter, void *page_info) in complete_waiter_with_page()
875 static bool completion_needs_page(struct vdo_waiter *waiter, void *context) in completion_needs_page()
889 struct vdo_waiter *oldest_waiter; in allocate_free_page()
1499 static void write_page_callback(struct vdo_waiter *waiter, void *context) in write_page_callback()
1504 static void acquire_vio(struct vdo_waiter *waiter, struct block_map_zone *zone) in acquire_vio()
1534 static void write_page_if_not_dirtied(struct vdo_waiter *waiter, void *context) in write_page_if_not_dirtied()
1724 static void abort_lookup_for_waiter(struct vdo_waiter *waiter, void *context) in abort_lookup_for_waiter()
[all …]
Dslab-depot.c126 static void release_journal_locks(struct vdo_waiter *waiter, void *context);
359 static void update_slab_summary_entry(struct vdo_slab *slab, struct vdo_waiter *waiter, in update_slab_summary_entry()
449 static void flush_for_reaping(struct vdo_waiter *waiter, void *context) in flush_for_reaping()
558 static void release_journal_locks(struct vdo_waiter *waiter, void *context) in release_journal_locks()
742 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()
1689 static void add_entry_from_waiter(struct vdo_waiter *waiter, void *context) in add_entry_from_waiter()
[all …]
Drecovery-journal.h120 struct vdo_waiter write_waiter;
Dvio.h196 void acquire_vio_from_pool(struct vio_pool *pool, struct vdo_waiter *waiter);
Ddump.c154 struct vdo_waiter *waiter, *first = vdo_waitq_get_first_waiter(waitq); in dump_vio_waiters()
Drecovery-journal.c267 static void continue_waiter(struct vdo_waiter *waiter, void *context) in continue_waiter()
1084 static void assign_entry(struct vdo_waiter *waiter, void *context) in assign_entry()
1171 static void continue_committed_waiter(struct vdo_waiter *waiter, void *context) in continue_committed_waiter()
1368 static void write_block(struct vdo_waiter *waiter, void *context __always_unused) in write_block()
Dflush.c96 static struct vdo_flush *vdo_waiter_as_flush(struct vdo_waiter *waiter) in vdo_waiter_as_flush()
Dphysical-zone.c520 static void retry_allocation(struct vdo_waiter *waiter, void *context __always_unused) in retry_allocation()
Dvio.c402 void acquire_vio_from_pool(struct vio_pool *pool, struct vdo_waiter *waiter) in acquire_vio_from_pool()
Ddedupe.c568 static void abort_waiter(struct vdo_waiter *waiter, void *context __always_unused) in abort_waiter()
924 static void enter_forked_lock(struct vdo_waiter *waiter, void *context) in enter_forked_lock()