Home
last modified time | relevance | path

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

/linux/arch/parisc/net/
H A 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()
H A Dbpf_jit.h477 bool extra_pass);
H A 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()
H A 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/arch/riscv/net/
H A Dbpf_jit_core.c19 static int build_body(struct rv_jit_context *ctx, bool extra_pass, int *offset) in build_body() argument
28 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()
91 if (build_body(ctx, extra_pass, NULL)) { in bpf_int_jit_compile()
108 if (build_body(ctx, extra_pass, ctx->offset)) { in bpf_int_jit_compile()
166 if (build_body(ctx, extra_pass, NULL)) { in bpf_int_jit_compile()
179 if (!prog->is_func || extra_pass) { in bpf_int_jit_compile()
H A Dbpf_jit_comp64.c166 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 Dbpf_jit_comp32.c954 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()
H A Dbpf_jit.h1334 bool extra_pass);
/linux/arch/loongarch/net/
H A Dbpf_jit.c540 static int build_insn(const struct bpf_insn *insn, struct jit_ctx *ctx, bool extra_pass) in build_insn() argument
990 ret = bpf_jit_get_func_addr(ctx->prog, insn, extra_pass, in build_insn()
1278 static int build_body(struct jit_ctx *ctx, bool extra_pass) in build_body() argument
1290 ret = build_insn(insn, ctx, extra_pass); in build_body()
1925 bool tmp_blinded = false, extra_pass = false; in bpf_int_jit_compile() local
1970 extra_pass = true; in bpf_int_jit_compile()
1988 if (build_body(&ctx, extra_pass)) { in bpf_int_jit_compile()
2030 if (build_body(&ctx, extra_pass)) { in bpf_int_jit_compile()
2046 if (!prog->is_func || extra_pass) { in bpf_int_jit_compile()
2047 if (extra_pass && ctx.idx != jit_data->ctx.idx) { in bpf_int_jit_compile()
[all …]
/linux/arch/s390/net/
H A Dbpf_jit_comp.c867 int i, bool extra_pass) in bpf_jit_insn() argument
1771 ret = bpf_jit_get_func_addr(fp, insn, extra_pass, in bpf_jit_insn()
2193 bool extra_pass) in bpf_jit_prog() argument
2218 insn_count = bpf_jit_insn(jit, fp, i, extra_pass); in bpf_jit_prog()
2305 bool extra_pass = false; in bpf_int_jit_compile() local
2336 extra_pass = true; in bpf_int_jit_compile()
2353 if (bpf_jit_prog(&jit, fp, extra_pass)) { in bpf_int_jit_compile()
2367 if (bpf_jit_prog(&jit, fp, extra_pass)) { in bpf_int_jit_compile()
2376 if (!fp->is_func || extra_pass) { in bpf_int_jit_compile()
2391 if (!fp->is_func || extra_pass) { in bpf_int_jit_compile()
/linux/arch/arm64/net/
H A Dbpf_jit_comp.c1202 bool extra_pass) in build_insn() argument
1597 ret = bpf_jit_get_func_addr(ctx->prog, insn, extra_pass, in build_insn()
1902 static int build_body(struct jit_ctx *ctx, bool extra_pass) in build_body() argument
1921 ret = build_insn(insn, ctx, extra_pass); in build_body()
2020 bool extra_pass = false; in bpf_int_jit_compile() local
2074 extra_pass = true; in bpf_int_jit_compile()
2103 if (build_body(&ctx, extra_pass)) { in bpf_int_jit_compile()
2155 if (build_body(&ctx, extra_pass)) { in bpf_int_jit_compile()
2166 if (build_body(&ctx, extra_pass) || in bpf_int_jit_compile()
2188 if (!prog->is_func || extra_pass) { in bpf_int_jit_compile()
[all …]
/linux/arch/powerpc/net/
H A Dbpf_jit_comp.c148 bool extra_pass = false; in bpf_int_jit_compile() local
190 extra_pass = true; in bpf_int_jit_compile()
272 extra_pass)) { in bpf_int_jit_compile()
302 if (!fp->is_func || extra_pass) { in bpf_int_jit_compile()
H A Dbpf_jit.h209 u32 *addrs, int pass, bool extra_pass);
H A Dbpf_jit_comp32.c288 u32 *addrs, int pass, bool extra_pass) in bpf_jit_build_body() argument
1130 ret = bpf_jit_get_func_addr(fp, &insn[i], extra_pass, in bpf_jit_build_body()
H A Dbpf_jit_comp64.c907 u32 *addrs, int pass, bool extra_pass) in bpf_jit_build_body() argument
1695 ret = bpf_jit_get_func_addr(fp, &insn[i], extra_pass, in bpf_jit_build_body()
/linux/arch/sparc/net/
H 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()
1620 if (!prog->is_func || extra_pass) { in bpf_int_jit_compile()
/linux/arch/x86/net/
H A Dbpf_jit_comp.c3727 bool extra_pass = false; in bpf_int_jit_compile() local
3784 extra_pass = true; in bpf_int_jit_compile()
3825 if (extra_pass) { in bpf_int_jit_compile()
3869 if (!prog->is_func || extra_pass) { in bpf_int_jit_compile()
3915 if (!image || !prog->is_func || extra_pass) { in bpf_int_jit_compile()
/linux/kernel/bpf/
H A Dcore.c1248 const struct bpf_insn *insn, bool extra_pass, in bpf_jit_get_func_addr() argument
1262 if (!extra_pass) in bpf_jit_get_func_addr()
/linux/include/linux/
H A Dfilter.h1308 const struct bpf_insn *insn, bool extra_pass,