Home
last modified time | relevance | path

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

123

/tools/include/uapi/linux/
Dbpf_common.h5 #define BPF_CLASS(code) ((code) & 0x07) argument
16 #define BPF_SIZE(code) ((code) & 0x18) argument
20 #define BPF_MODE(code) ((code) & 0xe0) argument
29 #define BPF_OP(code) ((code) & 0xf0) argument
47 #define BPF_SRC(code) ((code) & 0x08) argument
/tools/include/linux/
Dfilter.h35 .code = BPF_ALU64 | BPF_OP(OP) | BPF_X, \
43 .code = BPF_ALU | BPF_OP(OP) | BPF_X, \
53 .code = BPF_ALU64 | BPF_OP(OP) | BPF_K, \
61 .code = BPF_ALU | BPF_OP(OP) | BPF_K, \
71 .code = BPF_ALU | BPF_END | BPF_SRC(TYPE), \
81 .code = BPF_ALU64 | BPF_MOV | BPF_X, \
89 .code = BPF_ALU | BPF_MOV | BPF_X, \
99 .code = BPF_ALU64 | BPF_MOV | BPF_K, \
107 .code = BPF_ALU | BPF_MOV | BPF_K, \
117 .code = BPF_ALU64 | BPF_MOV | BPF_SRC(TYPE), \
[all …]
/tools/usb/usbip/src/
Dusbip_network.c144 int usbip_net_send_op_common(int sockfd, uint32_t code, uint32_t status) in usbip_net_send_op_common() argument
152 op_common.code = code; in usbip_net_send_op_common()
166 int usbip_net_recv_op_common(int sockfd, uint16_t *code) in usbip_net_recv_op_common() argument
187 switch (*code) { in usbip_net_recv_op_common()
191 if (op_common.code != *code) { in usbip_net_recv_op_common()
192 dbg("unexpected pdu %#0x for %#0x", op_common.code, in usbip_net_recv_op_common()
193 *code); in usbip_net_recv_op_common()
203 *code = op_common.code; in usbip_net_recv_op_common()
Dusbip_network.h27 uint16_t code; member
38 usbip_net_pack_uint16_t(pack, &(op_common)->code);\
177 int usbip_net_send_op_common(int sockfd, uint32_t code, uint32_t status);
178 int usbip_net_recv_op_common(int sockfd, uint16_t *code);
Dusbipd.c252 uint16_t code = OP_UNSPEC; in recv_pdu() local
255 ret = usbip_net_recv_op_common(connfd, &code); in recv_pdu()
257 dbg("could not receive opcode: %#0x", code); in recv_pdu()
267 info("received request: %#0x(%d)", code, connfd); in recv_pdu()
268 switch (code) { in recv_pdu()
278 err("received an unknown opcode: %#0x", code); in recv_pdu()
283 info("request %#0x(%d): complete", code, connfd); in recv_pdu()
285 info("request %#0x(%d): failed", code, connfd); in recv_pdu()
Dusbip_attach.c129 uint16_t code = OP_REP_IMPORT; in query_import_device() local
152 rc = usbip_net_recv_op_common(sockfd, &code); in query_import_device()
/tools/lib/subcmd/
Drun-command.c170 int status, code; in wait_or_whine() local
187 code = WEXITSTATUS(status); in wait_or_whine()
188 switch (code) { in wait_or_whine()
194 return -code; in wait_or_whine()
206 int code = start_command(cmd); in run_command() local
207 if (code) in run_command()
208 return code; in run_command()
/tools/objtool/Documentation/
Dstack-validation.txt11 It enforces a set of rules on asm code and C inline assembly code so
17 For each function, it recursively follows all possible code paths and
20 It also follows code paths involving special sections, like
35 code and debug tools to be able to walk the stack to determine the
37 code.
43 For C code, gcc automatically generates instructions for setting up
46 But for asm code, the frame setup instructions have to be written by
48 CONFIG_FRAME_POINTER is honored for C code but not for most asm code.
106 For C code, gcc automatically generates DWARF CFI metadata. But for
107 asm code, generating CFI is a tedious manual approach which requires
[all …]
/tools/perf/jvmti/
Djvmti_agent.h23 uint64_t vma, void const *code,
27 uint64_t code,
Djvmti_agent.c347 uint64_t vma, void const *code, unsigned int const size) in jvmti_write_code() argument
379 if (code) in jvmti_write_code()
399 if (code) in jvmti_write_code()
400 fwrite_unlocked(code, size, 1, fp); in jvmti_write_code()
410 jvmti_write_debug_info(void *agent, uint64_t code, const char *file, in jvmti_write_debug_info() argument
437 rec.code_addr = (uint64_t)(uintptr_t)code; in jvmti_write_debug_info()
/tools/perf/Documentation/
Dperf-annotate.txt6 perf-annotate - Read perf.data (created by perf record) and display annotated code
16 code. If the object file has debug symbols then the source code will be
17 displayed alongside assembly code.
88 Interleave source code with assembly code. Enabled by default,
Dperf-config.txt157 Colors for jump arrows on assembly code listings
182 symbol resolution, code annotation, etc.
194 These are in control of addresses, jump function, source code
195 in lines of assembly code from a specific program.
198 If a program which is analyzed has source code,
199 this option lets 'annotate' print a list of assembly code with the source code.
202 without source code from a program as below.
209 But if this option is 'false', source code of the part
225 Instead of using original addresses of assembly code,
232 an address on assembly code has a specific absolute address as below
[all …]
Djit-interface.txt1 perf supports a simple JIT interface to resolve symbols for dynamic code generated
Dintel-bts.txt12 While decoding Intel BTS does not require walking the object code, the object
13 code is still needed to pair up calls and returns correctly, consequently much
/tools/perf/util/
Dgenelf.c102 const void *code __maybe_unused, in gen_build_id()
126 const void *code, in gen_build_id() argument
132 SHA1(code, csize, (unsigned char *)note->build_id); in gen_build_id()
138 gen_build_id(struct buildid_note *note, unsigned long load_addr, const void *code, size_t csize) in gen_build_id() argument
147 MD5_Update(&context, code, csize); in gen_build_id()
161 const void *code, int csize, in jit_write_elf() argument
218 d->d_buf = (void *)code; in jit_write_elf()
365 gen_build_id(&bnote, load_addr, code, csize); in jit_write_elf()
Dgenelf.h6 const void *code, int csize, void *debug, int nr_debug_entries);
/tools/testing/selftests/vDSO/
Dvdso_standalone_test_x86.c61 static inline void linux_exit(int code) in linux_exit() argument
63 x86_syscall3(__NR_exit, code, 0, 0); in linux_exit()
/tools/virtio/linux/
Ddma-mapping.h5 # error Virtio userspace code does not support CONFIG_HAS_DMA
/tools/testing/selftests/rcutorture/doc/
DTINY_RCU.txt19 In common code tested by TREE_RCU test cases.
/tools/net/
Dbpf_dbg.c222 switch (f.code) { in bpf_disasm()
423 val = f.code; in bpf_disasm()
431 if ((BPF_CLASS(f.code) == BPF_JMP && BPF_OP(f.code) != BPF_JA)) in bpf_disasm()
444 f->code, f->jt, f->jf, f->k); in bpf_dump_curr()
495 f[i].code, f[i].jt, f[i].jf, f[i].k); in bpf_dump_all()
518 if (BPF_CLASS(f[i].code) == BPF_LD && in bpf_runnable()
639 switch (f->code) { in bpf_single_step()
804 switch (f->code) { in bpf_single_step()
1027 &tmp.code, &tmp.jt, &tmp.jf, &tmp.k) != 4) { in cmd_load_bpf()
1032 bpf_image[i].code = tmp.code; in cmd_load_bpf()
Dbpf_exp.y479 static void bpf_set_curr_instr(uint16_t code, uint8_t jt, uint8_t jf, in bpf_set_curr_instr() argument
483 out[curr_instr].code = code; in bpf_set_curr_instr()
584 printf("{ %#04x, %2u, %2u, %#010x },\n", out[i].code, in bpf_pretty_print_c()
594 printf("%u %u %u %u,", out[i].code, in bpf_pretty_print()
/tools/usb/usbip/
DCOPYING24 this service if you wish), that you receive source code or can get it
36 source code. And you must show them these terms so they know their
80 source code as you receive it, in any medium, provided that you
135 under Section 2) in object code or executable form under the terms of
139 source code, which must be distributed under the terms of Sections
145 machine-readable copy of the corresponding source code, to be
150 to distribute corresponding source code. (This alternative is
152 received the program in object code or executable form with such
155 The source code for a work means the preferred form of the work for
157 code means all the source code for all modules it contains, plus any
[all …]
DINSTALL47 1. `cd' to the directory containing the package's source code and type
62 source code directory by typing `make clean'. To also remove the
96 source code in the directory that `configure' is in and in `..'.
99 architecture at a time in the source code directory. After you have
164 produce code for.
166 If you want to _use_ a cross compiler, that generates code for a
232 Look for the package's source code in directory DIR. Usually
/tools/perf/util/intel-pt-decoder/
Dintel-pt-decoder.h108 int intel_pt__strerror(int code, char *buf, size_t buflen);
/tools/testing/selftests/ftrace/
DREADME47 Result code
73 There are some sample test scripts for result code under samples/.

123