Home
last modified time | relevance | path

Searched refs:x (Results 1 – 25 of 58) sorted by relevance

123

/spdk/scripts/perf/nvmf/
H A Dcommon.py52 read_avg_lat, read_min_lat, read_max_lat = [x / 1000 for x in [read_avg_lat, read_min_lat, read_max_lat]]
70 write_avg_lat, write_min_lat, write_max_lat = [x / 1000 for x in [write_avg_lat, write_min_lat, write_max_lat]]
100 fio_files = filter(lambda x: ".fio" in x, files)
101 json_files = [x for x in files if ".json" in x]
102 sar_files = [x fo
[all...]
H A Drun_nvmf.py114 if "0x" in core_mask:
138 self._nics_json_obj = list(filter(lambda x: x["addr_info"], json.loads(nics_json_obj)))
152 for x in json_obj:
153 nic_list.extend(extract_network_elements(x))
285 nic_ports = [x[0] for x in self.subsystem_info_list if nic_ip in x[2]]
477 return ",".join(map(lambda x: str(x), cpulis
[all...]
/spdk/lib/util/
H A Dmath.c19 spdk_u32log2(uint32_t x) in spdk_u32log2() argument
21 if (x == 0) { in spdk_u32log2()
25 SPDK_STATIC_ASSERT(sizeof(x) == sizeof(unsigned int), "Incorrect size"); in spdk_u32log2()
26 return 31u - __builtin_clz(x); in spdk_u32log2()
38 spdk_u64log2(uint64_t x) in spdk_u64log2() argument
40 if (x == 0) { in spdk_u64log2()
44 SPDK_STATIC_ASSERT(sizeof(x) == sizeof(unsigned long long), "Incorrect size"); in spdk_u64log2()
45 return 63u - __builtin_clzll(x); in spdk_u64log2()
H A Dbit_array.c16 #define SPDK_BIT_ARRAY_WORD_TZCNT(x) (__builtin_ctzll(x)) argument
17 #define SPDK_BIT_ARRAY_WORD_POPCNT(x) (__builtin_popcountll(x)) argument
18 #define SPDK_BIT_ARRAY_WORD_C(x) ((spdk_bit_array_word)(x)) argument
/spdk/include/spdk/
H A Dtree.h292 #define SPLAY_INSERT(name, x, y) name##_SPLAY_INSERT(x, y) argument
293 #define SPLAY_REMOVE(name, x, y) name##_SPLAY_REMOVE(x, y) argument
294 #define SPLAY_FIND(name, x, y) name##_SPLAY_FIND(x, y) argument
295 #define SPLAY_NEXT(name, x, y) name##_SPLAY_NEXT(x, y) argument
296 #define SPLAY_MIN(name, x) (SPLAY_EMPTY(x) ? NULL \ argument
297 : name##_SPLAY_MIN_MAX(x, SPLAY_NEGINF))
298 #define SPLAY_MAX(name, x) (SPLAY_EMPTY(x) ? NULL \ argument
299 : name##_SPLAY_MIN_MAX(x, SPLAY_INF))
301 #define SPLAY_FOREACH(x, name, head) \ argument
302 for ((x) = SPLAY_MIN(name, head); \
[all …]
H A Dmemory.h36 #define FLOOR_2MB(x) (((uintptr_t)(x)) & ~MASK_2MB) argument
37 #define CEIL_2MB(x) FLOOR_2MB(((uintptr_t)(x)) + VALUE_2MB - 1) argument
H A Dstring.h20 #define _SPDK_STRINGIFY(x) #x argument
21 #define SPDK_STRINGIFY(x) _SPDK_STRINGIFY(x) argument
/spdk/scripts/
H A Dcalc-iobuf.py27 conv: typing.Callable = lambda x: x argument
90 UserInput('small_bufsize', '\t', lambda x: int(x, 0)),
91 UserInput('large_bufsize', '\t', lambda x: int(x, 0))])}]
114 UserInput('small_cache_size', '\t', lambda x: int(x, 0)),
115 UserInput('large_cache_size', '\t', lambda x: int(x, 0))])}]
140 UserInput('iobuf_small_cache_size', '\t', lambda x: int(x, 0)),
141 UserInput('iobuf_large_cache_size', '\t', lambda x: int(x, 0))])}]
194 UserInput('buf_cache_size', '\t', lambda x: int(x, 0)),
195 UserInput('io_unit_size', '\t', lambda x: int(x, 0)),
196 UserInput('num_shared_buffers', '\t', lambda x: int(x, 0))])}})
H A Ddpdk_mem_info.py53 for x in sorted(self.heaps, key=lambda x: x.size, reverse=True):
54 x.print_summary(' ')
57 for x in sorted(self.mempools, key=lambda x: x.get_memzone_size_sum(), reverse=True):
58 x.print_summary(' ')
61 for x in sorted(self.memzones, key=lambda x: x.size, reverse=True):
62 x.print_summary(' ')
150 for x in sorted(list_to_print, key=lambda x: x.size, reverse=True):
151 x.print_summary("{} ".format(header))
152 if x.memzone is not None:
153 x.memzone.print_summary(" {}associated memzone info: ".format(header))
[all …]
H A Dcommon.sh75 class=0x${class/0x/}
79 vendor=0x${vendor/0x/} device=0x${device/0x/}
188 # output under separate, dedicated fields. For 12.x they need to
191 vendor=$(printf '0x%04x' $((chip & 0xffff)))
192 device=$(printf '0x
[all...]
H A Dget-pmr18 echo "0x$(setpci -s "$1" "$2.${3:-L}")"
26 start=0x$start end=0x$end
28 printf '0x%08x:0x%08x:0x%08x\n' \
H A Dsync_dev_uevents.sh36 maj=$((0x$(stat --printf="%t" "/dev/${devs[dev]}")))
37 min=$((0x$(stat --printf="%T" "/dev/${devs[dev]}")))
/spdk/test/interrupt/
H A Dreactor_set_interrupt.sh33 if [ "$without_thd"x != x ]; then
52 if [ "$without_thd"x != x ]; then
63 if [ "$without_thd"x != x ]; then
/spdk/doc/
H A Dtwo.min.js34 return"function"===c||"object"===c&&!!a},toArray:function(a){return a?d.isArray(a)?x.call(a):q(a)?d…
35x.call(arguments,1));var e=x.call(arguments,2);return function(){a.apply(c,e)}},extend:function(a)…
37 …Math.atan2,n=Math.sqrt,f=Math.PI,t=f/2,v=Math.pow,B=Math.min,z=Math.max,A=0,x=d.natural.slice,u=l.…
49 …(a,0,1),f=p.Utils.deltaTransformPoint(a,1,0),c=180/Math.PI*Math.atan2(c.y,c.x)-90;return{translate…
50 …caleY:Math.sqrt(a.c*a.c+a.d*a.d),skewX:c,skewY:180/Math.PI*Math.atan2(f.y,f.x),rotation:c}},applyS…
51 …tion;c.scale=f.scaleX;f=parseFloat((e.x+"").replace("px"));g=parseFloat((e.y+"").replace("px"));f&…
55 …lit(/[\s,]+|(?=\s?[+\-])/);t=y===D;switch(D){case "z":if(c>=h)n=!0;else{a=f.x;c=f.y;var k=new p.An…
56 …=parseFloat(g[0]);k[D]=f[D];t&&(k[c]+=f[c]);f=k;break;case "c":case "s":k=f.x;c=f.y;e||(e=new p.Ve…
57x,B=D.y,l=parseFloat(g[0]),z=parseFloat(g[1]),D=parseFloat(g[2]),a=parseFloat(g[3]);t&&(y+=k,B+=c,…
58 …et(y-f.x,B-f.y);f=k=new p.Anchor(D,a,l-D,z-a,void 0,void 0,p.Commands.curve);e=k.controls.left;bre…
[all …]
/spdk/test/iscsi_tgt/calsoft/
H A Dcalsoft.py73 all_cases = [x for x in os.listdir(CALSOFT_BIN_PATH) if x.startswith('tc')]
127 for x in case_result_list:
128 if x["Result"] == "FAIL":
129 print("Test case %s failed." % (x["Name"]))
/spdk/test/vhost/hotplug/
H A Dcommon.sh20 x=""
69 x="-x"
110 [[ x"${conf[1]}" != x"" ]] && setup_cmd+=" --os=${conf[1]}"
111 [[ x"${conf[2]}" != x"" ]] && setup_cmd+=" --disks=${conf[2]}"
/spdk/
H A Dautorun_post.py143 executed_tests = [x for x in sorted(test_list) if test_list[x][index] is condition]
160 … return [x.strip() for x in skipped_test_data.readlines() if "#" not in x and x.strip() != '']
164 missing_tests = [x for x in sorted(test_list) if test_list[x][0] is False
165 and x not in skiplist]
/spdk/test/vhost/fiotest/
H A Dfio.sh20 x=""
38 echo "-x set -x for script debug"
73 x)
74 set -x
75 x="-x"
171 [[ x"${conf[1]}" != x"" ]] && setup_cmd+=" --os=${conf[1]}"
172 [[ x"
[all...]
/spdk/test/vhost/readonly/
H A Dreadonly.sh15 x=""
48 x="-x"
129 if [[ -z $x ]]; then
/spdk/module/bdev/gpt/
H A Dgpt.h35 #define SPDK_GPT_GUID_EQUAL(x,y) (memcmp(x, y, sizeof(struct spdk_gpt_guid)) == 0) argument
/spdk/test/iscsi_tgt/digests/
H A Ddigests.sh84 if [ "$DataDigestAbility"x != x ]; then
/spdk/test/vhost/perf_bench/
H A Dvhost_perf.sh92 echo "-x set -x for script debug"
136 x=$(printf %03d $vm_num)
137 setup_cmd+=" --disks=${wwpn_prefix}${x}"
212 x)
213 set -x
214 x="-x"
323 x=$(printf %03d ${vms_to_run[$j]})
324 wwpn="${wwpn_prefix}${x}"
[all...]
/spdk/test/blobstore/
H A Dtest.bs8 -x $B1 key val
/spdk/test/vhost/windows/
H A Dwindows_scsi_compliance.py15 scsi_logs = filter(lambda x: x.endswith(".log"), os.listdir("./"))
/spdk/test/scheduler/
H A Drdmsr.pl38 printf( "0x%x\n", $reg );

123