Lines Matching refs:jit_data
2700 struct x64_jit_data *jit_data; in bpf_int_jit_compile() local
2727 jit_data = prog->aux->jit_data; in bpf_int_jit_compile()
2728 if (!jit_data) { in bpf_int_jit_compile()
2729 jit_data = kzalloc(sizeof(*jit_data), GFP_KERNEL); in bpf_int_jit_compile()
2730 if (!jit_data) { in bpf_int_jit_compile()
2734 prog->aux->jit_data = jit_data; in bpf_int_jit_compile()
2736 addrs = jit_data->addrs; in bpf_int_jit_compile()
2738 ctx = jit_data->ctx; in bpf_int_jit_compile()
2739 oldproglen = jit_data->proglen; in bpf_int_jit_compile()
2740 image = jit_data->image; in bpf_int_jit_compile()
2741 header = jit_data->header; in bpf_int_jit_compile()
2742 rw_header = jit_data->rw_header; in bpf_int_jit_compile()
2845 jit_data->addrs = addrs; in bpf_int_jit_compile()
2846 jit_data->ctx = ctx; in bpf_int_jit_compile()
2847 jit_data->proglen = proglen; in bpf_int_jit_compile()
2848 jit_data->image = image; in bpf_int_jit_compile()
2849 jit_data->header = header; in bpf_int_jit_compile()
2850 jit_data->rw_header = rw_header; in bpf_int_jit_compile()
2864 kfree(jit_data); in bpf_int_jit_compile()
2865 prog->aux->jit_data = NULL; in bpf_int_jit_compile()
2895 struct x64_jit_data *jit_data = prog->aux->jit_data; in bpf_jit_free() local
2903 if (jit_data) { in bpf_jit_free()
2904 bpf_jit_binary_pack_finalize(prog, jit_data->header, in bpf_jit_free()
2905 jit_data->rw_header); in bpf_jit_free()
2906 kvfree(jit_data->addrs); in bpf_jit_free()
2907 kfree(jit_data); in bpf_jit_free()