Home
last modified time | relevance | path

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

/linux-6.3-rc2/arch/riscv/net/
A Dbpf_jit_core.c16 static int build_body(struct rv_jit_context *ctx, bool extra_pass, int *offset) in build_body() argument
25 ret = bpf_jit_emit_insn(insn, ctx, extra_pass); in build_body()
45 bool tmp_blinded = false, extra_pass = false; in bpf_int_jit_compile() local
75 extra_pass = true; in bpf_int_jit_compile()
94 if (build_body(ctx, extra_pass, ctx->offset)) { in bpf_int_jit_compile()
147 if (build_body(ctx, extra_pass, NULL)) { in bpf_int_jit_compile()
163 if (!prog->is_func || extra_pass) { in bpf_int_jit_compile()
A Dbpf_jit_comp64.c143 static int emit_addr(u8 rd, u64 addr, bool extra_pass, struct rv_jit_context *ctx) in emit_addr() argument
150 if (extra_pass && !in_auipc_jalr_range(off)) { in emit_addr()
1017 bool extra_pass) in bpf_jit_emit_insn() argument
1430 ret = bpf_jit_get_func_addr(ctx->prog, insn, extra_pass, in bpf_jit_emit_insn()
1468 ret = emit_addr(rd, imm64, extra_pass, ctx); in bpf_jit_emit_insn()
A Dbpf_jit_comp32.c955 bool extra_pass) in bpf_jit_emit_insn() argument
1142 ret = bpf_jit_get_func_addr(ctx->prog, insn, extra_pass, &addr, in bpf_jit_emit_insn()
A Dbpf_jit.h1063 bool extra_pass);
/linux-6.3-rc2/arch/powerpc/net/
A Dbpf_jit_comp.c70 bool extra_pass = false; in bpf_int_jit_compile() local
103 extra_pass = true; in bpf_int_jit_compile()
175 if (bpf_jit_build_body(fp, code_base, &cgctx, addrs, pass, extra_pass)) { in bpf_int_jit_compile()
205 if (!fp->is_func || extra_pass) { in bpf_int_jit_compile()
A Dbpf_jit.h172 u32 *addrs, int pass, bool extra_pass);
A Dbpf_jit_comp64.c347 u32 *addrs, int pass, bool extra_pass) in bpf_jit_build_body() argument
972 ret = bpf_jit_get_func_addr(fp, &insn[i], extra_pass, in bpf_jit_build_body()
A Dbpf_jit_comp32.c282 u32 *addrs, int pass, bool extra_pass) in bpf_jit_build_body() argument
1046 ret = bpf_jit_get_func_addr(fp, &insn[i], extra_pass, in bpf_jit_build_body()
/linux-6.3-rc2/arch/loongarch/net/
A Dbpf_jit.c449 static int build_insn(const struct bpf_insn *insn, struct jit_ctx *ctx, bool extra_pass) in build_insn() argument
839 ret = bpf_jit_get_func_addr(ctx->prog, insn, extra_pass, in build_insn()
1037 static int build_body(struct jit_ctx *ctx, bool extra_pass) in build_body() argument
1049 ret = build_insn(insn, ctx, extra_pass); in build_body()
1096 bool tmp_blinded = false, extra_pass = false; in bpf_int_jit_compile() local
1138 extra_pass = true; in bpf_int_jit_compile()
1154 if (build_body(&ctx, extra_pass)) { in bpf_int_jit_compile()
1188 if (build_body(&ctx, extra_pass)) { in bpf_int_jit_compile()
1209 if (!prog->is_func || extra_pass) { in bpf_int_jit_compile()
1210 if (extra_pass && ctx.idx != jit_data->ctx.idx) { in bpf_int_jit_compile()
[all …]
/linux-6.3-rc2/arch/s390/net/
A Dbpf_jit_comp.c776 int i, bool extra_pass, u32 stack_depth) in bpf_jit_insn() argument
1409 ret = bpf_jit_get_func_addr(fp, insn, extra_pass, in bpf_jit_insn()
1815 bool extra_pass, u32 stack_depth) in bpf_jit_prog() argument
1828 insn_count = bpf_jit_insn(jit, fp, i, extra_pass, stack_depth); in bpf_jit_prog()
1900 bool extra_pass = false; in bpf_int_jit_compile() local
1934 extra_pass = true; in bpf_int_jit_compile()
1951 if (bpf_jit_prog(&jit, fp, extra_pass, stack_depth)) { in bpf_int_jit_compile()
1965 if (bpf_jit_prog(&jit, fp, extra_pass, stack_depth)) { in bpf_int_jit_compile()
1974 if (!fp->is_func || extra_pass) { in bpf_int_jit_compile()
1985 if (!fp->is_func || extra_pass) { in bpf_int_jit_compile()
/linux-6.3-rc2/arch/arm64/net/
A Dbpf_jit_comp.c755 bool extra_pass) in build_insn() argument
1080 ret = bpf_jit_get_func_addr(ctx->prog, insn, extra_pass, in build_insn()
1377 static int build_body(struct jit_ctx *ctx, bool extra_pass) in build_body() argument
1397 ret = build_insn(insn, ctx, extra_pass); in build_body()
1461 bool extra_pass = false; in bpf_int_jit_compile() local
1492 extra_pass = true; in bpf_int_jit_compile()
1518 if (build_body(&ctx, extra_pass)) { in bpf_int_jit_compile()
1554 if (build_body(&ctx, extra_pass)) { in bpf_int_jit_compile()
1576 if (!prog->is_func || extra_pass) { in bpf_int_jit_compile()
1577 if (extra_pass && ctx.idx != jit_data->ctx.idx) { in bpf_int_jit_compile()
[all …]
/linux-6.3-rc2/arch/x86/net/
A Dbpf_jit_comp.c2451 bool extra_pass = false; in bpf_int_jit_compile() local
2491 extra_pass = true; in bpf_int_jit_compile()
2532 if (extra_pass) { in bpf_int_jit_compile()
2576 if (!prog->is_func || extra_pass) { in bpf_int_jit_compile()
2606 if (!image || !prog->is_func || extra_pass) { in bpf_int_jit_compile()
/linux-6.3-rc2/arch/sparc/net/
A Dbpf_jit_comp_64.c1487 bool extra_pass = false; in bpf_int_jit_compile() local
1519 extra_pass = true; in bpf_int_jit_compile()
1604 if (!prog->is_func || extra_pass) { in bpf_int_jit_compile()
1616 if (!prog->is_func || extra_pass) { in bpf_int_jit_compile()
/linux-6.3-rc2/kernel/bpf/
A Dcore.c1184 const struct bpf_insn *insn, bool extra_pass, in bpf_jit_get_func_addr() argument
1197 if (!extra_pass) in bpf_jit_get_func_addr()
/linux-6.3-rc2/include/linux/
A Dfilter.h1065 const struct bpf_insn *insn, bool extra_pass,

Completed in 47 milliseconds