Searched refs:dm_buffer (Results 1 – 8 of 8) sorted by relevance
/linux-6.1.9/include/linux/ |
D | dm-bufio.h | 18 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/ |
D | dm-bufio.c | 94 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 …]
|
D | dm-verity-fec.c | 62 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()
|
D | dm-ebs-target.c | 73 struct dm_buffer *b; in __ebs_rw_bvec()
|
D | dm-verity-target.c | 76 static void dm_bufio_alloc_callback(struct dm_buffer *buf) in dm_bufio_alloc_callback() 285 struct dm_buffer *buf; in verity_verify_level()
|
D | dm-snap-persistent.c | 511 struct dm_buffer *bp; in read_exceptions()
|
D | dm-integrity.c | 1425 struct dm_buffer *b; in dm_integrity_rw_tag()
|
/linux-6.1.9/drivers/md/persistent-data/ |
D | dm-block-manager.c | 328 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()
|