/spdk/scripts/perf/nvmf/ |
H A D | common.py | 52 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 D | run_nvmf.py | 114 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 D | math.c | 19 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 D | bit_array.c | 16 #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 D | tree.h | 292 #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 D | memory.h | 36 #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 D | string.h | 20 #define _SPDK_STRINGIFY(x) #x argument 21 #define SPDK_STRINGIFY(x) _SPDK_STRINGIFY(x) argument
|
/spdk/scripts/ |
H A D | calc-iobuf.py | 27 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 D | dpdk_mem_info.py | 53 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 D | common.sh | 75 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 D | get-pmr | 18 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 D | sync_dev_uevents.sh | 36 maj=$((0x$(stat --printf="%t" "/dev/${devs[dev]}"))) 37 min=$((0x$(stat --printf="%T" "/dev/${devs[dev]}")))
|
/spdk/test/interrupt/ |
H A D | reactor_set_interrupt.sh | 33 if [ "$without_thd"x != x ]; then 52 if [ "$without_thd"x != x ]; then 63 if [ "$without_thd"x != x ]; then
|
/spdk/doc/ |
H A D | two.min.js | 34 return"function"===c||"object"===c&&!!a},toArray:function(a){return a?d.isArray(a)?x.call(a):q(a)?d… 35 …x.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… 57 …x,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 D | calsoft.py | 73 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 D | common.sh | 20 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 D | autorun_post.py | 143 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 D | fio.sh | 20 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 D | readonly.sh | 15 x="" 48 x="-x" 129 if [[ -z $x ]]; then
|
/spdk/module/bdev/gpt/ |
H A D | gpt.h | 35 #define SPDK_GPT_GUID_EQUAL(x,y) (memcmp(x, y, sizeof(struct spdk_gpt_guid)) == 0) argument
|
/spdk/test/iscsi_tgt/digests/ |
H A D | digests.sh | 84 if [ "$DataDigestAbility"x != x ]; then
|
/spdk/test/vhost/perf_bench/ |
H A D | vhost_perf.sh | 92 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 D | test.bs | 8 -x $B1 key val
|
/spdk/test/vhost/windows/ |
H A D | windows_scsi_compliance.py | 15 scsi_logs = filter(lambda x: x.endswith(".log"), os.listdir("./"))
|
/spdk/test/scheduler/ |
H A D | rdmsr.pl | 38 printf( "0x%x\n", $reg );
|