Home
last modified time | relevance | path

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

/linux/kernel/bpf/
H A Dfixups.c1521 int i, ret, cnt, delta = 0, cur_subprog = 0; in bpf_do_misc_fixups() local
1523 u16 stack_depth = subprogs[cur_subprog].stack_depth; in bpf_do_misc_fixups()
2411 if (subprogs[cur_subprog + 1].start == i + delta + 1) { in bpf_do_misc_fixups()
2412 subprogs[cur_subprog].stack_depth += stack_depth_extra; in bpf_do_misc_fixups()
2413 subprogs[cur_subprog].stack_extra = stack_depth_extra; in bpf_do_misc_fixups()
2415 stack_depth = subprogs[cur_subprog].stack_depth; in bpf_do_misc_fixups()
2421 cur_subprog++; in bpf_do_misc_fixups()
2422 stack_depth = subprogs[cur_subprog].stack_depth; in bpf_do_misc_fixups()
2589 int i, cur_subprog = 0, cnt, delta = 0; in bpf_optimize_bpf_loop() local
2592 u16 stack_depth = subprogs[cur_subprog].stack_depth; in bpf_optimize_bpf_loop()
[all …]
H A Dverifier.c3008 int i, subprog_start, subprog_end, off, cur_subprog = 0; in check_subprogs() local
3014 subprog_start = subprog[cur_subprog].start; in check_subprogs()
3015 subprog_end = subprog[cur_subprog + 1].start; in check_subprogs()
3022 subprog[cur_subprog].has_tail_call = true; in check_subprogs()
3023 subprog[cur_subprog].tail_call_reachable = true; in check_subprogs()
3027 subprog[cur_subprog].has_ld_abs = true; in check_subprogs()
3033 subprog[cur_subprog].exit_idx = i; in check_subprogs()
3044 i, off, cur_subprog, subprog_start, subprog_end - 1); in check_subprogs()
3061 cur_subprog, i); in check_subprogs()
3065 cur_subprog++; in check_subprogs()
[all …]