Lines Matching refs:jit_data
2355 struct x64_jit_data *jit_data; in bpf_int_jit_compile() local
2382 jit_data = prog->aux->jit_data; in bpf_int_jit_compile()
2383 if (!jit_data) { in bpf_int_jit_compile()
2384 jit_data = kzalloc(sizeof(*jit_data), GFP_KERNEL); in bpf_int_jit_compile()
2385 if (!jit_data) { in bpf_int_jit_compile()
2389 prog->aux->jit_data = jit_data; in bpf_int_jit_compile()
2391 addrs = jit_data->addrs; in bpf_int_jit_compile()
2393 ctx = jit_data->ctx; in bpf_int_jit_compile()
2394 oldproglen = jit_data->proglen; in bpf_int_jit_compile()
2395 image = jit_data->image; in bpf_int_jit_compile()
2396 header = jit_data->header; in bpf_int_jit_compile()
2397 rw_header = jit_data->rw_header; in bpf_int_jit_compile()
2500 jit_data->addrs = addrs; in bpf_int_jit_compile()
2501 jit_data->ctx = ctx; in bpf_int_jit_compile()
2502 jit_data->proglen = proglen; in bpf_int_jit_compile()
2503 jit_data->image = image; in bpf_int_jit_compile()
2504 jit_data->header = header; in bpf_int_jit_compile()
2505 jit_data->rw_header = rw_header; in bpf_int_jit_compile()
2519 kfree(jit_data); in bpf_int_jit_compile()
2520 prog->aux->jit_data = NULL; in bpf_int_jit_compile()
2550 struct x64_jit_data *jit_data = prog->aux->jit_data; in bpf_jit_free() local
2558 if (jit_data) { in bpf_jit_free()
2559 bpf_jit_binary_pack_finalize(prog, jit_data->header, in bpf_jit_free()
2560 jit_data->rw_header); in bpf_jit_free()
2561 kvfree(jit_data->addrs); in bpf_jit_free()
2562 kfree(jit_data); in bpf_jit_free()