Lines Matching defs:bufio
9 #include <linux/dm-bufio.h>
322 * Block manager is currently implemented using dm-bufio. struct
324 * structs in the bufio interface. I want to retain the freedom to move
325 * away from bufio in the future. So these structs are just cast within
374 struct dm_bufio_client *bufio;
391 bm->bufio = dm_bufio_client_create(bdev, block_size, max_held_per_thread,
395 if (IS_ERR(bm->bufio)) {
396 r = PTR_ERR(bm->bufio);
412 dm_bufio_client_destroy(bm->bufio);
419 return dm_bufio_get_block_size(bm->bufio);
425 return dm_bufio_get_device_size(bm->bufio);
437 r = v->check(v, (struct dm_block *) buf, dm_bufio_get_block_size(bm->bufio));
463 p = dm_bufio_read(bm->bufio, b, (struct dm_buffer **) result);
499 p = dm_bufio_read(bm->bufio, b, (struct dm_buffer **) result);
532 p = dm_bufio_get(bm->bufio, b, (struct dm_buffer **) result);
568 p = dm_bufio_new(bm->bufio, b, (struct dm_buffer **) result);
608 return dm_bufio_write_dirty_buffers(bm->bufio);
614 dm_bufio_prefetch(bm->bufio, b, 1);