Home
last modified time | relevance | path

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

/linux-6.6.21/kernel/bpf/
Dmap_iter.c95 PTR_TO_BTF_ID_OR_NULL | PTR_TRUSTED },
Dverifier.c649 type & PTR_TRUSTED ? "trusted_" : "" in reg_type_str()
5239 perm_flags = PTR_MAYBE_NULL | PTR_TRUSTED | MEM_RCU; in map_kptr_match_type()
6474 flag |= PTR_TRUSTED; in check_ptr_to_btf_access()
8038 PTR_TO_BTF_ID | PTR_TRUSTED,
8054 PTR_TO_BTF_ID | PTR_TRUSTED,
8083 PTR_TO_BTF_ID | PTR_TRUSTED,
8090 PTR_TO_BTF_ID | MEM_PERCPU | PTR_TRUSTED,
8203 case PTR_TO_BTF_ID | PTR_TRUSTED: in check_reg_type()
8263 case PTR_TO_BTF_ID | MEM_PERCPU | PTR_TRUSTED: in check_reg_type()
8343 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-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/include/linux/
Dbpf_verifier.h780 #define BPF_REG_TRUSTED_MODIFIERS (MEM_ALLOC | PTR_TRUSTED | NON_OWN_REF)
Dbpf.h659 PTR_TRUSTED = BIT(12 + BPF_BASE_TYPE_BITS), enumerator
770 RET_PTR_TO_BTF_ID_TRUSTED = PTR_TRUSTED | RET_PTR_TO_BTF_ID,
/linux-6.6.21/Documentation/bpf/
Dkfuncs.rst292 KF_RCU expect either PTR_TRUSTED or MEM_RCU arguments. The verifier guarantees
/linux-6.6.21/net/ipv4/
Dtcp_ipv4.c3370 PTR_TO_BTF_ID_OR_NULL | PTR_TRUSTED },
Dudp.c3594 PTR_TO_BTF_ID_OR_NULL | PTR_TRUSTED },