Home
last modified time | relevance | path

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

/linux-5.19.10/include/linux/
Ddm-bufio.h18 struct dm_buffer;
26 void (*alloc_callback)(struct dm_buffer *),
27 void (*write_callback)(struct dm_buffer *));
56 struct dm_buffer **bp);
63 struct dm_buffer **bp);
70 struct dm_buffer **bp);
84 void dm_bufio_release(struct dm_buffer *b);
94 void dm_bufio_mark_buffer_dirty(struct dm_buffer *b);
102 void dm_bufio_mark_partial_buffer_dirty(struct dm_buffer *b,
130 void dm_bufio_release_move(struct dm_buffer *b, sector_t new_block);
[all …]
/linux-5.19.10/drivers/md/
Ddm-bufio.c91 void (*alloc_callback)(struct dm_buffer *);
92 void (*write_callback)(struct dm_buffer *);
136 struct dm_buffer { struct
156 void (*end_io)(struct dm_buffer *, blk_status_t); argument
242 static void buffer_record_stack(struct dm_buffer *b) in buffer_record_stack()
251 static struct dm_buffer *__find(struct dm_bufio_client *c, sector_t block) in __find()
254 struct dm_buffer *b; in __find()
257 b = container_of(n, struct dm_buffer, node); in __find()
268 static struct dm_buffer *__find_next(struct dm_bufio_client *c, sector_t block) in __find_next()
271 struct dm_buffer *b; in __find_next()
[all …]
Ddm-verity-fec.c62 unsigned *offset, struct dm_buffer **buf) in fec_read_parity()
128 struct dm_buffer *buf; in fec_decode_bufs()
205 struct dm_buffer *buf; in fec_read_bufs()
Ddm-ebs-target.c72 struct dm_buffer *b; in __ebs_rw_bvec()
Ddm-verity-target.c71 static void dm_bufio_alloc_callback(struct dm_buffer *buf) in dm_bufio_alloc_callback()
280 struct dm_buffer *buf; in verity_verify_level()
Ddm-snap-persistent.c512 struct dm_buffer *bp; in read_exceptions()
Ddm-integrity.c1422 struct dm_buffer *b; in dm_integrity_rw_tag()
/linux-5.19.10/drivers/md/persistent-data/
Ddm-block-manager.c328 static struct dm_buffer *to_buffer(struct dm_block *b) in to_buffer()
330 return (struct dm_buffer *) b; in to_buffer()
354 static void dm_block_manager_alloc_callback(struct dm_buffer *buf) in dm_block_manager_alloc_callback()
361 static void dm_block_manager_write_callback(struct dm_buffer *buf) in dm_block_manager_write_callback()
429 struct dm_buffer *buf, in dm_bm_validate_buffer()
463 p = dm_bufio_read(bm->bufio, b, (struct dm_buffer **) result); in dm_bm_read_lock()
499 p = dm_bufio_read(bm->bufio, b, (struct dm_buffer **) result); in dm_bm_write_lock()
532 p = dm_bufio_get(bm->bufio, b, (struct dm_buffer **) result); in dm_bm_read_try_lock()
568 p = dm_bufio_new(bm->bufio, b, (struct dm_buffer **) result); in dm_bm_write_lock_zero()