Home
last modified time | relevance | path

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

/Linux-v6.6/arch/parisc/net/
Dbpf_jit_core.c16 static int build_body(struct hppa_jit_context *ctx, bool extra_pass, int *offset) in build_body() argument
26 ret = bpf_jit_emit_insn(insn, ctx, extra_pass); in build_body()
47 bool tmp_blinded = false, extra_pass = false; in bpf_int_jit_compile() local
77 extra_pass = true; in bpf_int_jit_compile()
96 if (build_body(ctx, extra_pass, ctx->offset)) { in bpf_int_jit_compile()
149 if (build_body(ctx, extra_pass, NULL)) { in bpf_int_jit_compile()
169 if (!prog->is_func || extra_pass) { in bpf_int_jit_compile()
Dbpf_jit.h477 bool extra_pass);
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()
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-v6.6/arch/riscv/net/
Dbpf_jit_core.c18 static int build_body(struct rv_jit_context *ctx, bool extra_pass, int *offset) in build_body() argument
27 ret = bpf_jit_emit_insn(insn, ctx, extra_pass); in build_body()
47 bool tmp_blinded = false, extra_pass = false; in bpf_int_jit_compile() local
77 extra_pass = true; in bpf_int_jit_compile()
89 if (build_body(ctx, extra_pass, NULL)) { in bpf_int_jit_compile()
106 if (build_body(ctx, extra_pass, ctx->offset)) { in bpf_int_jit_compile()
164 if (build_body(ctx, extra_pass, NULL)) { in bpf_int_jit_compile()
177 if (!prog->is_func || extra_pass) { in bpf_int_jit_compile()
Dbpf_jit_comp64.c145 static int emit_addr(u8 rd, u64 addr, bool extra_pass, struct rv_jit_context *ctx) in emit_addr() argument
156 if (extra_pass && !in_auipc_jalr_range(off)) { in emit_addr()
1070 bool extra_pass) in bpf_jit_emit_insn() argument
1514 ret = bpf_jit_get_func_addr(ctx->prog, insn, extra_pass, in bpf_jit_emit_insn()
1553 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.h1096 bool extra_pass);
/Linux-v6.6/arch/powerpc/net/
Dbpf_jit_comp.c70 bool extra_pass = false; in bpf_int_jit_compile() local
103 extra_pass = true; in bpf_int_jit_compile()
177 if (bpf_jit_build_body(fp, code_base, &cgctx, addrs, pass, extra_pass)) { in bpf_int_jit_compile()
207 if (!fp->is_func || extra_pass) { in bpf_int_jit_compile()
Dbpf_jit.h174 u32 *addrs, int pass, bool extra_pass);
Dbpf_jit_comp64.c365 u32 *addrs, int pass, bool extra_pass) in bpf_jit_build_body() argument
990 ret = bpf_jit_get_func_addr(fp, &insn[i], extra_pass, in bpf_jit_build_body()
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-v6.6/arch/loongarch/net/
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()
1041 static int build_body(struct jit_ctx *ctx, bool extra_pass) in build_body() argument
1053 ret = build_insn(insn, ctx, extra_pass); in build_body()
1100 bool tmp_blinded = false, extra_pass = false; in bpf_int_jit_compile() local
1142 extra_pass = true; in bpf_int_jit_compile()
1158 if (build_body(&ctx, extra_pass)) { in bpf_int_jit_compile()
1192 if (build_body(&ctx, extra_pass)) { in bpf_int_jit_compile()
1213 if (!prog->is_func || extra_pass) { in bpf_int_jit_compile()
1214 if (extra_pass && ctx.idx != jit_data->ctx.idx) { in bpf_int_jit_compile()
[all …]
/Linux-v6.6/arch/s390/net/
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-v6.6/arch/arm64/net/
Dbpf_jit_comp.c762 bool extra_pass) in build_insn() argument
1118 ret = bpf_jit_get_func_addr(ctx->prog, insn, extra_pass, in build_insn()
1442 static int build_body(struct jit_ctx *ctx, bool extra_pass) in build_body() argument
1462 ret = build_insn(insn, ctx, extra_pass); in build_body()
1526 bool extra_pass = false; in bpf_int_jit_compile() local
1557 extra_pass = true; in bpf_int_jit_compile()
1583 if (build_body(&ctx, extra_pass)) { in bpf_int_jit_compile()
1619 if (build_body(&ctx, extra_pass)) { in bpf_int_jit_compile()
1641 if (!prog->is_func || extra_pass) { in bpf_int_jit_compile()
1642 if (extra_pass && ctx.idx != jit_data->ctx.idx) { in bpf_int_jit_compile()
[all …]
/Linux-v6.6/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-v6.6/arch/x86/net/
Dbpf_jit_comp.c2704 bool extra_pass = false; in bpf_int_jit_compile() local
2744 extra_pass = true; in bpf_int_jit_compile()
2785 if (extra_pass) { in bpf_int_jit_compile()
2829 if (!prog->is_func || extra_pass) { in bpf_int_jit_compile()
2859 if (!image || !prog->is_func || extra_pass) { in bpf_int_jit_compile()
/Linux-v6.6/kernel/bpf/
Dcore.c1194 const struct bpf_insn *insn, bool extra_pass, in bpf_jit_get_func_addr() argument
1208 if (!extra_pass) in bpf_jit_get_func_addr()
/Linux-v6.6/include/linux/
Dfilter.h1056 const struct bpf_insn *insn, bool extra_pass,