Home
last modified time | relevance | path

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

/linux/kernel/bpf/
H A Dbpf_struct_ops.c190 u32 arg_btf_id; in prepare_arg_info() local
261 pointed_type = btf_type_resolve_ptr(btf, args[arg_no].type, &arg_btf_id); in prepare_arg_info()
284 info->btf_id = arg_btf_id; in prepare_arg_info()
H A Dverifier.c8247 enum bpf_arg_type arg_type, const u32 *arg_btf_id, in check_reg_type() argument
8348 if (!arg_btf_id) { in check_reg_type()
8353 arg_btf_id = compatible->btf_id; in check_reg_type()
8360 if (arg_btf_id == BPF_PTR_POISON) { in check_reg_type()
8372 reg->var_off.value, btf_vmlinux, *arg_btf_id, in check_reg_type()
8377 btf_type_name(btf_vmlinux, *arg_btf_id)); in check_reg_type()
8688 u32 *arg_btf_id = NULL; in check_func_arg() local
8729 arg_btf_id = fn->arg_btf_id[arg]; in check_func_arg()
8731 err = check_reg_type(env, reg, argno, arg_type, arg_btf_id, meta, in check_func_arg()
9254 return !!fn->arg_btf_id[i]; in check_btf_id_ok()
[all …]
/linux/include/linux/
H A Dbpf_verifier.h1569 u32 arg_btf_id; member
H A Dbpf.h1013 u32 *arg_btf_id[MAX_BPF_FUNC_ARGS]; member