Lines Matching refs:jit_data
2022 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()
2078 header = jit_data->header; in bpf_int_jit_compile()
2200 if (extra_pass && ctx.idx > jit_data->ctx.idx) { in bpf_int_jit_compile()
2202 ctx.idx, jit_data->ctx.idx); in bpf_int_jit_compile()
2221 jit_data->ctx = ctx; in bpf_int_jit_compile()
2222 jit_data->ro_image = ro_image_ptr; in bpf_int_jit_compile()
2223 jit_data->header = header; in bpf_int_jit_compile()
2224 jit_data->ro_header = ro_header; in bpf_int_jit_compile()
2252 kfree(jit_data); in bpf_int_jit_compile()
2253 prog->aux->jit_data = NULL; in bpf_int_jit_compile()
3128 struct arm64_jit_data *jit_data = prog->aux->jit_data; in bpf_jit_free() local
3138 if (jit_data) { in bpf_jit_free()
3139 bpf_jit_binary_pack_finalize(jit_data->ro_header, jit_data->header); in bpf_jit_free()
3140 kfree(jit_data); in bpf_jit_free()