/tools/testing/selftests/bpf/verifier/ |
D | jmp32.c | 37 BPF_LD_IMM64(BPF_REG_8, 0x8000000000000000), 38 BPF_JMP32_REG(BPF_JSET, BPF_REG_7, BPF_REG_8, 1), 42 BPF_LD_IMM64(BPF_REG_8, 0x8000000000000001), 43 BPF_JMP32_REG(BPF_JSET, BPF_REG_7, BPF_REG_8, 1), 69 BPF_LD_IMM64(BPF_REG_8, 0x8000000000000000), 70 BPF_JMP_REG(BPF_JSET, BPF_REG_7, BPF_REG_8, 1), 72 BPF_JMP32_REG(BPF_JSET, BPF_REG_7, BPF_REG_8, 1), 87 BPF_LDX_MEM(BPF_B, BPF_REG_8, BPF_REG_9, 0), 122 BPF_LD_IMM64(BPF_REG_8, 0x7000000000000001), 123 BPF_JMP32_REG(BPF_JEQ, BPF_REG_7, BPF_REG_8, 1), [all …]
|
D | jset.c | 8 BPF_LD_IMM64(BPF_REG_8, 0x8000000000000001), 9 BPF_JMP_REG(BPF_JSET, BPF_REG_7, BPF_REG_8, 1), 13 BPF_LD_IMM64(BPF_REG_8, 0x4000000000000000), 14 BPF_JMP_REG(BPF_JSET, BPF_REG_7, BPF_REG_8, 1), 81 BPF_LDX_MEM(BPF_B, BPF_REG_8, BPF_REG_9, 0), 95 BPF_LDX_MEM(BPF_B, BPF_REG_8, BPF_REG_9, 0), 110 BPF_LDX_MEM(BPF_B, BPF_REG_8, BPF_REG_9, 0), 124 BPF_LDX_MEM(BPF_B, BPF_REG_8, BPF_REG_9, 0), 139 BPF_LDX_MEM(BPF_B, BPF_REG_8, BPF_REG_9, 0), 157 BPF_LDX_MEM(BPF_B, BPF_REG_8, BPF_REG_9, 0), [all …]
|
D | atomic_fetch.c | 5 BPF_LD_MAP_FD(BPF_REG_8, 0), 13 BPF_MOV64_REG(BPF_REG_1, BPF_REG_8), 29 BPF_LD_MAP_FD(BPF_REG_8, 0), 37 BPF_MOV64_REG(BPF_REG_1, BPF_REG_8), 53 BPF_LD_MAP_FD(BPF_REG_8, 0), 61 BPF_MOV64_REG(BPF_REG_1, BPF_REG_8), 76 BPF_LD_MAP_FD(BPF_REG_8, 0), 84 BPF_MOV64_REG(BPF_REG_1, BPF_REG_8), 126 __ATOMIC_FETCH_OP_TEST(BPF_REG_9, BPF_REG_8, 1, BPF_ADD | BPF_FETCH, 2, 3), 132 __ATOMIC_FETCH_OP_TEST(BPF_REG_9, BPF_REG_8, 0x010, BPF_AND | BPF_FETCH, 0x011, 0x010), [all …]
|
D | precise.c | 23 BPF_MOV64_REG(BPF_REG_8, BPF_REG_0), 25 BPF_ALU64_REG(BPF_SUB, BPF_REG_9, BPF_REG_8), /* map_value_ptr -= map_value_ptr */ 82 BPF_MOV64_REG(BPF_REG_8, BPF_REG_0), 84 BPF_ALU64_REG(BPF_SUB, BPF_REG_9, BPF_REG_8), /* map_value_ptr -= map_value_ptr */ 121 BPF_MOV64_IMM(BPF_REG_8, 0), 123 BPF_MOV64_IMM(BPF_REG_8, 1), 130 BPF_JMP_IMM(BPF_JEQ, BPF_REG_8, 1, 1), 228 BPF_ALU64_IMM(BPF_MOV, BPF_REG_8, 0),
|
D | ld_abs.c | 172 BPF_ALU64_REG(BPF_MOV, BPF_REG_8, BPF_REG_0), 174 BPF_ALU64_REG(BPF_ADD, BPF_REG_8, BPF_REG_0), 175 BPF_LD_IND(BPF_B, BPF_REG_8, -70), 192 BPF_ALU64_REG(BPF_MOV, BPF_REG_8, BPF_REG_0), 194 BPF_ALU64_REG(BPF_ADD, BPF_REG_8, BPF_REG_0), 195 BPF_LD_IND(BPF_B, BPF_REG_8, -70),
|
D | calls.c | 637 BPF_MOV64_REG(BPF_REG_8, BPF_REG_6), 638 BPF_ALU64_IMM(BPF_ADD, BPF_REG_8, 8), 639 BPF_JMP_REG(BPF_JGT, BPF_REG_8, BPF_REG_7, 2), 1009 BPF_MOV64_REG(BPF_REG_8, BPF_REG_0), 1012 BPF_ALU64_REG(BPF_ADD, BPF_REG_8, BPF_REG_0), 1013 BPF_MOV64_REG(BPF_REG_0, BPF_REG_8), 1535 BPF_MOV64_IMM(BPF_REG_8, 0), 1539 BPF_MOV64_IMM(BPF_REG_8, 1), 1556 BPF_MOV64_REG(BPF_REG_2, BPF_REG_8), 1607 BPF_MOV64_IMM(BPF_REG_8, 0), [all …]
|
D | bpf_loop_inline.c | 220 BPF_STX_MEM(BPF_DW, BPF_REG_10, BPF_REG_8, -24), 225 BPF_STX_MEM(BPF_DW, BPF_REG_10, BPF_REG_8, -24), 234 BPF_STX_MEM(BPF_DW, BPF_REG_10, BPF_REG_8, -40),
|
D | dead_code.c | 5 BPF_LDX_MEM(BPF_B, BPF_REG_8, BPF_REG_9, 0),
|
/tools/testing/selftests/bpf/ |
D | test_sysctl.c | 249 BPF_LD_IMM64(BPF_REG_8, 252 BPF_JMP_REG(BPF_JNE, BPF_REG_8, BPF_REG_9, 2), 291 BPF_LD_IMM64(BPF_REG_8, 294 BPF_JMP_REG(BPF_JNE, BPF_REG_8, BPF_REG_9, 2), 335 BPF_LD_IMM64(BPF_REG_8, 338 BPF_JMP_REG(BPF_JNE, BPF_REG_8, BPF_REG_9, 10), 341 BPF_LD_IMM64(BPF_REG_8, 344 BPF_JMP_REG(BPF_JNE, BPF_REG_8, BPF_REG_9, 6), 347 BPF_LD_IMM64(BPF_REG_8, 0x0ULL), 349 BPF_JMP_REG(BPF_JNE, BPF_REG_8, BPF_REG_9, 2), [all …]
|
/tools/lib/bpf/ |
D | gen_loader.c | 697 emit(gen, BPF_ST_MEM(BPF_W, BPF_REG_8, offsetof(struct bpf_insn, imm), 0)); in emit_relo_kfunc_btf() 698 emit(gen, BPF_ST_MEM(BPF_H, BPF_REG_8, offsetof(struct bpf_insn, off), 0)); in emit_relo_kfunc_btf() 702 emit(gen, BPF_STX_MEM(BPF_W, BPF_REG_8, BPF_REG_7, offsetof(struct bpf_insn, imm))); in emit_relo_kfunc_btf() 714 emit(gen, BPF_ST_MEM(BPF_H, BPF_REG_8, offsetof(struct bpf_insn, off), 0)); in emit_relo_kfunc_btf() 718 emit(gen, BPF_ST_MEM(BPF_H, BPF_REG_8, offsetof(struct bpf_insn, off), btf_fd_idx)); in emit_relo_kfunc_btf() 722 emit(gen, BPF_LDX_MEM(BPF_W, BPF_REG_7, BPF_REG_8, in emit_relo_kfunc_btf() 724 emit(gen, BPF_LDX_MEM(BPF_H, BPF_REG_9, BPF_REG_8, in emit_relo_kfunc_btf() 740 emit(gen, BPF_LDX_MEM(BPF_W, BPF_REG_7, BPF_REG_8, in emit_ksym_relo_log() 742 emit(gen, BPF_LDX_MEM(BPF_H, BPF_REG_9, BPF_REG_8, sizeof(struct bpf_insn) + in emit_ksym_relo_log() 746 emit(gen, BPF_LDX_MEM(BPF_B, BPF_REG_9, BPF_REG_8, offsetofend(struct bpf_insn, code))); in emit_ksym_relo_log() [all …]
|
/tools/testing/selftests/bpf/prog_tests/ |
D | sockopt.c | 834 BPF_LDX_MEM(BPF_DW, BPF_REG_8, BPF_REG_1, 838 BPF_JMP_REG(BPF_JGT, BPF_REG_7, BPF_REG_8, 4), 880 BPF_LDX_MEM(BPF_DW, BPF_REG_8, BPF_REG_1, 884 BPF_JMP_REG(BPF_JGT, BPF_REG_7, BPF_REG_8, 4),
|
/tools/include/linux/ |
D | filter.h | 25 #define BPF_REG_TMP BPF_REG_8
|
/tools/include/uapi/linux/ |
D | bpf.h | 63 BPF_REG_8, enumerator
|