| /spdk/test/rpc/ |
| H A D | rpc.sh | 15 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 D | mallocs.conf | 6 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 D | nvme_ns_ocssd_cmd_ut.c | 262 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 D | hexlify.c | 39 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 D | param_ut.c | 205 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 D | nvme_ns_cmd_ut.c | 281 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 D | nvme_rpc.c | 68 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 D | spdkcli_raid.test.match | 7 o- malloc ............................................................................................................. [Bdevs: 2]
|
| H A D | spdkcli_virtio_pci.test.match | 7 o- malloc ............................................................................................................. [Bdevs: 2]
|
| H A D | spdkcli_vhost.test.match | 14 | o- malloc ........................................................................................................... [Bdevs: 6]
|
| /spdk/test/nvme/reset/ |
| H A D | reset.c | 80 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 D | Makefile | 9 DIRS-y += delay error gpt lvol malloc null nvme passthru raid split zone_block
|
| /spdk/lib/jsonrpc/ |
| H A D | jsonrpc_server.c | 199 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 D | jsonrpc_client_tcp.c | 83 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 D | param.c | 218 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 D | readonly.sh | 76 if [[ $disk =~ .*malloc.* ]]; then
|
| /spdk/test/nvme/startup/ |
| H A D | startup.c | 46 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 D | xor_ut.c | 40 ref = malloc(BUF_SIZE); in test_xor_gen()
|
| /spdk/test/app/stub/ |
| H A D | stub.c | 76 entry = malloc(sizeof(struct ctrlr_entry)); in attach_cb()
|
| /spdk/test/env/vtophys/ |
| H A D | vtophys.c | 27 /* 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 D | README.md | 50 …: 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 D | test_env.c | 141 return malloc(len); 151 return malloc(len);
|
| /spdk/lib/conf/ |
| H A D | conf.c | 539 dst = p = malloc(LIB_MAX_TMPBUF); in fgets_line() 638 q = malloc(n + n2 + 1); in spdk_conf_read()
|
| /spdk/doc/ |
| H A D | vhost.md | 105 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 D | ftl_debug.c | 140 ctx = malloc(sizeof(*ctx) + size * sizeof(*ctx->l2p_pin_ctx)); in ftl_band_validate_md()
|