Searched refs:dm_buffer (Results 1 – 6 of 6) sorted by relevance
/drivers/md/ |
D | dm-bufio.h | 18 struct dm_buffer; 26 void (*alloc_callback)(struct dm_buffer *), 27 void (*write_callback)(struct dm_buffer *)); 49 struct dm_buffer **bp); 56 struct dm_buffer **bp); 63 struct dm_buffer **bp); 77 void dm_bufio_release(struct dm_buffer *b); 87 void dm_bufio_mark_buffer_dirty(struct dm_buffer *b); 109 void dm_bufio_release_move(struct dm_buffer *b, sector_t new_block); 125 sector_t dm_bufio_get_block_number(struct dm_buffer *b); [all …]
|
D | dm-bufio.c | 98 void (*alloc_callback)(struct dm_buffer *); 99 void (*write_callback)(struct dm_buffer *); 136 struct dm_buffer { struct 259 static struct dm_buffer *__find(struct dm_bufio_client *c, sector_t block) in __find() 262 struct dm_buffer *b; in __find() 265 b = container_of(n, struct dm_buffer, node); in __find() 276 static void __insert(struct dm_bufio_client *c, struct dm_buffer *b) in __insert() 279 struct dm_buffer *found; in __insert() 282 found = container_of(*new, struct dm_buffer, node); in __insert() 298 static void __remove(struct dm_bufio_client *c, struct dm_buffer *b) in __remove() [all …]
|
D | dm-verity-fec.c | 67 unsigned *offset, struct dm_buffer **buf) in fec_read_parity() 134 struct dm_buffer *buf; in fec_decode_bufs() 213 struct dm_buffer *buf; in fec_read_bufs()
|
D | dm-verity-target.c | 70 static void dm_bufio_alloc_callback(struct dm_buffer *buf) in dm_bufio_alloc_callback() 263 struct dm_buffer *buf; in verity_verify_level()
|
D | dm-snap-persistent.c | 517 struct dm_buffer *bp; in read_exceptions()
|
/drivers/md/persistent-data/ |
D | dm-block-manager.c | 323 static struct dm_buffer *to_buffer(struct dm_block *b) in to_buffer() 325 return (struct dm_buffer *) b; in to_buffer() 346 static void dm_block_manager_alloc_callback(struct dm_buffer *buf) in dm_block_manager_alloc_callback() 353 static void dm_block_manager_write_callback(struct dm_buffer *buf) in dm_block_manager_write_callback() 422 struct dm_buffer *buf, in dm_bm_validate_buffer() 456 p = dm_bufio_read(bm->bufio, b, (struct dm_buffer **) result); in dm_bm_read_lock() 492 p = dm_bufio_read(bm->bufio, b, (struct dm_buffer **) result); in dm_bm_write_lock() 525 p = dm_bufio_get(bm->bufio, b, (struct dm_buffer **) result); in dm_bm_read_try_lock() 561 p = dm_bufio_new(bm->bufio, b, (struct dm_buffer **) result); in dm_bm_write_lock_zero()
|