Home
last modified time | relevance | path

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

/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()
44 bool tmp_blinded = false, extra_pass = false; in bpf_int_jit_compile() local
75 extra_pass = true; in bpf_int_jit_compile()
87 if (build_body(ctx, extra_pass, NULL)) { in bpf_int_jit_compile()
104 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()
165 if (!prog->is_func || extra_pass) { in bpf_int_jit_compile()
Dbpf_jit_comp64.c124 static int emit_addr(u8 rd, u64 addr, bool extra_pass, struct rv_jit_context *ctx) in emit_addr() argument
131 if (extra_pass && !in_auipc_jalr_range(off)) { in emit_addr()
456 bool extra_pass) in bpf_jit_emit_insn() argument
869 ret = bpf_jit_get_func_addr(ctx->prog, insn, extra_pass, in bpf_jit_emit_insn()
908 ret = emit_addr(rd, imm64, extra_pass, ctx); in bpf_jit_emit_insn()
Dbpf_jit_comp32.c957 bool extra_pass) in bpf_jit_emit_insn() argument
1144 ret = bpf_jit_get_func_addr(ctx->prog, insn, extra_pass, &addr, in bpf_jit_emit_insn()
Dbpf_jit.h990 bool extra_pass);
/arch/powerpc/net/
Dbpf_jit_comp.c120 bool extra_pass = false; in bpf_int_jit_compile() local
152 extra_pass = true; in bpf_int_jit_compile()
209 if (extra_pass) { in bpf_int_jit_compile()
230 if (bpf_jit_build_body(fp, code_base, &cgctx, addrs, extra_pass)) { in bpf_int_jit_compile()
261 if (!fp->is_func || extra_pass) { in bpf_int_jit_compile()
Dbpf_jit.h179 u32 *addrs, bool extra_pass);
Dbpf_jit_comp64.c300 u32 *addrs, bool extra_pass) in bpf_jit_build_body() argument
843 ret = bpf_jit_get_func_addr(fp, &insn[i], extra_pass, in bpf_jit_build_body()
Dbpf_jit_comp32.c274 u32 *addrs, bool extra_pass) in bpf_jit_build_body() argument
874 ret = bpf_jit_get_func_addr(fp, &insn[i], extra_pass, in bpf_jit_build_body()
/arch/arm64/net/
Dbpf_jit_comp.c426 bool extra_pass) in build_insn() argument
759 ret = bpf_jit_get_func_addr(ctx->prog, insn, extra_pass, in build_insn()
927 static int build_body(struct jit_ctx *ctx, bool extra_pass) in build_body() argument
947 ret = build_insn(insn, ctx, extra_pass); in build_body()
1004 bool extra_pass = false; in bpf_int_jit_compile() local
1035 extra_pass = true; in bpf_int_jit_compile()
1059 if (build_body(&ctx, extra_pass)) { in bpf_int_jit_compile()
1091 if (build_body(&ctx, extra_pass)) { in bpf_int_jit_compile()
1112 if (!prog->is_func || extra_pass) { in bpf_int_jit_compile()
1113 if (extra_pass && ctx.idx != jit_data->ctx.idx) { in bpf_int_jit_compile()
[all …]
/arch/s390/net/
Dbpf_jit_comp.c694 int i, bool extra_pass, u32 stack_depth) in bpf_jit_insn() argument
1326 ret = bpf_jit_get_func_addr(fp, insn, extra_pass, in bpf_jit_insn()
1704 bool extra_pass, u32 stack_depth) in bpf_jit_prog() argument
1717 insn_count = bpf_jit_insn(jit, fp, i, extra_pass, stack_depth); in bpf_jit_prog()
1789 bool extra_pass = false; in bpf_int_jit_compile() local
1820 extra_pass = true; in bpf_int_jit_compile()
1837 if (bpf_jit_prog(&jit, fp, extra_pass, stack_depth)) { in bpf_int_jit_compile()
1851 if (bpf_jit_prog(&jit, fp, extra_pass, stack_depth)) { in bpf_int_jit_compile()
1860 if (!fp->is_func || extra_pass) { in bpf_int_jit_compile()
1871 if (!fp->is_func || extra_pass) { in bpf_int_jit_compile()
/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()
/arch/x86/net/
Dbpf_jit_comp.c2258 bool extra_pass = false; in bpf_int_jit_compile() local
2295 extra_pass = true; in bpf_int_jit_compile()
2370 if (!prog->is_func || extra_pass) { in bpf_int_jit_compile()
2387 if (!image || !prog->is_func || extra_pass) { in bpf_int_jit_compile()