Home
last modified time | relevance | path

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

/kernel/bpf/
Dcore.c154 if (!prog->aux->nr_linfo || !prog->jit_requested) in bpf_prog_alloc_jited_linfo()
157 prog->aux->jited_linfo = kvcalloc(prog->aux->nr_linfo, in bpf_prog_alloc_jited_linfo()
205 u32 linfo_idx, insn_start, insn_end, nr_linfo, i; in bpf_prog_fill_jited_linfo() local
221 nr_linfo = prog->aux->nr_linfo - linfo_idx; in bpf_prog_fill_jited_linfo()
223 for (i = 1; i < nr_linfo && linfo[i].insn_off < insn_end; i++) in bpf_prog_fill_jited_linfo()
433 u32 i, nr_linfo; in bpf_adj_linfo() local
435 nr_linfo = prog->aux->nr_linfo; in bpf_adj_linfo()
436 if (!nr_linfo || !delta) in bpf_adj_linfo()
441 for (i = 0; i < nr_linfo; i++) in bpf_adj_linfo()
446 for (; i < nr_linfo; i++) in bpf_adj_linfo()
Dverifier.c278 u32 i, nr_linfo; in find_linfo() local
281 nr_linfo = prog->aux->nr_linfo; in find_linfo()
283 if (!nr_linfo || insn_off >= prog->len) in find_linfo()
287 for (i = 1; i < nr_linfo; i++) in find_linfo()
11417 u32 i, s, nr_linfo, ncopy, expected_size, rec_size, prev_offset = 0; in check_btf_line() local
11425 nr_linfo = attr->line_info_cnt; in check_btf_line()
11426 if (!nr_linfo) in check_btf_line()
11428 if (nr_linfo > INT_MAX / sizeof(struct bpf_line_info)) in check_btf_line()
11440 linfo = kvcalloc(nr_linfo, sizeof(struct bpf_line_info), in check_btf_line()
11453 for (i = 0; i < nr_linfo; i++) { in check_btf_line()
[all …]
Dsyscall.c4138 info.nr_line_info = prog->aux->nr_linfo; in bpf_prog_get_info_by_fd()
4151 info.nr_jited_line_info = prog->aux->nr_linfo; in bpf_prog_get_info_by_fd()