Home
last modified time | relevance | path

Searched refs:jited_linfo (Results 1 – 3 of 3) sorted by relevance

/kernel/bpf/
Dcore.c146 prog->aux->jited_linfo = kcalloc(prog->aux->nr_linfo, in bpf_prog_alloc_jited_linfo()
147 sizeof(*prog->aux->jited_linfo), in bpf_prog_alloc_jited_linfo()
149 if (!prog->aux->jited_linfo) in bpf_prog_alloc_jited_linfo()
157 kfree(prog->aux->jited_linfo); in bpf_prog_free_jited_linfo()
158 prog->aux->jited_linfo = NULL; in bpf_prog_free_jited_linfo()
163 if (prog->aux->jited_linfo && !prog->aux->jited_linfo[0]) in bpf_prog_free_unused_jited_linfo()
196 void **jited_linfo; in bpf_prog_fill_jited_linfo() local
198 if (!prog->aux->jited_linfo) in bpf_prog_fill_jited_linfo()
207 jited_linfo = &prog->aux->jited_linfo[linfo_idx]; in bpf_prog_fill_jited_linfo()
208 jited_linfo[0] = prog->bpf_func; in bpf_prog_fill_jited_linfo()
[all …]
Dsyscall.c3649 if (prog->aux->jited_linfo) in bpf_prog_get_info_by_fd()
3661 if (put_user((__u64)(long)prog->aux->jited_linfo[i], in bpf_prog_get_info_by_fd()
Dverifier.c11433 func[i]->aux->jited_linfo = prog->aux->jited_linfo; in jit_subprogs()