| /tools/include/uapi/linux/ |
| A D | bpf_common.h | 6 #define BPF_CLASS(code) ((code) & 0x07) argument 17 #define BPF_SIZE(code) ((code) & 0x18) argument 22 #define BPF_MODE(code) ((code) & 0xe0) argument 31 #define BPF_OP(code) ((code) & 0xf0) argument 49 #define BPF_SRC(code) ((code) & 0x08) argument
|
| A D | filter.h | 25 __u16 code; /* Actual filter code */ member 37 #define BPF_RVAL(code) ((code) & 0x18) argument 41 #define BPF_MISCOP(code) ((code) & 0xf8) argument 49 #define BPF_STMT(code, k) { (unsigned short)(code), 0, 0, k } argument 52 #define BPF_JUMP(code, k, jt, jf) { (unsigned short)(code), jt, jf, k } argument
|
| /tools/include/linux/ |
| A D | filter.h | 36 .code = BPF_ALU64 | BPF_OP(OP) | BPF_X, \ 44 .code = BPF_ALU | BPF_OP(OP) | BPF_X, \ 90 .code = BPF_ALU | BPF_MOV | BPF_X, \ 108 .code = BPF_ALU | BPF_MOV | BPF_K, \ 126 .code = BPF_ALU | BPF_MOV | BPF_X, \ 270 .code = BPF_JMP | BPF_JA, \ 280 .code = BPF_JMP32 | BPF_JA, \ 290 .code = BPF_JMP | BPF_CALL, \ 300 .code = CODE, \ 353 .code = BPF_JMP | BPF_CALL, \ [all …]
|
| /tools/usb/usbip/src/ |
| A D | usbip_network.c | 136 op_common->code = usbip_net_pack_uint16_t(pack, op_common->code); in usbip_net_pack_op_common() 140 int usbip_net_send_op_common(int sockfd, uint32_t code, uint32_t status) in usbip_net_send_op_common() argument 148 op_common.code = code; in usbip_net_send_op_common() 162 int usbip_net_recv_op_common(int sockfd, uint16_t *code, int *status) in usbip_net_recv_op_common() argument 183 switch (*code) { in usbip_net_recv_op_common() 187 if (op_common.code != *code) { in usbip_net_recv_op_common() 188 dbg("unexpected pdu %#0x for %#0x", op_common.code, in usbip_net_recv_op_common() 189 *code); in usbip_net_recv_op_common() 203 *code = op_common.code; in usbip_net_recv_op_common()
|
| /tools/testing/selftests/sched_ext/ |
| A D | hotplug.c | 48 long kind, code; in test_hotplug() local 63 code = SCX_ECODE_VAL(SCX_ECODE_ACT_RESTART) | HOTPLUG_EXIT_RSN; in test_hotplug() 65 code |= HOTPLUG_ONLINING; in test_hotplug() 68 code = SCX_ECODE_VAL(SCX_ECODE_ACT_RESTART) | in test_hotplug() 89 SCX_EQ(UEI_REPORT(skel, uei), code); in test_hotplug() 105 long kind, code; in test_hotplug_attach() local 129 code = SCX_ECODE_VAL(SCX_ECODE_ACT_RESTART) | in test_hotplug_attach() 132 SCX_EQ(UEI_REPORT(skel, uei), code); in test_hotplug_attach()
|
| A D | hotplug.bpf.c | 28 s64 code = SCX_ECODE_ACT_RESTART | HOTPLUG_EXIT_RSN; in exit_from_hotplug() local 31 code |= HOTPLUG_ONLINING; in exit_from_hotplug() 33 scx_bpf_exit(code, "hotplug event detected (%d going %s)", cpu, in exit_from_hotplug()
|
| /tools/net/sunrpc/xdrgen/ |
| A D | README | 1 xdrgen - Linux Kernel XDR code generator 12 code that implements the RPC portions of that protocol. This tool is 15 This RPC-level code is code that handles input directly from the 18 code can have significant impact on security and performance. 24 of the generated code is very traditional K&R C. 33 2. rpcgen-generated code is believed to be less efficient than code 38 XDR code by hand will make a measurable performance different. 96 generated code to specific parts of the XDR specification. 123 This tree is passed to a series of code generators. 256 into compilable code [all …]
|
| /tools/testing/selftests/pidfd/ |
| A D | pidfd_fdinfo_test.c | 22 int code; member 26 static int error_set(struct error *err, int code, const char *fmt, ...) in error_set() argument 31 if (code == PIDFD_PASS || !err || err->code != PIDFD_PASS) in error_set() 32 return code; in error_set() 34 err->code = code; in error_set() 40 return code; in error_set() 45 switch (err->code) { in error_report() 71 test_name, err->code, err->msg); in error_report() 79 if (err->code == PIDFD_ERROR) in error_check() 82 return err->code; in error_check()
|
| /tools/perf/Documentation/ |
| A D | jitdump-specification.txt | 75 * uint64_t vma: virtual address of jitted code start 76 * uint64_t code_addr: code start address for the jitted code. By default vma = code_addr 77 * uint64_t code_size: size in bytes of the generated jitted code 80 * native code: raw byte encoding of the jitted code 86 * native code length 91 The format supports empty functions with no native code. 101 * uint64_t vma : new virtual address of jitted code start 102 * uint64_t old_code_addr: previous code address for the same function 103 …* uint64_t new_code_addr: alternate new code started address for the jitted code. By default it sh… 104 * uint64_t code_size : size in bytes of the jitted code [all …]
|
| A D | perf-annotate.txt | 6 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. 110 Interleave source code with assembly code. Enabled by default, 128 and add PREFIX. This allows to display source code compiled on systems 159 Display data type annotation instead of code. It infers data type of 171 --code-with-type:: 172 Show data type info in code annotation (for memory instructions only).
|
| A D | guest-files.txt | 14 --guest-code:: 15 Indicate that guest code can be found in the hypervisor process,
|
| /tools/testing/selftests/kvm/include/s390/ |
| A D | processor.h | 36 static inline int insn_length(unsigned char code) in insn_length() argument 38 return ((((int)code + 64) >> 7) + 1) << 1; in insn_length()
|
| /tools/perf/jvmti/ |
| A D | jvmti_agent.h | 23 uint64_t vma, void const *code, 26 int jvmti_write_debug_info(void *agent, uint64_t code, int nr_lines,
|
| A D | jvmti_agent.c | 360 uint64_t vma, void const *code, unsigned int const size) in jvmti_write_code() argument 389 if (code) in jvmti_write_code() 406 if (code) in jvmti_write_code() 407 fwrite_unlocked(code, size, 1, fp); in jvmti_write_code() 417 jvmti_write_debug_info(void *agent, uint64_t code, in jvmti_write_debug_info() argument 445 rec.code_addr = (uint64_t)(uintptr_t)code; in jvmti_write_debug_info()
|
| /tools/testing/selftests/filesystems/eventfd/ |
| A D | eventfd_test.c | 19 int code; member 23 static int error_set(struct error *err, int code, const char *fmt, ...) in error_set() argument 28 if (code == 0 || !err || err->code != 0) in error_set() 29 return code; in error_set() 31 err->code = code; in error_set() 37 return code; in error_set()
|
| /tools/crypto/ccp/ |
| A D | dbc.py | 29 def handle_error(code): argument 30 raise OSError(code, os.strerror(code))
|
| A D | dbc_cli.py | 57 def pretty_error(code): argument 58 if code in ERRORS: 59 print(ERRORS[code]) 61 print("failed with return code %d" % code)
|
| /tools/memory-model/Documentation/ |
| A D | simple.txt | 6 (LKMM) is quite complex, with subtle differences in code often having 22 Single-threaded code 25 In single-threaded code, there is no reordering, at least assuming 39 This approach is called "code locking". 59 from moving code in either direction across the locking function. 61 Despite the scalability limitations of single-threaded code, RCU 71 Packaged code 89 With code locking, we use single-threaded code execution to guarantee 149 currently necessary to open-code it in your litmus tests.) 165 source code. [all …]
|
| /tools/lib/subcmd/ |
| A D | run-command.c | 176 int status, code; in wait_or_whine() local 199 code = WEXITSTATUS(status); in wait_or_whine() 200 switch (code) { in wait_or_whine() 208 result = -code; in wait_or_whine() 275 int code = start_command(cmd); in run_command() local 276 if (code) in run_command() 277 return code; in run_command()
|
| /tools/perf/trace/beauty/ |
| A D | arch_prctl.c | 32 unsigned long code = arg->val; in syscall_arg__scnprintf_x86_arch_prctl_code() local 34 return x86_arch_prctl__scnprintf_code(code, bf, size, arg->show_string_prefix); in syscall_arg__scnprintf_x86_arch_prctl_code()
|
| /tools/objtool/Documentation/ |
| A D | objtool.txt | 41 ("noinstr") code rules, preventing instrumentation in low-level C 42 entry code 112 code and C inline assembly code so that stack traces can be reliable. 117 It also follows code paths involving special sections, like 130 code. 141 CONFIG_FRAME_POINTER is honored for C code but not for most asm code. 214 callable code which should be annotated accordingly. 242 function's code paths. If a function jumps to code in another file, 247 The only code which needs such instructions is kernel entry code, 354 likely part of the kernel entry code. Such code should probably be [all …]
|
| /tools/testing/selftests/drivers/net/netdevsim/ |
| A D | ethtool-common.sh | 24 local code=$1 31 if [ $code $cop 0 ]; then
|
| /tools/bpf/bpftool/ |
| A D | cfg.c | 141 if (cur->code != (BPF_JMP | BPF_CALL)) in cfg_partition_funcs() 160 static bool is_jmp_insn(__u8 code) in is_jmp_insn() argument 162 return BPF_CLASS(code) == BPF_JMP || BPF_CLASS(code) == BPF_JMP32; in is_jmp_insn() 178 if (is_jmp_insn(cur->code)) { in func_partition_bb_head() 179 __u8 opcode = BPF_OP(cur->code); in func_partition_bb_head() 304 if (!is_jmp_insn(insn->code) || in func_add_bb_edges() 305 BPF_OP(insn->code) == BPF_CALL || in func_add_bb_edges() 306 BPF_OP(insn->code) == BPF_EXIT) { in func_add_bb_edges() 311 } else if (BPF_OP(insn->code) == BPF_JA) { in func_add_bb_edges()
|
| /tools/testing/selftests/powerpc/tm/ |
| A D | tm-unavailable.c | 40 #define pr_warn(code, format, ...) err_at_line(0, code, format, ##__VA_ARGS__) argument 41 #define pr_err(code, format, ...) err_at_line(1, code, format, ##__VA_ARGS__) argument
|
| /tools/testing/kunit/ |
| A D | kunit_printer.py | 34 def _color(self, code: str, text: str) -> str: 37 return code + text + _RESET
|