Home
last modified time | relevance | path

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

/linux/arch/riscv/net/
H A Dbpf_jit_core.c49 struct rv_jit_data *jit_data; in bpf_int_jit_compile() local
55 jit_data = prog->aux->jit_data; in bpf_int_jit_compile()
56 if (!jit_data) { in bpf_int_jit_compile()
57 jit_data = kzalloc_obj(*jit_data); in bpf_int_jit_compile()
58 if (!jit_data) { in bpf_int_jit_compile()
61 prog->aux->jit_data = jit_data; in bpf_int_jit_compile()
64 ctx = &jit_data->ctx; in bpf_int_jit_compile()
101 if (jit_data->header) in bpf_int_jit_compile()
108 jit_data->ro_header = in bpf_int_jit_compile()
110 &jit_data->ro_image, sizeof(u32), in bpf_int_jit_compile()
[all …]
/linux/arch/powerpc/net/
H A Dbpf_jit_comp.c172 struct powerpc_jit_data *jit_data = NULL; in bpf_int_jit_compile() local
189 jit_data = fp->aux->jit_data; in bpf_int_jit_compile()
190 if (!jit_data) { in bpf_int_jit_compile()
191 jit_data = kzalloc_obj(*jit_data); in bpf_int_jit_compile()
192 if (!jit_data) in bpf_int_jit_compile()
194 fp->aux->jit_data = jit_data; in bpf_int_jit_compile()
216 addrs = jit_data->addrs; in bpf_int_jit_compile()
218 cgctx = jit_data->ctx; in bpf_int_jit_compile()
224 fimage = jit_data->fimage; in bpf_int_jit_compile()
225 fhdr = jit_data->fhdr; in bpf_int_jit_compile()
[all …]
/linux/arch/loongarch/net/
H A Dbpf_jit.c2197 struct jit_data *jit_data; in bpf_int_jit_compile() local
2208 jit_data = prog->aux->jit_data; in bpf_int_jit_compile()
2209 if (!jit_data) { in bpf_int_jit_compile()
2210 jit_data = kzalloc_obj(*jit_data); in bpf_int_jit_compile()
2211 if (!jit_data) in bpf_int_jit_compile()
2213 prog->aux->jit_data = jit_data; in bpf_int_jit_compile()
2215 if (jit_data->ctx.offset) { in bpf_int_jit_compile()
2216 ctx = jit_data->ctx; in bpf_int_jit_compile()
2217 ro_header = jit_data->ro_header; in bpf_int_jit_compile()
2219 header = jit_data->header; in bpf_int_jit_compile()
[all …]
H A Dbpf_jit.h27 struct jit_data { struct
/linux/arch/arm64/net/
H A Dbpf_jit_comp.c2161 struct arm64_jit_data *jit_data; in bpf_int_jit_compile() local
2176 jit_data = prog->aux->jit_data; in bpf_int_jit_compile()
2177 if (!jit_data) { in bpf_int_jit_compile()
2178 jit_data = kzalloc_obj(*jit_data); in bpf_int_jit_compile()
2179 if (!jit_data) in bpf_int_jit_compile()
2181 prog->aux->jit_data = jit_data; in bpf_int_jit_compile()
2198 if (jit_data->ctx.offset) { in bpf_int_jit_compile()
2199 ctx = jit_data->ctx; in bpf_int_jit_compile()
2200 ro_image_ptr = jit_data->ro_image; in bpf_int_jit_compile()
2201 ro_header = jit_data->ro_header; in bpf_int_jit_compile()
[all …]
/linux/arch/x86/net/
H A Dbpf_jit_comp.c3967 struct x64_jit_data *jit_data; in bpf_int_jit_compile() local
3982 jit_data = prog->aux->jit_data; in bpf_int_jit_compile()
3983 if (!jit_data) { in bpf_int_jit_compile()
3984 jit_data = kzalloc_obj(*jit_data); in bpf_int_jit_compile()
3985 if (!jit_data) in bpf_int_jit_compile()
3987 prog->aux->jit_data = jit_data; in bpf_int_jit_compile()
4004 addrs = jit_data->addrs; in bpf_int_jit_compile()
4006 ctx = jit_data->ctx; in bpf_int_jit_compile()
4007 oldproglen = jit_data->proglen; in bpf_int_jit_compile()
4008 image = jit_data->image; in bpf_int_jit_compile()
[all …]
/linux/arch/s390/net/
H A Dbpf_jit_comp.c2373 struct s390_jit_data *jit_data; in bpf_int_jit_compile() local
2381 jit_data = fp->aux->jit_data; in bpf_int_jit_compile()
2382 if (!jit_data) { in bpf_int_jit_compile()
2383 jit_data = kzalloc_obj(*jit_data); in bpf_int_jit_compile()
2384 if (!jit_data) in bpf_int_jit_compile()
2386 fp->aux->jit_data = jit_data; in bpf_int_jit_compile()
2388 if (jit_data->ctx.addrs) { in bpf_int_jit_compile()
2389 jit = jit_data->ctx; in bpf_int_jit_compile()
2390 header = jit_data->header; in bpf_int_jit_compile()
2392 pass = jit_data->pass + 1; in bpf_int_jit_compile()
[all …]
/linux/include/linux/
H A Dbpf.h1797 void *jit_data; /* JIT specific data. arch dependent */ member