/tools/include/uapi/linux/ |
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
|
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/ |
D | filter.h | 36 .code = BPF_ALU64 | BPF_OP(OP) | BPF_X, \ 44 .code = BPF_ALU | BPF_OP(OP) | BPF_X, \ 54 .code = BPF_ALU64 | BPF_OP(OP) | BPF_K, \ 62 .code = BPF_ALU | BPF_OP(OP) | BPF_K, \ 72 .code = BPF_ALU | BPF_END | BPF_SRC(TYPE), \ 82 .code = BPF_ALU64 | BPF_MOV | BPF_X, \ 90 .code = BPF_ALU | BPF_MOV | BPF_X, \ 100 .code = BPF_ALU64 | BPF_MOV | BPF_K, \ 108 .code = BPF_ALU | BPF_MOV | BPF_K, \ 118 .code = BPF_ALU64 | BPF_MOV | BPF_SRC(TYPE), \ [all …]
|
/tools/usb/usbip/src/ |
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()
|
D | usbip_network.h | 28 uint16_t code; member 170 int usbip_net_send_op_common(int sockfd, uint32_t code, uint32_t status); 171 int usbip_net_recv_op_common(int sockfd, uint16_t *code, int *status);
|
D | usbipd.c | 253 uint16_t code = OP_UNSPEC; in recv_pdu() local 257 ret = usbip_net_recv_op_common(connfd, &code, &status); in recv_pdu() 259 dbg("could not receive opcode: %#0x", code); in recv_pdu() 269 info("received request: %#0x(%d)", code, connfd); in recv_pdu() 270 switch (code) { in recv_pdu() 280 err("received an unknown opcode: %#0x", code); in recv_pdu() 285 info("request %#0x(%d): complete", code, connfd); in recv_pdu() 287 info("request %#0x(%d): failed", code, connfd); in recv_pdu()
|
/tools/testing/selftests/pidfd/ |
D | pidfd_fdinfo_test.c | 21 int code; member 25 static int error_set(struct error *err, int code, const char *fmt, ...) in error_set() argument 30 if (code == PIDFD_PASS || !err || err->code != PIDFD_PASS) in error_set() 31 return code; in error_set() 33 err->code = code; in error_set() 39 return code; in error_set() 44 switch (err->code) { in error_report() 70 test_name, err->code, err->msg); in error_report() 78 if (err->code == PIDFD_ERROR) in error_check() 81 return err->code; in error_check()
|
/tools/perf/Documentation/ |
D | jitdump-specification.txt | 17 …-data information about the generated code, such as address, size, and name of generated functions… 73 * uint32_t pid: OS process id of the runtime generating the jitted code 74 * uint32_t tid: OS thread identification of the runtime thread generating the jitted code 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 78 * uint64_t code_index: unique identifier for the jitted code (see below) 80 * native code: raw byte encoding of the jitted code 86 * native code length 89 …a function is jitted it gets a new number. This value is used in case the code for a function is m… [all …]
|
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. 103 Interleave source code with assembly code. Enabled by default, 118 and add PREFIX. This allows to display source code compiled on systems
|
/tools/lib/subcmd/ |
D | run-command.c | 171 int status, code; in wait_or_whine() local 188 code = WEXITSTATUS(status); in wait_or_whine() 189 switch (code) { in wait_or_whine() 195 return -code; in wait_or_whine() 207 int code = start_command(cmd); in run_command() local 208 if (code) in run_command() 209 return code; in run_command()
|
/tools/objtool/Documentation/ |
D | stack-validation.txt | 11 It enforces a set of rules on asm code and C inline assembly code so 14 For each function, it recursively follows all possible code paths and 17 It also follows code paths involving special sections, like 36 code and debug tools to be able to walk the stack to determine the 38 code. 44 For C code, gcc automatically generates instructions for setting up 47 But for asm code, the frame setup instructions have to be written by 49 CONFIG_FRAME_POINTER is honored for C code but not for most asm code. 122 function type. In asm code, this is typically done using the 125 callable code which should be annotated accordingly. [all …]
|
/tools/perf/jvmti/ |
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,
|
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/perf/trace/beauty/ |
D | arch_prctl.c | 30 unsigned long code = arg->val; in syscall_arg__scnprintf_x86_arch_prctl_code() local 32 return x86_arch_prctl__scnprintf_code(code, bf, size, arg->show_string_prefix); in syscall_arg__scnprintf_x86_arch_prctl_code()
|
/tools/memory-model/Documentation/ |
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 27 it is generally a mistake to assume your code will only run in a single 28 threaded context as the kernel can enter the same code path on multiple 33 your code really is executed within a single thread that does not access 35 that you acquire at the beginning of your code and release at the end, 36 taking care to ensure that all references to your code's shared data are 38 this lock at a given time, your code will be executed single-threaded. 39 This approach is called "code locking". [all …]
|
/tools/testing/selftests/bpf/ |
D | README.rst | 16 .. code-block:: c 29 The verifier will reject such code with above error. 37 The corresponding C code 38 .. code-block:: c 57 .. code-block:: c 69 .. code-block:: c
|
D | test_lirc_mode2_user.c | 126 if (event.type == EV_MSC && event.code == MSC_SCAN && in main() 149 if (event.type == EV_REL && event.code == REL_Y && in main()
|
/tools/perf/util/ |
D | genelf.c | 107 const void *code __maybe_unused, in gen_build_id() 131 const void *code, in gen_build_id() argument 137 SHA1(code, csize, (unsigned char *)note->build_id); in gen_build_id() 143 gen_build_id(struct buildid_note *note, unsigned long load_addr, const void *code, size_t csize) in gen_build_id() argument 152 MD5_Update(&context, code, csize); in gen_build_id() 246 const void *code, int csize, in jit_write_elf() argument 319 d->d_buf = (void *)code; in jit_write_elf() 478 gen_build_id(&bnote, load_addr, code, csize); in jit_write_elf()
|
/tools/testing/selftests/powerpc/tm/ |
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/selftests/vDSO/ |
D | vdso_standalone_test_x86.c | 59 static inline void linux_exit(int code) in linux_exit() argument 61 x86_syscall3(__NR_exit, code, 0, 0); in linux_exit()
|
/tools/bpf/bpftool/ |
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_EXIT) { in func_add_bb_edges() 310 } else if (BPF_OP(insn->code) == BPF_JA) { in func_add_bb_edges()
|
/tools/testing/selftests/rcutorture/bin/ |
D | kvm-check-branches.sh | 76 echo git checkout return code: $? "(Commit $ntry: $i)" 79 echo kvm.sh return code $ret for commit $i from branch $gitbr
|
/tools/testing/selftests/drivers/net/netdevsim/ |
D | ethtool-pause.sh | 41 local code=$1 45 if [ $code -ne 0 ]; then
|
/tools/bpf/bpftool/Documentation/ |
D | bpftool-gen.rst | 5 tool for BPF code-generation 31 APIs for working with BPF objects. Skeleton code is intended 32 to significantly shorten and simplify code to load and work 33 with BPF programs from userspace side. Generated code is 62 userspace side, even if they are modified by BPF code. 65 *FILE* is embedded within generated code and is thus not 68 Generated code is dual-licensed under LGPL-2.1 and 281 This is a stripped-out version of skeleton generated for above example code.
|
/tools/lib/traceevent/ |
D | tep_strerror.c | 9 #define _PE(code, str) str argument
|