Home
last modified time | relevance | path

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

/linux-6.3-rc2/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()
104 if (jit_data->header) in bpf_int_jit_compile()
111 jit_data->header = in bpf_int_jit_compile()
116 if (!jit_data->header) { in bpf_int_jit_compile()
132 if (jit_data->header) in bpf_int_jit_compile()
[all …]
/linux-6.3-rc2/arch/powerpc/net/
A Dbpf_jit_comp.c86 jit_data = fp->aux->jit_data; in bpf_int_jit_compile()
87 if (!jit_data) { in bpf_int_jit_compile()
88 jit_data = kzalloc(sizeof(*jit_data), GFP_KERNEL); in bpf_int_jit_compile()
89 if (!jit_data) { in bpf_int_jit_compile()
93 fp->aux->jit_data = jit_data; in bpf_int_jit_compile()
97 addrs = jit_data->addrs; in bpf_int_jit_compile()
99 cgctx = jit_data->ctx; in bpf_int_jit_compile()
100 image = jit_data->image; in bpf_int_jit_compile()
210 kfree(jit_data); in bpf_int_jit_compile()
213 jit_data->addrs = addrs; in bpf_int_jit_compile()
[all …]
/linux-6.3-rc2/arch/loongarch/net/
A Dbpf_jit.c1100 struct jit_data *jit_data; in bpf_int_jit_compile() local
1125 jit_data = prog->aux->jit_data; in bpf_int_jit_compile()
1126 if (!jit_data) { in bpf_int_jit_compile()
1127 jit_data = kzalloc(sizeof(*jit_data), GFP_KERNEL); in bpf_int_jit_compile()
1128 if (!jit_data) { in bpf_int_jit_compile()
1132 prog->aux->jit_data = jit_data; in bpf_int_jit_compile()
1134 if (jit_data->ctx.offset) { in bpf_int_jit_compile()
1135 ctx = jit_data->ctx; in bpf_int_jit_compile()
1137 header = jit_data->header; in bpf_int_jit_compile()
1221 jit_data->ctx = ctx; in bpf_int_jit_compile()
[all …]
A Dbpf_jit.h24 struct jit_data { struct
/linux-6.3-rc2/arch/x86/net/
A Dbpf_jit_comp.c2474 jit_data = prog->aux->jit_data; in bpf_int_jit_compile()
2475 if (!jit_data) { in bpf_int_jit_compile()
2476 jit_data = kzalloc(sizeof(*jit_data), GFP_KERNEL); in bpf_int_jit_compile()
2477 if (!jit_data) { in bpf_int_jit_compile()
2481 prog->aux->jit_data = jit_data; in bpf_int_jit_compile()
2485 ctx = jit_data->ctx; in bpf_int_jit_compile()
2593 jit_data->ctx = ctx; in bpf_int_jit_compile()
2611 kfree(jit_data); in bpf_int_jit_compile()
2642 struct x64_jit_data *jit_data = prog->aux->jit_data; in bpf_jit_free() local
2650 if (jit_data) { in bpf_jit_free()
[all …]
/linux-6.3-rc2/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-6.3-rc2/arch/s390/net/
A Dbpf_jit_comp.c1922 jit_data = fp->aux->jit_data; in bpf_int_jit_compile()
1923 if (!jit_data) { in bpf_int_jit_compile()
1924 jit_data = kzalloc(sizeof(*jit_data), GFP_KERNEL); in bpf_int_jit_compile()
1925 if (!jit_data) { in bpf_int_jit_compile()
1929 fp->aux->jit_data = jit_data; in bpf_int_jit_compile()
1931 if (jit_data->ctx.addrs) { in bpf_int_jit_compile()
1932 jit = jit_data->ctx; in bpf_int_jit_compile()
1978 jit_data->ctx = jit; in bpf_int_jit_compile()
1979 jit_data->pass = pass; in bpf_int_jit_compile()
1989 kfree(jit_data); in bpf_int_jit_compile()
[all …]
/linux-6.3-rc2/arch/arm64/net/
A Dbpf_jit_comp.c1479 jit_data = prog->aux->jit_data; in bpf_int_jit_compile()
1480 if (!jit_data) { in bpf_int_jit_compile()
1481 jit_data = kzalloc(sizeof(*jit_data), GFP_KERNEL); in bpf_int_jit_compile()
1482 if (!jit_data) { in bpf_int_jit_compile()
1486 prog->aux->jit_data = jit_data; in bpf_int_jit_compile()
1488 if (jit_data->ctx.offset) { in bpf_int_jit_compile()
1489 ctx = jit_data->ctx; in bpf_int_jit_compile()
1491 header = jit_data->header; in bpf_int_jit_compile()
1588 jit_data->ctx = ctx; in bpf_int_jit_compile()
1590 jit_data->header = header; in bpf_int_jit_compile()
[all …]
/linux-6.3-rc2/Documentation/bpf/
A Ddrgn.rst151 .jit_data = (void *)0x0,
/linux-6.3-rc2/include/linux/
A Dbpf.h1318 void *jit_data; /* JIT specific data. arch dependent */ member

Completed in 36 milliseconds