Home
last modified time | relevance | path

Searched refs:total (Results 1 – 25 of 33) sorted by relevance

12

/spdk/lib/log/
H A Dlog.c272 size_t total; in spdk_log_dump()
278 total = 0;
281 snprintf(tmpbuf + total, sizeof tmpbuf - total,
285 total = 0;
288 total += snprintf(tmpbuf + total, sizeof tmpbuf - total,
292 total += snprintf(tmpbuf + total, sizeo
228 size_t total; fdump() local
[all...]
/spdk/lib/iscsi/
H A Dparam.c527 int alloc_len, int total) in iscsi_special_param_construction() argument
552 if (alloc_len - total < 1) { in iscsi_special_param_construction()
561 len = snprintf((char *)data + total, alloc_len - total, in iscsi_special_param_construction()
564 total += len + 1; in iscsi_special_param_construction()
569 if (alloc_len - total < 1) { in iscsi_special_param_construction()
599 len = snprintf((char *)data + total, alloc_len - total, in iscsi_special_param_construction()
601 total += len + 1; in iscsi_special_param_construction()
605 return total; in iscsi_special_param_construction()
616 char *data, int alloc_len, int total) in iscsi_construct_data_from_param() argument
622 if (alloc_len - total < 1) { in iscsi_construct_data_from_param()
[all …]
H A Dtgt_node.c276 iscsi_copy_str(char *data, int *total, int alloc_len, in iscsi_copy_str() argument
283 if (alloc_len - *total < 1) { in iscsi_copy_str()
288 len = spdk_min(alloc_len - *total, expected_size - *previous_completed_len); in iscsi_copy_str()
289 memcpy((char *)data + *total, src + *previous_completed_len, len); in iscsi_copy_str()
290 *total += len; in iscsi_copy_str()
302 uint8_t *data, int alloc_len, int total, in iscsi_send_tgt_portals() argument
352 *no_buf_space = iscsi_copy_str(data, &total, alloc_len, previous_completed_len, in iscsi_send_tgt_portals()
360 return total; in iscsi_send_tgt_portals()
368 int total; in iscsi_send_tgts() local
380 total = data_len; in iscsi_send_tgts()
[all …]
H A Discsi.c112 size_t total = 0; in bin2hex() local
118 buf[total] = '0'; in bin2hex()
119 total++; in bin2hex()
120 buf[total] = 'x'; in bin2hex()
121 total++; in bin2hex()
122 buf[total] = '\0'; in bin2hex()
125 if (total + 3 > len) { in bin2hex()
126 buf[total] = '\0'; in bin2hex()
129 buf[total] = digits[(data[idx] >> 4) & 0x0fU]; in bin2hex()
130 total in bin2hex()
144 size_t total = 0; hex2bin() local
731 int total; iscsi_append_text() local
785 int total; iscsi_auth_params() local
[all...]
/spdk/test/unit/lib/iscsi/param.c/
H A Dparam_ut.c42 int total, len; in burst_length_param_negotiation() local
44 total = 0; in burst_length_param_negotiation()
85 len = snprintf(data + total, 8192 - total, "%s=%d", in burst_length_param_negotiation()
87 total += len + 1; in burst_length_param_negotiation()
89 len = snprintf(data + total, 8192 - total, "%s=%d", in burst_length_param_negotiation()
91 total += len + 1; in burst_length_param_negotiation()
93 len = snprintf(data + total, 8192 - total, "%s=%d", in burst_length_param_negotiation()
95 total += len + 1; in burst_length_param_negotiation()
98 total++; in burst_length_param_negotiation()
101 rc = iscsi_parse_params(params_p, data, total, false, NULL); in burst_length_param_negotiation()
/spdk/scripts/
H A Dhistogram.py24 total = 1 variable
29 total += int.from_bytes(histogram[index:index + 8], 'little')
46 so_far_pct = so_far * 100.0 / total
/spdk/lib/conf/
H A Dconf.c537 size_t total, len; in fgets_line() local
545 total = 0; in fgets_line()
549 total += len; in fgets_line()
550 if (len + 1 < LIB_MAX_TMPBUF || dst[total - 1] == '\n') { in fgets_line()
551 dst2 = realloc(dst, total + 1); in fgets_line()
560 dst2 = realloc(dst, total + LIB_MAX_TMPBUF); in fgets_line()
568 p = dst + total; in fgets_line()
571 if (feof(fp) && total != 0) { in fgets_line()
572 dst2 = realloc(dst, total + 2); in fgets_line()
580 dst[total] = '\n'; in fgets_line()
[all …]
/spdk/test/vhost/
H A Dirqs.sh113 local _counters counters counter delta total
127 _counters=("${counters[@]}") total=0
134 : $((total += delta))
137 _counters+=("==$total")
139 if [[ -n $SHOW_ALL_IRQS ]] || ((total > 0)); then
/spdk/include/spdk/
H A Dhistogram_data.h151 uint64_t total, uint64_t so_far);
157 uint64_t i, j, count, so_far, total; in spdk_histogram_data_iterate() local
160 total = 0; in spdk_histogram_data_iterate()
164 total += __spdk_histogram_get_count(histogram, i, j); in spdk_histogram_data_iterate()
177 fn(ctx, last_bucket, bucket, count, total, so_far); in spdk_histogram_data_iterate()
/spdk/examples/util/zipf/
H A Dzipf.c19 uint64_t total, uint64_t so_far) in print_bucket() argument
28 so_far_pct = (double)so_far * 100 / total; in print_bucket()
/spdk/scripts/perf/pm/
H A Dcollect-bmc-pm393 local sensor reading readings avg total
404 total=0
406 total=$(calc "$total + $reading")
408 avg=$(calc "$total / ${#readings[@]}")
/spdk/test/unit/lib/json/json_write.c/
H A Djson_write_ut.c348 unsigned __int128 total; in test_generate_string_uint128() local
353 total = ((unsigned __int128)high << 64) + (unsigned __int128)low; in test_generate_string_uint128()
354 while (total) { in test_generate_string_uint128()
356 seg = total % 1000000000000000; in test_generate_string_uint128()
357 total = total / 1000000000000000; in test_generate_string_uint128()
358 if (total) { in test_generate_string_uint128()
/spdk/lib/ftl/
H A Dftl_debug.c181 uint64_t i, total = 0; in ftl_dev_dump_stats() local
200 total += dev->bands[i].p2l_map.num_valid; in ftl_dev_dump_stats()
213 FTL_NOTICELOG(dev, "total valid LBAs: %zu\n", total); in ftl_dev_dump_stats()
/spdk/examples/blob/hello_world/
H A Dhello_blob.c248 uint64_t total = 0; in resize_complete() local
255 total = spdk_blob_get_num_clusters(hello_context->blob); in resize_complete()
257 total); in resize_complete()
/spdk/module/bdev/ocf/
H A Dstats.c71 WJSON_STAT(w, stats, reqs, total, "Requests"); in vbdev_ocf_stats_write_json()
93 WJSON_STAT(w, stats, errors, total, "Requests"); in vbdev_ocf_stats_write_json()
/spdk/lib/json/
H A Djson_write.c276 unsigned __int128 total = (unsigned __int128)low + in spdk_json_write_uint128() local
279 while (total) { in spdk_json_write_uint128()
280 seg = total % 10000000000; in spdk_json_write_uint128()
281 total = total / 10000000000; in spdk_json_write_uint128()
282 if (total) { in spdk_json_write_uint128()
/spdk/test/unit/include/spdk/histogram_data.h/
H A Dhistogram_ut.c26 uint64_t total, uint64_t so_far) in check_values() argument
/spdk/module/sock/posix/
H A Dposix.c845 ssize_t total = 0; in ssl_sock_setup_accept()
851 total += rc; in ssl_sock_setup_accept()
857 if (total > 0) {
859 return total; in SSL_readv()
889 ssize_t total = 0; in SSL_readv()
895 total += rc; in SSL_readv()
901 if (total > 0) {
903 return total; in SSL_writev()
861 ssize_t total = 0; SSL_readv() local
905 ssize_t total = 0; SSL_writev() local
/spdk/doc/
H A Dabout.md11 lowers both total latency and latency variance.
/spdk/lib/scsi/
H A Dscsi_bdev.c1041 int plen, total; in bdev_scsi_mode_sense() local
1065 total = hlen + blen + plen; in bdev_scsi_mode_sense()
1067 return total; in bdev_scsi_mode_sense()
1072 hdr[0] = total - 1; /* Mode Data Length */ in bdev_scsi_mode_sense()
1077 to_be16(&hdr[0], total - 2); /* Mode Data Length */ in bdev_scsi_mode_sense()
1105 return total; in bdev_scsi_mode_sense()
/spdk/test/nvme/overhead/
H A Doverhead.c480 uint64_t total, uint64_t so_far) in print_bucket() argument
488 so_far_pct = (double)so_far * 100 / total; in print_bucket()
/spdk/module/bdev/virtio/
H A Dbdev_virtio_scsi.c600 to_be16(&buf[0], cmd_len - 2); /* total length (excluding the length field) */ in bdev_virtio_unmap()
956 int total = 0; in bdev_virtio_mgmt_poll() local
959 total += cnt; in bdev_virtio_mgmt_poll()
968 total += cnt; in bdev_virtio_mgmt_poll()
974 total += cnt; in bdev_virtio_mgmt_poll()
979 return total; in bdev_virtio_mgmt_poll()
/spdk/test/app/fuzz/nvme_fuzz/
H A DREADME.md30 NS: 0x200079262300 admin qp, Total commands completed: 462459, total successful commands: 1960, ran…
/spdk/module/sock/uring/
H A During.c918 ssize_t total, len; in uring_sock_readv_no_pipe()
948 total = 0; in uring_sock_readv_no_pipe()
958 total += len; in uring_sock_readv_no_pipe()
985 assert(total > 0); in uring_sock_readv()
986 return total; in uring_sock_readv()
902 ssize_t total, len; uring_sock_readv_no_pipe() local
/spdk/lib/nvme/
H A Dnvme_opal.c382 int total; in opal_response_parse() local
413 total = slen; in opal_response_parse()
415 while (total > 0) { in opal_response_parse()
434 total -= token_length; in opal_response_parse()
438 if (total < 0) { in opal_response_parse()

12