Lines Matching refs:dev_pathname
49 static char dev_pathname[PATH_MAX] = ""; variable
794 snprintf(dev_pathname, sizeof(dev_pathname), "%s/%s", path, ctrlr_name); in vhost_blk_ctrlr_construct()
796 unlink(dev_pathname); in vhost_blk_ctrlr_construct()
798 if (rte_vhost_driver_register(dev_pathname, 0) != 0) { in vhost_blk_ctrlr_construct()
799 fprintf(stderr, "Socket %s already exists\n", dev_pathname); in vhost_blk_ctrlr_construct()
803 ret = rte_vhost_driver_set_features(dev_pathname, VHOST_BLK_FEATURES); in vhost_blk_ctrlr_construct()
806 rte_vhost_driver_unregister(dev_pathname); in vhost_blk_ctrlr_construct()
811 vhost_dev_install_rte_compat_hooks(dev_pathname); in vhost_blk_ctrlr_construct()
815 rte_vhost_driver_unregister(dev_pathname); in vhost_blk_ctrlr_construct()
824 rte_vhost_driver_unregister(dev_pathname); in vhost_blk_ctrlr_construct()
828 rte_vhost_driver_callback_register(dev_pathname, in vhost_blk_ctrlr_construct()
845 rte_vhost_driver_unregister(dev_pathname); in vhost_blk_ctrlr_destroy()
853 ctrlr = vhost_blk_ctrlr_find(dev_pathname); in signal_handler()
886 ret = rte_vhost_driver_start(dev_pathname); in main()