Home
last modified time | relevance | path

Searched refs:spdk_json_decode_string (Results 1 – 25 of 58) sorted by relevance

123

/spdk/module/bdev/rbd/
H A Dbdev_rbd_rpc.c77 {"name", offsetof(struct rpc_create_rbd, name), spdk_json_decode_string, true},
78 {"user_id", offsetof(struct rpc_create_rbd, user_id), spdk_json_decode_string, true},
79 {"pool_name", offsetof(struct rpc_create_rbd, pool_name), spdk_json_decode_string},
80 {"rbd_name", offsetof(struct rpc_create_rbd, rbd_name), spdk_json_decode_string},
83 {"cluster_name", offsetof(struct rpc_create_rbd, cluster_name), spdk_json_decode_string, true},
134 {"name", offsetof(struct rpc_bdev_rbd_delete, name), spdk_json_decode_string},
176 {"name", offsetof(struct rpc_bdev_rbd_resize, name), spdk_json_decode_string},
225 {"name", offsetof(struct cluster_register_info, name), spdk_json_decode_string, true},
226 {"user_id", offsetof(struct cluster_register_info, user_id), spdk_json_decode_string, true},
228 …{"config_file", offsetof(struct cluster_register_info, config_file), spdk_json_decode_string, true…
[all …]
/spdk/module/bdev/nvme/
H A Dvbdev_opal_rpc.c27 …e_ctrlr_name", offsetof(struct rpc_bdev_nvme_opal_init, nvme_ctrlr_name), spdk_json_decode_string},
28 {"password", offsetof(struct rpc_bdev_nvme_opal_init, password), spdk_json_decode_string},
102 …ctrlr_name", offsetof(struct rpc_bdev_nvme_opal_revert, nvme_ctrlr_name), spdk_json_decode_string},
103 {"password", offsetof(struct rpc_bdev_nvme_opal_revert, password), spdk_json_decode_string},
163 …nvme_ctrlr_name", offsetof(struct rpc_bdev_opal_create, nvme_ctrlr_name), spdk_json_decode_string},
168 {"password", offsetof(struct rpc_bdev_opal_create, password), spdk_json_decode_string},
222 {"bdev_name", offsetof(struct rpc_bdev_opal_get_info, bdev_name), spdk_json_decode_string},
223 {"password", offsetof(struct rpc_bdev_opal_get_info, password), spdk_json_decode_string},
281 {"bdev_name", offsetof(struct rpc_bdev_opal_delete, bdev_name), spdk_json_decode_string},
282 {"password", offsetof(struct rpc_bdev_opal_delete, password), spdk_json_decode_string},
[all …]
H A Dbdev_nvme_rpc.c52 rc = spdk_json_decode_string(val, &digest); in rpc_decode_digest()
85 rc = spdk_json_decode_string(val, &dhgroup); in rpc_decode_dhgroup()
315 {"name", offsetof(struct rpc_bdev_nvme_attach_controller, name), spdk_json_decode_string},
316 {"trtype", offsetof(struct rpc_bdev_nvme_attach_controller, trtype), spdk_json_decode_string},
317 {"traddr", offsetof(struct rpc_bdev_nvme_attach_controller, traddr), spdk_json_decode_string},
319 {"adrfam", offsetof(struct rpc_bdev_nvme_attach_controller, adrfam), spdk_json_decode_string, true},
320 {"trsvcid", offsetof(struct rpc_bdev_nvme_attach_controller, trsvcid), spdk_json_decode_string, true},
321 {"priority", offsetof(struct rpc_bdev_nvme_attach_controller, priority), spdk_json_decode_string, true},
322 {"subnqn", offsetof(struct rpc_bdev_nvme_attach_controller, subnqn), spdk_json_decode_string, true},
323 {"hostnqn", offsetof(struct rpc_bdev_nvme_attach_controller, hostnqn), spdk_json_decode_string, tru
[all...]
/spdk/module/vfu_device/
H A Dvfu_virtio_rpc.c22 {"name", offsetof(struct rpc_delete_vfu_endpoint, name), spdk_json_decode_string }
73 {"name", offsetof(struct rpc_vfu_virtio_create_blk, name), spdk_json_decode_string },
74 {"bdev_name", offsetof(struct rpc_vfu_virtio_create_blk, bdev_name), spdk_json_decode_string },
75 {"cpumask", offsetof(struct rpc_vfu_virtio_create_blk, cpumask), spdk_json_decode_string, true},
136 {"name", offsetof(struct rpc_vfu_virtio_scsi, name), spdk_json_decode_string },
138 {"bdev_name", offsetof(struct rpc_vfu_virtio_scsi, bdev_name), spdk_json_decode_string },
186 {"name", offsetof(struct rpc_vfu_virtio_scsi_remove, name), spdk_json_decode_string },
237 {"name", offsetof(struct rpc_vfu_virtio_create_scsi, name), spdk_json_decode_string },
238 {"cpumask", offsetof(struct rpc_vfu_virtio_create_scsi, cpumask), spdk_json_decode_string, true},
303 {"name", offsetof(struct rpc_vfu_virtio_create_fs, name), spdk_json_decode_string },
[all...]
/spdk/lib/vhost/
H A Dvhost_rpc.c32 {"ctrlr", offsetof(struct rpc_vhost_scsi_ctrlr, ctrlr), spdk_json_decode_string },
33 {"cpumask", offsetof(struct rpc_vhost_scsi_ctrlr, cpumask), spdk_json_decode_string, true},
85 {"ctrlr", offsetof(struct rpc_start_vhost_scsi_ctrlr, ctrlr), spdk_json_decode_string },
135 {"ctrlr", offsetof(struct rpc_vhost_scsi_ctrlr_add_target, ctrlr), spdk_json_decode_string },
137 {"bdev_name", offsetof(struct rpc_vhost_scsi_ctrlr_add_target, bdev_name), spdk_json_decode_string },
198 {"ctrlr", offsetof(struct rpc_remove_vhost_scsi_ctrlr_target, ctrlr), spdk_json_decode_string },
263 {"ctrlr", offsetof(struct rpc_vhost_blk_ctrlr, ctrlr), spdk_json_decode_string },
264 {"dev_name", offsetof(struct rpc_vhost_blk_ctrlr, dev_name), spdk_json_decode_string },
265 {"cpumask", offsetof(struct rpc_vhost_blk_ctrlr, cpumask), spdk_json_decode_string, true},
266 {"transport", offsetof(struct rpc_vhost_blk_ctrlr, transport), spdk_json_decode_string, tru
[all...]
/spdk/module/bdev/crypto/
H A Dvbdev_crypto_rpc.c44 {"base_bdev_name", offsetof(struct rpc_construct_crypto, base_bdev_name), spdk_json_decode_string},
45 {"name", offsetof(struct rpc_construct_crypto, name), spdk_json_decode_string},
46 {"crypto_pmd", offsetof(struct rpc_construct_crypto, crypto_pmd), spdk_json_decode_string, true},
47 {"key", offsetof(struct rpc_construct_crypto, param.hex_key), spdk_json_decode_string, true},
48 {"cipher", offsetof(struct rpc_construct_crypto, param.cipher), spdk_json_decode_string, true},
49 {"key2", offsetof(struct rpc_construct_crypto, param.hex_key2), spdk_json_decode_string, true},
50 {"key_name", offsetof(struct rpc_construct_crypto, param.key_name), spdk_json_decode_string, true},
206 {"name", offsetof(struct rpc_delete_crypto, name), spdk_json_decode_string},
/spdk/module/bdev/daos/
H A Dbdev_daos_rpc.c34 {"name", offsetof(struct rpc_construct_daos, name), spdk_json_decode_string},
36 {"pool", offsetof(struct rpc_construct_daos, pool), spdk_json_decode_string},
37 {"cont", offsetof(struct rpc_construct_daos, cont), spdk_json_decode_string},
38 {"oclass", offsetof(struct rpc_construct_daos, oclass), spdk_json_decode_string, true},
92 {"name", offsetof(struct rpc_delete_daos, name), spdk_json_decode_string},
137 {"name", offsetof(struct rpc_bdev_daos_resize, name), spdk_json_decode_string},
/spdk/module/bdev/ftl/
H A Dbdev_ftl_rpc.c33 {"name", offsetof(struct rpc_ftl_basic_param, name), spdk_json_decode_string},
37 {"name", offsetof(struct spdk_ftl_conf, name), spdk_json_decode_string},
38 {"base_bdev", offsetof(struct spdk_ftl_conf, base_bdev), spdk_json_decode_string},
40 {"cache", offsetof(struct spdk_ftl_conf, cache_bdev), spdk_json_decode_string},
51 spdk_json_decode_string, true
144 {"name", offsetof(struct rpc_delete_ftl, name), spdk_json_decode_string}, in rpc_bdev_ftl_delete()
186 {"name", offsetof(struct rpc_delete_ftl, name), spdk_json_decode_string}, in rpc_bdev_ftl_unmap()
343 {"name", offsetof(struct rpc_ftl_set_property_param, name), spdk_json_decode_string}, in rpc_bdev_ftl_set_property()
344 {"ftl_property", offsetof(struct rpc_ftl_set_property_param, ftl_property), spdk_json_decode_string}, in rpc_bdev_ftl_set_property()
345 {"value", offsetof(struct rpc_ftl_set_property_param, value), spdk_json_decode_string}, in rpc_bdev_ftl_set_property()
[all...]
/spdk/module/bdev/lvol/
H A Dvbdev_lvol_rpc.c80 {"bdev_name", offsetof(struct rpc_bdev_lvol_create_lvstore, bdev_name), spdk_json_decode_string},
82 {"lvs_name", offsetof(struct rpc_bdev_lvol_create_lvstore, lvs_name), spdk_json_decode_string},
83 {"clear_method", offsetof(struct rpc_bdev_lvol_create_lvstore, clear_method), spdk_json_decode_string, true},
169 {"old_name", offsetof(struct rpc_bdev_lvol_rename_lvstore, old_name), spdk_json_decode_string},
170 {"new_name", offsetof(struct rpc_bdev_lvol_rename_lvstore, new_name), spdk_json_decode_string},
233 {"uuid", offsetof(struct rpc_bdev_lvol_delete_lvstore, uuid), spdk_json_decode_string, true},
234 {"lvs_name", offsetof(struct rpc_bdev_lvol_delete_lvstore, lvs_name), spdk_json_decode_string, true},
303 {"uuid", offsetof(struct rpc_bdev_lvol_create, uuid), spdk_json_decode_string, true},
304 {"lvs_name", offsetof(struct rpc_bdev_lvol_create, lvs_name), spdk_json_decode_string, true},
305 {"lvol_name", offsetof(struct rpc_bdev_lvol_create, lvol_name), spdk_json_decode_string},
[all...]
/spdk/module/bdev/xnvme/
H A Dbdev_xnvme_rpc.c32 {"name", offsetof(struct rpc_create_xnvme, name), spdk_json_decode_string},
33 {"filename", offsetof(struct rpc_create_xnvme, filename), spdk_json_decode_string},
34 {"io_mechanism", offsetof(struct rpc_create_xnvme, io_mechanism), spdk_json_decode_string},
86 {"name", offsetof(struct rpc_delete_xnvme, name), spdk_json_decode_string},
/spdk/lib/nvmf/
H A Dnvmf_rpc.c122 rc = spdk_json_decode_string(val, &str); in decode_ns_nguid()
138 rc = spdk_json_decode_string(val, &str); in decode_ns_eui64()
154 {"nqn", offsetof(struct rpc_get_subsystem, nqn), spdk_json_decode_string, true},
155 {"tgt_name", offsetof(struct rpc_get_subsystem, tgt_name), spdk_json_decode_string, true},
337 {"nqn", offsetof(struct rpc_subsystem_create, nqn), spdk_json_decode_string},
338 {"serial_number", offsetof(struct rpc_subsystem_create, serial_number), spdk_json_decode_string, true},
339 {"model_number", offsetof(struct rpc_subsystem_create, model_number), spdk_json_decode_string, true},
340 {"tgt_name", offsetof(struct rpc_subsystem_create, tgt_name), spdk_json_decode_string, true},
522 {"nqn", offsetof(struct rpc_delete_subsystem, nqn), spdk_json_decode_string},
523 {"tgt_name", offsetof(struct rpc_delete_subsystem, tgt_name), spdk_json_decode_string, tru
[all...]
/spdk/module/bdev/delay/
H A Dvbdev_delay_rpc.c20 {"delay_bdev_name", offsetof(struct rpc_update_latency, delay_bdev_name), spdk_json_decode_string},
21 {"latency_type", offsetof(struct rpc_update_latency, latency_type), spdk_json_decode_string},
102 {"base_bdev_name", offsetof(struct rpc_construct_delay, base_bdev_name), spdk_json_decode_string},
103 {"name", offsetof(struct rpc_construct_delay, name), spdk_json_decode_string},
156 {"name", offsetof(struct rpc_delete_delay, name), spdk_json_decode_string},
/spdk/module/bdev/iscsi/
H A Dbdev_iscsi_rpc.c56 {"name", offsetof(struct rpc_bdev_iscsi_create, name), spdk_json_decode_string},
57 {"initiator_iqn", offsetof(struct rpc_bdev_iscsi_create, initiator_iqn), spdk_json_decode_string},
58 {"url", offsetof(struct rpc_bdev_iscsi_create, url), spdk_json_decode_string},
125 {"name", offsetof(struct rpc_delete_iscsi, name), spdk_json_decode_string},
/spdk/module/bdev/uring/
H A Dbdev_uring_rpc.c30 {"name", offsetof(struct rpc_create_uring, name), spdk_json_decode_string},
31 {"filename", offsetof(struct rpc_create_uring, filename), spdk_json_decode_string},
84 {"name", offsetof(struct rpc_rescan_uring, name), spdk_json_decode_string},
126 {"name", offsetof(struct rpc_delete_uring, name), spdk_json_decode_string},
/spdk/module/keyring/file/
H A Dkeyring_rpc.c17 {"name", offsetof(struct rpc_keyring_file_add_key, name), spdk_json_decode_string},
18 {"path", offsetof(struct rpc_keyring_file_add_key, path), spdk_json_decode_string}, in free_keyring_file_key_opts()
60 {"name", offsetof(struct rpc_keyring_file_remove_key, name), spdk_json_decode_string},
/spdk/test/external_code/passthru/
H A Dvbdev_passthru_rpc.c29 …se_bdev_name", offsetof(struct rpc_bdev_passthru_create, base_bdev_name), spdk_json_decode_string},
30 {"name", offsetof(struct rpc_bdev_passthru_create, name), spdk_json_decode_string},
79 {"name", offsetof(struct rpc_bdev_passthru_delete, name), spdk_json_decode_string},
/spdk/module/bdev/aio/
H A Dbdev_aio_rpc.c35 {"name", offsetof(struct rpc_construct_aio, name), spdk_json_decode_string},
36 {"filename", offsetof(struct rpc_construct_aio, filename), spdk_json_decode_string},
97 {"name", offsetof(struct rpc_rescan_aio, name), spdk_json_decode_string},
139 {"name", offsetof(struct rpc_delete_aio, name), spdk_json_decode_string},
/spdk/module/bdev/compress/
H A Dvbdev_compress_rpc.c24 {"name", offsetof(struct rpc_bdev_compress_get_orphans, name), spdk_json_decode_string, true},
90 rc = spdk_json_decode_string(val, &name);
131 {"base_bdev_name", offsetof(struct rpc_construct_compress, base_bdev_name), spdk_json_decode_string}, in rpc_bdev_compress_create()
132 {"pm_path", offsetof(struct rpc_construct_compress, pm_path), spdk_json_decode_string}, in rpc_bdev_compress_create()
220 {"name", offsetof(struct rpc_delete_compress, name), spdk_json_decode_string},
/spdk/lib/iscsi/
H A Discsi_rpc.c52 return spdk_json_decode_array(val, spdk_json_decode_string, list->initiators, MAX_INITIATOR, in decode_rpc_initiator_list()
76 return spdk_json_decode_array(val, spdk_json_decode_string, list->netmasks, MAX_NETMASK, in decode_rpc_netmask_list()
321 {"bdev_name", offsetof(struct rpc_lun, bdev_name), spdk_json_decode_string},
385 {"name", offsetof(struct rpc_target_node, name), spdk_json_decode_string},
386 {"alias_name", offsetof(struct rpc_target_node, alias_name), spdk_json_decode_string},
467 {"name", offsetof(struct rpc_tgt_node_pg_ig_maps, name), spdk_json_decode_string},
578 {"name", offsetof(struct rpc_iscsi_delete_target_node, name), spdk_json_decode_string},
701 {"host", offsetof(struct rpc_portal, host), spdk_json_decode_string},
702 {"port", offsetof(struct rpc_portal, port), spdk_json_decode_string},
1100 {"name", offsetof(struct rpc_target_lun, name), spdk_json_decode_string},
[all …]
/spdk/module/blobfs/bdev/
H A Dblobfs_bdev_rpc.c82 {"bdev_name", offsetof(struct rpc_blobfs_detect, bdev_name), spdk_json_decode_string},
159 rc = spdk_json_decode_string(val, &sz_str); in rpc_decode_cluster_sz()
178 {"bdev_name", offsetof(struct rpc_blobfs_create, bdev_name), spdk_json_decode_string},
249 {"bdev_name", offsetof(struct rpc_blobfs_mount, bdev_name), spdk_json_decode_string},
250 {"mountpoint", offsetof(struct rpc_blobfs_mount, mountpoint), spdk_json_decode_string},
/spdk/module/bdev/raid/
H A Dbdev_raid_rpc.c42 {"category", offsetof(struct rpc_bdev_raid_get_bdevs, category), spdk_json_decode_string},
152 ret = spdk_json_decode_string(val, &str); in decode_raid_level()
173 return spdk_json_decode_array(val, spdk_json_decode_string, base_bdevs->base_bdevs, in decode_base_bdevs()
181 {"name", offsetof(struct rpc_bdev_raid_create, name), spdk_json_decode_string},
354 {"name", offsetof(struct rpc_bdev_raid_delete, name), spdk_json_decode_string},
473 {"base_bdev", offsetof(struct rpc_bdev_raid_add_base_bdev, base_bdev), spdk_json_decode_string},
474 {"raid_bdev", offsetof(struct rpc_bdev_raid_add_base_bdev, raid_bdev), spdk_json_decode_string},
547 {"name", 0, spdk_json_decode_string},
/spdk/module/bdev/passthru/
H A Dvbdev_passthru_rpc.c30 …se_bdev_name", offsetof(struct rpc_bdev_passthru_create, base_bdev_name), spdk_json_decode_string},
31 {"name", offsetof(struct rpc_bdev_passthru_create, name), spdk_json_decode_string},
81 {"name", offsetof(struct rpc_bdev_passthru_delete, name), spdk_json_decode_string},
/spdk/module/bdev/zone_block/
H A Dvbdev_zone_block_rpc.c32 {"name", offsetof(struct rpc_construct_zone_block, name), spdk_json_decode_string},
33 {"base_bdev", offsetof(struct rpc_construct_zone_block, base_bdev), spdk_json_decode_string},
85 {"name", offsetof(struct rpc_delete_zone_block, name), spdk_json_decode_string},
/spdk/module/bdev/ocf/
H A Dvbdev_ocf_rpc.c27 {"name", offsetof(struct rpc_bdev_ocf_name, name), spdk_json_decode_string},
51 {"name", offsetof(struct rpc_bdev_ocf_create, name), spdk_json_decode_string},
52 {"mode", offsetof(struct rpc_bdev_ocf_create, mode), spdk_json_decode_string},
54 …{"cache_bdev_name", offsetof(struct rpc_bdev_ocf_create, cache_bdev_name), spdk_json_decode_string
55 {"core_bdev_name", offsetof(struct rpc_bdev_ocf_create, core_bdev_name), spdk_json_decode_string},
294 {"name", offsetof(struct rpc_bdev_ocf_name, name), spdk_json_decode_string, true},
387 {"name", offsetof(struct rpc_bdev_ocf_set_cache_mode, name), spdk_json_decode_string},
388 {"mode", offsetof(struct rpc_bdev_ocf_set_cache_mode, mode), spdk_json_decode_string},
470 {"name", offsetof(struct rpc_bdev_ocf_set_seqcutoff, name), spdk_json_decode_string},
471 {"policy", offsetof(struct rpc_bdev_ocf_set_seqcutoff, policy), spdk_json_decode_string},
/spdk/module/bdev/virtio/
H A Dbdev_virtio_rpc.c60 {"name", offsetof(struct rpc_remove_virtio_dev, name), spdk_json_decode_string },
137 {"name", offsetof(struct rpc_bdev_virtio_attach_controller_ctx, name), spdk_json_decode_string },
138 …{"trtype", offsetof(struct rpc_bdev_virtio_attach_controller_ctx, trtype), spdk_json_decode_string
139 …{"traddr", offsetof(struct rpc_bdev_virtio_attach_controller_ctx, traddr), spdk_json_decode_string
140 …type", offsetof(struct rpc_bdev_virtio_attach_controller_ctx, dev_type), spdk_json_decode_string },

123