Searched refs:bpf_reg (Results 1 – 5 of 5) sorted by relevance
2366 u32 mask_for_used_regs(u8 bpf_reg, bool is_call) in mask_for_used_regs() argument2371 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 …]
255 u8 bpf_reg; in analyze_reg_usage() local258 bpf_reg = insn[i].dst_reg; in analyze_reg_usage()260 usage |= mask_for_used_regs(bpf_reg, call); in analyze_reg_usage()
108 u32 mask_for_used_regs(u8 bpf_reg, bool is_call);
62 static u8 bpf_to_hppa_reg(int bpf_reg, struct hppa_jit_context *ctx) in bpf_to_hppa_reg() argument64 u8 reg = regmap[bpf_reg]; in bpf_to_hppa_reg()
70 static u8 bpf_to_rv_reg(int bpf_reg, struct rv_jit_context *ctx) in bpf_to_rv_reg() argument72 u8 reg = regmap[bpf_reg]; in bpf_to_rv_reg()