Searched refs:BPF_REG_2 (Results 51 - 66 of 66) sorted by relevance
123
/linux-master/kernel/bpf/ |
H A D | verifier.c | 130 * BPF_MOV64_REG(BPF_REG_2, BPF_REG_10), // after this insn R2 type is FRAME_PTR 131 * BPF_ALU64_IMM(BPF_ADD, BPF_REG_2, -4), // after this insn R2 type is PTR_TO_STACK 1746 BPF_REG_0, BPF_REG_1, BPF_REG_2, BPF_REG_3, BPF_REG_4, BPF_REG_5 7438 WARN_ON_ONCE(regno < BPF_REG_2 || regno > BPF_REG_5); 9617 callee->regs[BPF_REG_2].type = PTR_TO_MAP_KEY; 9618 __mark_reg_known_zero(&callee->regs[BPF_REG_2]); 9619 callee->regs[BPF_REG_2].map_ptr = caller->regs[BPF_REG_1].map_ptr; 9687 callee->regs[BPF_REG_2] = caller->regs[BPF_REG_3]; 9713 callee->regs[BPF_REG_2].type = PTR_TO_MAP_KEY; 9714 __mark_reg_known_zero(&callee->regs[BPF_REG_2]); [all...] |
H A D | core.c | 47 #define BPF_R2 regs[BPF_REG_2]
|
/linux-master/arch/x86/net/ |
H A D | bpf_jit_comp.c | 131 [BPF_REG_2] = 6, /* RSI */ 149 [BPF_REG_2] = offsetof(struct pt_regs, si), 185 BIT(BPF_REG_2) | 2528 emit_mov_imm64(&prog, BPF_REG_2, 2553 emit_mov_reg(&prog, true, BPF_REG_2, BPF_REG_6);
|
H A D | bpf_jit_comp32.c | 145 [BPF_REG_2] = {STACK_OFFSET(16), STACK_OFFSET(20)}, 174 * Stack space for BPF_REG_1, BPF_REG_2, BPF_REG_3, BPF_REG_4, 1304 const u8 *r2 = bpf2ia32[BPF_REG_2]; 2086 const u8 *r2 = bpf2ia32[BPF_REG_2];
|
/linux-master/arch/arm/net/ |
H A D | bpf_jit_32.c | 109 /* Stack space for BPF_REG_2, BPF_REG_3, BPF_REG_4, 156 [BPF_REG_2] = {STACK_OFFSET(BPF_R2_HI), STACK_OFFSET(BPF_R2_LO)}, 1397 const s8 *r2 = bpf2a32[BPF_REG_2]; 2052 const s8 *r2 = bpf2a32[BPF_REG_2];
|
/linux-master/arch/sparc/net/ |
H A D | bpf_jit_comp_64.c | 214 [BPF_REG_2] = O1, 852 const u8 bpf_array = bpf2sparc[BPF_REG_2];
|
/linux-master/arch/powerpc/net/ |
H A D | bpf_jit_comp32.c | 52 ctx->b2p[BPF_REG_2] = _R6; 226 * r5-r6/BPF_REG_2 - pointer to bpf_array 229 int b2p_bpf_array = bpf_to_ppc(BPF_REG_2);
|
/linux-master/arch/riscv/net/ |
H A D | bpf_jit_comp32.c | 76 [BPF_REG_2] = {RV_REG_A3, RV_REG_A2}, 782 const s8 *arr_reg = bpf2rv32[BPF_REG_2];
|
H A D | bpf_jit_comp64.c | 25 [BPF_REG_2] = RV_REG_A1,
|
/linux-master/drivers/net/ethernet/netronome/nfp/bpf/ |
H A D | verifier.c | 175 const struct bpf_reg_state *reg2 = cur_regs(env) + BPF_REG_2;
|
/linux-master/arch/arm64/net/ |
H A D | bpf_jit_comp.c | 50 [BPF_REG_2] = A64_R(1), 421 const u8 r2 = bpf2a64[BPF_REG_2];
|
/linux-master/arch/loongarch/net/ |
H A D | bpf_jit.c | 20 [BPF_REG_2] = LOONGARCH_GPR_A1,
|
/linux-master/include/uapi/linux/ |
H A D | bpf.h | 62 BPF_REG_2, enumerator in enum:__anon2579
|
/linux-master/tools/include/uapi/linux/ |
H A D | bpf.h | 62 BPF_REG_2, enumerator in enum:__anon3120
|
/linux-master/net/core/ |
H A D | filter.c | 8841 *insn++ = BPF_ALU64_REG(BPF_XOR, BPF_REG_2, BPF_REG_2); 8867 *insn++ = BPF_MOV64_IMM(BPF_REG_2, orig->imm); 8869 *insn++ = BPF_MOV64_REG(BPF_REG_2, orig->src_reg); 8871 *insn++ = BPF_ALU64_IMM(BPF_ADD, BPF_REG_2, orig->imm);
|
/linux-master/lib/ |
H A D | test_bpf.c | 41 #define R2 BPF_REG_2
|
Completed in 604 milliseconds
123