Home
last modified time | relevance | path

Searched refs:n (Results 1 – 25 of 68) sorted by relevance

123

/spdk/lib/util/
H A Dxor.c23 buffers_aligned(void *dest, void **sources, uint32_t n, size_t alignment) in buffers_aligned() argument
27 for (i = 0; i < n; i++) { in buffers_aligned()
37 xor_gen_unaligned(void *dest, void **sources, uint32_t n, uint32_t len) in xor_gen_unaligned() argument
44 for (j = 0; j < n; j++) { in xor_gen_unaligned()
52 xor_gen_basic(void *dest, void **sources, uint32_t n, uint32_t len) in xor_gen_basic() argument
58 if (!buffers_aligned(dest, sources, n, sizeof(uint64_t))) { in xor_gen_basic()
59 xor_gen_unaligned(dest, sources, n, len); in xor_gen_basic()
70 for (j = 0; j < n; j++) { in xor_gen_basic()
79 for (j = 0; j < n; j++) { in xor_gen_basic()
83 xor_gen_unaligned((uint8_t *)dest + len_rem, sources2, n, len - len_rem); in xor_gen_basic()
[all …]
H A Dfd_group.c103 SPDK_ERRLOG("Failed to remove fd: %d from group: %s\n", in _fd_group_del_all()
127 SPDK_ERRLOG("Failed to recover fd_group_del_all: %s\n", strerror(errno));
155 SPDK_ERRLOG("Failed to add fd: %d to fd group: %s\n", in _fd_group_add_all()
177 SPDK_ERRLOG("Failed to recover fd_group_del_all: %s\n", strerror(errno)); in spdk_fd_group_unnest()
233 SPDK_ERRLOG("Failed to recover epfd\n");
243 SPDK_ERRLOG("Failed to recover fd_group_change_parent\n"); in spdk_fd_group_add_for_events()
318 SPDK_ERRLOG("opts should not be NULL\n"); in spdk_fd_group_remove()
323 SPDK_ERRLOG("opts_size should not be zero value\n"); in spdk_fd_group_remove()
350 SPDK_ERRLOG("opts_size should not be zero value\n"); in spdk_fd_group_event_modify()
442 SPDK_ERRLOG("Failed to add fd: %d to fd group(%p): %s\n", in spdk_fd_group_wait()
427 int n; spdk_fd_group_wait() local
[all...]
H A Dcpuset.c111 uint8_t n; in spdk_cpuset_for_each_cpu() local
114 n = set->cpus[i]; in spdk_cpuset_for_each_cpu()
116 if (n & (1 << j)) { in spdk_cpuset_for_each_cpu()
144 int val, i, n; in spdk_cpuset_fmt() local
157 n = lcore_max / 8; in spdk_cpuset_fmt()
158 val = set->cpus[n]; in spdk_cpuset_fmt()
166 for (i = n - 1; i >= 0; i--) { in spdk_cpuset_fmt()
H A Dzipf.c21 zeta_increment(uint64_t n, double theta) in zeta_increment() argument
23 return pow((double) 1.0 / (n + 1), theta); in zeta_increment()
/spdk/scripts/bpf/
H A Dnvmf.bt2 printf("%d.%06d: nvmf_tgt reached state %s\n",
8 printf("%d.%06d: %s change state from %s to %s start\n",
14 printf("%d.%06d: %s change state from %s to %s %s\n",
20 printf("%d.%06d: %s on thread %d state to %s start\n",
26 printf("%d.%06d: %s on thread %d state to %s done\n",
32 printf("%d.%06d: create poll group on thread: %d\n",
38 printf("%d.%06d: destroy poll group on thread: %d\n",
44 printf("%d.%06d: add qpair: %p to poll group on thread %d\n",
50 printf("%d.%06d: destroy qpairs on poll group on thread %d\n",
56 printf("%d.%06d: remove qpair: %p from poll group on thread %d\n",
[all …]
H A Dnvme.bt2 printf("%d.%06d: delete bdev controller %s\n",
8 printf("%d.%06d: release controller %s with ref %d\n",
14 printf("%d.%06d: delete nvme disk: %s, with nsid: %d\n",
20 printf("%d.%06d: controller: %s create qpair with ID: %d on thread: %d\n",
H A Dintr-wakeups.bt14 printf("%llums: %s is off-cpu\n", elapsed / 1000000, comm);
31 printf("%llums:%s: fd:%d %s(%p)\n", elapsed / 1000000, probe, arg2, usym(arg3), arg4);
39 printf("%llums:%s: %s(%p)\n", elapsed / 1000000, probe, usym(arg1), arg2);
47 printf("%llums:%s: %s(%p)\n", elapsed / 1000000, probe, usym(arg1), arg2);
55 printf("%llums:%s: %s(%p, %p)\n", elapsed / 1000000, probe, usym(arg1),
H A Dnvmf_timeout.bt2 printf("%d.%06d: reconnect bdev controller %s\n",
8 printf("%d.%06d: reconnect delay bdev controller %s\n",
14 printf("%d.%06d: reset bdev controller %s\n",
H A Dsched.bt39 printf("td:%2d old:%2d new:%2d td_busy:%2d% core_busy:%2d%\n",
44 printf("\n");
47 printf("Starting balance across %d cores\n", arg1);
59 …printf("core:%2d busy:%10d idle:%10d pct:%2d% td_count:%2d\n", arg1, $busy, $idle, $pct, $info->th…
/spdk/lib/ftl/upgrade/
H A Dftl_sb_v3.c67 uint32_t n; in ftl_superblock_v3_md_layout_load_all() local
71 for (n = 0; n < FTL_LAYOUT_REGION_TYPE_MAX_V3; n++) { in ftl_superblock_v3_md_layout_load_all()
72 if (md_region_is_fixed(n)) { in ftl_superblock_v3_md_layout_load_all()
75 layout->region[n].type = FTL_LAYOUT_REGION_TYPE_INVALID; in ftl_superblock_v3_md_layout_load_all()
136 for (regs_found = 0, n = 0; n < FTL_LAYOUT_REGION_TYPE_MAX_V3; n++) { in ftl_superblock_v3_md_layout_load_all()
137 if (layout->region[n].type == n) { in ftl_superblock_v3_md_layout_load_all()
/spdk/test/nvme/perf/
H A Dcommon.sh59 if [[ -n "$bdev_io_cache_size" ]]; then
63 if [[ -n "$bdev_io_pool_size" ]]; then
119 mountpoints=$(lsblk /dev/$blkname --output MOUNTPOINT -n | wc -w)
227 [[ -n ${all_fio_cpus[cpu]} ]] && continue
229 local -n sqpoll_node=sqpoll_threads_node_$node
239 local -n node=${sqpoll_cpu_threads[node]}
305 local n=0 #Counter of all disks in test
334 if [[ "${disks_numa[$n]}" == "$core_numa" ]]; then
344 fio_job_section+=("filename=trtype=PCIe traddr=${disks[$n]//:/.} ns=1 #NVMe NUMA Node ${disks_numa[$n]}")
[all...]
/spdk/doc/
H A Dtwo.min.js36n=e?e[y]:y;c.call(f,a[n],n,a)}return a},map:function(a,c,f){f=f||this;for(var e=!q(a)&&d.keys(a),g…
37 …r c=++d._indexAmount+"";return a?a+c:c}},e=Math.sin,a=Math.cos,g=Math.atan2,n=Math.sqrt,f=Math.PI,…
50 …a,c){var f={},e={},g;if(getComputedStyle){var n=getComputedStyle(a);for(g=n.length;g--;){var t=n[g… variable
54n=!1,t=!1,y=c.match(/[a-df-z][^a-df-z]*/ig),h=y.length-1;d.each(y.slice(0),function(a,c){var f=a[0…
55n)).join(" "));e++}y=Array.prototype.concat.apply(y,d)}else y.push(a)});var m=[];d.each(y,function…
61 (new p.Path(m,n,void 0,!0)).noStroke();c.fill="black";var k=c.getBoundingClientRect(!0);k.centroid=…
63 …Attribute("y1")),g=parseFloat(a.getAttribute("x2")),n=parseFloat(a.getAttribute("y2")),t=(g+f)/2,h…
64 …]):1);y.push(new p.Gradient.Stop(k,m,B))}f=new p.LinearGradient(f-t,e-h,g-t,n-h,y);return p.Utils.…
65 ….getAttribute("fx")),n=parseFloat(a.getAttribute("fy"));d.isNaN(g)&&(g=c);d.isNaN(n)&&(n=f);for(va…
66n-h);return p.Utils.applySvgAttributes.call(this,a,c)}},subdivide:function(a,c,f,e,g,n,t,h,v){v=v|… argument
[all …]
H A Dnvmf_multipath_howto.md66 …bdev_nvme_attach_controller -b Nvme0 -t tcp -a 172.17.1.13 -s 4420 -f ipv4 -n nqn.2022-02.io.spdk:…
67 …bdev_nvme_attach_controller -b Nvme0 -t tcp -a 172.18.1.13 -s 5520 -f ipv4 -n nqn.2022-02.io.spdk:…
82 ./scripts/rpc.py -s /tmp/bdevperf.sock bdev_nvme_get_io_paths -n Nvme0n1
89 …em_listener_set_ana_state nqn.2022-02.io.spdk:cnode0 -t tcp -a 172.17.1.13 -s 4420 -n non_optimized
/spdk/lib/iscsi/
H A Dtgt_node.c37 size_t n; in iscsi_ipv6_netmask_allow_addr() local
48 n = p - (netmask + 1); in iscsi_ipv6_netmask_allow_addr()
49 if (n + 1 > sizeof mask) { in iscsi_ipv6_netmask_allow_addr()
53 memcpy(mask, netmask + 1, n); in iscsi_ipv6_netmask_allow_addr()
54 mask[n] = '\0'; in iscsi_ipv6_netmask_allow_addr()
102 size_t n; in iscsi_ipv4_netmask_allow_addr() local
109 n = p - netmask; in iscsi_ipv4_netmask_allow_addr()
110 if (n + 1 > sizeof mask) { in iscsi_ipv4_netmask_allow_addr()
114 memcpy(mask, netmask, n); in iscsi_ipv4_netmask_allow_addr()
115 mask[n] = '\0'; in iscsi_ipv4_netmask_allow_addr()
[all …]
/spdk/lib/conf/
H A Dconf.c597 int n, n2; in spdk_conf_read() local
627 n = strlen(p); in spdk_conf_read()
628 while (n > 2 && p[n - 1] == '\n' && p[n - 2] == '\\') { in spdk_conf_read()
629 n -= 2; in spdk_conf_read()
638 q = malloc(n + n2 + 1); in spdk_conf_read()
647 memcpy(q, p, n); in spdk_conf_read()
648 memcpy(q + n, lp2, n2); in spdk_conf_read()
649 q[n + n2] = '\0'; in spdk_conf_read()
653 n += n2; in spdk_conf_read()
/spdk/test/bdev/
H A Dbdev_raid.sh34 cmp -b -n $rw_len $tmp_file $nbd
48 cmp -b -n $rw_len $tmp_file $nbd
56 if [ -n "$raid_pid" ] && ps -p $raid_pid > /dev/null; then
75 $rpc_py bdev_raid_create -z 64 -r $raid_level -b "'Base_1 Base_2'" -n raid
235 $rpc_py bdev_raid_create $strip_size_create_arg $superblock_create_arg -r $raid_level -b "'${base_bdevs[*]}'" -n $raid_bdev_name
241 $rpc_py bdev_raid_create $strip_size_create_arg $superblock_create_arg -r $raid_level -b "'${base_bdevs[*]}'" -n $raid_bdev_name
249 $rpc_py bdev_raid_create $strip_size_create_arg $superblock_create_arg -r $raid_level -b "'${base_bdevs[*]}'" -n $raid_bdev_name
279 if [ -n "$raid_bdev" ]; then
290 $rpc_py bdev_raid_create $strip_size_create_arg $superblock_create_arg -r $raid_level -b "'${base_bdevs[*]}'" -n $raid_bdev_name
350 $rpc_py bdev_raid_create -z 64 -r $raid_level -b "'Base_1 Base_2'" -n Rai
[all...]
/spdk/scripts/bash-completion/
H A Dspdk9 _parse_help - < <(printf '%s\n' "$@")
24 done < <(printf '%s\n' "$@")
37 if [[ $SPDK_RPC_ALIASES == yes ]] && [[ -n ${BASH_REMATCH[4]} ]]; then
78 [[ -n $word && -n ${rpc_methods["$word"]} ]]
164 printf '%s\n' "${mounts[@]}"
179 printf '%s\n' "${g_masks[@]}"
188 if [[ -n ${BASH_REMATCH[1]} && ${BASH_REMATCH[1]} != "not supported"* ]]; then
190 printf '%s\n' "${logflags[@]}"
222 if [[ -n
[all...]
/spdk/module/bdev/ocf/
H A Dctx.c226 uint32_t n, sz; in vbdev_ocf_ctx_data_cpy() local
240 n = MIN(from, s->iovs[it_iov].iov_len); in vbdev_ocf_ctx_data_cpy()
241 from -= n; in vbdev_ocf_ctx_data_cpy()
243 n = MIN(bytes, s->iovs[it_iov].iov_len); in vbdev_ocf_ctx_data_cpy()
244 buf_to_iovec(s->iovs[it_iov].iov_base + it_off, n, d->iovs, d->iovcnt, to); in vbdev_ocf_ctx_data_cpy()
245 bytes -= n; in vbdev_ocf_ctx_data_cpy()
246 to += n; in vbdev_ocf_ctx_data_cpy()
249 it_off += n; in vbdev_ocf_ctx_data_cpy()
/spdk/test/blobstore/
H A Dtest.bs3 -n 1
5 -n 1
/spdk/ipsecbuild/
H A DMakefile19 …$(Q)$(MAKE) -C $(SPDK_ROOT_DIR)/intel-ipsec-mb all SHARED=n EXTRA_CFLAGS=-fPIC CC=$(SUB_CC) $(REDI…
27 $(Q)$(MAKE) -C $(SPDK_ROOT_DIR)/intel-ipsec-mb clean SHARED=n $(REDIRECT)
/spdk/test/unit/lib/blob/
H A Dbs_scheduler.c56 _bs_flush_scheduler(uint32_t n) in _bs_flush_scheduler() argument
58 while (n--) { in _bs_flush_scheduler()
/spdk/test/unit/lib/ftl/ftl_sb/
H A Dftl_sb_ut.c135 for (uint64_t n = 0; n < sizeof(g_dev.conf.uuid); n++) { in test_setup()
136 g_dev.conf.uuid.u.raw[n] = n; in test_setup()
335 int n = 0; in test_ftl_superblock_v3_md_layout_build()
343 for (; n < FTL_LAYOUT_REGION_TYPE_MAX_V3;) { in test_ftl_superblock_v3_md_layout_build()
344 reg = ftl_layout_region_get(dev, n); in test_ftl_superblock_v3_md_layout_build()
347 n++; in test_ftl_superblock_v3_md_layout_build()
349 if (n > in test_ftl_superblock_v3_md_layout_build()
133 for (uint64_t n = 0; n < sizeof(g_dev.conf.uuid); n++) { test_setup() local
333 int n = 0; test_ftl_superblock_v3_md_layout_build() local
[all...]
/spdk/lib/rocksdb/
H A Denv_spdk.cc113 virtual Status Read(size_t n, Slice *result, char *scratch) override;
114 virtual Status Skip(uint64_t n) override;
125 SpdkSequentialFile::Read(size_t n, Slice *result, char *scratch) in Read() argument
130 ret = spdk_file_read(mFile, g_sync_args.channel, scratch, mOffset, n); in Read()
142 SpdkSequentialFile::Skip(uint64_t n) in Skip() argument
144 mOffset += n; in Skip()
162 virtual Status Read(uint64_t offset, size_t n, Slice *result, char *scratch) const override;
173 SpdkRandomAccessFile::Read(uint64_t offset, size_t n, Slice *result, char *scratch) const in Read() argument
178 rc = spdk_file_read(mFile, g_sync_args.channel, scratch, offset, n); in Read()
/spdk/test/unit/lib/ftl/ftl_bitmap.c/
H A Dftl_bitmap_ut.c42 uint64_t n = 0; in count_set_bits() local
47 n++; in count_set_bits()
51 return n; in count_set_bits()
/spdk/test/nvme/cuse/
H A Dnvme_ns_manage_cuse.sh41 $NVME_CMD detach-ns ${nvme_dev} -n ${nsid} -c ${cntlid} || true
42 $NVME_CMD delete-ns ${nvme_dev} -n ${nsid} || true
56 $NVME_CMD attach-ns ${nvme_dev} -n ${nsid} -c ${cntlid}
84 $rpc_py bdev_nvme_cuse_register -n Nvme0
91 for dev in "${ctrlr}"n*; do
100 $NVME_CMD attach-ns ${ctrlr} -n ${nsid} -c ${cntlid}
103 [[ -c "${ctrlr}n${nsid}" ]]
105 $NVME_CMD detach-ns ${ctrlr} -n ${nsid} -c ${cntlid}
107 $NVME_CMD delete-ns ${ctrlr} -n ${nsid}
110 [[ ! -c "${ctrlr}n
[all...]

123