Home
last modified time | relevance | path

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

/linux-6.6.21/kernel/bpf/
Dverifier.c462 (type == PTR_TO_BTF_ID && is_trusted_reg(reg)) || in reg_not_null()
468 return base_type(type) == PTR_TO_BTF_ID && type_flag(type) & MEM_ALLOC; in type_is_ptr_alloc_obj()
627 [PTR_TO_BTF_ID] = "ptr_", in reg_type_str()
636 if (base_type(type) == PTR_TO_BTF_ID) in reg_type_str()
1386 if (base_type(t) == PTR_TO_BTF_ID) in print_verifier_state()
2204 regs[regno].type = PTR_TO_BTF_ID | MEM_ALLOC; in mark_reg_graph_node()
2539 regs[regno].type = PTR_TO_BTF_ID | flag; in mark_btf_ld_reg()
4460 case PTR_TO_BTF_ID: in is_spillable_regtype()
5248 if (base_type(reg->type) != PTR_TO_BTF_ID || (type_flag(reg->type) & ~perm_flags)) in map_kptr_match_type()
5295 verbose(env, "expected=%s%s", reg_type_str(env, PTR_TO_BTF_ID), targ_name); in map_kptr_match_type()
[all …]
Dbtf.c6068 info->reg_type = PTR_TO_BTF_ID; in btf_ctx_access()
6435 return PTR_TO_BTF_ID; in btf_struct_access()
/linux-6.6.21/net/ipv4/
Dbpf_tcp_ca.c62 if (base_type(info->reg_type) == PTR_TO_BTF_ID && in bpf_tcp_ca_is_valid_access()
/linux-6.6.21/net/netfilter/
Dnf_bpf_link.c282 info->reg_type = PTR_TO_BTF_ID | PTR_TRUSTED; in nf_ptr_to_btf_id()
/linux-6.6.21/Documentation/bpf/
Dgraph_ds_impl.rst99 has type ``PTR_TO_BTF_ID | MEM_ALLOC``, with a ``btf_id`` of
Dkfuncs.rst384 PTR_TO_BTF_ID type matching if two types have the exact same name, with one
/linux-6.6.21/include/linux/
Dbpf.h869 PTR_TO_BTF_ID, enumerator
885 PTR_TO_BTF_ID_OR_NULL = PTR_MAYBE_NULL | PTR_TO_BTF_ID,