Searched refs:PTR_TRUSTED (Results 1 – 14 of 14) sorted by relevance
| /linux-6.15/kernel/bpf/ |
| H A D | kmem_cache_iter.c | 227 PTR_TO_BTF_ID_OR_NULL | PTR_TRUSTED },
|
| H A D | map_iter.c | 95 PTR_TO_BTF_ID_OR_NULL | PTR_TRUSTED },
|
| H A D | cgroup_iter.c | 285 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 | log.c | 482 type & PTR_TRUSTED ? "trusted_" : "" in reg_type_str()
|
| H A D | task_iter.c | 698 PTR_TO_BTF_ID_OR_NULL | PTR_TRUSTED },
|
| H A D | verifier.c | 7202 flag |= PTR_TRUSTED; in check_ptr_to_btf_access() 7204 flag |= PTR_TRUSTED | PTR_MAYBE_NULL; in check_ptr_to_btf_access() 9013 PTR_TO_BTF_ID | PTR_TRUSTED, 9029 PTR_TO_BTF_ID | PTR_TRUSTED, 9048 PTR_TO_BTF_ID | PTR_TRUSTED, 9056 PTR_TO_BTF_ID | MEM_PERCPU | PTR_TRUSTED, 9175 case PTR_TO_BTF_ID | PTR_TRUSTED: in check_reg_type() 9320 case PTR_TO_BTF_ID | PTR_TRUSTED: in check_func_arg_reg_off() 13866 regs[BPF_REG_0].type |= PTR_TRUSTED; in check_kfunc_call() 22737 if (arg->arg_type & PTR_TRUSTED) in do_check_common() [all …]
|
| H A D | btf.c | 6809 info->reg_type |= PTR_TRUSTED; in btf_ctx_access() 7799 sub->args[i].arg_type = ARG_PTR_TO_BTF_ID | PTR_TRUSTED; in btf_prepare_func_args()
|
| /linux-6.15/net/netfilter/ |
| H A D | nf_bpf_link.c | 287 info->reg_type = PTR_TO_BTF_ID | PTR_TRUSTED; in nf_ptr_to_btf_id()
|
| /linux-6.15/include/linux/ |
| H A D | bpf_verifier.h | 926 #define BPF_REG_TRUSTED_MODIFIERS (MEM_ALLOC | PTR_TRUSTED | NON_OWN_REF)
|
| H A D | bpf.h | 717 PTR_TRUSTED = BIT(12 + BPF_BASE_TYPE_BITS), enumerator 839 RET_PTR_TO_BTF_ID_TRUSTED = PTR_TRUSTED | RET_PTR_TO_BTF_ID,
|
| /linux-6.15/Documentation/bpf/ |
| H A D | kfuncs.rst | 314 KF_RCU expect either PTR_TRUSTED or MEM_RCU arguments. The verifier guarantees
|
| /linux-6.15/net/ipv4/ |
| H A D | tcp_ipv4.c | 3641 PTR_TO_BTF_ID_OR_NULL | PTR_TRUSTED },
|
| H A D | udp.c | 3889 PTR_TO_BTF_ID_OR_NULL | PTR_TRUSTED },
|