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.c2217 struct jit_data *jit_data; in bpf_int_jit_compile() local
2228 jit_data = prog->aux->jit_data; in bpf_int_jit_compile()
2229 if (!jit_data) { in bpf_int_jit_compile()
2230 jit_data = kzalloc_obj(*jit_data); in bpf_int_jit_compile()
2231 if (!jit_data) in bpf_int_jit_compile()
2233 prog->aux->jit_data = jit_data; in bpf_int_jit_compile()
2235 if (jit_data->ctx.offset) { in bpf_int_jit_compile()
2236 ctx = jit_data->ctx; in bpf_int_jit_compile()
2237 ro_header = jit_data->ro_header; in bpf_int_jit_compile()
2239 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.c2158 struct arm64_jit_data *jit_data; in bpf_int_jit_compile() local
2173 jit_data = prog->aux->jit_data; in bpf_int_jit_compile()
2174 if (!jit_data) { in bpf_int_jit_compile()
2175 jit_data = kzalloc_obj(*jit_data); in bpf_int_jit_compile()
2176 if (!jit_data) in bpf_int_jit_compile()
2178 prog->aux->jit_data = jit_data; in bpf_int_jit_compile()
2195 if (jit_data->ctx.offset) { in bpf_int_jit_compile()
2196 ctx = jit_data->ctx; in bpf_int_jit_compile()
2197 ro_image_ptr = jit_data->ro_image; in bpf_int_jit_compile()
2198 ro_header = jit_data->ro_header; in bpf_int_jit_compile()
[all …]
/linux/arch/x86/net/
H A Dbpf_jit_comp.c3975 struct x64_jit_data *jit_data; in bpf_int_jit_compile() local
3990 jit_data = prog->aux->jit_data; in bpf_int_jit_compile()
3991 if (!jit_data) { in bpf_int_jit_compile()
3992 jit_data = kzalloc_obj(*jit_data); in bpf_int_jit_compile()
3993 if (!jit_data) in bpf_int_jit_compile()
3995 prog->aux->jit_data = jit_data; in bpf_int_jit_compile()
4012 addrs = jit_data->addrs; in bpf_int_jit_compile()
4014 ctx = jit_data->ctx; in bpf_int_jit_compile()
4015 oldproglen = jit_data->proglen; in bpf_int_jit_compile()
4016 image = jit_data->image; in bpf_int_jit_compile()
[all …]
/linux/arch/s390/net/
H A Dbpf_jit_comp.c2353 struct s390_jit_data *jit_data; in bpf_int_jit_compile() local
2361 jit_data = fp->aux->jit_data; in bpf_int_jit_compile()
2362 if (!jit_data) { in bpf_int_jit_compile()
2363 jit_data = kzalloc_obj(*jit_data); in bpf_int_jit_compile()
2364 if (!jit_data) in bpf_int_jit_compile()
2366 fp->aux->jit_data = jit_data; in bpf_int_jit_compile()
2368 if (jit_data->ctx.addrs) { in bpf_int_jit_compile()
2369 jit = jit_data->ctx; in bpf_int_jit_compile()
2370 header = jit_data->header; in bpf_int_jit_compile()
2372 pass = jit_data->pass + 1; in bpf_int_jit_compile()
[all …]
/linux/include/linux/
H A Dbpf.h1836 void *jit_data; /* JIT specific data. arch dependent */ member