Home
last modified time | relevance | path

Searched refs:jited (Results 1 – 22 of 22) sorted by relevance

/linux/arch/riscv/net/
H A Dbpf_jit_core.c165 prog->jited = 1; in bpf_int_jit_compile()
183 prog->jited = 0; in bpf_int_jit_compile()
226 if (prog->jited) { in bpf_jit_free()
H A Dbpf_jit_comp64.c962 if (!p->jited) in invoke_bpf_prog()
/linux/tools/testing/selftests/bpf/
H A Dtest_loader.c53 struct expected_msgs jited; member
116 free_msgs(&spec->priv.jited); in free_test_spec()
117 free_msgs(&spec->unpriv.jited); in free_test_spec()
506 &spec->priv.jited); in parse_test_spec()
518 &spec->unpriv.jited); in parse_test_spec()
724 if (spec->unpriv.jited.cnt == 0) in parse_test_spec()
725 clone_msgs(&spec->priv.jited, &spec->unpriv.jited); in parse_test_spec()
786 static void emit_jited(const char *jited, bool force) in emit_jited() argument
790 fprintf(stdout, "JITED:\n=============\n%s=============\n", jited); in emit_jited()
1441 if (subspec->jited.cnt) { in run_subtest()
[all …]
/linux/tools/bpf/bpftool/Documentation/
H A Dbpftool-prog.rst24 { **show** | **list** | **dump xlated** | **dump jited** | **pin** | **load** |
32 | **bpftool** **prog dump jited** *PROG* [{ **file** *FILE* | [**opcodes**] [**linum**] }]
112 bpftool prog dump jited *PROG* [{ file *FILE* | [opcodes] [linum] }]
113 Dump jited image (host machine code) of the program.
271 xlated 528B jited 370B memlock 4096B map_ids 10
288 "jited": true,
309 **# bpftool prog dump jited tag 005a3d2123620c8b**
330 **# bpftool prog dump jited pinned /sys/fs/bpf/prog opcodes**
353 xlated 488B jited 336B memlock 4096B map_ids 7
H A Dbpftool-map.rst238 xlated 240B jited 257B memlock 4096B map_ids 294
242 xlated 200B jited 164B memlock 4096B
246 xlated 200B jited 164B memlock 4096B
255 owner_prog_type xdp owner jited
H A Dcommon_options.rst11 dump jited**) and usage of BPF skeletons (some features like **bpftool prog
H A Dbpftool.rst32 *PROG-COMMANDS* := { **show** | **list** | **dump jited** | **dump xlated** | **pin** |
/linux/arch/powerpc/net/
H A Dbpf_jit_comp.c347 fp->jited = 1; in bpf_int_jit_compile()
382 fp->jited = 0; in bpf_int_jit_compile()
479 if (fp->jited) { in bpf_jit_free()
655 if (!p->jited) in invoke_bpf_prog()
/linux/kernel/bpf/
H A Dcore.c197 (!prog->jited || !prog->aux->jited_linfo[0])) { in bpf_prog_jit_attempt_done()
213 * jited_off is the byte off to the end of the jited insn.
668 return fp->jited && !bpf_prog_was_classic(fp); in bpf_prog_kallsyms_candidate()
1301 if (fp->jited) { in bpf_jit_free()
2531 map->owner->jited = fp->jited; in __bpf_prog_map_compatible()
2544 map->owner->jited == fp->jited && in __bpf_prog_map_compatible()
2658 if (prog->jited) { in bpf_prog_jit_compile()
2705 if (!fp->jited in __bpf_prog_select_runtime()
[all...]
H A Dsyscall.c1008 u32 type = 0, jited = 0; in bpf_map_show_fdinfo() local
1013 jited = map->owner->jited; in bpf_map_show_fdinfo()
1038 seq_printf(m, "owner_jited:\t%u\n", jited); in bpf_map_show_fdinfo()
2598 prog->jited,
3105 prog->jited = 0; in BTF_ID_LIST_GLOBAL_SINGLE()
H A Dfixups.c1229 if (!func[i]->jited) { in jit_subprogs()
1321 prog->jited = 1; in jit_subprogs()
H A Dtrampoline.c1140 p->jited = false; in bpf_trampoline_link_cgroup_shim()
H A Dverifier.c20216 if (!tgt_prog->jited) { in bpf_check_attach_target()
/linux/drivers/hid/bpf/progs/
H A DREADME100 xlated 120B jited 77B memlock 4096B
/linux/arch/sparc/net/
H A Dbpf_jit_comp_32.c751 fp->jited = 1; in bpf_jit_compile()
760 if (fp->jited) in bpf_jit_free()
/linux/arch/loongarch/net/
H A Dbpf_jit.c1757 if (!p->jited) in invoke_bpf_prog()
2331 prog->jited = 1; in bpf_int_jit_compile()
2354 prog->jited = 0; in bpf_jit_free()
2367 if (prog->jited) { in bpf_jit_free()
/linux/arch/arm64/net/
H A Dbpf_jit_comp.c2235 * instruction[i] in jited image, so build prologue first. in bpf_int_jit_compile()
2262 /* Pass 2: Determine jited position and result for each instruction */ in bpf_int_jit_compile()
2316 /* The jited image may shrink since the jited result for in bpf_int_jit_compile()
2339 prog->jited = 1; in bpf_int_jit_compile()
2372 prog->jited = 0; in bpf_int_jit_compile()
2470 if (!p->jited) in invoke_bpf_prog()
3368 if (prog->jited) { in bpf_jit_free()
/linux/include/linux/
H A Dfilter.h1157 if (!fp->jited) { in bpf_prog_lock_ro()
1449 return fp->jited && bpf_jit_is_ebpf(); in bpf_prog_ebpf_jited()
H A Dbpf.h293 bool jited; member
1874 /* jited_linfo is the jited addr of the linfo. It has a
1876 * jited_linfo[i] is the jited addr for the linfo[i]->insn_off.
1905 u32 jited:1, /* Is our filter JIT'ed? */
1925 u32 jited_len; /* Size of jited insns in bytes */
1868 u32 jited:1, /* Is our filter JIT'ed? */ global() member
/linux/arch/x86/net/
H A Dbpf_jit_comp.c3274 if (!p->jited) in invoke_bpf_prog()
4060 prog->jited = 0; in bpf_int_jit_compile()
4141 prog->jited = 1; in bpf_int_jit_compile()
4197 if (prog->jited) { in bpf_jit_free()
/linux/tools/perf/Documentation/
H A Dperf.data-file-format.txt350 a BPF program, including type, id, tag, jited/xlated instructions, etc.
/linux/net/core/
H A Dfilter.c1342 fp->jited = 0; in bpf_prepare_filter()
1369 if (!fp->jited) in bpf_prepare_filter()