Home
last modified time | relevance | path

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

/linux-6.1.9/include/linux/
Ddm-bufio.h18 struct dm_buffer;
31 void (*alloc_callback)(struct dm_buffer *),
32 void (*write_callback)(struct dm_buffer *),
62 struct dm_buffer **bp);
69 struct dm_buffer **bp);
76 struct dm_buffer **bp);
90 void dm_bufio_release(struct dm_buffer *b);
100 void dm_bufio_mark_buffer_dirty(struct dm_buffer *b);
108 void dm_bufio_mark_partial_buffer_dirty(struct dm_buffer *b,
136 void dm_bufio_release_move(struct dm_buffer *b, sector_t new_block);
[all …]
/linux-6.1.9/drivers/md/
Ddm-bufio.c94 void (*alloc_callback)(struct dm_buffer *);
95 void (*write_callback)(struct dm_buffer *);
138 struct dm_buffer { struct
158 void (*end_io)(struct dm_buffer *, blk_status_t); argument
255 static void buffer_record_stack(struct dm_buffer *b) in buffer_record_stack()
264 static struct dm_buffer *__find(struct dm_bufio_client *c, sector_t block) in __find()
267 struct dm_buffer *b; in __find()
270 b = container_of(n, struct dm_buffer, node); in __find()
281 static struct dm_buffer *__find_next(struct dm_bufio_client *c, sector_t block) in __find_next()
284 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.c73 struct dm_buffer *b; in __ebs_rw_bvec()
Ddm-verity-target.c76 static void dm_bufio_alloc_callback(struct dm_buffer *buf) in dm_bufio_alloc_callback()
285 struct dm_buffer *buf; in verity_verify_level()
Ddm-snap-persistent.c511 struct dm_buffer *bp; in read_exceptions()
Ddm-integrity.c1425 struct dm_buffer *b; in dm_integrity_rw_tag()
/linux-6.1.9/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()
430 struct dm_buffer *buf, in dm_bm_validate_buffer()
464 p = dm_bufio_read(bm->bufio, b, (struct dm_buffer **) result); in dm_bm_read_lock()
500 p = dm_bufio_read(bm->bufio, b, (struct dm_buffer **) result); in dm_bm_write_lock()
533 p = dm_bufio_get(bm->bufio, b, (struct dm_buffer **) result); in dm_bm_read_try_lock()
569 p = dm_bufio_new(bm->bufio, b, (struct dm_buffer **) result); in dm_bm_write_lock_zero()