/openbmc/linux/tools/testing/selftests/bpf/ |
H A D | test_sysctl.c | 84 BPF_LDX_MEM(BPF_W, BPF_REG_7, BPF_REG_1, 86 BPF_JMP_IMM(BPF_JNE, BPF_REG_7, 1, 2), 107 BPF_JMP_IMM(BPF_JNE, BPF_REG_7, 1, 2), 134 BPF_ALU64_IMM(BPF_AND, BPF_REG_7, 1), 167 BPF_JMP_IMM(BPF_JNE, BPF_REG_7, 3, 2), 230 BPF_MOV64_REG(BPF_REG_7, BPF_REG_10), 235 BPF_MOV64_REG(BPF_REG_2, BPF_REG_7), 276 BPF_MOV64_REG(BPF_REG_2, BPF_REG_7), 320 BPF_MOV64_REG(BPF_REG_2, BPF_REG_7), 374 BPF_MOV64_REG(BPF_REG_2, BPF_REG_7), [all …]
|
H A D | test_sock.c | 54 BPF_LDX_MEM(BPF_W, BPF_REG_7, BPF_REG_6, 67 BPF_LDX_MEM(BPF_W, BPF_REG_7, BPF_REG_6, 80 BPF_LDX_MEM(BPF_W, BPF_REG_7, BPF_REG_6, 93 BPF_LDX_MEM(BPF_W, BPF_REG_7, BPF_REG_6, 202 BPF_LDX_MEM(BPF_W, BPF_REG_7, BPF_REG_6, 204 BPF_JMP_IMM(BPF_JNE, BPF_REG_7, 206 BPF_LDX_MEM(BPF_W, BPF_REG_7, BPF_REG_6, 234 BPF_JMP_IMM(BPF_JNE, BPF_REG_7, 264 BPF_JMP_IMM(BPF_JNE, BPF_REG_7, 295 BPF_JMP_IMM(BPF_JNE, BPF_REG_7, [all …]
|
H A D | test_sock_addr.c | 767 BPF_LDX_MEM(BPF_W, BPF_REG_7, BPF_REG_6, in sendmsg4_rw_asm_prog_load() 769 BPF_JMP_IMM(BPF_JNE, BPF_REG_7, AF_INET, 8), in sendmsg4_rw_asm_prog_load() 772 BPF_LDX_MEM(BPF_W, BPF_REG_7, BPF_REG_6, in sendmsg4_rw_asm_prog_load() 777 BPF_MOV32_IMM(BPF_REG_7, src4_rw_ip.s_addr), in sendmsg4_rw_asm_prog_load() 778 BPF_STX_MEM(BPF_W, BPF_REG_6, BPF_REG_7, in sendmsg4_rw_asm_prog_load() 783 BPF_STX_MEM(BPF_W, BPF_REG_6, BPF_REG_7, in sendmsg4_rw_asm_prog_load() 788 BPF_STX_MEM(BPF_W, BPF_REG_6, BPF_REG_7, in sendmsg4_rw_asm_prog_load() 830 BPF_LDX_MEM(BPF_W, BPF_REG_7, BPF_REG_6, in sendmsg6_rw_dst_asm_prog_load() 832 BPF_JMP_IMM(BPF_JNE, BPF_REG_7, AF_INET6, 18), in sendmsg6_rw_dst_asm_prog_load() 835 BPF_MOV32_IMM(BPF_REG_7, SRC[N]), \ in sendmsg6_rw_dst_asm_prog_load() [all …]
|
H A D | test_verifier.c | 502 BPF_MOV64_REG(BPF_REG_7, BPF_REG_0), \ 503 BPF_ALU64_IMM(BPF_LSH, BPF_REG_7, 33), \ 504 BPF_ALU64_IMM(BPF_RSH, BPF_REG_7, 33) 512 BPF_MOV64_REG(BPF_REG_7, BPF_REG_0), \ 513 BPF_ALU64_IMM(BPF_OR, BPF_REG_7, 0x80000000), \ 514 BPF_ALU64_IMM(BPF_LSH, BPF_REG_7, 32), \ 515 BPF_ALU64_IMM(BPF_ARSH, BPF_REG_7, 32)
|
/openbmc/linux/tools/testing/selftests/bpf/verifier/ |
H A D | jmp32.c | 5 BPF_LDX_MEM(BPF_DW, BPF_REG_7, BPF_REG_2, 0), 7 BPF_JMP32_IMM(BPF_JSET, BPF_REG_7, -2, 1), 11 BPF_JMP32_IMM(BPF_JSET, BPF_REG_7, 1, 1), 36 BPF_LDX_MEM(BPF_DW, BPF_REG_7, BPF_REG_2, 0), 68 BPF_LD_IMM64(BPF_REG_7, 0x8000000000000000), 84 BPF_JMP32_IMM(BPF_JSET, BPF_REG_7, 0x10, 1), 86 BPF_JMP32_IMM(BPF_JGE, BPF_REG_7, 0x10, 1), 99 BPF_JMP32_IMM(BPF_JEQ, BPF_REG_7, -1, 1), 164 BPF_JMP32_IMM(BPF_JNE, BPF_REG_7, -1, 1), 215 BPF_JMP_IMM(BPF_JNE, BPF_REG_7, 0x10, 1), [all …]
|
H A D | ld_abs.c | 65 BPF_MOV64_IMM(BPF_REG_7, 0), 67 BPF_MOV64_REG(BPF_REG_0, BPF_REG_7), 79 BPF_MOV64_REG(BPF_REG_7, BPF_REG_6), 81 BPF_MOV64_REG(BPF_REG_1, BPF_REG_7), 85 BPF_MOV64_REG(BPF_REG_6, BPF_REG_7), 130 BPF_LD_IND(BPF_W, BPF_REG_7, 14), 143 BPF_LD_IND(BPF_H, BPF_REG_7, 14), 209 BPF_ALU64_IMM(BPF_MOV, BPF_REG_7, 0), 255 BPF_MOV64_REG(BPF_REG_7, BPF_REG_6), 257 BPF_MOV64_REG(BPF_REG_1, BPF_REG_7), [all …]
|
H A D | jset.c | 5 BPF_LDX_MEM(BPF_DW, BPF_REG_7, BPF_REG_2, 0), 9 BPF_JMP_REG(BPF_JSET, BPF_REG_7, BPF_REG_8, 1), 14 BPF_JMP_REG(BPF_JSET, BPF_REG_7, BPF_REG_8, 1), 19 BPF_JMP_IMM(BPF_JSET, BPF_REG_7, -1, 1), 23 BPF_JMP_IMM(BPF_JSET, BPF_REG_7, 0x80000000, 1), 62 BPF_LDX_MEM(BPF_DW, BPF_REG_7, BPF_REG_2, 0), 64 BPF_JMP_IMM(BPF_JSET, BPF_REG_7, 0x80000000, 1),
|
H A D | calls.c | 690 BPF_MOV64_REG(BPF_REG_7, BPF_REG_0), 694 BPF_MOV64_REG(BPF_REG_0, BPF_REG_7), 778 BPF_MOV64_REG(BPF_REG_7, BPF_REG_0), 782 BPF_MOV64_REG(BPF_REG_0, BPF_REG_7), 933 BPF_MOV64_REG(BPF_REG_7, BPF_REG_6), 936 BPF_MOV64_REG(BPF_REG_6, BPF_REG_7), 956 BPF_MOV64_REG(BPF_REG_7, BPF_REG_0), 960 BPF_MOV64_REG(BPF_REG_0, BPF_REG_7), 980 BPF_MOV64_REG(BPF_REG_7, BPF_REG_0), 984 BPF_MOV64_REG(BPF_REG_0, BPF_REG_7), [all …]
|
H A D | bpf_loop_inline.c | 73 BPF_ALU64_REG(BPF_MOV, BPF_REG_7, BPF_REG_0), 76 BPF_JMP_IMM(BPF_JNE, BPF_REG_7, 0, 0), 219 BPF_STX_MEM(BPF_DW, BPF_REG_10, BPF_REG_7, -32), 224 BPF_STX_MEM(BPF_DW, BPF_REG_10, BPF_REG_7, -32), 233 BPF_STX_MEM(BPF_DW, BPF_REG_10, BPF_REG_7, -48),
|
H A D | map_kptr.c | 329 BPF_MOV64_REG(BPF_REG_7, BPF_REG_0), 335 BPF_MOV64_REG(BPF_REG_1, BPF_REG_7), 360 BPF_MOV64_REG(BPF_REG_7, BPF_REG_0), 367 BPF_MOV64_REG(BPF_REG_1, BPF_REG_7),
|
H A D | precise.c | 227 BPF_ALU64_IMM(BPF_MOV, BPF_REG_7, 0),
|
/openbmc/linux/tools/lib/bpf/ |
H A D | gen_loader.c | 152 emit(gen, BPF_MOV64_REG(BPF_REG_0, BPF_REG_7)); in bpf_gen__init() 274 emit(gen, BPF_MOV64_REG(BPF_REG_7, BPF_REG_0)); in emit_sys_bpf() 340 emit_debug(gen, BPF_REG_7, -1, fmt, args); in debug_ret() 553 emit(gen, BPF_MOV64_REG(BPF_REG_7, BPF_REG_0)); in emit_find_attach_target() 627 emit(gen, BPF_MOV64_REG(BPF_REG_7, BPF_REG_0)); in emit_bpf_find_by_name_kind() 647 emit(gen, BPF_MOV64_REG(BPF_REG_7, BPF_REG_4)); in emit_bpf_kallsyms_lookup_name() 650 emit(gen, BPF_MOV64_REG(BPF_REG_7, BPF_REG_0)); in emit_bpf_kallsyms_lookup_name() 695 emit(gen, BPF_JMP_IMM(BPF_JSGE, BPF_REG_7, 0, 3)); in emit_relo_kfunc_btf() 704 emit(gen, BPF_MOV64_REG(BPF_REG_9, BPF_REG_7)); in emit_relo_kfunc_btf() 722 emit(gen, BPF_LDX_MEM(BPF_W, BPF_REG_7, BPF_REG_8, in emit_relo_kfunc_btf() [all …]
|
/openbmc/linux/tools/testing/selftests/bpf/prog_tests/ |
H A D | sockopt.c | 294 BPF_LDX_MEM(BPF_DW, BPF_REG_7, BPF_REG_1, 298 BPF_JMP_REG(BPF_JGT, BPF_REG_6, BPF_REG_7, 1), 383 BPF_LDX_MEM(BPF_DW, BPF_REG_7, BPF_REG_1, 387 BPF_JMP_REG(BPF_JGT, BPF_REG_6, BPF_REG_7, 1), 693 BPF_LDX_MEM(BPF_DW, BPF_REG_7, BPF_REG_1, 697 BPF_JMP_REG(BPF_JGT, BPF_REG_6, BPF_REG_7, 1), 730 BPF_LDX_MEM(BPF_DW, BPF_REG_7, BPF_REG_1, 830 BPF_MOV64_REG(BPF_REG_7, BPF_REG_6), 831 BPF_ALU64_IMM(BPF_ADD, BPF_REG_7, 1), 876 BPF_MOV64_REG(BPF_REG_7, BPF_REG_6), [all …]
|
H A D | align.c | 488 BPF_MOV64_REG(BPF_REG_7, BPF_REG_6), 494 BPF_ALU64_IMM(BPF_LSH, BPF_REG_7, 2), 495 BPF_ALU64_REG(BPF_SUB, BPF_REG_6, BPF_REG_7), 542 BPF_MOV64_REG(BPF_REG_7, BPF_REG_6), 552 BPF_ALU64_IMM(BPF_LSH, BPF_REG_7, 2), 553 BPF_ALU64_IMM(BPF_ADD, BPF_REG_7, 76), 555 BPF_ALU64_REG(BPF_ADD, BPF_REG_5, BPF_REG_7),
|
/openbmc/linux/samples/bpf/ |
H A D | cookie_uid_helper_example.c | 94 BPF_MOV64_REG(BPF_REG_7, BPF_REG_10), in prog_load() 95 BPF_ALU64_IMM(BPF_ADD, BPF_REG_7, -8), in prog_load() 101 BPF_MOV64_REG(BPF_REG_2, BPF_REG_7), in prog_load() 136 BPF_MOV64_REG(BPF_REG_2, BPF_REG_7), in prog_load()
|
/openbmc/linux/tools/testing/selftests/bpf/progs/ |
H A D | verifier_ld_ind.c | 106 : __imm_insn(ld_ind, BPF_LD_IND(BPF_W, BPF_REG_7, -0x200000)) in ind_check_calling_conv_r7()
|
H A D | verifier_ref_tracking.c | 833 __imm_insn(ld_ind, BPF_LD_IND(BPF_W, BPF_REG_7, -0x200000)) in reference_tracking_allow_ld_ind() 857 __imm_insn(ld_ind, BPF_LD_IND(BPF_W, BPF_REG_7, -0x200000)) in ld_ind_while_holding_reference()
|
/openbmc/linux/tools/include/linux/ |
H A D | filter.h | 24 #define BPF_REG_X BPF_REG_7
|
/openbmc/linux/arch/x86/net/ |
H A D | bpf_jit_comp.c | 179 [BPF_REG_7] = 5, /* R13 callee saved */ 196 [BPF_REG_7] = offsetof(struct pt_regs, r13), 210 BIT(BPF_REG_7) | in is_ereg() 982 if (insn->dst_reg == BPF_REG_7 || insn->src_reg == BPF_REG_7) in detect_reg_usage()
|
/openbmc/linux/arch/arm64/net/ |
H A D | bpf_jit_comp.c | 56 [BPF_REG_7] = A64_R(20), 293 const u8 r7 = bpf2a64[BPF_REG_7]; in build_prologue() 660 const u8 r7 = bpf2a64[BPF_REG_7]; in build_epilogue()
|
/openbmc/linux/arch/s390/net/ |
H A D | bpf_jit_comp.c | 76 #define REG_8 BPF_REG_7 /* Register 8 */ 93 [BPF_REG_7] = 8,
|
/openbmc/linux/arch/mips/net/ |
H A D | bpf_jit_comp64.c | 75 [BPF_REG_7] = MIPS_R_S1,
|
/openbmc/linux/arch/powerpc/net/ |
H A D | bpf_jit_comp64.c | 61 ctx->b2p[BPF_REG_7] = _R28; in bpf_jit_init_reg_mapping()
|
/openbmc/linux/include/linux/ |
H A D | filter.h | 56 #define BPF_REG_X BPF_REG_7
|
/openbmc/linux/arch/parisc/net/ |
H A D | bpf_jit_comp64.c | 28 [BPF_REG_7] = HPPA_R(11),
|