Searched refs:bufio (Results 1 - 5 of 5) sorted by relevance
/linux-4.4.14/drivers/md/persistent-data/ |
H A D | dm-block-manager.c | 8 #include "../dm-bufio.h" 317 * Block manager is currently implemented using dm-bufio. struct 319 * structs in the bufio interface. I want to retain the freedom to move 320 * away from bufio in the future. So these structs are just cast within 366 struct dm_bufio_client *bufio; member in struct:dm_block_manager 384 bm->bufio = dm_bufio_client_create(bdev, block_size, max_held_per_thread, dm_block_manager_create() 388 if (IS_ERR(bm->bufio)) { dm_block_manager_create() 389 r = PTR_ERR(bm->bufio); dm_block_manager_create() 405 dm_bufio_client_destroy(bm->bufio); dm_block_manager_destroy() 412 return dm_bufio_get_block_size(bm->bufio); dm_bm_block_size() 418 return dm_bufio_get_device_size(bm->bufio); dm_bm_nr_blocks() 430 r = v->check(v, (struct dm_block *) buf, dm_bufio_get_block_size(bm->bufio)); dm_bm_validate_buffer() 456 p = dm_bufio_read(bm->bufio, b, (struct dm_buffer **) result); dm_bm_read_lock() 492 p = dm_bufio_read(bm->bufio, b, (struct dm_buffer **) result); dm_bm_write_lock() 525 p = dm_bufio_get(bm->bufio, b, (struct dm_buffer **) result); dm_bm_read_try_lock() 561 p = dm_bufio_new(bm->bufio, b, (struct dm_buffer **) result); dm_bm_write_lock_zero() 601 return dm_bufio_write_dirty_buffers(bm->bufio); dm_bm_flush() 607 dm_bufio_prefetch(bm->bufio, b, 1); dm_bm_prefetch()
|
/linux-4.4.14/drivers/md/ |
H A D | dm-verity.c | 17 #include "dm-bufio.h" 56 struct dm_bufio_client *bufio; member in struct:dm_verity 131 * Auxiliary structure appended to each dm-bufio buffer. If the value 269 data = dm_bufio_read(v->bufio, hash_block, &buf); verity_verify_level() 515 dm_bufio_prefetch(v->bufio, hash_block_start, verity_prefetch_io() 675 if (v->bufio) verity_dtr() 676 dm_bufio_client_destroy(v->bufio); verity_dtr() 925 v->bufio = dm_bufio_client_create(v->hash_dev->bdev, verity_ctr() 928 if (IS_ERR(v->bufio)) { verity_ctr() 929 ti->error = "Cannot initialize dm-bufio"; verity_ctr() 930 r = PTR_ERR(v->bufio); verity_ctr() 931 v->bufio = NULL; verity_ctr() 935 if (dm_bufio_get_device_size(v->bufio) < v->hash_blocks) { verity_ctr()
|
H A D | dm-bufio.c | 9 #include "dm-bufio.h" 20 #define DM_MSG_PREFIX "bufio" 614 * the dm_buffer's inline bio is local to bufio. use_inline_bio() 818 * dm-bufio is resistant to allocation failures (it just keeps __alloc_buffer_wait_no_callback() 1378 * All this must be done in bufio lock, so that block number dm_bufio_release_move() 1495 * rerouted to different bufio client.
|
H A D | dm-snap-persistent.c | 17 #include "dm-bufio.h"
|
H A D | dm-cache-metadata.c | 732 * different target instances creating separate bufio instances. This is
|
Completed in 162 milliseconds