/openbmc/linux/tools/testing/selftests/bpf/verifier/ |
H A D | atomic_fetch.c | 6 BPF_LD_MAP_FD(BPF_REG_9, 0), 9 BPF_STX_MEM(BPF_DW, BPF_REG_2, BPF_REG_9, 0), 11 BPF_LDX_MEM(BPF_DW, BPF_REG_9, BPF_REG_2, 0), 16 BPF_STX_MEM(BPF_DW, BPF_REG_0, BPF_REG_9, 0), 30 BPF_LD_MAP_FD(BPF_REG_9, 0), 33 BPF_STX_MEM(BPF_DW, BPF_REG_2, BPF_REG_9, 0), 35 BPF_MOV64_REG(BPF_REG_9, BPF_REG_1), 40 BPF_STX_MEM(BPF_DW, BPF_REG_0, BPF_REG_9, 0), 54 BPF_LD_MAP_FD(BPF_REG_9, 0), 77 BPF_LD_MAP_FD(BPF_REG_9, 0), [all …]
|
H A D | precise.c | 14 BPF_MOV64_REG(BPF_REG_9, BPF_REG_0), 25 BPF_ALU64_REG(BPF_SUB, BPF_REG_9, BPF_REG_8), /* map_value_ptr -= map_value_ptr */ 26 BPF_MOV64_REG(BPF_REG_2, BPF_REG_9), 73 BPF_MOV64_REG(BPF_REG_9, BPF_REG_0), 85 BPF_MOV64_REG(BPF_REG_2, BPF_REG_9), 125 BPF_MOV64_IMM(BPF_REG_9, 0), 127 BPF_MOV64_IMM(BPF_REG_9, 1), 229 BPF_ALU64_IMM(BPF_MOV, BPF_REG_9, 0x80000000), 232 BPF_JMP_REG(BPF_JLE, BPF_REG_6, BPF_REG_9, 2), 234 BPF_ALU64_IMM(BPF_MOV, BPF_REG_9, 0), [all …]
|
H A D | jset.c | 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), 162 BPF_LDX_MEM(BPF_B, BPF_REG_8, BPF_REG_9, 0),
|
H A D | calls.c | 1548 BPF_MOV64_IMM(BPF_REG_9, 0), 1552 BPF_MOV64_IMM(BPF_REG_9, 1), 1620 BPF_MOV64_IMM(BPF_REG_9, 0), 1624 BPF_MOV64_IMM(BPF_REG_9, 1), 1693 BPF_MOV64_IMM(BPF_REG_9, 1), 1762 BPF_MOV64_IMM(BPF_REG_9, 0), 1764 BPF_MOV64_IMM(BPF_REG_9, 1), 1831 BPF_MOV64_IMM(BPF_REG_9, 0), 1833 BPF_MOV64_IMM(BPF_REG_9, 1), 2300 BPF_MOV64_IMM(BPF_REG_9, 0), [all …]
|
H A D | dead_code.c | 5 BPF_LDX_MEM(BPF_B, BPF_REG_8, BPF_REG_9, 0),
|
H A D | jmp32.c | 87 BPF_LDX_MEM(BPF_B, BPF_REG_8, BPF_REG_9, 0), 152 BPF_LDX_MEM(BPF_B, BPF_REG_8, BPF_REG_9, 0), 217 BPF_LDX_MEM(BPF_B, BPF_REG_8, BPF_REG_9, 0),
|
/openbmc/linux/tools/testing/selftests/bpf/ |
H A D | test_sysctl.c | 251 BPF_LDX_MEM(BPF_DW, BPF_REG_9, BPF_REG_7, 0), 293 BPF_LDX_MEM(BPF_DW, BPF_REG_9, BPF_REG_7, 0), 589 BPF_JMP_IMM(BPF_JNE, BPF_REG_9, 0, 2), 695 BPF_JMP_IMM(BPF_JNE, BPF_REG_9, 784 BPF_JMP_IMM(BPF_JNE, BPF_REG_9, 899 BPF_JMP_IMM(BPF_JNE, BPF_REG_9, 600, 2), 943 BPF_JMP_IMM(BPF_JNE, BPF_REG_9, 600, 16), 969 BPF_JMP_IMM(BPF_JNE, BPF_REG_9, 602, 2), 1046 BPF_JMP_IMM(BPF_JNE, BPF_REG_9, 63, 2), 1215 BPF_JMP_IMM(BPF_JNE, BPF_REG_9, -6, 2), [all …]
|
H A D | test_lru_map.c | 46 BPF_LD_MAP_VALUE(BPF_REG_9, 0, 0), in bpf_map_lookup_elem_with_ref_bit() 55 BPF_STX_MEM(BPF_DW, BPF_REG_9, BPF_REG_1, 0), in bpf_map_lookup_elem_with_ref_bit()
|
/openbmc/linux/tools/lib/bpf/ |
H A D | gen_loader.c | 351 emit(gen, BPF_MOV64_REG(BPF_REG_9, BPF_REG_1)); in __emit_sys_close() 649 emit(gen, BPF_LDX_MEM(BPF_DW, BPF_REG_9, BPF_REG_7, 0)); in emit_bpf_kallsyms_lookup_name() 704 emit(gen, BPF_MOV64_REG(BPF_REG_9, BPF_REG_7)); in emit_relo_kfunc_btf() 705 emit(gen, BPF_ALU64_IMM(BPF_RSH, BPF_REG_9, 32)); in emit_relo_kfunc_btf() 710 emit(gen, BPF_STX_MEM(BPF_W, BPF_REG_0, BPF_REG_9, 0)); in emit_relo_kfunc_btf() 712 emit(gen, BPF_JMP_IMM(BPF_JNE, BPF_REG_9, 0, 2)); in emit_relo_kfunc_btf() 724 emit(gen, BPF_LDX_MEM(BPF_H, BPF_REG_9, BPF_REG_8, in emit_relo_kfunc_btf() 730 emit(gen, BPF_LDX_MEM(BPF_W, BPF_REG_9, BPF_REG_0, 0)); in emit_relo_kfunc_btf() 780 emit(gen, BPF_ALU64_IMM(BPF_RSH, BPF_REG_9, 32)); in emit_relo_ksym_typeless() 781 emit(gen, BPF_STX_MEM(BPF_W, BPF_REG_8, BPF_REG_9, in emit_relo_ksym_typeless() [all …]
|
/openbmc/linux/samples/bpf/ |
H A D | cookie_uid_helper_example.c | 148 BPF_MOV64_REG(BPF_REG_9, BPF_REG_0), in prog_load() 150 BPF_ATOMIC_OP(BPF_DW, BPF_ADD, BPF_REG_9, BPF_REG_1, in prog_load() 154 BPF_ATOMIC_OP(BPF_DW, BPF_ADD, BPF_REG_9, BPF_REG_1, in prog_load()
|
/openbmc/linux/tools/testing/selftests/bpf/prog_tests/ |
H A D | sockopt.c | 841 BPF_LDX_MEM(BPF_B, BPF_REG_9, BPF_REG_6, 0), 844 BPF_JMP_IMM(BPF_JGT, BPF_REG_9, 128, 2), 887 BPF_LDX_MEM(BPF_B, BPF_REG_9, BPF_REG_6, 0), 890 BPF_JMP_IMM(BPF_JGT, BPF_REG_9, 128, 2),
|
/openbmc/linux/arch/x86/net/ |
H A D | bpf_jit_comp.c | 131 [BPF_REG_9] = 7, /* R15 callee saved */ 148 [BPF_REG_9] = offsetof(struct pt_regs, r15), 162 BIT(BPF_REG_9) | in is_ereg() 936 if (insn->dst_reg == BPF_REG_9 || insn->src_reg == BPF_REG_9) in detect_reg_usage() 1542 if (dst_reg > BPF_REG_9) { in do_jit()
|
/openbmc/linux/arch/arm64/net/ |
H A D | bpf_jit_comp.c | 58 [BPF_REG_9] = A64_R(22), 295 const u8 r9 = bpf2a64[BPF_REG_9]; in build_prologue() 662 const u8 r9 = bpf2a64[BPF_REG_9]; in build_epilogue()
|
/openbmc/linux/drivers/net/ethernet/netronome/nfp/bpf/ |
H A D | verifier.c | 685 meta->insn.dst_reg <= BPF_REG_9) in nfp_assign_subprog_idx_and_regs()
|
/openbmc/linux/kernel/bpf/ |
H A D | cgroup.c | 2245 int treg = BPF_REG_9; in sysctl_convert_ctx_access() 2459 int treg = BPF_REG_9; in cg_sockopt_convert_ctx_access()
|
/openbmc/linux/arch/mips/net/ |
H A D | bpf_jit_comp64.c | 77 [BPF_REG_9] = MIPS_R_S3,
|
/openbmc/linux/arch/powerpc/net/ |
H A D | bpf_jit_comp64.c | 63 ctx->b2p[BPF_REG_9] = _R30; in bpf_jit_init_reg_mapping()
|
H A D | bpf_jit_comp32.c | 60 ctx->b2p[BPF_REG_9] = _R30; in bpf_jit_init_reg_mapping()
|
/openbmc/linux/include/linux/ |
H A D | filter.h | 59 #define BPF_REG_H BPF_REG_9 /* hlen, callee-saved */
|
/openbmc/linux/arch/parisc/net/ |
H A D | bpf_jit_comp64.c | 30 [BPF_REG_9] = HPPA_R(13),
|
/openbmc/linux/arch/loongarch/net/ |
H A D | bpf_jit.c | 28 [BPF_REG_9] = LOONGARCH_GPR_S3,
|
/openbmc/linux/include/uapi/linux/ |
H A D | bpf.h | 64 BPF_REG_9, enumerator
|
/openbmc/linux/tools/include/uapi/linux/ |
H A D | bpf.h | 64 BPF_REG_9, enumerator
|
/openbmc/linux/arch/sparc/net/ |
H A D | bpf_jit_comp_64.c | 223 [BPF_REG_9] = L3,
|
/openbmc/linux/arch/riscv/net/ |
H A D | bpf_jit_comp32.c | 87 [BPF_REG_9] = {STACK_OFFSET(BPF_R9_HI), STACK_OFFSET(BPF_R9_LO)},
|