Lines Matching refs:jited_linfo
172 prog->aux->jited_linfo = kvcalloc(prog->aux->nr_linfo, in bpf_prog_alloc_jited_linfo()
173 sizeof(*prog->aux->jited_linfo), in bpf_prog_alloc_jited_linfo()
175 if (!prog->aux->jited_linfo) in bpf_prog_alloc_jited_linfo()
183 if (prog->aux->jited_linfo && in bpf_prog_jit_attempt_done()
184 (!prog->jited || !prog->aux->jited_linfo[0])) { in bpf_prog_jit_attempt_done()
185 kvfree(prog->aux->jited_linfo); in bpf_prog_jit_attempt_done()
186 prog->aux->jited_linfo = NULL; in bpf_prog_jit_attempt_done()
222 void **jited_linfo; in bpf_prog_fill_jited_linfo() local
224 if (!prog->aux->jited_linfo || prog->aux->func_idx > prog->aux->func_cnt) in bpf_prog_fill_jited_linfo()
233 jited_linfo = &prog->aux->jited_linfo[linfo_idx]; in bpf_prog_fill_jited_linfo()
234 jited_linfo[0] = prog->bpf_func; in bpf_prog_fill_jited_linfo()
242 jited_linfo[i] = prog->bpf_func + in bpf_prog_fill_jited_linfo()