Searched refs:jit_data (Results 1 – 7 of 7) sorted by relevance
1066 struct x64_jit_data *jit_data; in bpf_int_jit_compile() local1091 jit_data = prog->aux->jit_data; in bpf_int_jit_compile()1092 if (!jit_data) { in bpf_int_jit_compile()1093 jit_data = kzalloc(sizeof(*jit_data), GFP_KERNEL); in bpf_int_jit_compile()1094 if (!jit_data) { in bpf_int_jit_compile()1098 prog->aux->jit_data = jit_data; in bpf_int_jit_compile()1100 addrs = jit_data->addrs; in bpf_int_jit_compile()1102 ctx = jit_data->ctx; in bpf_int_jit_compile()1103 oldproglen = jit_data->proglen; in bpf_int_jit_compile()1104 image = jit_data->image; in bpf_int_jit_compile()[all …]
832 struct arm64_jit_data *jit_data; in bpf_int_jit_compile() local854 jit_data = prog->aux->jit_data; in bpf_int_jit_compile()855 if (!jit_data) { in bpf_int_jit_compile()856 jit_data = kzalloc(sizeof(*jit_data), GFP_KERNEL); in bpf_int_jit_compile()857 if (!jit_data) { in bpf_int_jit_compile()861 prog->aux->jit_data = jit_data; in bpf_int_jit_compile()863 if (jit_data->ctx.offset) { in bpf_int_jit_compile()864 ctx = jit_data->ctx; in bpf_int_jit_compile()865 image_ptr = jit_data->image; in bpf_int_jit_compile()866 header = jit_data->header; in bpf_int_jit_compile()[all …]
1082 struct powerpc64_jit_data *jit_data; in bpf_int_jit_compile() local1104 jit_data = fp->aux->jit_data; in bpf_int_jit_compile()1105 if (!jit_data) { in bpf_int_jit_compile()1106 jit_data = kzalloc(sizeof(*jit_data), GFP_KERNEL); in bpf_int_jit_compile()1107 if (!jit_data) { in bpf_int_jit_compile()1111 fp->aux->jit_data = jit_data; in bpf_int_jit_compile()1115 addrs = jit_data->addrs; in bpf_int_jit_compile()1117 cgctx = jit_data->ctx; in bpf_int_jit_compile()1118 image = jit_data->image; in bpf_int_jit_compile()1119 bpf_hdr = jit_data->header; in bpf_int_jit_compile()[all …]
1333 struct s390_jit_data *jit_data; in bpf_int_jit_compile() local1354 jit_data = fp->aux->jit_data; in bpf_int_jit_compile()1355 if (!jit_data) { in bpf_int_jit_compile()1356 jit_data = kzalloc(sizeof(*jit_data), GFP_KERNEL); in bpf_int_jit_compile()1357 if (!jit_data) { in bpf_int_jit_compile()1361 fp->aux->jit_data = jit_data; in bpf_int_jit_compile()1363 if (jit_data->ctx.addrs) { in bpf_int_jit_compile()1364 jit = jit_data->ctx; in bpf_int_jit_compile()1365 header = jit_data->header; in bpf_int_jit_compile()1367 pass = jit_data->pass + 1; in bpf_int_jit_compile()[all …]
1469 struct sparc64_jit_data *jit_data; in bpf_int_jit_compile() local1492 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 …]
1551 struct rv_jit_data *jit_data; in bpf_int_jit_compile() local1566 jit_data = prog->aux->jit_data; in bpf_int_jit_compile()1567 if (!jit_data) { in bpf_int_jit_compile()1568 jit_data = kzalloc(sizeof(*jit_data), GFP_KERNEL); in bpf_int_jit_compile()1569 if (!jit_data) { in bpf_int_jit_compile()1573 prog->aux->jit_data = jit_data; in bpf_int_jit_compile()1576 ctx = &jit_data->ctx; in bpf_int_jit_compile()1602 jit_data->header = bpf_jit_binary_alloc(image_size, &jit_data->image, in bpf_int_jit_compile()1605 if (!jit_data->header) { in bpf_int_jit_compile()1611 ctx->insns = (u32 *)jit_data->image; in bpf_int_jit_compile()[all …]
381 void *jit_data; /* JIT specific data. arch dependent */ member