Home
last modified time | relevance | path

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

/linux/arch/parisc/net/
H A Dbpf_jit_core.c50 struct hppa_jit_data *jit_data; in bpf_int_jit_compile() local
64 jit_data = prog->aux->jit_data; in bpf_int_jit_compile()
65 if (!jit_data) { in bpf_int_jit_compile()
66 jit_data = kzalloc(sizeof(*jit_data), GFP_KERNEL); in bpf_int_jit_compile()
67 if (!jit_data) { in bpf_int_jit_compile()
71 prog->aux->jit_data = jit_data; in bpf_int_jit_compile()
74 ctx = &jit_data->ctx; in bpf_int_jit_compile()
107 if (jit_data->header) in bpf_int_jit_compile()
114 jit_data->header = in bpf_int_jit_compile()
116 &jit_data->image, in bpf_int_jit_compile()
[all …]
/linux/arch/sparc/net/
H A 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/arch/arm64/net/
H A Dbpf_jit_comp.c2022 struct arm64_jit_data *jit_data; in bpf_int_jit_compile() local
2048 jit_data = prog->aux->jit_data; in bpf_int_jit_compile()
2049 if (!jit_data) { in bpf_int_jit_compile()
2050 jit_data = kzalloc(sizeof(*jit_data), GFP_KERNEL); in bpf_int_jit_compile()
2051 if (!jit_data) { in bpf_int_jit_compile()
2055 prog->aux->jit_data = jit_data; in bpf_int_jit_compile()
2074 if (jit_data->ctx.offset) { in bpf_int_jit_compile()
2075 ctx = jit_data->ctx; in bpf_int_jit_compile()
2076 ro_image_ptr = jit_data->ro_image; in bpf_int_jit_compile()
2077 ro_header = jit_data->ro_header; in bpf_int_jit_compile()
[all …]
/linux/arch/loongarch/net/
H A Dbpf_jit.c1835 struct jit_data *jit_data; in bpf_int_jit_compile() local
1860 jit_data = prog->aux->jit_data; in bpf_int_jit_compile()
1861 if (!jit_data) { in bpf_int_jit_compile()
1862 jit_data = kzalloc(sizeof(*jit_data), GFP_KERNEL); in bpf_int_jit_compile()
1863 if (!jit_data) { in bpf_int_jit_compile()
1867 prog->aux->jit_data = jit_data; in bpf_int_jit_compile()
1869 if (jit_data->ctx.offset) { in bpf_int_jit_compile()
1870 ctx = jit_data->ctx; in bpf_int_jit_compile()
1871 image_ptr = jit_data->image; in bpf_int_jit_compile()
1872 header = jit_data->header; in bpf_int_jit_compile()
[all …]
H A Dbpf_jit.h25 struct jit_data { struct
/linux/arch/x86/net/
H A Dbpf_jit_comp.c3698 struct x64_jit_data *jit_data; in bpf_int_jit_compile() local
3726 jit_data = prog->aux->jit_data; in bpf_int_jit_compile()
3727 if (!jit_data) { in bpf_int_jit_compile()
3728 jit_data = kzalloc(sizeof(*jit_data), GFP_KERNEL); in bpf_int_jit_compile()
3729 if (!jit_data) { in bpf_int_jit_compile()
3733 prog->aux->jit_data = jit_data; in bpf_int_jit_compile()
3752 addrs = jit_data->addrs; in bpf_int_jit_compile()
3754 ctx = jit_data->ctx; in bpf_int_jit_compile()
3755 oldproglen = jit_data->proglen; in bpf_int_jit_compile()
3756 image = jit_data->image; in bpf_int_jit_compile()
[all …]
/linux/Documentation/bpf/
H A Ddrgn.rst151 .jit_data = (void *)0x0,
/linux/include/linux/
H A Dbpf.h1685 void *jit_data; /* JIT specific data. arch dependent */ member