Lines Matching refs:bufio
374 struct dm_bufio_client *bufio; member
391 bm->bufio = dm_bufio_client_create(bdev, block_size, max_held_per_thread, in dm_block_manager_create()
396 if (IS_ERR(bm->bufio)) { in dm_block_manager_create()
397 r = PTR_ERR(bm->bufio); in dm_block_manager_create()
413 dm_bufio_client_destroy(bm->bufio); in dm_block_manager_destroy()
420 dm_bufio_client_reset(bm->bufio); in dm_block_manager_reset()
426 return dm_bufio_get_block_size(bm->bufio); in dm_bm_block_size()
432 return dm_bufio_get_device_size(bm->bufio); in dm_bm_nr_blocks()
444 r = v->check(v, (struct dm_block *) buf, dm_bufio_get_block_size(bm->bufio)); in dm_bm_validate_buffer()
470 p = dm_bufio_read(bm->bufio, b, (struct dm_buffer **) result); in dm_bm_read_lock()
506 p = dm_bufio_read(bm->bufio, b, (struct dm_buffer **) result); in dm_bm_write_lock()
539 p = dm_bufio_get(bm->bufio, b, (struct dm_buffer **) result); in dm_bm_read_try_lock()
575 p = dm_bufio_new(bm->bufio, b, (struct dm_buffer **) result); in dm_bm_write_lock_zero()
615 return dm_bufio_write_dirty_buffers(bm->bufio); in dm_bm_flush()
621 dm_bufio_prefetch(bm->bufio, b, 1); in dm_bm_prefetch()