Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/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 …]
/kernel/linux/linux-5.10/arch/powerpc/net/
Dbpf_jit_comp64.c1159 struct powerpc64_jit_data *jit_data; in bpf_int_jit_compile() local
1181 jit_data = fp->aux->jit_data; in bpf_int_jit_compile()
1182 if (!jit_data) { in bpf_int_jit_compile()
1183 jit_data = kzalloc(sizeof(*jit_data), GFP_KERNEL); in bpf_int_jit_compile()
1184 if (!jit_data) { in bpf_int_jit_compile()
1188 fp->aux->jit_data = jit_data; in bpf_int_jit_compile()
1192 addrs = jit_data->addrs; in bpf_int_jit_compile()
1194 cgctx = jit_data->ctx; in bpf_int_jit_compile()
1195 image = jit_data->image; in bpf_int_jit_compile()
1196 bpf_hdr = jit_data->header; in bpf_int_jit_compile()
[all …]
/kernel/linux/linux-5.10/arch/arm64/net/
Dbpf_jit_comp.c996 struct arm64_jit_data *jit_data; in bpf_int_jit_compile() local
1017 jit_data = prog->aux->jit_data; in bpf_int_jit_compile()
1018 if (!jit_data) { in bpf_int_jit_compile()
1019 jit_data = kzalloc(sizeof(*jit_data), GFP_KERNEL); in bpf_int_jit_compile()
1020 if (!jit_data) { in bpf_int_jit_compile()
1024 prog->aux->jit_data = jit_data; in bpf_int_jit_compile()
1026 if (jit_data->ctx.offset) { in bpf_int_jit_compile()
1027 ctx = jit_data->ctx; in bpf_int_jit_compile()
1028 image_ptr = jit_data->image; in bpf_int_jit_compile()
1029 header = jit_data->header; in bpf_int_jit_compile()
[all …]
/kernel/linux/linux-5.10/arch/s390/net/
Dbpf_jit_comp.c1736 struct s390_jit_data *jit_data; in bpf_int_jit_compile() local
1757 jit_data = fp->aux->jit_data; in bpf_int_jit_compile()
1758 if (!jit_data) { in bpf_int_jit_compile()
1759 jit_data = kzalloc(sizeof(*jit_data), GFP_KERNEL); in bpf_int_jit_compile()
1760 if (!jit_data) { in bpf_int_jit_compile()
1764 fp->aux->jit_data = jit_data; in bpf_int_jit_compile()
1766 if (jit_data->ctx.addrs) { in bpf_int_jit_compile()
1767 jit = jit_data->ctx; in bpf_int_jit_compile()
1768 header = jit_data->header; in bpf_int_jit_compile()
1770 pass = jit_data->pass + 1; in bpf_int_jit_compile()
[all …]
/kernel/linux/linux-5.10/arch/x86/net/
Dbpf_jit_comp.c2015 struct x64_jit_data *jit_data; in bpf_int_jit_compile() local
2040 jit_data = prog->aux->jit_data; in bpf_int_jit_compile()
2041 if (!jit_data) { in bpf_int_jit_compile()
2042 jit_data = kzalloc(sizeof(*jit_data), GFP_KERNEL); in bpf_int_jit_compile()
2043 if (!jit_data) { in bpf_int_jit_compile()
2047 prog->aux->jit_data = jit_data; in bpf_int_jit_compile()
2049 addrs = jit_data->addrs; in bpf_int_jit_compile()
2051 ctx = jit_data->ctx; in bpf_int_jit_compile()
2052 oldproglen = jit_data->proglen; in bpf_int_jit_compile()
2053 image = jit_data->image; in bpf_int_jit_compile()
[all …]
/kernel/linux/linux-5.10/arch/sparc/net/
Dbpf_jit_comp_64.c1472 struct sparc64_jit_data *jit_data; in bpf_int_jit_compile() local
1495 jit_data = prog->aux->jit_data; in bpf_int_jit_compile()
1496 if (!jit_data) { in bpf_int_jit_compile()
1497 jit_data = kzalloc(sizeof(*jit_data), GFP_KERNEL); in bpf_int_jit_compile()
1498 if (!jit_data) { in bpf_int_jit_compile()
1502 prog->aux->jit_data = jit_data; in bpf_int_jit_compile()
1504 if (jit_data->ctx.offset) { in bpf_int_jit_compile()
1505 ctx = jit_data->ctx; in bpf_int_jit_compile()
1506 image_ptr = jit_data->image; in bpf_int_jit_compile()
1507 header = jit_data->header; in bpf_int_jit_compile()
[all …]
/kernel/linux/linux-5.10/Documentation/bpf/
Ddrgn.rst151 .jit_data = (void *)0x0,
/kernel/linux/linux-5.10/include/linux/
Dbpf.h869 void *jit_data; /* JIT specific data. arch dependent */ member