Lines Matching defs:path
597 char path[PATH_MAX];
603 ret = rte_vhost_get_ifname(vid, path, PATH_MAX);
605 fprintf(stderr, "Failed to get the socket path\n");
609 ctrlr = vhost_blk_ctrlr_find(path);
679 fprintf(stdout, "New Device %s, Device ID %d\n", path, vid);
695 char path[PATH_MAX];
700 ret = rte_vhost_get_ifname(vid, path, PATH_MAX);
706 fprintf(stdout, "Destroy %s Device ID %d\n", path, vid);
707 ctrlr = vhost_blk_ctrlr_find(path);
791 char *path;
795 path = getcwd(cwd, PATH_MAX);
796 if (!path) {
800 snprintf(dev_pathname, sizeof(dev_pathname), "%s/%s", path, ctrlr_name);