Home
last modified time | relevance | path

Searched refs:jit_data (Results 1 – 8 of 8) sorted by relevance

/linux-5.19.10/arch/riscv/net/
Dbpf_jit_core.c48 struct rv_jit_data *jit_data; in bpf_int_jit_compile() local
62 jit_data = prog->aux->jit_data; in bpf_int_jit_compile()
63 if (!jit_data) { in bpf_int_jit_compile()
64 jit_data = kzalloc(sizeof(*jit_data), GFP_KERNEL); in bpf_int_jit_compile()
65 if (!jit_data) { in bpf_int_jit_compile()
69 prog->aux->jit_data = jit_data; in bpf_int_jit_compile()
72 ctx = &jit_data->ctx; in bpf_int_jit_compile()
103 if (jit_data->header) in bpf_int_jit_compile()
110 jit_data->header = in bpf_int_jit_compile()
112 &jit_data->image, in bpf_int_jit_compile()
[all …]
/linux-5.19.10/arch/powerpc/net/
Dbpf_jit_comp.c130 struct powerpc64_jit_data *jit_data; in bpf_int_jit_compile() local
154 jit_data = fp->aux->jit_data; in bpf_int_jit_compile()
155 if (!jit_data) { in bpf_int_jit_compile()
156 jit_data = kzalloc(sizeof(*jit_data), GFP_KERNEL); in bpf_int_jit_compile()
157 if (!jit_data) { in bpf_int_jit_compile()
161 fp->aux->jit_data = jit_data; in bpf_int_jit_compile()
165 addrs = jit_data->addrs; in bpf_int_jit_compile()
167 cgctx = jit_data->ctx; in bpf_int_jit_compile()
168 image = jit_data->image; in bpf_int_jit_compile()
169 bpf_hdr = jit_data->header; in bpf_int_jit_compile()
[all …]
/linux-5.19.10/arch/x86/net/
Dbpf_jit_comp.c2324 struct x64_jit_data *jit_data; in bpf_int_jit_compile() local
2351 jit_data = prog->aux->jit_data; in bpf_int_jit_compile()
2352 if (!jit_data) { in bpf_int_jit_compile()
2353 jit_data = kzalloc(sizeof(*jit_data), GFP_KERNEL); in bpf_int_jit_compile()
2354 if (!jit_data) { in bpf_int_jit_compile()
2358 prog->aux->jit_data = jit_data; in bpf_int_jit_compile()
2360 addrs = jit_data->addrs; in bpf_int_jit_compile()
2362 ctx = jit_data->ctx; in bpf_int_jit_compile()
2363 oldproglen = jit_data->proglen; in bpf_int_jit_compile()
2364 image = jit_data->image; in bpf_int_jit_compile()
[all …]
/linux-5.19.10/arch/arm64/net/
Dbpf_jit_comp.c1361 struct arm64_jit_data *jit_data; in bpf_int_jit_compile() local
1382 jit_data = prog->aux->jit_data; in bpf_int_jit_compile()
1383 if (!jit_data) { in bpf_int_jit_compile()
1384 jit_data = kzalloc(sizeof(*jit_data), GFP_KERNEL); in bpf_int_jit_compile()
1385 if (!jit_data) { in bpf_int_jit_compile()
1389 prog->aux->jit_data = jit_data; in bpf_int_jit_compile()
1391 if (jit_data->ctx.offset) { in bpf_int_jit_compile()
1392 ctx = jit_data->ctx; in bpf_int_jit_compile()
1393 image_ptr = jit_data->image; in bpf_int_jit_compile()
1394 header = jit_data->header; in bpf_int_jit_compile()
[all …]
/linux-5.19.10/arch/s390/net/
Dbpf_jit_comp.c1765 struct s390_jit_data *jit_data; in bpf_int_jit_compile() local
1786 jit_data = fp->aux->jit_data; in bpf_int_jit_compile()
1787 if (!jit_data) { in bpf_int_jit_compile()
1788 jit_data = kzalloc(sizeof(*jit_data), GFP_KERNEL); in bpf_int_jit_compile()
1789 if (!jit_data) { in bpf_int_jit_compile()
1793 fp->aux->jit_data = jit_data; in bpf_int_jit_compile()
1795 if (jit_data->ctx.addrs) { in bpf_int_jit_compile()
1796 jit = jit_data->ctx; in bpf_int_jit_compile()
1797 header = jit_data->header; in bpf_int_jit_compile()
1799 pass = jit_data->pass + 1; in bpf_int_jit_compile()
[all …]
/linux-5.19.10/arch/sparc/net/
Dbpf_jit_comp_64.c1483 struct sparc64_jit_data *jit_data; in bpf_int_jit_compile() local
1506 jit_data = prog->aux->jit_data; in bpf_int_jit_compile()
1507 if (!jit_data) { in bpf_int_jit_compile()
1508 jit_data = kzalloc(sizeof(*jit_data), GFP_KERNEL); in bpf_int_jit_compile()
1509 if (!jit_data) { in bpf_int_jit_compile()
1513 prog->aux->jit_data = jit_data; in bpf_int_jit_compile()
1515 if (jit_data->ctx.offset) { in bpf_int_jit_compile()
1516 ctx = jit_data->ctx; in bpf_int_jit_compile()
1517 image_ptr = jit_data->image; in bpf_int_jit_compile()
1518 header = jit_data->header; in bpf_int_jit_compile()
[all …]
/linux-5.19.10/Documentation/bpf/
Ddrgn.rst151 .jit_data = (void *)0x0,
/linux-5.19.10/include/linux/
Dbpf.h1046 void *jit_data; /* JIT specific data. arch dependent */ member