Home
last modified time | relevance | path

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

/kernel/bpf/
Dverifier.c692 static enum bpf_dynptr_type arg_to_dynptr_type(enum bpf_arg_type arg_type) in arg_to_dynptr_type() argument
694 switch (arg_type & DYNPTR_TYPE_FLAG_MASK) { in arg_to_dynptr_type()
710 enum bpf_arg_type arg_type, int insn_idx) in mark_stack_slots_dynptr() argument
726 type = arg_to_dynptr_type(arg_type); in mark_stack_slots_dynptr()
816 enum bpf_arg_type arg_type) in is_dynptr_type_expected() argument
823 if (arg_type == ARG_PTR_TO_DYNPTR) in is_dynptr_type_expected()
826 dynptr_type = arg_to_dynptr_type(arg_type); in is_dynptr_type_expected()
5863 enum bpf_arg_type *arg_type) in resolve_map_arg_type() argument
5874 if (*arg_type == ARG_PTR_TO_MAP_VALUE) { in resolve_map_arg_type()
5875 *arg_type = ARG_PTR_TO_BTF_ID_SOCK_COMMON; in resolve_map_arg_type()
[all …]
Dbtf.c4484 const struct btf_type *arg_type; in btf_func_proto_check() local
4488 arg_type = btf_type_by_id(btf, arg_type_id); in btf_func_proto_check()
4489 if (!arg_type) { in btf_func_proto_check()
4495 if (btf_type_is_resolve_source_only(arg_type)) { in btf_func_proto_check()
4509 if (btf_type_needs_resolve(arg_type) && in btf_func_proto_check()
4511 err = btf_resolve(env, arg_type, arg_type_id); in btf_func_proto_check()
6302 enum bpf_arg_type arg_type = ARG_DONTCARE; in btf_check_func_arg_match() local
6373 arg_type |= OBJ_RELEASE; in btf_check_func_arg_match()
6374 ret = check_func_arg_reg_off(env, reg, regno, arg_type); in btf_check_func_arg_match()