Home
last modified time | relevance | path

Searched refs:PTR_TRUSTED (Results 1 – 9 of 9) sorted by relevance

/Linux-v6.6/kernel/bpf/
Dmap_iter.c95 PTR_TO_BTF_ID_OR_NULL | PTR_TRUSTED },
Dverifier.c638 type & PTR_TRUSTED ? "trusted_" : "" in reg_type_str()
4995 perm_flags = PTR_MAYBE_NULL | PTR_TRUSTED | MEM_RCU; in map_kptr_match_type()
6244 flag |= PTR_TRUSTED; in check_ptr_to_btf_access()
7702 PTR_TO_BTF_ID | PTR_TRUSTED,
7718 PTR_TO_BTF_ID | PTR_TRUSTED,
7747 PTR_TO_BTF_ID | PTR_TRUSTED,
7754 PTR_TO_BTF_ID | MEM_PERCPU | PTR_TRUSTED,
7867 case PTR_TO_BTF_ID | PTR_TRUSTED: in check_reg_type()
7927 case PTR_TO_BTF_ID | MEM_PERCPU | PTR_TRUSTED: in check_reg_type()
8007 case PTR_TO_BTF_ID | PTR_TRUSTED: in check_func_arg_reg_off()
[all …]
Dbtf.c6070 info->reg_type |= PTR_TRUSTED; in btf_ctx_access()
/Linux-v6.6/net/netfilter/
Dnf_bpf_link.c282 info->reg_type = PTR_TO_BTF_ID | PTR_TRUSTED; in nf_ptr_to_btf_id()
/Linux-v6.6/include/linux/
Dbpf_verifier.h748 #define BPF_REG_TRUSTED_MODIFIERS (MEM_ALLOC | PTR_TRUSTED | NON_OWN_REF)
Dbpf.h650 PTR_TRUSTED = BIT(12 + BPF_BASE_TYPE_BITS), enumerator
761 RET_PTR_TO_BTF_ID_TRUSTED = PTR_TRUSTED | RET_PTR_TO_BTF_ID,
/Linux-v6.6/Documentation/bpf/
Dkfuncs.rst292 KF_RCU expect either PTR_TRUSTED or MEM_RCU arguments. The verifier guarantees
/Linux-v6.6/net/ipv4/
Dtcp_ipv4.c3370 PTR_TO_BTF_ID_OR_NULL | PTR_TRUSTED },
Dudp.c3593 PTR_TO_BTF_ID_OR_NULL | PTR_TRUSTED },