Home
last modified time | relevance | path

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

/linux-6.1.9/arch/riscv/net/
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()
Dbpf_jit_comp64.c140 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()
626 bool extra_pass) in bpf_jit_emit_insn() argument
1039 ret = bpf_jit_get_func_addr(ctx->prog, insn, extra_pass, &addr, in bpf_jit_emit_insn()
1074 ret = emit_addr(rd, imm64, extra_pass, ctx); in bpf_jit_emit_insn()
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()
Dbpf_jit.h1058 bool extra_pass);
/linux-6.1.9/arch/powerpc/net/
Dbpf_jit_comp.c138 bool extra_pass = false; in bpf_int_jit_compile() local
171 extra_pass = true; in bpf_int_jit_compile()
237 if (extra_pass) { in bpf_int_jit_compile()
290 if (!fp->is_func || extra_pass) { in bpf_int_jit_compile()
/linux-6.1.9/arch/loongarch/net/
Dbpf_jit.c390 static int build_insn(const struct bpf_insn *insn, struct jit_ctx *ctx, bool extra_pass) in build_insn() argument
780 ret = bpf_jit_get_func_addr(ctx->prog, insn, extra_pass, in build_insn()
970 static int build_body(struct jit_ctx *ctx, bool extra_pass) in build_body() argument
982 ret = build_insn(insn, ctx, extra_pass); in build_body()
1026 bool tmp_blinded = false, extra_pass = false; in bpf_int_jit_compile() local
1068 extra_pass = true; in bpf_int_jit_compile()
1084 if (build_body(&ctx, extra_pass)) { in bpf_int_jit_compile()
1112 if (build_body(&ctx, extra_pass)) { in bpf_int_jit_compile()
1133 if (!prog->is_func || extra_pass) { in bpf_int_jit_compile()
1134 if (extra_pass && ctx.idx != jit_data->ctx.idx) { in bpf_int_jit_compile()
[all …]
/linux-6.1.9/arch/s390/net/
Dbpf_jit_comp.c672 int i, bool extra_pass, u32 stack_depth) in bpf_jit_insn() argument
1304 ret = bpf_jit_get_func_addr(fp, insn, extra_pass, in bpf_jit_insn()
1682 bool extra_pass, u32 stack_depth) in bpf_jit_prog() argument
1695 insn_count = bpf_jit_insn(jit, fp, i, extra_pass, stack_depth); in bpf_jit_prog()
1767 bool extra_pass = false; in bpf_int_jit_compile() local
1798 extra_pass = true; in bpf_int_jit_compile()
1815 if (bpf_jit_prog(&jit, fp, extra_pass, stack_depth)) { in bpf_int_jit_compile()
1829 if (bpf_jit_prog(&jit, fp, extra_pass, stack_depth)) { in bpf_int_jit_compile()
1838 if (!fp->is_func || extra_pass) { in bpf_int_jit_compile()
1849 if (!fp->is_func || extra_pass) { in bpf_int_jit_compile()
/linux-6.1.9/arch/arm64/net/
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.1.9/arch/x86/net/
Dbpf_jit_comp.c2359 bool extra_pass = false; in bpf_int_jit_compile() local
2399 extra_pass = true; in bpf_int_jit_compile()
2440 if (extra_pass) { in bpf_int_jit_compile()
2484 if (!prog->is_func || extra_pass) { in bpf_int_jit_compile()
2514 if (!image || !prog->is_func || extra_pass) { in bpf_int_jit_compile()
/linux-6.1.9/arch/sparc/net/
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.1.9/kernel/bpf/
Dcore.c1180 const struct bpf_insn *insn, bool extra_pass, in bpf_jit_get_func_addr() argument
1193 if (!extra_pass) in bpf_jit_get_func_addr()
/linux-6.1.9/include/linux/
Dfilter.h1065 const struct bpf_insn *insn, bool extra_pass,