/Linux-v6.6/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), 1533 BPF_MOV64_IMM(BPF_REG_8, 0), 1537 BPF_MOV64_IMM(BPF_REG_8, 1), 1554 BPF_MOV64_REG(BPF_REG_2, BPF_REG_8), 1605 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),
|
/Linux-v6.6/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 …]
|
/Linux-v6.6/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 …]
|
/Linux-v6.6/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),
|
/Linux-v6.6/tools/include/linux/ |
D | filter.h | 25 #define BPF_REG_TMP BPF_REG_8
|
/Linux-v6.6/arch/x86/net/ |
D | bpf_jit_comp.c | 130 [BPF_REG_8] = 6, /* R14 callee saved */ 147 [BPF_REG_8] = offsetof(struct pt_regs, r14), 161 BIT(BPF_REG_8) | in is_ereg() 934 if (insn->dst_reg == BPF_REG_8 || insn->src_reg == BPF_REG_8) in detect_reg_usage()
|
/Linux-v6.6/arch/arm64/net/ |
D | bpf_jit_comp.c | 57 [BPF_REG_8] = A64_R(21), 294 const u8 r8 = bpf2a64[BPF_REG_8]; in build_prologue() 661 const u8 r8 = bpf2a64[BPF_REG_8]; in build_epilogue()
|
/Linux-v6.6/arch/mips/net/ |
D | bpf_jit_comp64.c | 76 [BPF_REG_8] = MIPS_R_S2,
|
/Linux-v6.6/arch/powerpc/net/ |
D | bpf_jit_comp64.c | 62 ctx->b2p[BPF_REG_8] = _R29; in bpf_jit_init_reg_mapping()
|
D | bpf_jit_comp32.c | 59 ctx->b2p[BPF_REG_8] = _R28; in bpf_jit_init_reg_mapping()
|
/Linux-v6.6/include/linux/ |
D | filter.h | 58 #define BPF_REG_D BPF_REG_8 /* data, callee-saved */
|
/Linux-v6.6/arch/loongarch/net/ |
D | bpf_jit.c | 27 [BPF_REG_8] = LOONGARCH_GPR_S2,
|
/Linux-v6.6/arch/parisc/net/ |
D | bpf_jit_comp64.c | 29 [BPF_REG_8] = HPPA_R(12),
|
/Linux-v6.6/tools/include/uapi/linux/ |
D | bpf.h | 63 BPF_REG_8, enumerator
|
/Linux-v6.6/include/uapi/linux/ |
D | bpf.h | 63 BPF_REG_8, enumerator
|
/Linux-v6.6/arch/sparc/net/ |
D | bpf_jit_comp_64.c | 222 [BPF_REG_8] = L2,
|
/Linux-v6.6/arch/s390/net/ |
D | bpf_jit_comp.c | 94 [BPF_REG_8] = 9,
|
/Linux-v6.6/arch/riscv/net/ |
D | bpf_jit_comp32.c | 86 [BPF_REG_8] = {STACK_OFFSET(BPF_R8_HI), STACK_OFFSET(BPF_R8_LO)},
|