Searched refs:jit_data (Results 1 – 12 of 12) sorted by relevance
50 struct rv_jit_data *jit_data; in bpf_int_jit_compile() local64 jit_data = prog->aux->jit_data; in bpf_int_jit_compile()65 if (!jit_data) { in bpf_int_jit_compile()66 jit_data = kzalloc_obj(*jit_data); 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()117 if (jit_data->header) in bpf_int_jit_compile()124 jit_data->ro_header = in bpf_int_jit_compile()126 &jit_data->ro_image, sizeof(u32), in bpf_int_jit_compile()[all …]
50 struct hppa_jit_data *jit_data; in bpf_int_jit_compile() local64 jit_data = prog->aux->jit_data; in bpf_int_jit_compile()65 if (!jit_data) { in bpf_int_jit_compile()66 jit_data = kzalloc_obj(*jit_data); 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 …]
139 struct powerpc_jit_data *jit_data; in bpf_int_jit_compile() local166 jit_data = fp->aux->jit_data; in bpf_int_jit_compile()167 if (!jit_data) { in bpf_int_jit_compile()168 jit_data = kzalloc_obj(*jit_data); in bpf_int_jit_compile()169 if (!jit_data) { in bpf_int_jit_compile()173 fp->aux->jit_data = jit_data; in bpf_int_jit_compile()177 addrs = jit_data->addrs; in bpf_int_jit_compile()179 cgctx = jit_data->ctx; in bpf_int_jit_compile()185 fimage = jit_data->fimage; in bpf_int_jit_compile()186 fhdr = jit_data->fhdr; in bpf_int_jit_compile()[all …]
1918 struct jit_data *jit_data; in bpf_int_jit_compile() local1944 jit_data = prog->aux->jit_data; in bpf_int_jit_compile()1945 if (!jit_data) { in bpf_int_jit_compile()1946 jit_data = kzalloc_obj(*jit_data); in bpf_int_jit_compile()1947 if (!jit_data) { in bpf_int_jit_compile()1951 prog->aux->jit_data = jit_data; in bpf_int_jit_compile()1953 if (jit_data->ctx.offset) { in bpf_int_jit_compile()1954 ctx = jit_data->ctx; in bpf_int_jit_compile()1955 ro_header = jit_data->ro_header; in bpf_int_jit_compile()1957 header = jit_data->header; in bpf_int_jit_compile()[all …]
27 struct jit_data { struct
109 struct arc_jit_data *jit_data; member226 maybe_free(ctx, (void **)&ctx->jit_data); in jit_ctx_cleanup()1143 ctx->jit_data = kzalloc_obj(*ctx->jit_data); in jit_prepare_final_mem_alloc()1144 if (!ctx->jit_data) in jit_prepare_final_mem_alloc()1227 ctx->jit_data->bpf_header = ctx->bpf_header; in jit_finalize()1228 ctx->jit_data->bpf2insn = ctx->bpf2insn; in jit_finalize()1229 prog->aux->jit_data = (void *)ctx->jit_data; in jit_finalize()1242 prog->aux->jit_data = NULL; in jit_finalize()1264 if (!prog->aux->jit_data) { in check_jit_context()1276 (struct arc_jit_data *)ctx->prog->aux->jit_data; in jit_resume_context()[all …]
1483 struct sparc64_jit_data *jit_data; in bpf_int_jit_compile() local1506 jit_data = prog->aux->jit_data; in bpf_int_jit_compile()1507 if (!jit_data) { in bpf_int_jit_compile()1508 jit_data = kzalloc_obj(*jit_data); 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 …]
2015 struct arm64_jit_data *jit_data; in bpf_int_jit_compile() local2041 jit_data = prog->aux->jit_data; in bpf_int_jit_compile()2042 if (!jit_data) { in bpf_int_jit_compile()2043 jit_data = kzalloc_obj(*jit_data); in bpf_int_jit_compile()2044 if (!jit_data) { in bpf_int_jit_compile()2048 prog->aux->jit_data = jit_data; in bpf_int_jit_compile()2067 if (jit_data->ctx.offset) { in bpf_int_jit_compile()2068 ctx = jit_data->ctx; in bpf_int_jit_compile()2069 ro_image_ptr = jit_data->ro_image; in bpf_int_jit_compile()2070 ro_header = jit_data->ro_header; in bpf_int_jit_compile()[all …]
3722 struct x64_jit_data *jit_data; in bpf_int_jit_compile() local3750 jit_data = prog->aux->jit_data; in bpf_int_jit_compile()3751 if (!jit_data) { in bpf_int_jit_compile()3752 jit_data = kzalloc_obj(*jit_data); in bpf_int_jit_compile()3753 if (!jit_data) { in bpf_int_jit_compile()3757 prog->aux->jit_data = jit_data; in bpf_int_jit_compile()3776 addrs = jit_data->addrs; in bpf_int_jit_compile()3778 ctx = jit_data->ctx; in bpf_int_jit_compile()3779 oldproglen = jit_data->proglen; in bpf_int_jit_compile()3780 image = jit_data->image; in bpf_int_jit_compile()[all …]
2303 struct s390_jit_data *jit_data; in bpf_int_jit_compile() local2324 jit_data = fp->aux->jit_data; in bpf_int_jit_compile()2325 if (!jit_data) { in bpf_int_jit_compile()2326 jit_data = kzalloc_obj(*jit_data); in bpf_int_jit_compile()2327 if (!jit_data) { in bpf_int_jit_compile()2331 fp->aux->jit_data = jit_data; in bpf_int_jit_compile()2333 if (jit_data->ctx.addrs) { in bpf_int_jit_compile()2334 jit = jit_data->ctx; in bpf_int_jit_compile()2335 header = jit_data->header; in bpf_int_jit_compile()2337 pass = jit_data->pass + 1; in bpf_int_jit_compile()[all …]
151 .jit_data = (void *)0x0,
1709 void *jit_data; /* JIT specific data. arch dependent */ member