Home
last modified time | relevance | path

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

/linux/kernel/bpf/
H A Dkmem_cache_iter.c227 PTR_TO_BTF_ID_OR_NULL | PTR_TRUSTED },
H A Dmap_iter.c95 PTR_TO_BTF_ID_OR_NULL | PTR_TRUSTED },
H A Dcgroup_iter.c285 PTR_TO_BTF_ID_OR_NULL | PTR_TRUSTED },
H A Dbpf_struct_ops.c272 info->reg_type = PTR_TRUSTED | PTR_TO_BTF_ID | PTR_MAYBE_NULL; in prepare_arg_info()
274 info->reg_type = PTR_TRUSTED | PTR_TO_BTF_ID; in prepare_arg_info()
H A Dlog.c482 type & PTR_TRUSTED ? "trusted_" : "" in reg_type_str()
H A Dtask_iter.c698 PTR_TO_BTF_ID_OR_NULL | PTR_TRUSTED },
H A Dverifier.c5760 perm_flags = PTR_MAYBE_NULL | PTR_TRUSTED | MEM_RCU; in map_kptr_match_type()
7234 flag |= PTR_TRUSTED; in check_ptr_to_btf_access()
7236 flag |= PTR_TRUSTED | PTR_MAYBE_NULL; in check_ptr_to_btf_access()
9112 PTR_TO_BTF_ID | PTR_TRUSTED,
9128 PTR_TO_BTF_ID | PTR_TRUSTED,
9147 PTR_TO_BTF_ID | PTR_TRUSTED,
9155 PTR_TO_BTF_ID | MEM_PERCPU | PTR_TRUSTED,
9274 case PTR_TO_BTF_ID | PTR_TRUSTED: in check_reg_type()
9275 case PTR_TO_BTF_ID | PTR_TRUSTED | PTR_MAYBE_NULL: in check_reg_type()
9338 case PTR_TO_BTF_ID | MEM_PERCPU | PTR_TRUSTED: in check_reg_type()
[all …]
H A Dbtf.c6813 info->reg_type |= PTR_TRUSTED; in btf_ctx_access()
7812 sub->args[i].arg_type = ARG_PTR_TO_BTF_ID | PTR_TRUSTED; in btf_prepare_func_args()
/linux/net/netfilter/
H A Dnf_bpf_link.c288 info->reg_type = PTR_TO_BTF_ID | PTR_TRUSTED; in nf_ptr_to_btf_id()
/linux/net/sched/
H A Dbpf_qdisc.c44 info->reg_type = PTR_TO_BTF_ID | PTR_TRUSTED; in BTF_ID_LIST_SINGLE()
/linux/include/linux/
H A Dbpf_verifier.h957 #define BPF_REG_TRUSTED_MODIFIERS (MEM_ALLOC | PTR_TRUSTED | NON_OWN_REF)
H A Dbpf.h756 PTR_TRUSTED = BIT(12 + BPF_BASE_TYPE_BITS), enumerator
881 RET_PTR_TO_BTF_ID_TRUSTED = PTR_TRUSTED | RET_PTR_TO_BTF_ID,
/linux/Documentation/bpf/
H A Dkfuncs.rst331 KF_RCU expect either PTR_TRUSTED or MEM_RCU arguments. The verifier guarantees
/linux/net/ipv4/
H A Dtcp_ipv4.c3768 PTR_TO_BTF_ID_OR_NULL | PTR_TRUSTED },
H A Dudp.c4008 PTR_TO_BTF_ID_OR_NULL | PTR_TRUSTED },