Home
last modified time | relevance | path

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

/linux-6.1.9/net/ipv4/
Dbpf_tcp_ca.c64 if (info->reg_type == PTR_TO_BTF_ID && info->btf_id == sock_id) in bpf_tcp_ca_is_valid_access()
/linux-6.1.9/kernel/bpf/
Dverifier.c464 type == PTR_TO_MEM || type == PTR_TO_BTF_ID; in reg_type_may_be_refcounted_or_null()
561 [PTR_TO_BTF_ID] = "ptr_", in reg_type_str()
570 if (base_type(type) == PTR_TO_BTF_ID) in reg_type_str()
867 if (base_type(t) == PTR_TO_BTF_ID) in print_verifier_state()
1744 regs[regno].type = PTR_TO_BTF_ID | flag; in mark_btf_ld_reg()
2969 case PTR_TO_BTF_ID: in is_spillable_regtype()
3713 if (base_type(reg->type) != PTR_TO_BTF_ID || (type_flag(reg->type) & ~perm_flags)) in map_kptr_match_type()
3764 verbose(env, "expected=%s%s", reg_type_str(env, PTR_TO_BTF_ID), targ_name); in map_kptr_match_type()
3766 verbose(env, " or %s%s\n", reg_type_str(env, PTR_TO_BTF_ID | PTR_UNTRUSTED), in map_kptr_match_type()
3806 mark_btf_ld_reg(env, cur_regs(env), value_regno, PTR_TO_BTF_ID, off_desc->kptr.btf, in check_map_kptr_access()
[all …]
Dbtf.c5506 info->reg_type = PTR_TO_BTF_ID; in btf_ctx_access()
5821 return PTR_TO_BTF_ID; in btf_struct_access()
6340 obj_ptr = reg->type == PTR_TO_CTX || reg->type == PTR_TO_BTF_ID || in btf_check_func_arg_match()
6428 } else if (is_kfunc && (reg->type == PTR_TO_BTF_ID || in btf_check_func_arg_match()
6442 if (reg->type == PTR_TO_BTF_ID) { in btf_check_func_arg_match()
/linux-6.1.9/include/linux/
Dbpf.h652 PTR_TO_BTF_ID, enumerator
668 PTR_TO_BTF_ID_OR_NULL = PTR_MAYBE_NULL | PTR_TO_BTF_ID,