Home
last modified time | relevance | path

Searched refs:malloc (Results 1 – 25 of 56) sorted by relevance

123

/spdk/test/rpc/
H A Drpc.sh15 malloc=$($rpc bdev_malloc_create 8 512)
19 $rpc bdev_passthru_create -b "$malloc" -p Passthru0
24 $rpc bdev_malloc_delete $malloc
30 malloc=$($rpc --plugin rpc_plugin create_malloc)
34 $rpc --plugin rpc_plugin delete_malloc $malloc
54 malloc=$($rpc bdev_malloc_create 8 512)
59 $rpc bdev_malloc_delete $malloc
/spdk/test/ocf/integrity/
H A Dmallocs.conf6 local malloc malloc_devs=3
7 for (( malloc = 0; malloc < malloc_devs; malloc++ )); do
14 "name": "Malloc$malloc",
/spdk/test/unit/lib/nvme/nvme_ns_ocssd_cmd.c/
H A Dnvme_ns_ocssd_cmd_ut.c262 char *buffer = malloc(sector_size); in test_nvme_ocssd_ns_cmd_vector_read_with_md_single_entry()
263 char *metadata = malloc(md_size); in test_nvme_ocssd_ns_cmd_vector_read_with_md_single_entry()
306 char *buffer = malloc(sector_size * vector_size); in test_nvme_ocssd_ns_cmd_vector_read_with_md()
307 char *metadata = malloc(md_size * vector_size); in test_nvme_ocssd_ns_cmd_vector_read_with_md()
348 char *buffer = malloc(sector_size); in test_nvme_ocssd_ns_cmd_vector_read_single_entry()
386 char *buffer = malloc(sector_size * vector_size); in test_nvme_ocssd_ns_cmd_vector_read()
423 char *buffer = malloc(sector_size); in test_nvme_ocssd_ns_cmd_vector_write_with_md_single_entry()
424 char *metadata = malloc(md_size); in test_nvme_ocssd_ns_cmd_vector_write_with_md_single_entry()
468 char *buffer = malloc(sector_size * vector_size); in test_nvme_ocssd_ns_cmd_vector_write_with_md()
469 char *metadata = malloc(md_siz in test_nvme_ocssd_ns_cmd_vector_write_with_md()
[all...]
/spdk/lib/util/
H A Dhexlify.c39 hex = malloc((len * 2) + 1); in spdk_hexlify()
69 res = malloc(len / 2); in spdk_unhexlify()
/spdk/test/unit/lib/iscsi/param.c/
H A Dparam_ut.c205 data = malloc(len); in parse_valid_test()
300 data = malloc(len); in parse_invalid_test()
314 data = malloc(len); in parse_invalid_test()
327 data = malloc(len); in parse_invalid_test()
/spdk/test/unit/lib/nvme/nvme_ns_cmd.c/
H A Dnvme_ns_cmd_ut.c281 payload = malloc(512); in split_test()
319 payload = malloc(256 * 1024); in split_test2()
376 payload = malloc(256 * 1024); in split_test3()
435 payload = malloc(256 * 1024); in split_test4()
509 payload = malloc(128 * 1024); in test_cmd_child_request()
986 buffer = malloc((block_size + md_size) * 384); in test_nvme_ns_cmd_comparev_with_md()
988 metadata = malloc(md_size * 384); in test_nvme_ns_cmd_comparev_with_md()
1238 payload = malloc(256 * 1024); in test_nvme_ns_cmd_reservation_release()
1291 payload = malloc(sizeof(struct spdk_nvme_reservation_register_data)); in test_nvme_ns_cmd_reservation_report()
1329 payload = malloc(sizeo in test_nvme_ns_cmd_write_with_md()
[all...]
/spdk/module/bdev/nvme/
H A Dnvme_rpc.c68 resp->cpl_text = malloc(spdk_base64_get_encoded_strlen(sizeof(*cpl)) + 1); in rpc_bdev_nvme_send_cmd_resp_construct()
76 resp->data_text = malloc(spdk_base64_get_encoded_strlen(req->data_len) + 1); in rpc_bdev_nvme_send_cmd_resp_construct()
83 resp->md_text = malloc(spdk_base64_get_encoded_strlen(req->md_len) + 1); in rpc_bdev_nvme_send_cmd_resp_construct()
246 cmdbuf = malloc(raw_len); in rpc_decode_cmdbuf()
/spdk/test/spdkcli/match_files/
H A Dspdkcli_raid.test.match7 o- malloc ............................................................................................................. [Bdevs: 2]
H A Dspdkcli_virtio_pci.test.match7 o- malloc ............................................................................................................. [Bdevs: 2]
H A Dspdkcli_vhost.test.match14 | o- malloc ........................................................................................................... [Bdevs: 6]
/spdk/test/nvme/reset/
H A Dreset.c80 entry = malloc(sizeof(struct ns_entry)); in register_ns()
82 perror("ns_entry malloc"); in register_ns()
105 struct ctrlr_entry *entry = malloc(sizeof(struct ctrlr_entry)); in register_ctrlr()
108 perror("ctrlr_entry malloc"); in register_ctrlr()
464 worker = malloc(sizeof(struct worker_thread)); in register_worker()
466 perror("worker_thread malloc"); in register_worker()
556 ns_ctx = malloc(sizeof(struct ns_worker_ctx)); in associate_workers_with_ns()
/spdk/module/bdev/
H A DMakefile9 DIRS-y += delay error gpt lvol malloc null nvme passthru raid split zone_block
/spdk/lib/jsonrpc/
H A Djsonrpc_server.c199 request->recv_buffer = malloc(len + 1); in jsonrpc_parse_request()
213 request->values = malloc(request->values_cnt * sizeof(request->values[0])); in jsonrpc_parse_request()
226 request->send_buf = malloc(request->send_buf_size + 1); in jsonrpc_parse_request()
H A Djsonrpc_client_tcp.c83 client->recv_buf = malloc(SPDK_JSONRPC_SEND_BUF_SIZE_INIT); in jsonrpc_client_recv()
331 request->send_buf = malloc(SPDK_JSONRPC_SEND_BUF_SIZE_INIT); in spdk_jsonrpc_client_create_request()
/spdk/lib/iscsi/
H A Dparam.c218 key_copy = malloc(key_len + 1); in iscsi_parse_param()
536 val = malloc(ISCSI_TEXT_MAX_VAL_LEN + 1); in iscsi_special_param_construction()
940 valid_list = malloc(ISCSI_TEXT_MAX_VAL_LEN + 1); in iscsi_negotiate_params()
946 in_val = malloc(ISCSI_TEXT_MAX_VAL_LEN + 1); in iscsi_negotiate_params()
953 cur_val = malloc(ISCSI_TEXT_MAX_VAL_LEN + 1); in iscsi_negotiate_params()
/spdk/test/vhost/readonly/
H A Dreadonly.sh76 if [[ $disk =~ .*malloc.* ]]; then
/spdk/test/nvme/startup/
H A Dstartup.c46 entry = malloc(sizeof(struct ctrlr_entry)); in attach_cb()
48 perror("ctrlr_entry malloc"); in attach_cb()
/spdk/test/unit/lib/util/xor.c/
H A Dxor_ut.c40 ref = malloc(BUF_SIZE); in test_xor_gen()
/spdk/test/app/stub/
H A Dstub.c76 entry = malloc(sizeof(struct ctrlr_entry)); in attach_cb()
/spdk/test/env/vtophys/
H A Dvtophys.c27 /* Verify vtophys doesn't work on regular malloc memory */ in vtophys_malloc_test()
29 p = malloc(size); in vtophys_malloc_test()
/spdk/docker/
H A DREADME.md50 …: Contains SPDK NVMe-oF target exposing single subsystem to `proxy-container` based on malloc bdev.
98 - storage-target: Contains SPDK NVMe-oF target exposing single subsystem based on malloc bdev.
/spdk/test/common/lib/
H A Dtest_env.c141 return malloc(len);
151 return malloc(len);
/spdk/lib/conf/
H A Dconf.c539 dst = p = malloc(LIB_MAX_TMPBUF); in fgets_line()
638 q = malloc(n + n2 + 1); in spdk_conf_read()
/spdk/doc/
H A Dvhost.md105 Linux AIO, malloc ramdisk and Ceph RBD. Refer to @ref bdev for
108 This guide will use a malloc bdev (ramdisk) named Malloc0. The following RPC
109 will create a 64MB malloc bdev with 512-byte block size.
180 SPDK malloc block device by specifying bootindex=0 for the boot image.
/spdk/lib/ftl/
H A Dftl_debug.c140 ctx = malloc(sizeof(*ctx) + size * sizeof(*ctx->l2p_pin_ctx)); in ftl_band_validate_md()

123