Lines Matching full:image
53 rbd_image_t image; member
102 rc = rbd_get_size(rbd->image, ¤t_size_in_bytes); in _rbd_update_callback()
186 if (rbd->image) { in bdev_rbd_free()
187 rbd_update_unwatch(rbd->image, rbd->rbd_watch_handle); in bdev_rbd_free()
188 rbd_flush(rbd->image); in bdev_rbd_free()
189 rbd_close(rbd->image); in bdev_rbd_free()
429 rc = rbd_open(*io_ctx, rbd->rbd_name, &rbd->image, NULL); in bdev_rbd_init_context()
435 rc = rbd_update_watch(rbd->image, &rbd->rbd_watch_handle, rbd_update_callback, (void *)rbd); in bdev_rbd_init_context()
440 rc = rbd_stat(rbd->image, &rbd->info, sizeof(rbd->info)); in bdev_rbd_init_context()
538 rbd_image_t image = disk->image; in _bdev_rbd_start_aio() local
550 ret = rbd_aio_read(image, offset, iov[0].iov_len, iov[0].iov_base, in _bdev_rbd_start_aio()
553 ret = rbd_aio_readv(image, iov, iovcnt, offset, rbd_io->comp); in _bdev_rbd_start_aio()
558 ret = rbd_aio_write(image, offset, iov[0].iov_len, iov[0].iov_base, in _bdev_rbd_start_aio()
561 ret = rbd_aio_writev(image, iov, iovcnt, offset, rbd_io->comp); in _bdev_rbd_start_aio()
565 ret = rbd_aio_discard(image, offset, len, rbd_io->comp); in _bdev_rbd_start_aio()
568 ret = rbd_aio_flush(image, rbd_io->comp); in _bdev_rbd_start_aio()
571 ret = rbd_aio_write_zeroes(image, offset, len, rbd_io->comp, /* zero_flags */ 0, in _bdev_rbd_start_aio()
576 ret = rbd_aio_compare_and_writev(image, offset, iov /* cmp */, iovcnt, in _bdev_rbd_start_aio()
1424 rc = rbd_resize(rbd->image, new_size_in_byte); in bdev_rbd_resize()