Home
last modified time | relevance | path

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

/Linux-v6.1/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()
104 if (jit_data->header) in bpf_int_jit_compile()
111 jit_data->header = in bpf_int_jit_compile()
113 &jit_data->image, in bpf_int_jit_compile()
[all …]
/Linux-v6.1/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-v6.1/arch/loongarch/net/
Dbpf_jit.c1030 struct jit_data *jit_data; in bpf_int_jit_compile() local
1055 jit_data = prog->aux->jit_data; in bpf_int_jit_compile()
1056 if (!jit_data) { in bpf_int_jit_compile()
1057 jit_data = kzalloc(sizeof(*jit_data), GFP_KERNEL); in bpf_int_jit_compile()
1058 if (!jit_data) { in bpf_int_jit_compile()
1062 prog->aux->jit_data = jit_data; in bpf_int_jit_compile()
1064 if (jit_data->ctx.offset) { in bpf_int_jit_compile()
1065 ctx = jit_data->ctx; in bpf_int_jit_compile()
1066 image_ptr = jit_data->image; in bpf_int_jit_compile()
1067 header = jit_data->header; in bpf_int_jit_compile()
[all …]
Dbpf_jit.h22 struct jit_data { struct
/Linux-v6.1/arch/x86/net/
Dbpf_jit_comp.c2355 struct x64_jit_data *jit_data; in bpf_int_jit_compile() local
2382 jit_data = prog->aux->jit_data; in bpf_int_jit_compile()
2383 if (!jit_data) { in bpf_int_jit_compile()
2384 jit_data = kzalloc(sizeof(*jit_data), GFP_KERNEL); in bpf_int_jit_compile()
2385 if (!jit_data) { in bpf_int_jit_compile()
2389 prog->aux->jit_data = jit_data; in bpf_int_jit_compile()
2391 addrs = jit_data->addrs; in bpf_int_jit_compile()
2393 ctx = jit_data->ctx; in bpf_int_jit_compile()
2394 oldproglen = jit_data->proglen; in bpf_int_jit_compile()
2395 image = jit_data->image; in bpf_int_jit_compile()
[all …]
/Linux-v6.1/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-v6.1/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-v6.1/arch/arm64/net/
Dbpf_jit_comp.c1458 struct arm64_jit_data *jit_data; in bpf_int_jit_compile() local
1479 jit_data = prog->aux->jit_data; in bpf_int_jit_compile()
1480 if (!jit_data) { in bpf_int_jit_compile()
1481 jit_data = kzalloc(sizeof(*jit_data), GFP_KERNEL); in bpf_int_jit_compile()
1482 if (!jit_data) { in bpf_int_jit_compile()
1486 prog->aux->jit_data = jit_data; in bpf_int_jit_compile()
1488 if (jit_data->ctx.offset) { in bpf_int_jit_compile()
1489 ctx = jit_data->ctx; in bpf_int_jit_compile()
1490 image_ptr = jit_data->image; in bpf_int_jit_compile()
1491 header = jit_data->header; in bpf_int_jit_compile()
[all …]
/Linux-v6.1/Documentation/bpf/
Ddrgn.rst151 .jit_data = (void *)0x0,
/Linux-v6.1/include/linux/
Dbpf.h1161 void *jit_data; /* JIT specific data. arch dependent */ member