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.h834 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.c1416 u16 outgoing = subprog->stack_arg_cnt - bpf_in_stack_arg_cnt(subprog); in bpf_fixup_call_args()
1440 if (bpf_in_stack_arg_cnt(&env->subprog_info[i])) { in bpf_fixup_call_args()
H A Dverifier.c4215 if (spi + 1 > bpf_in_stack_arg_cnt(subprog)) { in check_stack_arg_read()
4217 off, bpf_in_stack_arg_cnt(subprog) * BPF_REG_SIZE); in check_stack_arg_read()
9633 if (bpf_in_stack_arg_cnt(sub) > 0) { in btf_check_func_arg_match()
9937 callee_incoming = bpf_in_stack_arg_cnt(&env->subprog_info[subprog]); in check_func_call()
9938 stack_arg_cnt = bpf_in_stack_arg_cnt(caller_info) + callee_incoming; in check_func_call()
14041 u16 stack_arg_cnt = bpf_in_stack_arg_cnt(caller_info) + out_stack_arg_cnt; in check_kfunc_call()
18138 if (bpf_in_stack_arg_cnt(&env->subprog_info[cur_func(env)->subprogno])) in do_check_insn()
H A Dcore.c1662 return sub->stack_arg_cnt - bpf_in_stack_arg_cnt(sub); in bpf_out_stack_arg_cnt()