Home
last modified time | relevance | path

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

/linux-6.15/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 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()
H A Dblock-map.c88 struct vdo_waiter waiter;
519 static void complete_waiter_with_page(struct vdo_waiter *waiter, void *page_info) in complete_waiter_with_page()
873 static bool completion_needs_page(struct vdo_waiter *waiter, void *context) in completion_needs_page()
887 struct vdo_waiter *oldest_waiter; in allocate_free_page()
1497 static void write_page_callback(struct vdo_waiter *waiter, void *context) in write_page_callback()
1502 static void acquire_vio(struct vdo_waiter *waiter, struct block_map_zone *zone) in acquire_vio()
1532 static void write_page_if_not_dirtied(struct vdo_waiter *waiter, void *context) in write_page_if_not_dirtied()
1722 static void abort_lookup_for_waiter(struct vdo_waiter *waiter, void *context) in abort_lookup_for_waiter()
1812 static void continue_load_for_waiter(struct vdo_waiter *waiter, void *context) in continue_load_for_waiter()
1869 static void load_page(struct vdo_waiter *waiter, void *context) in load_page()
[all …]
H A Dslab-depot.c126 static void release_journal_locks(struct vdo_waiter *waiter, void *context);
448 static void flush_for_reaping(struct vdo_waiter *waiter, void *context) in flush_for_reaping()
557 static void release_journal_locks(struct vdo_waiter *waiter, void *context) in release_journal_locks()
741 static void write_slab_journal_block(struct vdo_waiter *waiter, void *context) in write_slab_journal_block()
1014 static void finish_summary_update(struct vdo_waiter *waiter, void *context) in finish_summary_update()
1029 static void write_reference_block(struct vdo_waiter *waiter, void *context);
1184 static void write_reference_block(struct vdo_waiter *waiter, void *context) in write_reference_block()
1687 static void add_entry_from_waiter(struct vdo_waiter *waiter, void *context) in add_entry_from_waiter()
2369 struct vdo_waiter *waiter = &slab->reference_blocks[i].waiter; in load_reference_blocks()
2540 static void read_slab_journal_tail(struct vdo_waiter *waiter, void *context) in read_slab_journal_tail()
[all …]
H A Drecovery-journal.h120 struct vdo_waiter write_waiter;
H A Dvio.h201 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.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 __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.c520 static void retry_allocation(struct vdo_waiter *waiter, void __always_unused *context) in retry_allocation()
H A Dvio.c414 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()
924 static void enter_forked_lock(struct vdo_waiter *waiter, void *context) in enter_forked_lock()