Lines Matching defs:vol

53 	struct spdk_reduce_vol		*vol;		/* the reduce volume */
192 spdk_reduce_vol_writev(comp_bdev->vol, bdev_io->u.bdev.iovs, bdev_io->u.bdev.iovcnt,
204 spdk_reduce_vol_readv(comp_bdev->vol, bdev_io->u.bdev.iovs, bdev_io->u.bdev.iovcnt,
288 spdk_reduce_vol_unmap(comp_bdev->vol,
298 spdk_reduce_vol_unmap(comp_bdev->vol,
343 const struct spdk_reduce_vol_params *vol_params = spdk_reduce_vol_get_params(comp_bdev->vol);
486 comp_bdev->vol = NULL;
529 comp_bdev->vol = NULL;
556 /* Called by reduceLib after performing unload vol actions */
563 SPDK_ERRLOG("Failed to unload vol, error %s\n", spdk_strerror(-reduce_errno));
627 if (comp_bdev->vol != NULL) {
629 spdk_reduce_vol_unload(comp_bdev->vol, vbdev_compress_destruct_cb, comp_bdev);
674 spdk_json_write_named_string(w, "pm_path", spdk_reduce_vol_get_pm_path(comp_bdev->vol));
679 vol_info = spdk_reduce_vol_get_info(comp_bdev->vol);
719 SPDK_ERRLOG("Failed to unload vol, error %s\n", spdk_strerror(-reduce_errno));
750 assert(comp_bdev->vol != NULL);
755 spdk_reduce_vol_unload(comp_bdev->vol, init_vol_unload_cb, comp_bdev);
775 vbdev_reduce_init_cb(void *cb_arg, struct spdk_reduce_vol *vol, int reduce_errno)
781 comp_bdev->vol = vol;
783 SPDK_ERRLOG("for vol %s, error %s\n",
940 /* Called by reduceLib after performing unload vol actions following base bdev hotremove */
950 comp_bdev->vol = NULL;
962 spdk_reduce_vol_unload(comp_bdev->vol, bdev_hotremove_vol_unload_cb, comp_bdev);
1227 /* TODO: unload vol in a future patch */
1410 /* Save these for after the vol is destroyed. */
1419 spdk_reduce_vol_unload(comp_bdev->vol, delete_vol_unload_cb, comp_bdev);
1444 spdk_reduce_vol_unload(comp_bdev->vol, _vbdev_reduce_load_unload_cb, NULL);
1470 SPDK_ERRLOG("for vol %s, error %s\n", spdk_bdev_get_name(comp_bdev->base_bdev),
1491 vbdev_reduce_load_cb(void *cb_arg, struct spdk_reduce_vol *vol, int reduce_errno)
1497 comp_bdev->vol = vol;
1498 memcpy(&comp_bdev->params, spdk_reduce_vol_get_params(vol),