Home
last modified time | relevance | path

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

/Linux-v5.15/arch/riscv/net/
Dbpf_jit_core.c47 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()
107 jit_data->header = in bpf_int_jit_compile()
109 &jit_data->image, in bpf_int_jit_compile()
[all …]
/Linux-v5.15/arch/powerpc/net/
Dbpf_jit_comp.c95 struct powerpc64_jit_data *jit_data; in bpf_int_jit_compile() local
117 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()
132 bpf_hdr = jit_data->header; in bpf_int_jit_compile()
[all …]
/Linux-v5.15/arch/arm64/net/
Dbpf_jit_comp.c998 struct arm64_jit_data *jit_data; in bpf_int_jit_compile() local
1019 jit_data = prog->aux->jit_data; in bpf_int_jit_compile()
1020 if (!jit_data) { in bpf_int_jit_compile()
1021 jit_data = kzalloc(sizeof(*jit_data), GFP_KERNEL); in bpf_int_jit_compile()
1022 if (!jit_data) { in bpf_int_jit_compile()
1026 prog->aux->jit_data = jit_data; in bpf_int_jit_compile()
1028 if (jit_data->ctx.offset) { in bpf_int_jit_compile()
1029 ctx = jit_data->ctx; in bpf_int_jit_compile()
1030 image_ptr = jit_data->image; in bpf_int_jit_compile()
1031 header = jit_data->header; in bpf_int_jit_compile()
[all …]
/Linux-v5.15/arch/s390/net/
Dbpf_jit_comp.c1787 struct s390_jit_data *jit_data; in bpf_int_jit_compile() local
1808 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()
1819 header = jit_data->header; in bpf_int_jit_compile()
1821 pass = jit_data->pass + 1; in bpf_int_jit_compile()
[all …]
/Linux-v5.15/arch/x86/net/
Dbpf_jit_comp.c2250 struct x64_jit_data *jit_data; in bpf_int_jit_compile() local
2276 jit_data = prog->aux->jit_data; in bpf_int_jit_compile()
2277 if (!jit_data) { in bpf_int_jit_compile()
2278 jit_data = kzalloc(sizeof(*jit_data), GFP_KERNEL); in bpf_int_jit_compile()
2279 if (!jit_data) { in bpf_int_jit_compile()
2283 prog->aux->jit_data = jit_data; in bpf_int_jit_compile()
2285 addrs = jit_data->addrs; in bpf_int_jit_compile()
2287 ctx = jit_data->ctx; in bpf_int_jit_compile()
2288 oldproglen = jit_data->proglen; in bpf_int_jit_compile()
2289 image = jit_data->image; in bpf_int_jit_compile()
[all …]
/Linux-v5.15/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-v5.15/Documentation/bpf/
Ddrgn.rst151 .jit_data = (void *)0x0,
/Linux-v5.15/include/linux/
Dbpf.h875 void *jit_data; /* JIT specific data. arch dependent */ member