Home
last modified time | relevance | path

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

/Linux-v5.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 …]
/Linux-v5.10/arch/powerpc/net/
Dbpf_jit_comp64.c1084 struct powerpc64_jit_data *jit_data; in bpf_int_jit_compile() local
1106 jit_data = fp->aux->jit_data; in bpf_int_jit_compile()
1107 if (!jit_data) { in bpf_int_jit_compile()
1108 jit_data = kzalloc(sizeof(*jit_data), GFP_KERNEL); in bpf_int_jit_compile()
1109 if (!jit_data) { in bpf_int_jit_compile()
1113 fp->aux->jit_data = jit_data; in bpf_int_jit_compile()
1117 addrs = jit_data->addrs; in bpf_int_jit_compile()
1119 cgctx = jit_data->ctx; in bpf_int_jit_compile()
1120 image = jit_data->image; in bpf_int_jit_compile()
1121 bpf_hdr = jit_data->header; in bpf_int_jit_compile()
[all …]
/Linux-v5.10/arch/arm64/net/
Dbpf_jit_comp.c983 struct arm64_jit_data *jit_data; in bpf_int_jit_compile() local
1004 jit_data = prog->aux->jit_data; in bpf_int_jit_compile()
1005 if (!jit_data) { in bpf_int_jit_compile()
1006 jit_data = kzalloc(sizeof(*jit_data), GFP_KERNEL); in bpf_int_jit_compile()
1007 if (!jit_data) { in bpf_int_jit_compile()
1011 prog->aux->jit_data = jit_data; in bpf_int_jit_compile()
1013 if (jit_data->ctx.offset) { in bpf_int_jit_compile()
1014 ctx = jit_data->ctx; in bpf_int_jit_compile()
1015 image_ptr = jit_data->image; in bpf_int_jit_compile()
1016 header = jit_data->header; in bpf_int_jit_compile()
[all …]
/Linux-v5.10/arch/s390/net/
Dbpf_jit_comp.c1725 struct s390_jit_data *jit_data; in bpf_int_jit_compile() local
1746 jit_data = fp->aux->jit_data; in bpf_int_jit_compile()
1747 if (!jit_data) { in bpf_int_jit_compile()
1748 jit_data = kzalloc(sizeof(*jit_data), GFP_KERNEL); in bpf_int_jit_compile()
1749 if (!jit_data) { in bpf_int_jit_compile()
1753 fp->aux->jit_data = jit_data; in bpf_int_jit_compile()
1755 if (jit_data->ctx.addrs) { in bpf_int_jit_compile()
1756 jit = jit_data->ctx; in bpf_int_jit_compile()
1757 header = jit_data->header; in bpf_int_jit_compile()
1759 pass = jit_data->pass + 1; in bpf_int_jit_compile()
[all …]
/Linux-v5.10/arch/x86/net/
Dbpf_jit_comp.c1979 struct x64_jit_data *jit_data; in bpf_int_jit_compile() local
2004 jit_data = prog->aux->jit_data; in bpf_int_jit_compile()
2005 if (!jit_data) { in bpf_int_jit_compile()
2006 jit_data = kzalloc(sizeof(*jit_data), GFP_KERNEL); in bpf_int_jit_compile()
2007 if (!jit_data) { in bpf_int_jit_compile()
2011 prog->aux->jit_data = jit_data; in bpf_int_jit_compile()
2013 addrs = jit_data->addrs; in bpf_int_jit_compile()
2015 ctx = jit_data->ctx; in bpf_int_jit_compile()
2016 oldproglen = jit_data->proglen; in bpf_int_jit_compile()
2017 image = jit_data->image; in bpf_int_jit_compile()
[all …]
/Linux-v5.10/arch/sparc/net/
Dbpf_jit_comp_64.c1469 struct sparc64_jit_data *jit_data; in bpf_int_jit_compile() local
1492 jit_data = prog->aux->jit_data; in bpf_int_jit_compile()
1493 if (!jit_data) { in bpf_int_jit_compile()
1494 jit_data = kzalloc(sizeof(*jit_data), GFP_KERNEL); in bpf_int_jit_compile()
1495 if (!jit_data) { in bpf_int_jit_compile()
1499 prog->aux->jit_data = jit_data; in bpf_int_jit_compile()
1501 if (jit_data->ctx.offset) { in bpf_int_jit_compile()
1502 ctx = jit_data->ctx; in bpf_int_jit_compile()
1503 image_ptr = jit_data->image; in bpf_int_jit_compile()
1504 header = jit_data->header; in bpf_int_jit_compile()
[all …]
/Linux-v5.10/Documentation/bpf/
Ddrgn.rst151 .jit_data = (void *)0x0,
/Linux-v5.10/include/linux/
Dbpf.h790 void *jit_data; /* JIT specific data. arch dependent */ member