Home
last modified time | relevance | path

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

/kernel/bpf/
Dcore.c148 if (!prog->aux->nr_linfo || !prog->jit_requested) in bpf_prog_alloc_jited_linfo()
151 prog->aux->jited_linfo = kvcalloc(prog->aux->nr_linfo, in bpf_prog_alloc_jited_linfo()
199 u32 linfo_idx, insn_start, insn_end, nr_linfo, i; in bpf_prog_fill_jited_linfo() local
215 nr_linfo = prog->aux->nr_linfo - linfo_idx; in bpf_prog_fill_jited_linfo()
217 for (i = 1; i < nr_linfo && linfo[i].insn_off < insn_end; i++) in bpf_prog_fill_jited_linfo()
427 u32 i, nr_linfo; in bpf_adj_linfo() local
429 nr_linfo = prog->aux->nr_linfo; in bpf_adj_linfo()
430 if (!nr_linfo || !delta) in bpf_adj_linfo()
435 for (i = 0; i < nr_linfo; i++) in bpf_adj_linfo()
440 for (; i < nr_linfo; i++) in bpf_adj_linfo()
Dverifier.c270 u32 i, nr_linfo; in find_linfo() local
273 nr_linfo = prog->aux->nr_linfo; in find_linfo()
275 if (!nr_linfo || insn_off >= prog->len) in find_linfo()
279 for (i = 1; i < nr_linfo; i++) in find_linfo()
10158 u32 i, s, nr_linfo, ncopy, expected_size, rec_size, prev_offset = 0; in check_btf_line() local
10166 nr_linfo = attr->line_info_cnt; in check_btf_line()
10167 if (!nr_linfo) in check_btf_line()
10169 if (nr_linfo > INT_MAX / sizeof(struct bpf_line_info)) in check_btf_line()
10181 linfo = kvcalloc(nr_linfo, sizeof(struct bpf_line_info), in check_btf_line()
10194 for (i = 0; i < nr_linfo; i++) { in check_btf_line()
[all …]
Dsyscall.c3830 info.nr_line_info = prog->aux->nr_linfo; in bpf_prog_get_info_by_fd()
3843 info.nr_jited_line_info = prog->aux->nr_linfo; in bpf_prog_get_info_by_fd()