Searched refs:PTR_TRUSTED (Results 1 – 11 of 11) sorted by relevance
| /linux/kernel/bpf/ |
| H A D | map_iter.c | 95 PTR_TO_BTF_ID_OR_NULL | PTR_TRUSTED },
|
| H A D | cgroup_iter.c | 297 PTR_TO_BTF_ID_OR_NULL | PTR_TRUSTED },
|
| H A D | bpf_struct_ops.c | 272 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 D | task_iter.c | 698 PTR_TO_BTF_ID_OR_NULL | PTR_TRUSTED },
|
| H A D | verifier.c | 5971 perm_flags = PTR_MAYBE_NULL | PTR_TRUSTED | MEM_RCU; in map_kptr_match_type() 7465 flag |= PTR_TRUSTED; in check_ptr_to_btf_access() 7467 flag |= PTR_TRUSTED | PTR_MAYBE_NULL; in check_ptr_to_btf_access() 9333 PTR_TO_BTF_ID | PTR_TRUSTED, 9349 PTR_TO_BTF_ID | PTR_TRUSTED, 9368 PTR_TO_BTF_ID | PTR_TRUSTED, 9376 PTR_TO_BTF_ID | MEM_PERCPU | PTR_TRUSTED, 9495 case PTR_TO_BTF_ID | PTR_TRUSTED: in check_reg_type() 9496 case PTR_TO_BTF_ID | PTR_TRUSTED | PTR_MAYBE_NULL: in check_reg_type() 9559 case PTR_TO_BTF_ID | MEM_PERCPU | PTR_TRUSTED: in check_reg_type() [all …]
|
| H A D | btf.c | 6941 info->reg_type |= PTR_TRUSTED; in btf_ctx_access() 7941 sub->args[i].arg_type = ARG_PTR_TO_BTF_ID | PTR_TRUSTED; in btf_prepare_func_args()
|
| /linux/net/netfilter/ |
| H A D | nf_bpf_link.c | 288 info->reg_type = PTR_TO_BTF_ID | PTR_TRUSTED; in nf_ptr_to_btf_id()
|
| /linux/net/sched/ |
| H A D | bpf_qdisc.c | 44 info->reg_type = PTR_TO_BTF_ID | PTR_TRUSTED; in BTF_ID_LIST_SINGLE()
|
| /linux/include/linux/ |
| H A D | bpf.h | 783 PTR_TRUSTED = BIT(12 + BPF_BASE_TYPE_BITS), enumerator 911 RET_PTR_TO_BTF_ID_TRUSTED = PTR_TRUSTED | RET_PTR_TO_BTF_ID,
|
| /linux/net/ipv4/ |
| H A D | tcp_ipv4.c | 3703 PTR_TO_BTF_ID_OR_NULL | PTR_TRUSTED },
|
| H A D | udp.c | 4036 PTR_TO_BTF_ID_OR_NULL | PTR_TRUSTED },
|