Lines Matching refs:dev_pathname
49 static char dev_pathname[PATH_MAX] = ""; variable
808 snprintf(dev_pathname, sizeof(dev_pathname), "%s/%s", path, ctrlr_name); in vhost_blk_ctrlr_construct()
810 unlink(dev_pathname); in vhost_blk_ctrlr_construct()
812 if (rte_vhost_driver_register(dev_pathname, 0) != 0) { in vhost_blk_ctrlr_construct()
813 fprintf(stderr, "Socket %s already exists\n", dev_pathname); in vhost_blk_ctrlr_construct()
817 ret = rte_vhost_driver_set_features(dev_pathname, VHOST_BLK_FEATURES); in vhost_blk_ctrlr_construct()
820 rte_vhost_driver_unregister(dev_pathname); in vhost_blk_ctrlr_construct()
825 vhost_dev_install_rte_compat_hooks(dev_pathname); in vhost_blk_ctrlr_construct()
829 rte_vhost_driver_unregister(dev_pathname); in vhost_blk_ctrlr_construct()
838 rte_vhost_driver_unregister(dev_pathname); in vhost_blk_ctrlr_construct()
842 rte_vhost_driver_callback_register(dev_pathname, in vhost_blk_ctrlr_construct()
858 rte_vhost_driver_unregister(dev_pathname); in vhost_blk_ctrlr_destroy()
866 ctrlr = vhost_blk_ctrlr_find(dev_pathname); in signal_handler()
899 ret = rte_vhost_driver_start(dev_pathname); in main()