Searched refs:PTR_TO_BTF_ID (Results 1 – 10 of 10) sorted by relevance
/linux/kernel/bpf/ |
H A D | verifier.c | 406 (type == PTR_TO_BTF_ID && is_trusted_reg(reg)) || in reg_not_null() 2086 regs[regno].type = PTR_TO_BTF_ID | MEM_ALLOC; in mark_reg_graph_node() 2639 regs[regno].type = PTR_TO_BTF_ID | flag; in mark_btf_ld_reg() 4736 case PTR_TO_BTF_ID: in is_spillable_regtype() 5614 if (base_type(reg->type) != PTR_TO_BTF_ID || (type_flag(reg->type) & ~perm_flags)) in map_kptr_match_type() 5661 verbose(env, "expected=%s%s", reg_type_str(env, PTR_TO_BTF_ID), targ_name); in map_kptr_match_type() 5663 verbose(env, " or %s%s\n", reg_type_str(env, PTR_TO_BTF_ID | PTR_UNTRUSTED), in map_kptr_match_type() 5810 mark_btf_ld_reg(env, cur_regs(env), value_regno, PTR_TO_BTF_ID, kptr_field->kptr.btf, in check_map_kptr_access() 6007 if (base_type(*reg_type) == PTR_TO_BTF_ID) { in check_ctx_access() 7039 if (ret != PTR_TO_BTF_ID) { in check_ptr_to_btf_access() [all …]
|
H A D | log.c | 459 [PTR_TO_BTF_ID] = "ptr_", in reg_type_str() 469 if (base_type(type) == PTR_TO_BTF_ID) in reg_type_str() 707 if (base_type(t) == PTR_TO_BTF_ID) in print_reg_state()
|
H A D | bpf_struct_ops.c | 276 PTR_TRUSTED | PTR_TO_BTF_ID | PTR_MAYBE_NULL; in prepare_arg_info()
|
H A D | btf.c | 6686 info->reg_type = PTR_TO_BTF_ID; in btf_ctx_access() 7099 return PTR_TO_BTF_ID; in btf_struct_access()
|
/linux/net/ipv4/ |
H A D | bpf_tcp_ca.c | 52 if (base_type(info->reg_type) == PTR_TO_BTF_ID && in bpf_tcp_ca_is_valid_access()
|
/linux/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/include/linux/ |
H A D | bpf_verifier.h | 908 return base_type(type) == PTR_TO_BTF_ID && type_flag(type) & MEM_ALLOC; in type_is_ptr_alloc_obj()
|
H A D | bpf.h | 934 PTR_TO_BTF_ID, enumerator 951 PTR_TO_BTF_ID_OR_NULL = PTR_MAYBE_NULL | PTR_TO_BTF_ID,
|
/linux/Documentation/bpf/ |
H A D | graph_ds_impl.rst | 99 has type ``PTR_TO_BTF_ID | MEM_ALLOC``, with a ``btf_id`` of
|
H A D | kfuncs.rst | 406 PTR_TO_BTF_ID type matching if two types have the exact same name, with one
|