Home
last modified time | relevance | path

Searched refs:bpf_in_stack_arg_cnt (Results 1 – 4 of 4) sorted by relevance

/linux/include/linux/
H A Dbpf_verifier.h838 static inline u16 bpf_in_stack_arg_cnt(const struct bpf_subprog_info *sub) in bpf_in_stack_arg_cnt() function
/linux/kernel/bpf/
H A Dfixups.c1441 u16 outgoing = subprog->stack_arg_cnt - bpf_in_stack_arg_cnt(subprog); in bpf_fixup_call_args()
1465 if (bpf_in_stack_arg_cnt(&env->subprog_info[i])) { in bpf_fixup_call_args()
H A Dverifier.c4229 if (spi + 1 > bpf_in_stack_arg_cnt(subprog)) { in check_stack_arg_read()
4231 off, bpf_in_stack_arg_cnt(subprog) * BPF_REG_SIZE); in check_stack_arg_read()
9697 if (bpf_in_stack_arg_cnt(sub) > 0) { in btf_check_func_arg_match()
10015 callee_incoming = bpf_in_stack_arg_cnt(&env->subprog_info[subprog]); in check_func_call()
10016 stack_arg_cnt = bpf_in_stack_arg_cnt(caller_info) + callee_incoming; in check_func_call()
14182 u16 stack_arg_cnt = bpf_in_stack_arg_cnt(caller_info) + out_stack_arg_cnt; in check_kfunc_call()
18362 if (bpf_in_stack_arg_cnt(&env->subprog_info[cur_func(env)->subprogno])) in do_check_insn()
H A Dcore.c1666 return sub->stack_arg_cnt - bpf_in_stack_arg_cnt(sub);