Searched refs:jit_data (Results 1 – 11 of 11) sorted by relevance
/linux-6.6.21/arch/riscv/net/ |
D | bpf_jit_core.c | 50 struct rv_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() 115 if (jit_data->header) in bpf_int_jit_compile() 122 jit_data->ro_header = in bpf_int_jit_compile() 124 &jit_data->ro_image, sizeof(u32), in bpf_int_jit_compile() [all …]
|
/linux-6.6.21/arch/parisc/net/ |
D | bpf_jit_core.c | 50 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-6.6.21/arch/powerpc/net/ |
D | bpf_jit_comp.c | 62 struct powerpc64_jit_data *jit_data; in bpf_int_jit_compile() local 86 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() 101 bpf_hdr = jit_data->header; in bpf_int_jit_compile() [all …]
|
/linux-6.6.21/arch/loongarch/net/ |
D | bpf_jit.c | 1099 struct jit_data *jit_data; in bpf_int_jit_compile() local 1124 jit_data = prog->aux->jit_data; in bpf_int_jit_compile() 1125 if (!jit_data) { in bpf_int_jit_compile() 1126 jit_data = kzalloc(sizeof(*jit_data), GFP_KERNEL); in bpf_int_jit_compile() 1127 if (!jit_data) { in bpf_int_jit_compile() 1131 prog->aux->jit_data = jit_data; in bpf_int_jit_compile() 1133 if (jit_data->ctx.offset) { in bpf_int_jit_compile() 1134 ctx = jit_data->ctx; in bpf_int_jit_compile() 1135 image_ptr = jit_data->image; in bpf_int_jit_compile() 1136 header = jit_data->header; in bpf_int_jit_compile() [all …]
|
D | bpf_jit.h | 24 struct jit_data { struct
|
/linux-6.6.21/arch/x86/net/ |
D | bpf_jit_comp.c | 2716 struct x64_jit_data *jit_data; in bpf_int_jit_compile() local 2743 jit_data = prog->aux->jit_data; in bpf_int_jit_compile() 2744 if (!jit_data) { in bpf_int_jit_compile() 2745 jit_data = kzalloc(sizeof(*jit_data), GFP_KERNEL); in bpf_int_jit_compile() 2746 if (!jit_data) { in bpf_int_jit_compile() 2750 prog->aux->jit_data = jit_data; in bpf_int_jit_compile() 2752 addrs = jit_data->addrs; in bpf_int_jit_compile() 2754 ctx = jit_data->ctx; in bpf_int_jit_compile() 2755 oldproglen = jit_data->proglen; in bpf_int_jit_compile() 2756 image = jit_data->image; in bpf_int_jit_compile() [all …]
|
/linux-6.6.21/arch/sparc/net/ |
D | bpf_jit_comp_64.c | 1483 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-6.6.21/arch/s390/net/ |
D | bpf_jit_comp.c | 1898 struct s390_jit_data *jit_data; in bpf_int_jit_compile() local 1922 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() 1933 header = jit_data->header; in bpf_int_jit_compile() 1935 pass = jit_data->pass + 1; in bpf_int_jit_compile() [all …]
|
/linux-6.6.21/arch/arm64/net/ |
D | bpf_jit_comp.c | 1523 struct arm64_jit_data *jit_data; in bpf_int_jit_compile() local 1544 jit_data = prog->aux->jit_data; in bpf_int_jit_compile() 1545 if (!jit_data) { in bpf_int_jit_compile() 1546 jit_data = kzalloc(sizeof(*jit_data), GFP_KERNEL); in bpf_int_jit_compile() 1547 if (!jit_data) { in bpf_int_jit_compile() 1551 prog->aux->jit_data = jit_data; in bpf_int_jit_compile() 1553 if (jit_data->ctx.offset) { in bpf_int_jit_compile() 1554 ctx = jit_data->ctx; in bpf_int_jit_compile() 1555 image_ptr = jit_data->image; in bpf_int_jit_compile() 1556 header = jit_data->header; in bpf_int_jit_compile() [all …]
|
/linux-6.6.21/Documentation/bpf/ |
D | drgn.rst | 151 .jit_data = (void *)0x0,
|
/linux-6.6.21/include/linux/ |
D | bpf.h | 1424 void *jit_data; /* JIT specific data. arch dependent */ member
|