Lines Matching refs:bufio
357 struct dm_bufio_client *bufio; member
375 bm->bufio = dm_bufio_client_create(bdev, block_size, max_held_per_thread, in dm_block_manager_create()
379 if (IS_ERR(bm->bufio)) { in dm_block_manager_create()
380 r = PTR_ERR(bm->bufio); in dm_block_manager_create()
396 dm_bufio_client_destroy(bm->bufio); in dm_block_manager_destroy()
403 return dm_bufio_get_block_size(bm->bufio); in dm_bm_block_size()
409 return dm_bufio_get_device_size(bm->bufio); in dm_bm_nr_blocks()
421 r = v->check(v, (struct dm_block *) buf, dm_bufio_get_block_size(bm->bufio)); in dm_bm_validate_buffer()
447 p = dm_bufio_read(bm->bufio, b, (struct dm_buffer **) result); in dm_bm_read_lock()
483 p = dm_bufio_read(bm->bufio, b, (struct dm_buffer **) result); in dm_bm_write_lock()
516 p = dm_bufio_get(bm->bufio, b, (struct dm_buffer **) result); in dm_bm_read_try_lock()
552 p = dm_bufio_new(bm->bufio, b, (struct dm_buffer **) result); in dm_bm_write_lock_zero()
592 return dm_bufio_write_dirty_buffers(bm->bufio); in dm_bm_flush()
598 dm_bufio_prefetch(bm->bufio, b, 1); in dm_bm_prefetch()