Home
last modified time | relevance | path

Searched refs:spdk_json_write_ctx (Results 1 – 25 of 165) sorted by relevance

1234567

/spdk/test/unit/lib/
H A Djson_mock.c10 DEFINE_STUB(spdk_json_write_begin, struct spdk_json_write_ctx *, (spdk_json_write_cb write_cb,
13 DEFINE_STUB(spdk_json_write_end, int, (struct spdk_json_write_ctx *w), 0);
14 DEFINE_STUB(spdk_json_write_null, int, (struct spdk_json_write_ctx *w), 0);
15 DEFINE_STUB(spdk_json_write_bool, int, (struct spdk_json_write_ctx *w, bool val), 0);
16 DEFINE_STUB(spdk_json_write_uint8, int, (struct spdk_json_write_ctx *w, uint8_t val), 0);
17 DEFINE_STUB(spdk_json_write_uint16, int, (struct spdk_json_write_ctx *w, uint16_t val), 0);
18 DEFINE_STUB(spdk_json_write_int32, int, (struct spdk_json_write_ctx *w, int32_t val), 0);
19 DEFINE_STUB(spdk_json_write_uint32, int, (struct spdk_json_write_ctx *w, uint32_t val), 0);
20 DEFINE_STUB(spdk_json_write_int64, int, (struct spdk_json_write_ctx *w, int64_t val), 0);
21 DEFINE_STUB(spdk_json_write_uint64, int, (struct spdk_json_write_ctx *w, uint64_t val), 0);
[all …]
/spdk/include/spdk/
H A Djson.h189 struct spdk_json_write_ctx;
195 struct spdk_json_write_ctx *spdk_json_write_begin(spdk_json_write_cb write_cb, void *cb_ctx,
197 int spdk_json_write_end(struct spdk_json_write_ctx *w);
198 int spdk_json_write_null(struct spdk_json_write_ctx *w);
199 int spdk_json_write_bool(struct spdk_json_write_ctx *w, bool val);
200 int spdk_json_write_uint8(struct spdk_json_write_ctx *w, uint8_t val);
201 int spdk_json_write_uint16(struct spdk_json_write_ctx *w, uint16_t val);
202 int spdk_json_write_int32(struct spdk_json_write_ctx *w, int32_t val);
203 int spdk_json_write_uint32(struct spdk_json_write_ctx *w, uint32_t val);
204 int spdk_json_write_int64(struct spdk_json_write_ctx *w, int64_t val);
[all …]
H A Djsonrpc.h164 struct spdk_json_write_ctx *spdk_jsonrpc_begin_result(struct spdk_jsonrpc_request *request);
172 void spdk_jsonrpc_end_result(struct spdk_jsonrpc_request *request, struct spdk_json_write_ctx *w);
221 struct spdk_json_write_ctx *
232 struct spdk_json_write_ctx *w);
H A Dnbd.h19 struct spdk_json_write_ctx;
74 void spdk_nbd_write_config_json(struct spdk_json_write_ctx *w);
H A Dvhost.h64 void spdk_vhost_scsi_config_json(struct spdk_json_write_ctx *w);
85 void spdk_vhost_blk_config_json(struct spdk_json_write_ctx *w);
/spdk/lib/json/
H A Djson_write.c10 struct spdk_json_write_ctx { struct
22 static int emit_buf_full(struct spdk_json_write_ctx *w, const void *data, size_t size); argument
25 fail(struct spdk_json_write_ctx *w) in fail()
32 flush_buf(struct spdk_json_write_ctx *w) in flush_buf()
46 struct spdk_json_write_ctx *
49 struct spdk_json_write_ctx *w; in spdk_json_write_begin()
69 spdk_json_write_end(struct spdk_json_write_ctx *w) in spdk_json_write_end()
91 emit(struct spdk_json_write_ctx *w, const void *data, size_t size) in emit()
107 emit_buf_full(struct spdk_json_write_ctx *w, const void *data, size_t size) in emit_buf_full()
128 emit_fmt(struct spdk_json_write_ctx *w, const void *data, size_t size) in emit_fmt()
[all …]
/spdk/test/unit/lib/json/json_write.c/
H A Djson_write_ut.c116 struct spdk_json_write_ctx *w; in test_write_literal()
134 struct spdk_json_write_ctx *w; in test_write_string_simple()
144 struct spdk_json_write_ctx *w; in test_write_string_escapes()
260 struct spdk_json_write_ctx *w; in test_write_string_utf16le()
291 struct spdk_json_write_ctx *w; in test_write_number_int32()
321 struct spdk_json_write_ctx *w; in test_write_number_uint32()
385 struct spdk_json_write_ctx *w; in test_write_number_uint128()
432 struct spdk_json_write_ctx *w; in test_write_string_number_uint128()
479 struct spdk_json_write_ctx *w; in test_write_number_int64()
509 struct spdk_json_write_ctx *w; in test_write_number_uint64()
[all …]
/spdk/lib/ftl/utils/
H A Dftl_property.h30 struct spdk_json_write_ctx *w);
36 struct spdk_json_write_ctx *w);
42 struct spdk_json_write_ctx *w);
52 struct spdk_json_write_ctx *w);
H A Dftl_property.c144 struct spdk_json_write_ctx *w) in ftl_property_dump_common_begin()
151 struct spdk_json_write_ctx *w) in ftl_property_dump_common_end()
170 struct spdk_json_write_ctx *w; in ftl_property_dump()
197 struct spdk_json_write_ctx *w) in ftl_property_dump_bool()
207 struct spdk_json_write_ctx *w) in ftl_property_dump_uint64()
217 struct spdk_json_write_ctx *w) in ftl_property_dump_uint32()
/spdk/lib/accel/
H A Daccel_internal.h19 struct spdk_json_write_ctx *w;
48 void _accel_crypto_key_dump_param(struct spdk_json_write_ctx *w, struct spdk_accel_crypto_key *key);
49 void _accel_crypto_keys_dump_param(struct spdk_json_write_ctx *w);
/spdk/lib/init/
H A Dsubsystem_rpc.c20 struct spdk_json_write_ctx *w; in rpc_framework_get_subsystems()
68 struct spdk_json_write_ctx *w; in rpc_framework_get_config()
97 struct spdk_json_write_ctx *w = ctx; in dump_pci_device()
129 struct spdk_json_write_ctx *w; in rpc_framework_get_pci_devices()
/spdk/lib/iscsi/
H A Dportal_grp.h14 struct spdk_json_write_ctx;
72 void iscsi_portal_grps_info_json(struct spdk_json_write_ctx *w);
73 void iscsi_portal_grps_config_json(struct spdk_json_write_ctx *w);
H A Dtgt_node.h19 struct spdk_json_write_ctx;
123 void iscsi_tgt_nodes_info_json(struct spdk_json_write_ctx *w);
124 void iscsi_tgt_nodes_config_json(struct spdk_json_write_ctx *w);
H A Dinit_grp.h49 void iscsi_init_grps_info_json(struct spdk_json_write_ctx *w);
50 void iscsi_init_grps_config_json(struct spdk_json_write_ctx *w);
/spdk/lib/jsonrpc/
H A Djsonrpc_server.c282 static struct spdk_json_write_ctx *
285 struct spdk_json_write_ctx *w = request->response; in begin_response()
360 struct spdk_json_write_ctx *
363 struct spdk_json_write_ctx *w = begin_response(request); in spdk_jsonrpc_begin_result()
370 spdk_jsonrpc_end_result(struct spdk_jsonrpc_request *request, struct spdk_json_write_ctx *w) in spdk_jsonrpc_end_result()
386 struct spdk_json_write_ctx *w; in spdk_jsonrpc_send_bool_response()
398 struct spdk_json_write_ctx *w = begin_response(request); in spdk_jsonrpc_send_error_response()
412 struct spdk_json_write_ctx *w = begin_response(request); in spdk_jsonrpc_send_error_response_fmt()
H A Djsonrpc_client.c164 struct spdk_json_write_ctx *
168 struct spdk_json_write_ctx *w; in spdk_jsonrpc_begin_request()
190 spdk_jsonrpc_end_request(struct spdk_jsonrpc_client_request *request, struct spdk_json_write_ctx *w) in spdk_jsonrpc_end_request()
/spdk/lib/notify/
H A Dnotify_rpc.c18 spdk_json_write_string((struct spdk_json_write_ctx *)ctx, spdk_notify_type_get_name(type)); in notify_get_types_cb()
26 struct spdk_json_write_ctx *w; in rpc_notify_get_types()
47 struct spdk_json_write_ctx *w;
/spdk/lib/keyring/
H A Dkeyring_rpc.c14 struct spdk_json_write_ctx *w = ctx; in rpc_keyring_for_each_key_cb()
25 struct spdk_json_write_ctx *w; in rpc_keyring_get_keys()
/spdk/include/spdk_internal/
H A Dinit.h11 struct spdk_json_write_ctx;
24 void (*write_config_json)(struct spdk_json_write_ctx *w);
H A Dvirtio.h97 void (*dump_json_info)(struct virtio_dev *hw, struct spdk_json_write_ctx *w);
98 void (*write_json_config)(struct virtio_dev *hw, struct spdk_json_write_ctx *w);
404 void virtio_dev_dump_json_info(struct virtio_dev *vdev, struct spdk_json_write_ctx *w);
/spdk/module/keyring/file/
H A Dkeyring.c50 struct spdk_json_write_ctx *w = ctx; in keyring_file_write_key_config()
69 keyring_file_write_config(struct spdk_json_write_ctx *w) in keyring_file_write_config()
75 keyring_file_dump_info(struct spdk_key *key, struct spdk_json_write_ctx *w) in keyring_file_dump_info()
/spdk/lib/vhost/
H A Dvhost.c217 vhost_dump_info_json(struct spdk_vhost_dev *vdev, struct spdk_json_write_ctx *w) in vhost_dump_info_json()
352 vhost_user_config_json(struct spdk_vhost_dev *vdev, struct spdk_json_write_ctx *w) in vhost_user_config_json()
375 spdk_vhost_scsi_config_json(struct spdk_json_write_ctx *w) in spdk_vhost_scsi_config_json()
394 vhost_blk_dump_config_json(struct spdk_json_write_ctx *w) in vhost_blk_dump_config_json()
414 spdk_vhost_blk_config_json(struct spdk_json_write_ctx *w) in spdk_vhost_blk_config_json()
501 struct spdk_json_write_ctx *w) in virtio_blk_transport_dump_opts()
H A Dvhost_internal.h269 void (*dump_info_json)(struct spdk_vhost_dev *vdev, struct spdk_json_write_ctx *w);
270 void (*write_config_json)(struct spdk_vhost_dev *vdev, struct spdk_json_write_ctx *w);
437 void vhost_dump_info_json(struct spdk_vhost_dev *vdev, struct spdk_json_write_ctx *w);
571 void (*dump_opts)(struct spdk_virtio_blk_transport *transport, struct spdk_json_write_ctx *w);
628 struct spdk_json_write_ctx *w);
633 void vhost_session_info_json(struct spdk_vhost_dev *vdev, struct spdk_json_write_ctx *w);
/spdk/module/bdev/nvme/
H A Dbdev_nvme.h233 void nvme_io_path_info_json(struct spdk_json_write_ctx *w, struct nvme_io_path *io_path);
278 struct spdk_json_write_ctx *w);
280 void nvme_ctrlr_info_json(struct spdk_json_write_ctx *w, struct nvme_ctrlr *nvme_ctrlr);
295 void bdev_nvme_get_discovery_info(struct spdk_json_write_ctx *w);
303 void bdev_nvme_mdns_discovery_config_json(struct spdk_json_write_ctx *w);
/spdk/module/bdev/ocf/
H A Dvbdev_ocf_rpc.c62 struct spdk_json_write_ctx *w; in construct_cb()
158 struct spdk_json_write_ctx *w; in rpc_bdev_ocf_get_stats_cmpl()
299 struct spdk_json_write_ctx *w;
306 struct spdk_json_write_ctx *w = cctx->w; in bdev_get_bdevs_fn()
336 struct spdk_json_write_ctx *w; in rpc_bdev_ocf_get_bdevs()
395 struct spdk_json_write_ctx *w; in cache_mode_cb()
597 struct spdk_json_write_ctx *w; in rpc_bdev_ocf_flush_status()

1234567