Home
last modified time | relevance | path

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

/linux/kernel/bpf/
H A Dfixups.c1546 int i, ret, cnt, delta = 0, cur_subprog = 0; in bpf_do_misc_fixups() local
1548 u16 stack_depth = subprogs[cur_subprog].stack_depth; in bpf_do_misc_fixups()
2436 if (subprogs[cur_subprog + 1].start == i + delta + 1) { in bpf_do_misc_fixups()
2437 subprogs[cur_subprog].stack_depth += stack_depth_extra; in bpf_do_misc_fixups()
2438 subprogs[cur_subprog].stack_extra = stack_depth_extra; in bpf_do_misc_fixups()
2440 stack_depth = subprogs[cur_subprog].stack_depth; in bpf_do_misc_fixups()
2446 cur_subprog++; in bpf_do_misc_fixups()
2447 stack_depth = subprogs[cur_subprog].stack_depth; in bpf_do_misc_fixups()
2614 int i, cur_subprog = 0, cnt, delta = 0; in bpf_optimize_bpf_loop() local
2617 u16 stack_depth = subprogs[cur_subprog].stack_depth; in bpf_optimize_bpf_loop()
[all …]
H A Dverifier.c3019 int i, subprog_start, subprog_end, off, cur_subprog = 0; in check_subprogs() local
3025 subprog_start = subprog[cur_subprog].start; in check_subprogs()
3026 subprog_end = subprog[cur_subprog + 1].start; in check_subprogs()
3033 subprog[cur_subprog].has_tail_call = true; in check_subprogs()
3034 subprog[cur_subprog].tail_call_reachable = true; in check_subprogs()
3038 subprog[cur_subprog].has_ld_abs = true; in check_subprogs()
3044 subprog[cur_subprog].exit_idx = i; in check_subprogs()
3057 i, off, cur_subprog, subprog_start, subprog_end - 1); in check_subprogs()
3075 cur_subprog, i); in check_subprogs()
3079 cur_subprog++; in check_subprogs()
[all …]