Home
last modified time | relevance | path

Searched refs:extra_pass (Results 1 – 12 of 12) sorted by relevance

/linux/arch/loongarch/net/
H A Dbpf_jit.c700 static int build_insn(const struct bpf_insn *insn, struct jit_ctx *ctx, bool extra_pass) in build_insn() argument
1150 ret = bpf_jit_get_func_addr(ctx->prog, insn, extra_pass, in build_insn()
1446 static int build_body(struct jit_ctx *ctx, bool extra_pass) in build_body() argument
1458 ret = build_insn(insn, ctx, extra_pass); in build_body()
2171 bool extra_pass = false; in bpf_int_jit_compile() local
2199 extra_pass = true; in bpf_int_jit_compile()
2215 if (build_body(&ctx, extra_pass)) in bpf_int_jit_compile()
2253 if (build_body(&ctx, extra_pass)) in bpf_int_jit_compile()
2265 if (!prog->is_func || extra_pass) { in bpf_int_jit_compile()
2266 if (extra_pass && ctx.idx != jit_data->ctx.idx) { in bpf_int_jit_compile()
[all …]
/linux/arch/powerpc/net/
H A Dbpf_jit_comp.c180 bool extra_pass = false; in bpf_int_jit_compile() local
229 extra_pass = true; in bpf_int_jit_compile()
316 extra_pass)) { in bpf_int_jit_compile()
341 if (!fp->is_func || extra_pass) { in bpf_int_jit_compile()
350 if (!fp->is_func || extra_pass) { in bpf_int_jit_compile()
380 if (extra_pass) { in bpf_int_jit_compile()
H A Dbpf_jit.h215 u32 *addrs, int pass, bool extra_pass);
H A Dbpf_jit_comp64.c957 u32 *addrs, int pass, bool extra_pass) in bpf_jit_build_body() argument
1753 ret = bpf_jit_get_func_addr(fp, &insn[i], extra_pass, in bpf_jit_build_body()
/linux/arch/arm64/net/
H A Dbpf_jit_comp.c1201 struct jit_ctx *ctx, bool extra_pass) in build_insn() argument
1599 ret = bpf_jit_get_func_addr(ctx->prog, insn, extra_pass, in build_insn()
1904 static int build_body(struct bpf_verifier_env *env, struct jit_ctx *ctx, bool extra_pass) in build_body() argument
1923 ret = build_insn(env, insn, ctx, extra_pass); in build_body()
2015 bool extra_pass = false; in bpf_int_jit_compile() local
2054 extra_pass = true; in bpf_int_jit_compile()
2079 if (build_body(env, &ctx, extra_pass)) in bpf_int_jit_compile()
2127 if (build_body(env, &ctx, extra_pass)) in bpf_int_jit_compile()
2136 if (build_body(env, &ctx, extra_pass) || in bpf_int_jit_compile()
2154 if (!prog->is_func || extra_pass) { in bpf_int_jit_compile()
[all …]
/linux/arch/riscv/net/
H A Dbpf_jit_comp64.c166 static int emit_addr(u8 rd, u64 addr, bool extra_pass, struct rv_jit_context *ctx) in emit_addr() argument
177 if (extra_pass && !in_auipc_jalr_range(off)) { in emit_addr()
1370 bool extra_pass) in bpf_jit_emit_insn() argument
1402 emit_addr(RV_REG_T2, (u64)&__per_cpu_offset, extra_pass, ctx); in bpf_jit_emit_insn()
1812 ret = bpf_jit_get_func_addr(ctx->prog, insn, extra_pass, in bpf_jit_emit_insn()
1867 ret = emit_addr(rd, imm64, extra_pass, ctx); in bpf_jit_emit_insn()
H A Dbpf_jit_comp32.c954 bool extra_pass) in bpf_jit_emit_insn() argument
1141 ret = bpf_jit_get_func_addr(ctx->prog, insn, extra_pass, &addr, in bpf_jit_emit_insn()
/linux/arch/x86/net/
H A Dbpf_jit_comp.c3727 bool extra_pass = false; in bpf_int_jit_compile() local
3768 extra_pass = true; in bpf_int_jit_compile()
3805 if (extra_pass) { in bpf_int_jit_compile()
3847 if (!prog->is_func || extra_pass) { in bpf_int_jit_compile()
3891 if (!image || !prog->is_func || extra_pass) { in bpf_int_jit_compile()
/linux/arch/parisc/net/
H A Dbpf_jit.h477 bool extra_pass);
H A Dbpf_jit_comp64.c593 bool extra_pass) in bpf_jit_emit_insn() argument
973 ret = bpf_jit_get_func_addr(ctx->prog, insn, extra_pass, in bpf_jit_emit_insn()
H A Dbpf_jit_comp32.c1117 bool extra_pass) in bpf_jit_emit_insn() argument
1310 ret = bpf_jit_get_func_addr(ctx->prog, insn, extra_pass, &addr, in bpf_jit_emit_insn()
/linux/kernel/bpf/
H A Dcore.c1247 const struct bpf_insn *insn, bool extra_pass, in bpf_jit_get_func_addr() argument
1261 if (!extra_pass) in bpf_jit_get_func_addr()