Home
last modified time | relevance | path

Searched refs:cur_subprog (Results 1 – 2 of 2) sorted by relevance

/linux/kernel/bpf/
H A Dfixups.c1526 int i, ret, cnt, delta = 0, cur_subprog = 0; in bpf_do_misc_fixups() local
1528 u16 stack_depth = subprogs[cur_subprog].stack_depth; in bpf_do_misc_fixups()
2416 if (subprogs[cur_subprog + 1].start == i + delta + 1) { in bpf_do_misc_fixups()
2417 subprogs[cur_subprog].stack_depth += stack_depth_extra; in bpf_do_misc_fixups()
2418 subprogs[cur_subprog].stack_extra = stack_depth_extra; in bpf_do_misc_fixups()
2420 stack_depth = subprogs[cur_subprog].stack_depth; in bpf_do_misc_fixups()
2426 cur_subprog++; in bpf_do_misc_fixups()
2427 stack_depth = subprogs[cur_subprog].stack_depth; in bpf_do_misc_fixups()
2594 int i, cur_subprog = 0, cnt, delta = 0; in bpf_optimize_bpf_loop() local
2597 u16 stack_depth = subprogs[cur_subprog].stack_depth; in bpf_optimize_bpf_loop()
[all …]
H A Dverifier.c3017 int i, subprog_start, subprog_end, off, cur_subprog = 0; in check_subprogs() local
3023 subprog_start = subprog[cur_subprog].start; in check_subprogs()
3024 subprog_end = subprog[cur_subprog + 1].start; in check_subprogs()
3031 subprog[cur_subprog].has_tail_call = true; in check_subprogs()
3032 subprog[cur_subprog].tail_call_reachable = true; in check_subprogs()
3036 subprog[cur_subprog].has_ld_abs = true; in check_subprogs()
3042 subprog[cur_subprog].exit_idx = i; in check_subprogs()
3053 i, off, cur_subprog, subprog_start, subprog_end - 1); in check_subprogs()
3070 cur_subprog, i); in check_subprogs()
3074 cur_subprog++; in check_subprogs()
[all …]