| /linux-6.15/tools/testing/selftests/bpf/verifier/ |
| H A D | jmp32.c | 796 BPF_MOV64_REG(BPF_REG_8, BPF_REG_1), 802 BPF_MOV64_REG(BPF_REG_1, BPF_REG_8), 803 BPF_MOV64_REG(BPF_REG_8, BPF_REG_0), 810 BPF_ST_MEM(BPF_B, BPF_REG_8, 0, 0), 823 BPF_MOV64_REG(BPF_REG_8, BPF_REG_1), 829 BPF_MOV64_REG(BPF_REG_1, BPF_REG_8), 830 BPF_MOV64_REG(BPF_REG_8, BPF_REG_0), 838 BPF_ST_MEM(BPF_B, BPF_REG_8, 0, 0), 851 BPF_MOV64_REG(BPF_REG_8, BPF_REG_1), 857 BPF_MOV64_REG(BPF_REG_1, BPF_REG_8), [all …]
|
| H A 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 …]
|
| H A 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), 138 __ATOMIC_FETCH_OP_TEST(BPF_REG_9, BPF_REG_8, 0x010, BPF_OR | BPF_FETCH, 0x011, 0x011), [all …]
|
| H A 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), 234 BPF_ALU64_IMM(BPF_MOV, BPF_REG_8, 0),
|
| H A 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),
|
| H A D | calls.c | 1548 BPF_MOV64_IMM(BPF_REG_8, 0), 1552 BPF_MOV64_IMM(BPF_REG_8, 1), 1620 BPF_MOV64_IMM(BPF_REG_8, 0), 1624 BPF_MOV64_IMM(BPF_REG_8, 1), 1690 BPF_MOV64_IMM(BPF_REG_8, 0), 1694 BPF_MOV64_IMM(BPF_REG_8, 1), 1763 BPF_MOV64_IMM(BPF_REG_8, 0), 1765 BPF_MOV64_IMM(BPF_REG_8, 1), 1832 BPF_MOV64_IMM(BPF_REG_8, 0), 1834 BPF_MOV64_IMM(BPF_REG_8, 1), [all …]
|
| H A D | bpf_loop_inline.c | 224 BPF_STX_MEM(BPF_DW, BPF_REG_10, BPF_REG_8, -24), 229 BPF_STX_MEM(BPF_DW, BPF_REG_10, BPF_REG_8, -24), 238 BPF_STX_MEM(BPF_DW, BPF_REG_10, BPF_REG_8, -40),
|
| H A D | dead_code.c | 5 BPF_LDX_MEM(BPF_B, BPF_REG_8, BPF_REG_9, 0),
|
| /linux-6.15/tools/testing/selftests/bpf/ |
| H A D | test_sysctl.c | 249 BPF_LD_IMM64(BPF_REG_8, 291 BPF_LD_IMM64(BPF_REG_8, 335 BPF_LD_IMM64(BPF_REG_8, 341 BPF_LD_IMM64(BPF_REG_8, 389 BPF_LD_IMM64(BPF_REG_8, 395 BPF_LD_IMM64(BPF_REG_8, 437 BPF_LD_IMM64(BPF_REG_8, 473 BPF_LD_IMM64(BPF_REG_8, 512 BPF_LD_IMM64(BPF_REG_8, 551 BPF_LD_IMM64(BPF_REG_8, [all …]
|
| /linux-6.15/tools/lib/bpf/ |
| H A D | gen_loader.c | 731 emit(gen, BPF_ST_MEM(BPF_W, BPF_REG_8, offsetof(struct bpf_insn, imm), 0)); in emit_relo_kfunc_btf() 732 emit(gen, BPF_ST_MEM(BPF_H, BPF_REG_8, offsetof(struct bpf_insn, off), 0)); in emit_relo_kfunc_btf() 736 emit(gen, BPF_STX_MEM(BPF_W, BPF_REG_8, BPF_REG_7, offsetof(struct bpf_insn, imm))); in emit_relo_kfunc_btf() 748 emit(gen, BPF_ST_MEM(BPF_H, BPF_REG_8, offsetof(struct bpf_insn, off), 0)); in emit_relo_kfunc_btf() 756 emit(gen, BPF_LDX_MEM(BPF_W, BPF_REG_7, BPF_REG_8, in emit_relo_kfunc_btf() 758 emit(gen, BPF_LDX_MEM(BPF_H, BPF_REG_9, BPF_REG_8, in emit_relo_kfunc_btf() 774 emit(gen, BPF_LDX_MEM(BPF_W, BPF_REG_7, BPF_REG_8, in emit_ksym_relo_log() 776 emit(gen, BPF_LDX_MEM(BPF_H, BPF_REG_9, BPF_REG_8, sizeof(struct bpf_insn) + in emit_ksym_relo_log() 815 emit(gen, BPF_STX_MEM(BPF_W, BPF_REG_8, BPF_REG_9, in emit_relo_ksym_typeless() 863 emit(gen, BPF_ST_MEM(BPF_W, BPF_REG_8, offsetof(struct bpf_insn, imm), 0)); in emit_relo_ksym_btf() [all …]
|
| /linux-6.15/tools/testing/selftests/bpf/prog_tests/ |
| H A D | sockopt.c | 849 BPF_LDX_MEM(BPF_DW, BPF_REG_8, BPF_REG_1, 853 BPF_JMP_REG(BPF_JGT, BPF_REG_7, BPF_REG_8, 4), 895 BPF_LDX_MEM(BPF_DW, BPF_REG_8, BPF_REG_1, 899 BPF_JMP_REG(BPF_JGT, BPF_REG_7, BPF_REG_8, 4),
|
| /linux-6.15/tools/include/linux/ |
| H A D | filter.h | 25 #define BPF_REG_TMP BPF_REG_8
|
| /linux-6.15/tools/testing/selftests/bpf/test_kmods/ |
| H A D | bpf_testmod.c | 1333 *insn++ = BPF_MOV64_REG(BPF_REG_8, BPF_REG_1); in st_ops_gen_prologue_with_kfunc() 1337 *insn++ = BPF_LDX_MEM(BPF_DW, BPF_REG_6, BPF_REG_8, 0); in st_ops_gen_prologue_with_kfunc() 1344 *insn++ = BPF_MOV64_REG(BPF_REG_1, BPF_REG_8); in st_ops_gen_prologue_with_kfunc()
|
| /linux-6.15/arch/x86/net/ |
| H A D | bpf_jit_comp.c | 189 [BPF_REG_8] = 6, /* R14 callee saved */ 207 [BPF_REG_8] = offsetof(struct pt_regs, r14), 221 BIT(BPF_REG_8) | in is_ereg() 1414 if (insn->dst_reg == BPF_REG_8 || insn->src_reg == BPF_REG_8) in detect_reg_usage()
|
| /linux-6.15/arch/arm64/net/ |
| H A D | bpf_jit_comp.c | 59 [BPF_REG_8] = A64_R(21), 365 if (insn->dst_reg == BPF_REG_8 || insn->src_reg == BPF_REG_8) in find_used_callee_regs() 385 ctx->used_callee_reg[i++] = bpf2a64[BPF_REG_8]; in find_used_callee_regs()
|
| /linux-6.15/arch/mips/net/ |
| H A D | bpf_jit_comp64.c | 76 [BPF_REG_8] = MIPS_R_S2,
|
| /linux-6.15/tools/include/uapi/linux/ |
| H A D | bpf.h | 71 BPF_REG_8, enumerator
|
| /linux-6.15/arch/parisc/net/ |
| H A D | bpf_jit_comp64.c | 29 [BPF_REG_8] = HPPA_R(12),
|
| /linux-6.15/arch/powerpc/net/ |
| H A D | bpf_jit_comp64.c | 62 ctx->b2p[BPF_REG_8] = _R29; in bpf_jit_init_reg_mapping()
|
| H A D | bpf_jit_comp32.c | 59 ctx->b2p[BPF_REG_8] = _R28; in bpf_jit_init_reg_mapping()
|
| /linux-6.15/include/uapi/linux/ |
| H A D | bpf.h | 71 BPF_REG_8, enumerator
|
| /linux-6.15/arch/loongarch/net/ |
| H A D | bpf_jit.c | 27 [BPF_REG_8] = LOONGARCH_GPR_S2,
|
| /linux-6.15/include/linux/ |
| H A D | filter.h | 58 #define BPF_REG_D BPF_REG_8 /* data, callee-saved */
|
| /linux-6.15/arch/sparc/net/ |
| H A D | bpf_jit_comp_64.c | 222 [BPF_REG_8] = L2,
|
| /linux-6.15/arch/riscv/net/ |
| H A D | bpf_jit_comp32.c | 86 [BPF_REG_8] = {STACK_OFFSET(BPF_R8_HI), STACK_OFFSET(BPF_R8_LO)},
|