Home
last modified time | relevance | path

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

/linux/arch/riscv/net/
H A Dbpf_jit_core.c19 static int build_body(struct rv_jit_context *ctx, bool extra_pass, int *offset) in build_body() argument
28 ret = bpf_jit_emit_insn(insn, ctx, extra_pass); in build_body()
47 bool extra_pass = false; in bpf_int_jit_compile() local
67 extra_pass = true; in bpf_int_jit_compile()
79 if (build_body(ctx, extra_pass, NULL)) in bpf_int_jit_compile()
94 if (build_body(ctx, extra_pass, ctx->offset)) in bpf_int_jit_compile()
148 if (build_body(ctx, extra_pass, NULL)) in bpf_int_jit_compile()
155 if (!prog->is_func || extra_pass) { in bpf_int_jit_compile()
168 if (!prog->is_func || extra_pass) { in bpf_int_jit_compile()
181 if (extra_pass) { in bpf_int_jit_compile()
H A Dbpf_jit_comp64.c136 static int emit_addr(u8 rd, u64 addr, bool extra_pass, struct rv_jit_context *ctx) in emit_addr() argument
147 if (extra_pass && !in_auipc_jalr_range(off)) { in emit_addr()
1384 bool extra_pass) in bpf_jit_emit_insn()
1416 emit_addr(RV_REG_T2, (u64)&__per_cpu_offset, extra_pass, ctx); in bpf_jit_emit_insn()
1833 ret = bpf_jit_get_func_addr(ctx->prog, insn, extra_pass, in bpf_jit_emit_insn()
1902 ret = emit_addr(rd, imm64, extra_pass, ctx); in bpf_jit_emit_insn()
1362 bpf_jit_emit_insn(const struct bpf_insn * insn,struct rv_jit_context * ctx,bool extra_pass) bpf_jit_emit_insn() argument
H A Dbpf_jit_comp32.c1003 bool extra_pass) in bpf_jit_emit_insn() argument
1222 ret = bpf_jit_get_func_addr(ctx->prog, insn, extra_pass, &addr, in bpf_jit_emit_insn()
H A Dbpf_jit.h1329 bool extra_pass);
/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);
/linux/arch/loongarch/net/
H A Dbpf_jit.c694 static int build_insn(const struct bpf_insn *insn, struct jit_ctx *ctx, bool extra_pass) in build_insn() argument
1166 ret = bpf_jit_get_func_addr(ctx->prog, insn, extra_pass, in build_insn()
1468 static int build_body(struct jit_ctx *ctx, bool extra_pass) in build_body() argument
1480 ret = build_insn(insn, ctx, extra_pass); in build_body()
2213 bool extra_pass = false; in bpf_int_jit_compile()
2241 extra_pass = true; in bpf_int_jit_compile()
2257 if (build_body(&ctx, extra_pass)) in bpf_int_jit_compile()
2296 if (build_body(&ctx, extra_pass)) in bpf_int_jit_compile()
2308 if (!prog->is_func || extra_pass) { in bpf_int_jit_compile()
2309 if (extra_pass in bpf_int_jit_compile()
2193 bool extra_pass = false; bpf_int_jit_compile() local
[all...]
/linux/arch/arm64/net/
H A Dbpf_jit_comp.c1305 struct jit_ctx *ctx, bool extra_pass) in build_insn() argument
1716 ret = bpf_jit_get_func_addr(ctx->prog, insn, extra_pass, in build_insn()
2056 static int build_body(struct bpf_verifier_env *env, struct jit_ctx *ctx, bool extra_pass) in build_body() argument
2075 ret = build_insn(env, insn, ctx, extra_pass); in build_body()
2167 bool extra_pass = false; in bpf_int_jit_compile() local
2207 extra_pass = true; in bpf_int_jit_compile()
2240 if (build_body(env, &ctx, extra_pass)) in bpf_int_jit_compile()
2288 if (build_body(env, &ctx, extra_pass)) in bpf_int_jit_compile()
2297 if (build_body(env, &ctx, extra_pass) || in bpf_int_jit_compile()
2315 if (!prog->is_func || extra_pass) { in bpf_int_jit_compile()
[all...]
/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/arch/x86/net/
H A Dbpf_jit_comp.c3979 bool extra_pass = false; in bpf_int_jit_compile()
4020 extra_pass = true; in bpf_int_jit_compile()
4058 if (extra_pass) { in bpf_int_jit_compile()
4101 if (!prog->is_func || extra_pass) { in bpf_int_jit_compile()
4145 if (!image || !prog->is_func || extra_pass) { in bpf_int_jit_compile()
3973 bool extra_pass = false; bpf_int_jit_compile() local
/linux/kernel/bpf/
H A Dcore.c1312 const struct bpf_insn *insn, bool extra_pass, in bpf_jit_get_func_addr() argument
1326 if (!extra_pass) in bpf_jit_get_func_addr()
/linux/include/linux/
H A Dfilter.h1409 const struct bpf_insn *insn, bool extra_pass,