| /linux/arch/loongarch/net/ |
| H A D | bpf_jit.c | 700 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 D | bpf_jit_comp.c | 180 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 D | bpf_jit.h | 215 u32 *addrs, int pass, bool extra_pass);
|
| H A D | bpf_jit_comp64.c | 957 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 D | bpf_jit_comp.c | 1201 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 D | bpf_jit_comp64.c | 166 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 D | bpf_jit_comp32.c | 954 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 D | bpf_jit_comp.c | 3727 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 D | bpf_jit.h | 477 bool extra_pass);
|
| H A D | bpf_jit_comp64.c | 593 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 D | bpf_jit_comp32.c | 1117 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 D | core.c | 1247 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()
|