Home
last modified time | relevance | path

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

/linux/arch/riscv/net/
A Dbpf_jit_core.c62 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()
115 if (!jit_data->header) { in bpf_int_jit_compile()
131 if (jit_data->header) in bpf_int_jit_compile()
[all …]
/linux/arch/powerpc/net/
A Dbpf_jit_comp.c117 jit_data = fp->aux->jit_data; in bpf_int_jit_compile()
118 if (!jit_data) { in bpf_int_jit_compile()
119 jit_data = kzalloc(sizeof(*jit_data), GFP_KERNEL); in bpf_int_jit_compile()
120 if (!jit_data) { in bpf_int_jit_compile()
124 fp->aux->jit_data = jit_data; in bpf_int_jit_compile()
128 addrs = jit_data->addrs; in bpf_int_jit_compile()
130 cgctx = jit_data->ctx; in bpf_int_jit_compile()
131 image = jit_data->image; in bpf_int_jit_compile()
249 kfree(jit_data); in bpf_int_jit_compile()
252 jit_data->addrs = addrs; in bpf_int_jit_compile()
[all …]
/linux/arch/arm64/net/
A Dbpf_jit_comp.c1022 jit_data = prog->aux->jit_data; in bpf_int_jit_compile()
1023 if (!jit_data) { in bpf_int_jit_compile()
1024 jit_data = kzalloc(sizeof(*jit_data), GFP_KERNEL); in bpf_int_jit_compile()
1025 if (!jit_data) { in bpf_int_jit_compile()
1029 prog->aux->jit_data = jit_data; in bpf_int_jit_compile()
1031 if (jit_data->ctx.offset) { in bpf_int_jit_compile()
1032 ctx = jit_data->ctx; in bpf_int_jit_compile()
1034 header = jit_data->header; in bpf_int_jit_compile()
1120 jit_data->ctx = ctx; in bpf_int_jit_compile()
1122 jit_data->header = header; in bpf_int_jit_compile()
[all …]
/linux/arch/s390/net/
A Dbpf_jit_comp.c1808 jit_data = fp->aux->jit_data; in bpf_int_jit_compile()
1809 if (!jit_data) { in bpf_int_jit_compile()
1810 jit_data = kzalloc(sizeof(*jit_data), GFP_KERNEL); in bpf_int_jit_compile()
1811 if (!jit_data) { in bpf_int_jit_compile()
1815 fp->aux->jit_data = jit_data; in bpf_int_jit_compile()
1817 if (jit_data->ctx.addrs) { in bpf_int_jit_compile()
1818 jit = jit_data->ctx; in bpf_int_jit_compile()
1864 jit_data->ctx = jit; in bpf_int_jit_compile()
1865 jit_data->pass = pass; in bpf_int_jit_compile()
1875 kfree(jit_data); in bpf_int_jit_compile()
[all …]
/linux/arch/x86/net/
A Dbpf_jit_comp.c2263 jit_data = prog->aux->jit_data; in bpf_int_jit_compile()
2264 if (!jit_data) { in bpf_int_jit_compile()
2265 jit_data = kzalloc(sizeof(*jit_data), GFP_KERNEL); in bpf_int_jit_compile()
2266 if (!jit_data) { in bpf_int_jit_compile()
2270 prog->aux->jit_data = jit_data; in bpf_int_jit_compile()
2272 addrs = jit_data->addrs; in bpf_int_jit_compile()
2274 ctx = jit_data->ctx; in bpf_int_jit_compile()
2276 image = jit_data->image; in bpf_int_jit_compile()
2357 jit_data->addrs = addrs; in bpf_int_jit_compile()
2358 jit_data->ctx = ctx; in bpf_int_jit_compile()
[all …]
/linux/arch/sparc/net/
A Dbpf_jit_comp_64.c1506 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()
1518 header = jit_data->header; in bpf_int_jit_compile()
1607 jit_data->ctx = ctx; in bpf_int_jit_compile()
1609 jit_data->header = header; in bpf_int_jit_compile()
[all …]
/linux/Documentation/bpf/
A Ddrgn.rst151 .jit_data = (void *)0x0,
/linux/include/linux/
A Dbpf.h885 void *jit_data; /* JIT specific data. arch dependent */ member

Completed in 24 milliseconds