Lines Matching refs:jit_data
3551 struct x64_jit_data *jit_data; in bpf_int_jit_compile() local
3579 jit_data = prog->aux->jit_data; in bpf_int_jit_compile()
3580 if (!jit_data) { in bpf_int_jit_compile()
3581 jit_data = kzalloc(sizeof(*jit_data), GFP_KERNEL); in bpf_int_jit_compile()
3582 if (!jit_data) { in bpf_int_jit_compile()
3586 prog->aux->jit_data = jit_data; in bpf_int_jit_compile()
3605 addrs = jit_data->addrs; in bpf_int_jit_compile()
3607 ctx = jit_data->ctx; in bpf_int_jit_compile()
3608 oldproglen = jit_data->proglen; in bpf_int_jit_compile()
3609 image = jit_data->image; in bpf_int_jit_compile()
3610 header = jit_data->header; in bpf_int_jit_compile()
3611 rw_header = jit_data->rw_header; in bpf_int_jit_compile()
3714 jit_data->addrs = addrs; in bpf_int_jit_compile()
3715 jit_data->ctx = ctx; in bpf_int_jit_compile()
3716 jit_data->proglen = proglen; in bpf_int_jit_compile()
3717 jit_data->image = image; in bpf_int_jit_compile()
3718 jit_data->header = header; in bpf_int_jit_compile()
3719 jit_data->rw_header = rw_header; in bpf_int_jit_compile()
3745 kfree(jit_data); in bpf_int_jit_compile()
3746 prog->aux->jit_data = NULL; in bpf_int_jit_compile()
3781 struct x64_jit_data *jit_data = prog->aux->jit_data; in bpf_jit_free() local
3791 if (jit_data) { in bpf_jit_free()
3792 bpf_jit_binary_pack_finalize(jit_data->header, in bpf_jit_free()
3793 jit_data->rw_header); in bpf_jit_free()
3794 kvfree(jit_data->addrs); in bpf_jit_free()
3795 kfree(jit_data); in bpf_jit_free()