Home
last modified time | relevance | path

Searched refs:bpf_reg (Results 1 – 5 of 5) sorted by relevance

/linux-6.12.1/arch/arc/net/
Dbpf_jit_arcv2.c2366 u32 mask_for_used_regs(u8 bpf_reg, bool is_call) in mask_for_used_regs() argument
2371 if (bpf_reg >= BPF_REG_6 && bpf_reg <= BPF_REG_9) { in mask_for_used_regs()
2372 usage |= BIT(REG_LO(bpf_reg)); in mask_for_used_regs()
2373 usage |= BIT(REG_HI(bpf_reg)); in mask_for_used_regs()
2378 } else if (bpf_reg == BPF_REG_FP) { in mask_for_used_regs()
2382 if (REG_LO(bpf_reg) >= ARC_CALLEE_SAVED_REG_FIRST && in mask_for_used_regs()
2383 REG_LO(bpf_reg) <= ARC_CALLEE_SAVED_REG_LAST) in mask_for_used_regs()
2384 usage |= BIT(REG_LO(bpf_reg)); in mask_for_used_regs()
2386 if (REG_HI(bpf_reg) >= ARC_CALLEE_SAVED_REG_FIRST && in mask_for_used_regs()
2387 REG_HI(bpf_reg) <= ARC_CALLEE_SAVED_REG_LAST) in mask_for_used_regs()
[all …]
Dbpf_jit_core.c255 u8 bpf_reg; in analyze_reg_usage() local
258 bpf_reg = insn[i].dst_reg; in analyze_reg_usage()
260 usage |= mask_for_used_regs(bpf_reg, call); in analyze_reg_usage()
Dbpf_jit.h108 u32 mask_for_used_regs(u8 bpf_reg, bool is_call);
/linux-6.12.1/arch/parisc/net/
Dbpf_jit_comp64.c62 static u8 bpf_to_hppa_reg(int bpf_reg, struct hppa_jit_context *ctx) in bpf_to_hppa_reg() argument
64 u8 reg = regmap[bpf_reg]; in bpf_to_hppa_reg()
/linux-6.12.1/arch/riscv/net/
Dbpf_jit_comp64.c70 static u8 bpf_to_rv_reg(int bpf_reg, struct rv_jit_context *ctx) in bpf_to_rv_reg() argument
72 u8 reg = regmap[bpf_reg]; in bpf_to_rv_reg()