/openbmc/linux/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), 228 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 | 1535 BPF_MOV64_IMM(BPF_REG_8, 0), 1539 BPF_MOV64_IMM(BPF_REG_8, 1), 1607 BPF_MOV64_IMM(BPF_REG_8, 0), 1611 BPF_MOV64_IMM(BPF_REG_8, 1), 1677 BPF_MOV64_IMM(BPF_REG_8, 0), 1681 BPF_MOV64_IMM(BPF_REG_8, 1), 1750 BPF_MOV64_IMM(BPF_REG_8, 0), 1752 BPF_MOV64_IMM(BPF_REG_8, 1), 1819 BPF_MOV64_IMM(BPF_REG_8, 0), 1821 BPF_MOV64_IMM(BPF_REG_8, 1), [all …]
|
H A 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),
|
H A D | dead_code.c | 5 BPF_LDX_MEM(BPF_B, BPF_REG_8, BPF_REG_9, 0),
|
/openbmc/linux/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 …]
|
/openbmc/linux/tools/lib/bpf/ |
H A 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() 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() 781 emit(gen, BPF_STX_MEM(BPF_W, BPF_REG_8, BPF_REG_9, in emit_relo_ksym_typeless() 829 emit(gen, BPF_ST_MEM(BPF_W, BPF_REG_8, offsetof(struct bpf_insn, imm), 0)); in emit_relo_ksym_btf() [all …]
|
/openbmc/linux/tools/testing/selftests/bpf/prog_tests/ |
H A 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),
|
/openbmc/linux/tools/include/linux/ |
H A D | filter.h | 25 #define BPF_REG_TMP BPF_REG_8
|
/openbmc/linux/arch/x86/net/ |
H A D | bpf_jit_comp.c | 180 [BPF_REG_8] = 6, /* R14 callee saved */ 197 [BPF_REG_8] = offsetof(struct pt_regs, r14), 211 BIT(BPF_REG_8) | in is_ereg() 984 if (insn->dst_reg == BPF_REG_8 || insn->src_reg == BPF_REG_8) in detect_reg_usage()
|
/openbmc/linux/arch/arm64/net/ |
H A 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()
|
/openbmc/linux/arch/mips/net/ |
H A D | bpf_jit_comp64.c | 76 [BPF_REG_8] = MIPS_R_S2,
|
/openbmc/linux/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()
|
/openbmc/linux/include/linux/ |
H A D | filter.h | 58 #define BPF_REG_D BPF_REG_8 /* data, callee-saved */
|
/openbmc/linux/arch/parisc/net/ |
H A D | bpf_jit_comp64.c | 29 [BPF_REG_8] = HPPA_R(12),
|
/openbmc/linux/arch/loongarch/net/ |
H A D | bpf_jit.c | 27 [BPF_REG_8] = LOONGARCH_GPR_S2,
|
/openbmc/linux/tools/include/uapi/linux/ |
H A D | bpf.h | 63 BPF_REG_8, enumerator
|
/openbmc/linux/include/uapi/linux/ |
H A D | bpf.h | 63 BPF_REG_8, enumerator
|
/openbmc/linux/arch/sparc/net/ |
H A D | bpf_jit_comp_64.c | 222 [BPF_REG_8] = L2,
|
/openbmc/linux/arch/riscv/net/ |
H A D | bpf_jit_comp32.c | 86 [BPF_REG_8] = {STACK_OFFSET(BPF_R8_HI), STACK_OFFSET(BPF_R8_LO)},
|
/openbmc/linux/arch/s390/net/ |
H A D | bpf_jit_comp.c | 94 [BPF_REG_8] = 9,
|