Home
last modified time | relevance | path

Searched refs:path (Results 1 – 25 of 111) sorted by relevance

12345

/spdk/module/keyring/file/
H A Dkeyring.c12 char *path; member
18 keyring_file_check_path(const char *path, int *size) in keyring_file_check_path()
23 if (path[0] != '/') { in keyring_file_check_path()
24 SPDK_ERRLOG("Non-absolute paths are not allowed: %s\n", path); in keyring_file_check_path()
28 rc = stat(path, &st); in keyring_file_check_path()
31 SPDK_ERRLOG("Could not stat key file '%s': %s\n", path, spdk_strerror(errsv)); in keyring_file_check_path()
36 SPDK_ERRLOG("Invalid permissions for key file '%s': 0%o\n", path, st.st_mode); in keyring_file_check_path()
63 spdk_json_write_named_string(w, "path", kkey->path); in keyring_file_write_key_config()
79 spdk_json_write_named_string(w, "path", kke in keyring_file_dump_info()
16 keyring_file_check_path(const char * path,int * size) keyring_file_check_path() argument
[all...]
/spdk/
H A Dautorun_post.py30 output_file = os.path.join(output_dir, 'post_process', 'completions_table_by_test.html')
43 data_table.to_html(os.path.join(output_dir, 'completions_table.html'))
44 os.makedirs(os.path.join(output_dir, "post_process"), exist_ok=True)
47 …pivot_by_agent.to_html(os.path.join(output_dir, "post_process", 'completions_table_by_agent.html'))
52 … pivot_by_asan.to_html(os.path.join(output_dir, "post_process", 'completions_table_by_asan.html'))
54 …pivot_by_ubsan.to_html(os.path.join(output_dir, "post_process", 'completions_table_by_ubsan.html'))
58 coveragePath = os.path.join(output_dir, '**', 'cov_total.info')
59 covfiles = [os.path.abspath(p) for p in glob.glob(coveragePath, recursive=True)]
76 cov_total = os.path.abspath(os.path.join(output_dir, 'cov_total.info'))
77 coverage = os.path.join(output_dir, 'coverage')
[all …]
H A D.gitmodules2 path = dpdk
5 path = intel-ipsec-mb
8 path = isa-l
11 path = ocf
14 path = libvfio-user
17 path = xnvme
20 path = isa-l-crypto
/spdk/module/blobfs/bdev/
H A Dblobfs_fuse.c56 fuse_getattr(const char *path, struct stat *stbuf, struct fuse_file_info *fi) in fuse_getattr() argument
61 if (!strcmp(path, "/")) { in fuse_getattr()
67 rc = spdk_fs_file_stat(thd_bfuse->fs, thd_bfuse->channel, path, &stat); in fuse_getattr()
78 fuse_readdir(const char *path, void *buf, fuse_fill_dir_t filler, in fuse_readdir() argument
101 fuse_mknod(const char *path, mode_t mode, dev_t rdev) in fuse_mknod() argument
103 return spdk_fs_create_file(thd_bfuse->fs, thd_bfuse->channel, path); in fuse_mknod()
107 fuse_unlink(const char *path) in fuse_unlink() argument
109 return spdk_fs_delete_file(thd_bfuse->fs, thd_bfuse->channel, path); in fuse_unlink()
113 fuse_truncate(const char *path, off_t size, struct fuse_file_info *fi) in fuse_truncate() argument
118 rc = spdk_fs_open_file(thd_bfuse->fs, thd_bfuse->channel, path, 0, &file); in fuse_truncate()
[all …]
/spdk/test/keyring/
H A Dcommon.sh15 local name key digest path
18 path="${4-$(mktemp)}"
20 format_interchange_psk "$key" "$digest" > "$path"
21 chmod 0600 "$path"
23 echo "$path"
/spdk/python/spdk/sma/device/
H A Dnvmf_vfiouser.py116 path = os.path.join(self._sock_path, dev_id)
117 if os.path.exists(path):
118 shutil.rmtree(path)
119 os.makedirs(path)
120 if os.path.isdir(path):
121 return path
161 'socket': os.path.join(self._sock_path, dev_id, 'cntrl'),
219 path = os.path.join(self._sock_path, dev_id)
220 if os.path.exists(path):
221 shutil.rmtree(path)
/spdk/lib/vfu_tgt/
H A Dtgt_rpc.c17 char *path; member
21 {"path", offsetof(struct rpc_set_vfu_path, path), spdk_json_decode_string }
27 free(req->path); in free_rpc_set_vfu_path()
45 rc = spdk_vfu_set_socket_path(req.path); in rpc_vfu_set_base_path()
/spdk/doc/
H A Dnvme_multipath.md9 every path and used based on a policy of either active-passive or active-active. The multipath
21 For each path created by the `bdev_nvme_attach_controller` RPC, an NVMe-oF controller is created.
24 the given namespace as an alternate path. If it does not find a match, it creates a new NVMe bdev.
31 the upper layer. The I/O channel for the NVMe bdev has an I/O path for each namespace. I/O path is
34 multiple I/O paths. The I/O channel for the NVMe bdev has a retry I/O list and has a path selection
55 Multipath mode supports two path selection policies, active-passive or active-active.
57 For both path selection policies, only ANA optimal I/O paths are used unless there are no ANA
61 I/O path which is connected and optimal from ANA and use it for I/O submission. Some users may want
62 to specify the preferred I/O path manually. They can dynamically set the preferred I/O path using
64 I/O path to the head of the I/O path list. By default, if the preferred I/O path is restored,
[all …]
/spdk/module/bdev/virtio/
H A Dbdev_virtio.h52 int bdev_virtio_user_scsi_dev_create(const char *name, const char *path,
74 int bdev_vfio_user_scsi_dev_create(const char *base_name, const char *path,
142 struct spdk_bdev *bdev_virtio_user_blk_dev_create(const char *name, const char *path,
153 bdev_virtio_vfio_user_blk_dev_create(const char *name, const char *path);
H A Dbdev_virtio_blk.c588 virtio_user_blk_dev_create(const char *name, const char *path, in virtio_user_blk_dev_create() argument
597 SPDK_ERRLOG("calloc failed for virtio device %s: %s\n", name, path); in virtio_user_blk_dev_create()
601 rc = virtio_user_dev_init(&bvdev->vdev, name, path, queue_size); in virtio_user_blk_dev_create()
603 SPDK_ERRLOG("Failed to create virito device %s: %s\n", name, path); in virtio_user_blk_dev_create()
720 bdev_virtio_user_blk_dev_create(const char *name, const char *path, in bdev_virtio_user_blk_dev_create() argument
725 bvdev = virtio_user_blk_dev_create(name, path, num_queues, queue_size); in bdev_virtio_user_blk_dev_create()
734 bdev_virtio_vfio_user_blk_dev_create(const char *name, const char *path) in bdev_virtio_vfio_user_blk_dev_create() argument
742 SPDK_ERRLOG("calloc failed for virtio device %s: %s\n", name, path); in bdev_virtio_vfio_user_blk_dev_create()
746 rc = virtio_vfio_user_dev_init(&bvdev->vdev, name, path); in bdev_virtio_vfio_user_blk_dev_create()
748 SPDK_ERRLOG("Failed to create %s as virtio device\n", path); in bdev_virtio_vfio_user_blk_dev_create()
[all …]
/spdk/scripts/bpf/
H A Dnvmf_path.bt2 @path[str(arg2), str(arg3)] = count();
6 print(@path);
7 clear(@path);
H A Dgen.py27 ptype, path, function = parts[0], parts[1], parts[-1]
28 probes[(ptype, function)] = path
41 path = self._probes.get((ptype, function), self._path)
42 line = line.replace('__EXE__', path)
/spdk/scripts/
H A Dsync_dev_uevents.sh64 local path=$2
69 if [[ -z $path ]]; then
73 if [[ -e $path/subsystem ]]; then
74 sub=$(readlink -f "$path/subsystem")
78 if [[ ${path##*/} == "$find" ]]; then
H A Dsma.py17 sys.path.append(os.path.dirname(__file__) + '/../python')
23 def parse_config(path): argument
24 if path is None:
26 with open(path, 'r') as cfgfile:
H A Dspdkcli.py14 sys.path.append(os.path.dirname(__file__) + '/../python')
32 path = shell.locatedExpr(bookmark | pathstd | '*')('path')
33 spdk_shell._parser = Optional(path) + Optional(command) + Optional(parameters)
/spdk/test/spdkcli/
H A Dspdkcli_job.py40 testdir = os.path.dirname(os.path.realpath(sys.argv[0]))
43 child = pexpect.spawn(os.path.join(testdir, "../../scripts/spdkcli.py") + " -s %s" % socket)
45 …child = pexpect.spawn(os.path.join(testdir, "../../scripts/spdkcli.py") + " -s %s -p %s" % (socket…
/spdk/lib/idxd/
H A Didxd_kernel.c116 char path[1024]; in kernel_idxd_probe() local
145 snprintf(path, sizeof(path), "/dev/char/%u:%u", major, minor); in kernel_idxd_probe()
146 kernel_idxd->fd = open(path, O_RDWR); in kernel_idxd_probe()
149 path); in kernel_idxd_probe()
/spdk/scripts/perf/nvmf/
H A Dcommon.py91 with open(os.path.join(results_dir, result_file), "r") as result_file_fh:
115 job_name, _ = os.path.splitext(fio_config)
158 inits_names = set([os.path.splitext(x)[0].split("_")[-1] for x in job_result_files])
169 stats = read_json_stats(os.path.join(results_dir, r))
182 with open(os.path.join(results_dir, i_results_filename), "w") as fh:
217 with open(os.path.join(results_dir, csv_file), "w") as fh:
222 with open(os.path.join(results_dir, csv_file), "a") as fh:
224 logging.info("You can find the test results in the file %s" % os.path.join(results_dir, csv_file))
H A Drun_nvmf.py33 sys.path.append(os.path.dirname(__file__) + '/../../../python')
281 xps_script_path = os.path.join(self.spdk_dir, "scripts", "perf", "nvmf", "set_xps_rxqs")
300 nic_bdf = os.path.basename(self.exec_cmd(["readlink", "-f", "/sys/class/net/%s/device" % nic_name]).strip())
474 irq_script_path = os.path.join(self.irq_scripts_dir, affinity_script)
608 self.script_dir = os.path.dirname(os.path.abspath(sys.argv[0]))
609 self.spdk_dir = os.path.abspath(os.path.join(self.script_dir, "../../../"))
645 fh.write(os.path
[all...]
/spdk/test/vhost/windows/
H A Dwindows_scsi_compliance.py13 os.chdir(os.path.join(os.path.dirname(sys.argv[0]), "results"))
83 with open(os.path.join("./", d_name, test_name), 'w') as fh:
97 with open(os.path.join("./", "results.html"), 'a') as fh:
128 … html += "<a href={file}>{result}</a>".format(result=result, file=os.path.join("./", disk, test))
/spdk/lib/virtio/
H A Dvirtio_vfio_user.c15 char path[PATH_MAX]; member
391 virtio_vfio_user_dev_init(struct virtio_dev *vdev, const char *name, const char *path) in virtio_vfio_user_dev_init() argument
398 SPDK_ERRLOG("No name given for controller: %s\n", path); in virtio_vfio_user_dev_init()
402 rc = access(path, F_OK); in virtio_vfio_user_dev_init()
404 SPDK_ERRLOG("Access path %s failed\n", path); in virtio_vfio_user_dev_init()
415 SPDK_ERRLOG("Failed to init device: %s\n", path); in virtio_vfio_user_dev_init()
420 snprintf(dev->path, PATH_MAX, "%s", path); in virtio_vfio_user_dev_init()
421 dev->ctx = spdk_vfio_user_setup(path); in virtio_vfio_user_dev_init()
[all...]
/spdk/lib/vhost/
H A Drte_vhost_user.c1604 vhost_register_unix_socket(const char *path, const char *ctrl_name, argument
1612 if (stat(path, &file_stat) != -1) {
1614 SPDK_ERRLOG("Cannot create a domain socket at path \"%s\": "
1616 path);
1618 } else if (unlink(path) != 0) {
1619 SPDK_ERRLOG("Cannot create a domain socket at path \"%s\": "
1621 path);
1627 if (rte_vhost_driver_register(path, flags) != 0) {
1629 SPDK_ERRLOG("Check if domain socket %s already exists\n", path);
1632 if (rte_vhost_driver_set_features(path, virtio_feature
1667 vhost_driver_unregister(const char * path) global() argument
1777 char path[PATH_MAX]; global() local
[all...]
/spdk/python/spdk/rpc/
H A Dkeyring.py5 def keyring_file_add_key(client, name, path): argument
7 'path': path})
/spdk/python/spdk/sma/
H A D__init__.py9 sys.path.append(os.path.dirname(__file__) + '/proto')
/spdk/test/env/vtophys/
H A Dvtophys.c15 #define __SPDK_ENV_NAME(path) (strrchr(#path, '/') + 1) argument
16 #define _SPDK_ENV_NAME(path) __SPDK_ENV_NAME(path) argument

12345