| /spdk/test/unit/lib/json/json_util.c/ |
| H A D | json_util_ut.c | 18 v.start = buf; \ 54 v.start = "test"; in test_strequal() 68 v.start = "test\0hello"; in test_strequal() 204 object[3].start = "first"; in test_decode_object() 209 object[3].start = "second"; in test_decode_object() 213 object[2].start = "HELO"; in test_decode_object() 217 object[2].start = "HELLO"; in test_decode_object() 270 values[1].start = "1234"; in test_decode_array() 273 values[2].start = "5678"; in test_decode_array() 290 values[2].start in test_decode_array() [all...] |
| /spdk/scripts/ |
| H A D | get-pmr | 23 local start end type 25 while IFS="- " read -r start end type; do 26 start=0x$start end=0x$end 27 if ((start == addr)) && [[ $type == *"$pci"* ]]; then 29 "$start" "$end" $((end - start + 1))
|
| H A D | sma.py | 105 start = time.monotonic() 114 int(time.monotonic() - start))) 116 if time.monotonic() > start + timeout: 131 agent.start()
|
| H A D | histogram.py | 44 start = last_bucket * 1000 * 1000 / tsc_rate variable 48 print("%9.3f - %9.3f: %9.4f%% (%9u)" % (start, end, so_far_pct, count))
|
| H A D | spdx.sh | 71 start=$(cat -n $1 | grep "Redistribution and use" | awk '{print $1}') 73 if [ -z $start ] || [ -z $end ]; then 76 count=$((end - start + 1)) 77 sha=$(sed -n "${start},+${count}p" $1 | sha1sum | awk '{print $1}')
|
| H A D | rxe_cfg_small.sh | 65 start() { function 296 start) 297 start
|
| /spdk/module/bdev/raid/ |
| H A D | concat.c | 17 uint64_t start; member 82 if (block_range[i].start > raid_io->offset_blocks) { in concat_submit_rw_request() 88 assert(raid_io->offset_blocks >= block_range[pd_idx].start); in concat_submit_rw_request() 89 pd_lba = raid_io->offset_blocks - block_range[pd_idx].start; in concat_submit_rw_request() 194 if (offset_blocks >= block_range[i].start + block_range[i].length) { in concat_submit_null_payload_request() 205 assert(offset_blocks == block_range[i].start); in concat_submit_null_payload_request() 207 pd_lba = offset_blocks - block_range[i].start; in concat_submit_null_payload_request() 225 assert(offset_blocks >= block_range[i].start); in concat_submit_null_payload_request() 226 assert(offset_blocks < block_range[i].start + block_range[i].length); in concat_submit_null_payload_request() 227 pd_lba = offset_blocks - block_range[i].start; in concat_submit_null_payload_request() [all …]
|
| /spdk/test/app/fuzz/vhost_fuzz/ |
| H A D | vhost_fuzz.c | 444 char *val_pointer = val->start; in fuzz_json_decode_hex_uint64() 512 if (!strncmp(prev_value->start, "req_iov", prev_value->len)) { in parse_vhost_blk_cmds() 514 } else if (!strncmp(prev_value->start, "data_iov", prev_value->len)) { in parse_vhost_blk_cmds() 516 } else if (!strncmp(prev_value->start, "resp_iov", prev_value->len)) { in parse_vhost_blk_cmds() 518 } else if (!strncmp(prev_value->start, "type", prev_value->len)) { in parse_vhost_blk_cmds() 524 } else if (!strncmp(prev_value->start, "ioprio", prev_value->len)) { in parse_vhost_blk_cmds() 530 } else if (!strncmp(prev_value->start, "sector", prev_value->len)) { in parse_vhost_blk_cmds() 540 (char *)prev_value->start, value->len, (char *)value->start); in parse_vhost_blk_cmds() 564 if (!strncmp(prev_value->start, "req_iov", prev_value->len)) { in parse_vhost_scsi_cmds() 566 } else if (!strncmp(prev_value->start, "data_iov", prev_value->len)) { in parse_vhost_scsi_cmds() [all …]
|
| /spdk/doc/ |
| H A D | usdt.md | 73 2111.253560: nqn.2014-08.org.nvmexpress.discovery change state from INACTIVE to ACTIVE start 74 2111.260278: nqn.2014-08.org.nvmexpress.discovery on thread 2 state to ACTIVE start 78 2111.271573: nqn.2014-08.org.nvmexpress.discovery on thread 3 state to ACTIVE start 80 2189.921492: nqn.2016-06.io.spdk:cnode1 change state from INACTIVE to ACTIVE start 81 2189.952508: nqn.2016-06.io.spdk:cnode1 on thread 2 state to ACTIVE start 84 2189.969058: nqn.2016-06.io.spdk:cnode1 on thread 3 state to ACTIVE start 86 2197.859104: nqn.2016-06.io.spdk:cnode1 change state from ACTIVE to PAUSED start 87 2197.879199: nqn.2016-06.io.spdk:cnode1 on thread 2 state to PAUSED start 90 2197.908939: nqn.2016-06.io.spdk:cnode1 change state from PAUSED to ACTIVE start 91 2197.912644: nqn.2016-06.io.spdk:cnode1 on thread 2 state to ACTIVE start [all …]
|
| /spdk/lib/json/ |
| H A D | json_parse.c | 235 json_valid_number(uint8_t *start, uint8_t *buf_end) in json_valid_number() argument 237 uint8_t *p = start; in json_valid_number() 321 return p - start; in json_valid_number() 335 json_valid_comment(const uint8_t *start, const uint8_t *buf_end) in json_valid_comment() argument 337 const uint8_t *p = start; in json_valid_comment() 361 return p - start + 2; in json_valid_comment() 369 return p - start; in json_valid_comment() 400 match_literal(const uint8_t *start, const uint8_t *end, const uint8_t *literal, size_t len) in match_literal() argument 402 assert(end >= start); in match_literal() 403 if ((size_t)(end - start) < len) { in match_literal() [all …]
|
| H A D | json_util.c | 41 return memcmp(val->start, str, len) == 0; in spdk_json_strequal() 56 if (memchr(val->start, '\0', len)) { in spdk_json_strdup() 66 memcpy(s, val->start, len); in spdk_json_strdup() 104 iter = val->start; in json_number_split() 343 SPDK_JSON_DEBUG("Decoder not found for key '%.*s'\n", name->len, (char *)name->start); in _json_decode_object() 366 .start = "", in spdk_json_free_object()
|
| /spdk/test/app/fuzz/nvme_fuzz/ |
| H A D | nvme_fuzz.c | 102 if (!strncmp(value->start, "opc", value->len)) { in parse_nvme_cmd_obj() 109 } else if (!strncmp(value->start, "fuse", value->len)) { in parse_nvme_cmd_obj() 116 } else if (!strncmp(value->start, "rsvd1", value->len)) { in parse_nvme_cmd_obj() 123 } else if (!strncmp(value->start, "psdt", value->len)) { in parse_nvme_cmd_obj() 130 } else if (!strncmp(value->start, "cid", value->len)) { in parse_nvme_cmd_obj() 137 } else if (!strncmp(value->start, "nsid", value->len)) { in parse_nvme_cmd_obj() 144 } else if (!strncmp(value->start, "rsvd2", value->len)) { in parse_nvme_cmd_obj() 151 } else if (!strncmp(value->start, "rsvd3", value->len)) { in parse_nvme_cmd_obj() 158 } else if (!strncmp(value->start, "mptr", value->len)) { in parse_nvme_cmd_obj() 165 } else if (!strncmp(value->start, "dptr", value->len)) { in parse_nvme_cmd_obj() [all …]
|
| /spdk/include/spdk_internal/ |
| H A D | utf.h | 28 utf8_valid(const uint8_t *start, const uint8_t *end) in utf8_valid() argument 30 const uint8_t *p = start; in utf8_valid() 230 utf16le_valid(const uint16_t *start, const uint16_t *end) in utf16le_valid() argument 232 const uint16_t *p = start; in utf16le_valid()
|
| /spdk/test/vhost/vhost_boot/ |
| H A D | vhost_boot.sh | 109 while IFS=":" read -r id start end _ _ pt _; do 110 start=${start%s} end=${end%s} 111 [[ $id == /dev/sda ]] && drive_size=$start && pt_type=$pt
|
| /spdk/test/unit/lib/jsonrpc/jsonrpc_server.c/ |
| H A D | jsonrpc_server_ut.c | 52 CU_ASSERT(g_request->id && memcmp(g_request->id->start, num, sizeof(num) - 1) == 0) 57 CU_ASSERT(g_request->id && memcmp(g_request->id->start, num, strlen(num) - 1) == 0)) 92 CU_ASSERT(memcmp(g_cur_param->start, num, sizeof(num) - 1) == 0); \ 98 CU_ASSERT(g_cur_param && memcmp(g_cur_param->start, str, sizeof(str) - 1) == 0); \ 104 CU_ASSERT(memcmp(g_cur_param->start, str, g_params->len) == 0); \
|
| /spdk/examples/util/zipf/ |
| H A D | zipf.c | 18 print_bucket(void *ctx, uint64_t start, uint64_t end, uint64_t count, in print_bucket() argument 29 snprintf(range, sizeof(range), "[%ju, %ju)", start, end); in print_bucket()
|
| /spdk/lib/util/ |
| H A D | string.c | 209 const uint8_t *start; in spdk_strlen_pad() local 214 start = (const uint8_t *)str; in spdk_strlen_pad() 220 iter = start + size - 1; in spdk_strlen_pad() 223 return iter - start + 1; in spdk_strlen_pad() 226 if (iter == start) { in spdk_strlen_pad()
|
| /spdk/lib/env_dpdk/22.07/ |
| H A D | rte_bus.h | 92 (*rte_bus_find_device_t)(const struct rte_device *start, rte_dev_cmp_t cmp, 367 struct rte_bus *rte_bus_find(const struct rte_bus *start, rte_bus_cmp_t cmp,
|
| /spdk/lib/trace_parser/ |
| H A D | trace.cpp | 50 * offset needs to be adjusted to the start of the spdk_trace_entry.args array in argument_context() 59 std::map<uint64_t, uint64_t> start; 182 stats->start[entry->object_id] = entry->tsc; in next_entry() 186 if (spdk_likely(stats->start.find(entry->object_id) != stats->start.end())) { in next_entry() 188 pe->object_start = stats->start[entry->object_id]; in next_entry() 58 std::map<uint64_t, uint64_t> start; global() member
|
| /spdk/lib/init/ |
| H A D | json_config.c | 340 (char *)ctx->subsystem_name->start); in app_json_config_load_subsystem_config_entry() 408 params_len = params_end->start - cfg.params->start + 1; in app_json_config_load_subsystem_config_entry() 410 SPDK_DEBUG_APP_CFG("\tparams: %.*s\n", (int)params_len, (char *)cfg.params->start); in app_json_config_load_subsystem_config_entry() 432 spdk_json_write_val_raw(w, cfg.params->start, params_len); in app_json_config_load_subsystem_config_entry() 519 "%.*s", ctx->subsystem_name->len, (char *)ctx->subsystem_name->start); in app_json_config_load_subsystem()
|
| /spdk/lib/ftl/mngt/ |
| H A D | ftl_mngt.c | 14 uint64_t start; member 429 duration = step->action.stop - step->action.start; in trace_step() 505 if (!step->action.start) { in action_msg() 506 step->action.start = spdk_get_ticks(); in action_msg() 568 if (!step->rollback.start) { in rollback_msg() 569 step->rollback.start = spdk_get_ticks(); in rollback_msg()
|
| /spdk/test/iscsi_tgt/calsoft/ |
| H A D | calsoft.py | 100 thread_obj.start() 109 thread_obj.start()
|
| /spdk/test/unit/include/spdk/histogram_data.h/ |
| H A D | histogram_ut.c | 25 check_values(void *ctx, uint64_t start, uint64_t end, uint64_t count, in check_values() argument 44 CU_ASSERT(**values >= start); in check_values()
|
| /spdk/lib/vmd/ |
| H A D | vmd.c | 109 assert(region->addr >= hp->bar.start && region->addr < hp->bar.start + hp->bar.size); in vmd_hotplug_free_region() 335 dev->bar[i].start = vmd_get_base_addr(dev, i, dev->bar[i].size); in vmd_assign_base_addrs() 337 dev->bar[i].start = vmd_allocate_base_addr(vmd, dev, dev->bar[i].size); in vmd_assign_base_addrs() 340 dev->header->zero.BAR[i] = (uint32_t)dev->bar[i].start; in vmd_assign_base_addrs() 342 if (!dev->bar[i].start) { in vmd_assign_base_addrs() 349 dev->bar[i].vaddr = ((uint64_t)vmd->mem_vaddr + (dev->bar[i].start - vmd->membar)); in vmd_assign_base_addrs() 361 dev->header->zero.BAR[i] = (uint32_t)(dev->bar[i].start >> PCI_DWORD_SHIFT); in vmd_assign_base_addrs() 542 hp->bar.start = vmd_allocate_base_addr(vmd, NULL, hp->bar.size); in vmd_init_hotplug() 543 bus->self->header->one.mem_base = BRIDGE_BASEREG(hp->bar.start); in vmd_init_hotplug() [all...] |
| /spdk/python/spdk/sma/ |
| H A D | sma.py | 37 def start(self): member in StorageManagementAgent 38 self._volume_mgr.start() 39 self._server.start()
|