Lines Matching refs:recovery_journal_block
189 static inline struct recovery_journal_block * __must_check get_journal_block(struct list_head *list) in get_journal_block()
191 return list_first_entry_or_null(list, struct recovery_journal_block, list_node); in get_journal_block()
200 static struct recovery_journal_block * __must_check pop_free_list(struct recovery_journal *journal) in pop_free_list()
202 struct recovery_journal_block *block; in pop_free_list()
208 struct recovery_journal_block, list_node); in pop_free_list()
222 static inline bool __must_check is_block_dirty(const struct recovery_journal_block *block) in is_block_dirty()
233 static inline bool __must_check is_block_empty(const struct recovery_journal_block *block) in is_block_empty()
244 static inline bool __must_check is_block_full(const struct recovery_journal_block *block) in is_block_full()
280 struct recovery_journal_block *block = get_journal_block(&journal->active_tail_blocks); in has_block_waiters()
292 static void recycle_journal_block(struct recovery_journal_block *block);
657 struct recovery_journal_block *block) in initialize_recovery_block()
714 struct recovery_journal_block, __func__, in vdo_decode_recovery_journal()
738 struct recovery_journal_block *block = &journal->blocks[i]; in vdo_decode_recovery_journal()
811 struct recovery_journal_block *block = &journal->blocks[i]; in vdo_free_recovery_journal()
917 get_block_header(const struct recovery_journal_block *block) in get_block_header()
927 static void set_active_sector(struct recovery_journal_block *block, void *sector) in set_active_sector()
945 struct recovery_journal_block *block; in advance_tail()
1044 struct recovery_journal_block *block) in schedule_block_write()
1058 static void release_journal_block_reference(struct recovery_journal_block *block) in release_journal_block_reference()
1087 struct recovery_journal_block *block = context; in assign_entry()
1143 static void recycle_journal_block(struct recovery_journal_block *block) in recycle_journal_block()
1211 struct recovery_journal_block *block; in notify_commit_waiters()
1236 struct recovery_journal_block *block, *tmp; in recycle_journal_blocks()
1266 struct recovery_journal_block *block = completion->parent; in complete_write()
1268 struct recovery_journal_block *last_active_block; in complete_write()
1304 struct recovery_journal_block *block = completion->parent; in handle_write_error()
1318 struct recovery_journal_block *block = vio->completion.parent; in complete_write_endio()
1328 static void add_queued_recovery_entries(struct recovery_journal_block *block) in add_queued_recovery_entries()
1370 struct recovery_journal_block *block = in write_block()
1371 container_of(waiter, struct recovery_journal_block, write_waiter); in write_block()
1720 static void dump_recovery_block(const struct recovery_journal_block *block) in dump_recovery_block()
1736 const struct recovery_journal_block *block; in vdo_dump_recovery_journal_statistics()