Searched refs:nbytes (Results 1 – 11 of 11) sorted by relevance
| /tools/arch/x86/include/asm/ |
| A D | insn.h | 23 unsigned char nbytes; member 30 p->nbytes = n; in insn_field_set() 49 unsigned char nbytes; member 57 p->nbytes = n; in insn_field_set() 173 return insn->rex_prefix.nbytes == 2; in insn_is_rex2() 192 return (insn->vex_prefix.nbytes == 4); in insn_is_evex() 202 if (insn->vex_prefix.nbytes == 2) /* 2 bytes VEX */ in insn_vex_m_bits() 212 if (insn->vex_prefix.nbytes == 2) /* 2 bytes VEX */ in insn_vex_p_bits() 220 if (insn->vex_prefix.nbytes < 3) in insn_vex_w_bit() 240 return insn->prefixes.nbytes; in insn_offset_rex_prefix() [all …]
|
| /tools/usb/ |
| A D | ffs-test.c | 485 return read(t->fd, buf, nbytes); in read_wrap() 490 return write(t->fd, buf, nbytes); in write_wrap() 510 memset(buf, 0, nbytes); in fill_in_buf() 514 for (p = buf, i = 0; i < nbytes; ++i, ++p) in fill_in_buf() 519 return fread(buf, 1, nbytes, stdin); in fill_in_buf() 522 return nbytes; in fill_in_buf() 538 for (p = buf, len = 0; len < nbytes; ++p, ++len) in empty_out_buf() 544 for (p = buf, len = 0; len < nbytes; ++p, ++len) in empty_out_buf() 552 ret = fwrite(buf, nbytes, 1, stdout); in empty_out_buf() 605 for (n = nbytes / sizeof *event; n; --n, ++event) in ep0_consume() [all …]
|
| /tools/usb/usbip/src/ |
| A D | usbip_network.c | 98 ssize_t nbytes; in usbip_net_xmit() local 106 nbytes = send(sockfd, buff, bufflen, 0); in usbip_net_xmit() 108 nbytes = recv(sockfd, buff, bufflen, MSG_WAITALL); in usbip_net_xmit() 110 if (nbytes <= 0) in usbip_net_xmit() 113 buff = (void *)((intptr_t) buff + nbytes); in usbip_net_xmit() 114 bufflen -= nbytes; in usbip_net_xmit() 115 total += nbytes; in usbip_net_xmit()
|
| /tools/perf/arch/s390/util/ |
| A D | header.c | 37 size_t nbytes; in get_cpuid() local 131 nbytes = snprintf(buffer, sz, "%s,%s,%s,%s,%s", in get_cpuid() 135 nbytes = snprintf(buffer, sz, "%s,%s,%s", manufacturer, type, in get_cpuid() 137 return (nbytes >= sz) ? ENOBUFS : 0; in get_cpuid()
|
| /tools/arch/x86/lib/ |
| A D | insn.c | 160 prefixes->nbytes++; in insn_get_prefixes() 192 insn->rex_prefix.nbytes = 2; in insn_get_prefixes() 224 insn->vex_prefix.nbytes = 4; in insn_get_prefixes() 232 insn->vex_prefix.nbytes = 3; in insn_get_prefixes() 244 insn->vex_prefix.nbytes = 2; in insn_get_prefixes() 289 opcode->nbytes = 1; in insn_get_opcode() 335 opcode->bytes[opcode->nbytes++] = op; in insn_get_opcode() 427 return (modrm->nbytes && (modrm->bytes[0] & 0xc7) == 0x5); in insn_rip_relative() 453 if (insn->modrm.nbytes) { in insn_get_sib() 494 if (insn->modrm.nbytes) { in insn_get_displacement() [all …]
|
| /tools/perf/util/ |
| A D | jit.h | 9 pid_t pid, pid_t tid, u64 *nbytes);
|
| A D | jitdump.c | 847 u64 *nbytes) in jit_process() argument 900 *nbytes = 0; in jit_process() 905 *nbytes = jd.bytes_written; in jit_process()
|
| /tools/objtool/arch/x86/ |
| A D | decode.c | 145 for (i = 0; i < insn->prefixes.nbytes; i++) { in has_notrack_prefix() 183 if (ins.vex_prefix.nbytes) in arch_decode_instruction() 201 if (ins.rex_prefix.nbytes) { in arch_decode_instruction() 209 if (ins.modrm.nbytes) { in arch_decode_instruction() 216 if (ins.sib.nbytes) { in arch_decode_instruction() 574 if (ins.prefixes.nbytes == 1 && in arch_decode_instruction() 754 if (ins.immediate.nbytes) in arch_decode_instruction() 756 else if (ins.displacement.nbytes) in arch_decode_instruction()
|
| /tools/testing/selftests/powerpc/include/ |
| A D | utils.h | 183 ssize_t nbytes __attribute__((unused)); \ 184 nbytes = write(STDERR_FILENO, msg, strlen(msg)); })
|
| /tools/testing/selftests/memfd/ |
| A D | memfd_test.c | 53 ssize_t nbytes; in fd2name() local 64 nbytes = readlink(buf1, buf, bufsize-1); in fd2name() 65 if (nbytes == -1) { in fd2name() 69 buf[nbytes] = '\0'; in fd2name() 70 return nbytes; in fd2name()
|
| /tools/perf/util/intel-pt-decoder/ |
| A D | intel-pt-insn-decoder.c | 169 switch (insn->immediate.nbytes) { in intel_pt_insn_decoder()
|
Completed in 20 milliseconds