Home
last modified time | relevance | path

Searched refs:dm_buffer (Results 1 – 12 of 12) sorted by relevance

/linux-6.12.1/include/linux/
Ddm-bufio.h19 struct dm_buffer;
32 void (*alloc_callback)(struct dm_buffer *),
33 void (*write_callback)(struct dm_buffer *),
65 struct dm_buffer **bp);
68 struct dm_buffer **bp, unsigned short ioprio);
75 struct dm_buffer **bp);
82 struct dm_buffer **bp);
100 void dm_bufio_release(struct dm_buffer *b);
110 void dm_bufio_mark_buffer_dirty(struct dm_buffer *b);
118 void dm_bufio_mark_partial_buffer_dirty(struct dm_buffer *b,
[all …]
/linux-6.12.1/drivers/md/
Ddm-bufio.c326 struct dm_buffer { struct
357 void (*end_io)(struct dm_buffer *b, blk_status_t bs); argument
523 static inline struct dm_buffer *le_to_buffer(struct lru_entry *le) in le_to_buffer()
525 return container_of(le, struct dm_buffer, lru); in le_to_buffer()
528 static struct dm_buffer *list_to_buffer(struct list_head *l) in list_to_buffer()
589 static struct dm_buffer *__cache_get(const struct rb_root *root, sector_t block) in __cache_get()
592 struct dm_buffer *b; in __cache_get()
595 b = container_of(n, struct dm_buffer, node); in __cache_get()
606 static void __cache_inc_buffer(struct dm_buffer *b) in __cache_inc_buffer()
612 static struct dm_buffer *cache_get(struct dm_buffer_cache *bc, sector_t block) in cache_get()
[all …]
Ddm-verity-fec.c63 unsigned int *offset, struct dm_buffer **buf, in fec_read_parity()
130 struct dm_buffer *buf; in fec_decode_bufs()
207 struct dm_buffer *buf; in fec_read_bufs()
Ddm-ebs-target.c74 struct dm_buffer *b; in __ebs_rw_bvec()
Ddm-verity-target.c84 static void dm_bufio_alloc_callback(struct dm_buffer *buf) in dm_bufio_alloc_callback()
302 struct dm_buffer *buf; in verity_verify_level()
Ddm-snap-persistent.c514 struct dm_buffer *bp; in read_exceptions()
Ddm-integrity.c1411 struct dm_buffer *b; in dm_integrity_rw_tag()
/linux-6.12.1/drivers/md/persistent-data/
Ddm-block-manager.c330 static struct dm_buffer *to_buffer(struct dm_block *b) in to_buffer()
332 return (struct dm_buffer *) b; in to_buffer()
356 static void dm_block_manager_alloc_callback(struct dm_buffer *buf) in dm_block_manager_alloc_callback()
364 static void dm_block_manager_write_callback(struct dm_buffer *buf) in dm_block_manager_write_callback()
442 struct dm_buffer *buf, in dm_bm_validate_buffer()
477 p = dm_bufio_read(bm->bufio, b, (struct dm_buffer **) result); in dm_bm_read_lock()
513 p = dm_bufio_read(bm->bufio, b, (struct dm_buffer **) result); in dm_bm_write_lock()
546 p = dm_bufio_get(bm->bufio, b, (struct dm_buffer **) result); in dm_bm_read_try_lock()
582 p = dm_bufio_new(bm->bufio, b, (struct dm_buffer **) result); in dm_bm_write_lock_zero()
/linux-6.12.1/drivers/md/dm-vdo/indexer/
Dio-factory.c33 struct dm_buffer *buffer;
49 struct dm_buffer *buffer;
172 struct dm_buffer *buffer = NULL; in position_reader()
314 struct dm_buffer *buffer = NULL; in prepare_next_buffer()
Dvolume.h60 struct dm_buffer *buffer;
162 struct dm_buffer *volume_buffers[],
Dsparse-cache.c108 struct dm_buffer **page_buffers; in __aligned()
230 return vdo_allocate(chapter->index_pages_count, struct dm_buffer *, in initialize_cached_chapter_index()
Dvolume.c933 struct dm_buffer *volume_buffers[], in uds_read_chapter_index_from_volume()
1066 u32 index_page_number, struct dm_buffer *page_buffer) in donate_index_page_locked()
1099 struct dm_buffer *page_buffer; in write_index_pages()
1210 struct dm_buffer *page_buffer; in write_record_pages()