Searched refs:is_jmp32 (Results 1 – 3 of 3) sorted by relevance
| /linux/arch/powerpc/net/ |
| H A D | bpf_jit_comp64.c | 1897 bool is_jmp32 = BPF_CLASS(code) == BPF_JMP32; in bpf_jit_build_body() local 1904 if (is_jmp32) in bpf_jit_build_body() 1912 if (is_jmp32) in bpf_jit_build_body() 1928 bool is_jmp32 = BPF_CLASS(code) == BPF_JMP32; in bpf_jit_build_body() local 1935 if (is_jmp32) in bpf_jit_build_body() 1941 if (is_jmp32) in bpf_jit_build_body()
|
| /linux/kernel/bpf/ |
| H A D | verifier.c | 15477 u8 opcode, bool is_jmp32); 15485 static int simulate_both_branches_taken(struct bpf_verifier_env *env, u8 opcode, bool is_jmp32) in simulate_both_branches_taken() argument 15488 regs_refine_cond_op(&env->false_reg1, &env->false_reg2, rev_opcode(opcode), is_jmp32); in simulate_both_branches_taken() 15500 regs_refine_cond_op(&env->true_reg1, &env->true_reg2, opcode, is_jmp32); in simulate_both_branches_taken() 15519 struct bpf_reg_state *reg2, u8 opcode, bool is_jmp32) in is_scalar_branch_taken() argument 15521 struct tnum t1 = is_jmp32 ? tnum_subreg(reg1->var_off) : reg1->var_off; in is_scalar_branch_taken() 15522 struct tnum t2 = is_jmp32 ? tnum_subreg(reg2->var_off) : reg2->var_off; in is_scalar_branch_taken() 15523 u64 umin1 = is_jmp32 ? (u64)reg1->u32_min_value : reg1->umin_value; in is_scalar_branch_taken() 15524 u64 umax1 = is_jmp32 ? (u64)reg1->u32_max_value : reg1->umax_value; in is_scalar_branch_taken() 15525 s64 smin1 = is_jmp32 ? (s64)reg1->s32_min_value : reg1->smin_value; in is_scalar_branch_taken() [all …]
|
| /linux/drivers/net/ethernet/netronome/nfp/bpf/ |
| H A D | jit.c | 3201 bool is_jmp32 = is_mbpf_jmp32(meta); in jne_imm() 3205 if (is_jmp32) in jne_imm() 3220 if (is_jmp32) in jne_imm() 3203 bool is_jmp32 = is_mbpf_jmp32(meta); jne_imm() local
|