/spdk/test/app/fuzz/vhost_fuzz/ |
H A D | vhost_fuzz_rpc.c | 23 {"is_blk", offsetof(struct rpc_fuzz_vhost_dev_create, is_blk), spdk_json_decode_bool, true}, 24 …uffer", offsetof(struct rpc_fuzz_vhost_dev_create, use_bogus_buffer), spdk_json_decode_bool, true}, 25 …uffer", offsetof(struct rpc_fuzz_vhost_dev_create, use_valid_buffer), spdk_json_decode_bool, true}, 26 {"valid_lun", offsetof(struct rpc_fuzz_vhost_dev_create, valid_lun), spdk_json_decode_bool, true}, 27 …{"test_scsi_tmf", offsetof(struct rpc_fuzz_vhost_dev_create, test_scsi_tmf), spdk_json_decode_bool…
|
/spdk/lib/sock/ |
H A D | sock_rpc.c | 85 spdk_json_decode_bool, true 89 spdk_json_decode_bool, true 97 spdk_json_decode_bool, true 101 spdk_json_decode_bool, true 113 spdk_json_decode_bool, true
|
/spdk/lib/iscsi/ |
H A D | iscsi_rpc.c | 390 {"disable_chap", offsetof(struct rpc_target_node, disable_chap), spdk_json_decode_bool, true}, 391 {"require_chap", offsetof(struct rpc_target_node, require_chap), spdk_json_decode_bool, true}, 392 {"mutual_chap", offsetof(struct rpc_target_node, mutual_chap), spdk_json_decode_bool, true}, 394 {"header_digest", offsetof(struct rpc_target_node, header_digest), spdk_json_decode_bool, true}, 395 {"data_digest", offsetof(struct rpc_target_node, data_digest), spdk_json_decode_bool, true}, 727 {"private", offsetof(struct rpc_portal_group, is_private), spdk_json_decode_bool, true}, 728 {"wait", offsetof(struct rpc_portal_group, wait), spdk_json_decode_bool, true}, 880 …{"disable_chap", offsetof(struct rpc_portal_group_auth, disable_chap), spdk_json_decode_bool, true… 881 …{"require_chap", offsetof(struct rpc_portal_group_auth, require_chap), spdk_json_decode_bool, true… 882 {"mutual_chap", offsetof(struct rpc_portal_group_auth, mutual_chap), spdk_json_decode_bool, true}, [all …]
|
/spdk/module/bdev/malloc/ |
H A D | bdev_malloc_rpc.c | 26 {"md_interleave", offsetof(struct malloc_bdev_opts, md_interleave), spdk_json_decode_bool, true}, 28 {"dif_is_head_of_md", offsetof(struct malloc_bdev_opts, dif_is_head_of_md), spdk_json_decode_bool, true},
|
/spdk/module/bdev/aio/ |
H A D | bdev_aio_rpc.c | 38 {"readonly", offsetof(struct rpc_construct_aio, readonly), spdk_json_decode_bool, true}, 39 {"fallocate", offsetof(struct rpc_construct_aio, fallocate), spdk_json_decode_bool, true},
|
/spdk/module/keyring/linux/ |
H A D | keyring_rpc.c | 11 {"enable", offsetof(struct keyring_linux_opts, enable), spdk_json_decode_bool, true},
|
/spdk/module/accel/dsa/ |
H A D | accel_dsa_rpc.c | 20 …ode", offsetof(struct rpc_dsa_scan_accel_module, config_kernel_mode), spdk_json_decode_bool, true},
|
/spdk/lib/json/ |
H A D | spdk_json.map | 9 spdk_json_decode_bool;
|
H A D | json_util.c | 431 spdk_json_decode_bool(const struct spdk_json_val *val, void *out) in spdk_json_decode_bool() function
|
/spdk/module/vfu_device/ |
H A D | vfu_virtio_rpc.c | 78 {"packed_ring", offsetof(struct rpc_vfu_virtio_create_blk, packed_ring), spdk_json_decode_bool, true}, 241 {"packed_ring", offsetof(struct rpc_vfu_virtio_create_scsi, packed_ring), spdk_json_decode_bool, true}, 309 {"packed_ring", offsetof(struct rpc_vfu_virtio_create_fs, packed_ring), spdk_json_decode_bool, true},
|
/spdk/module/bdev/xnvme/ |
H A D | bdev_xnvme_rpc.c | 35 {"conserve_cpu", offsetof(struct rpc_create_xnvme, conserve_cpu), spdk_json_decode_bool, true},
|
/spdk/test/rpc_client/ |
H A D | rpc_client_test.c | 158 if (spdk_json_decode_bool(json_resp->result, &res) != 0 || res != true) { in spdk_jsonrpc_client_check_null_params_method() 282 if (spdk_json_decode_bool(json_resp->result, &res) != 0 || res != true) { in spdk_jsonrpc_client_hook_conn_close()
|
/spdk/module/bdev/ftl/ |
H A D | bdev_ftl_rpc.c | 55 spdk_json_decode_bool, true 147 spdk_json_decode_bool, true in rpc_bdev_ftl_delete()
|
/spdk/module/bdev/nvme/ |
H A D | bdev_nvme_rpc.c | 123 {"delay_cmd_submit", offsetof(struct spdk_bdev_nvme_opts, delay_cmd_submit), spdk_json_decode_bool, true}, 130 {"disable_auto_failback", offsetof(struct spdk_bdev_nvme_opts, disable_auto_failback), spdk_json_decode_bool, true}, 131 {"generate_uuids", offsetof(struct spdk_bdev_nvme_opts, generate_uuids), spdk_json_decode_bool, true}, 133 {"nvme_error_stat", offsetof(struct spdk_bdev_nvme_opts, nvme_error_stat), spdk_json_decode_bool, true}, 134 {"io_path_stat", offsetof(struct spdk_bdev_nvme_opts, io_path_stat), spdk_json_decode_bool, true}, 135 {"allow_accel_sequence", offsetof(struct spdk_bdev_nvme_opts, allow_accel_sequence), spdk_json_decode_bool, true}, 141 {"rdma_umr_per_io", offsetof(struct spdk_bdev_nvme_opts, rdma_umr_per_io), spdk_json_decode_bool, true}, 182 {"enable", offsetof(struct rpc_bdev_nvme_hotplug, enabled), spdk_json_decode_bool, false}, 271 rc = spdk_json_decode_bool(val, &reftag); in bdev_nvme_decode_reftag() 286 rc = spdk_json_decode_bool(va in bdev_nvme_decode_guard() [all...] |
/spdk/test/unit/lib/json/json_util.c/ |
H A D | json_util_ut.c | 172 {"third", offsetof(struct my_object, my_bool), spdk_json_decode_bool, false}, in test_decode_object() 173 {"fourth", offsetof(struct my_object, my_bool), spdk_json_decode_bool, true}, in test_decode_object() 335 CU_ASSERT(spdk_json_decode_bool(&v, &b) == 0); in test_decode_bool() 341 CU_ASSERT(spdk_json_decode_bool(&v, &b) == 0); in test_decode_bool() 346 CU_ASSERT(spdk_json_decode_bool(&v, &b) != 0); in test_decode_bool()
|
/spdk/lib/rpc/ |
H A D | rpc.c | 432 {"current", offsetof(struct rpc_get_methods, current), spdk_json_decode_bool, true}, 433 …{"include_aliases", offsetof(struct rpc_get_methods, include_aliases), spdk_json_decode_bool, true…
|
/spdk/lib/nvmf/ |
H A D | nvmf_rpc.c | 342 {"allow_any_host", offsetof(struct rpc_subsystem_create, allow_any_host), spdk_json_decode_bool, true}, 343 {"ana_reporting", offsetof(struct rpc_subsystem_create, ana_reporting), spdk_json_decode_bool, true}, 348 {"passthrough", offsetof(struct rpc_subsystem_create, passthrough), spdk_json_decode_bool, true}, 650 {"secure_channel", offsetof(struct nvmf_rpc_listener_ctx, listener_opts.secure_channel), spdk_json_decode_bool, true}, 1032 {"secure_channel", offsetof(struct nvmf_rpc_referral_ctx, secure_channel), spdk_json_decode_bool, true}, in rpc_nvmf_subsystem_remove_listener() 1391 {"no_auto_visible", offsetof(struct nvmf_rpc_ns_params, no_auto_visible), spdk_json_decode_bool, true}, in rpc_nvmf_subsystem_listener_set_ana_state() 1392 {"hide_metadata", offsetof(struct nvmf_rpc_ns_params, hide_metadata), spdk_json_decode_bool, true}, in rpc_nvmf_subsystem_listener_set_ana_state() 2203 {"allow_any_host", offsetof(struct nvmf_rpc_host_ctx, allow_any_host), spdk_json_decode_bool}, in rpc_nvmf_create_target() 2503 spdk_json_decode_bool, true in rpc_nvmf_create_transport() 2511 spdk_json_decode_bool, tru in rpc_nvmf_create_transport() [all...] |
/spdk/module/bdev/null/ |
H A D | bdev_null_rpc.c | 28 {"dif_is_head_of_md", offsetof(struct null_bdev_opts, dif_is_head_of_md), spdk_json_decode_bool, true}, in free_rpc_construct_null()
|
/spdk/module/event/subsystems/nvmf/ |
H A D | nvmf_rpc.c | 48 {"identify_ctrlr", offsetof(struct spdk_nvmf_admin_passthru_conf, identify_ctrlr), spdk_json_decode_bool}
|
/spdk/lib/event/ |
H A D | log_rpc.c | 280 {"enabled", offsetof(struct rpc_log_enable_timestamps, enabled), spdk_json_decode_bool}, in rpc_log_get_flags()
|
/spdk/include/spdk/ |
H A D | json.h | 142 int spdk_json_decode_bool(const struct spdk_json_val *val, void *out);
|
/spdk/module/bdev/virtio/ |
H A D | bdev_virtio_rpc.c | 25 {"enable", offsetof(struct rpc_bdev_virtio_blk_hotplug, enabled), spdk_json_decode_bool, false},
|
/spdk/test/unit/lib/rpc/rpc.c/ |
H A D | rpc_ut.c | 26 DEFINE_STUB(spdk_json_decode_bool, int, (const struct spdk_json_val *val, void *out), 0);
|
/spdk/module/bdev/raid/ |
H A D | bdev_raid_rpc.c | 186 {"superblock", offsetof(struct rpc_bdev_raid_create, superblock_enabled), spdk_json_decode_bool, true},
|
/spdk/lib/vhost/ |
H A D | vhost_rpc.c | 34 {"delay", offsetof(struct rpc_vhost_scsi_ctrlr, delay), spdk_json_decode_bool, true},
|