Home
last modified time | relevance | path

Searched refs:hex (Results 1 – 10 of 10) sorted by relevance

/spdk/lib/util/
H A Dhexlify.c37 char *hex, *phex; in spdk_hexlify() local
39 hex = malloc((len * 2) + 1); in spdk_hexlify()
40 if (hex == NULL) { in spdk_hexlify()
43 phex = hex; in spdk_hexlify()
49 free(hex); in spdk_hexlify()
56 return hex; in spdk_hexlify()
60 spdk_unhexlify(const char *hex) in spdk_unhexlify() argument
63 size_t len = strlen(hex); in spdk_unhexlify()
75 int v0 = __c2v(hex[i]); in spdk_unhexlify()
76 int v1 = __c2v(hex[i + 1]); in spdk_unhexlify()
[all …]
H A Dcpuset.c146 static const char *hex = "0123456789abcdef"; in spdk_cpuset_fmt() local
162 *(ptr++) = hex[(val & 0xf0) >> 4]; in spdk_cpuset_fmt()
164 *(ptr++) = hex[val & 0x0f]; in spdk_cpuset_fmt()
168 *(ptr++) = hex[(val & 0xf0) >> 4]; in spdk_cpuset_fmt()
169 *(ptr++) = hex[val & 0x0f]; in spdk_cpuset_fmt()
/spdk/include/spdk/
H A Dhexlify.h30 char *spdk_unhexlify(const char *hex);
/spdk/python/spdk/sma/
H A Dcommon.py18 return str(uuid.UUID(hex=volume_id))
/spdk/scripts/perf/pm/
H A Dcollect-bmc-pm12 hex() { printf '0x%02x\n' "$@"; } function
63 dev_id=$(hex "$(< "$ipmi/device/bmc/device_id")")
102 hex "${rsp[@]}"
/spdk/scripts/
H A Ddpdk_mem_info.py122 …print("{}element at address: {} with size: {:>15}".format(header, hex(self.addr), B_to_MiB(self.si…
215 print("{}located at address {}".format(header, hex(self.address)))
227 print("{}address: {} length: {:>15}".format(header, hex(self.address), B_to_MiB(self.size)))
/spdk/lib/json/
H A Djson_write.c328 char hex[] = "0123456789ABCDEF"; in write_hex_2() local
330 p[0] = hex[val >> 4]; in write_hex_2()
331 p[1] = hex[val & 0xf]; in write_hex_2()
/spdk/python/spdk/sma/device/
H A Dvhost_blk.py161 'addr': hex(phid),
H A Dnvmf_vfiouser.py163 'addr': hex(phid),
/spdk/scripts/bpf/
H A Dtrace.py558 properties={'ptr': hex(dprobe.args['qpair']),