Home
last modified time | relevance | path

Searched refs:PTR_TO_BTF_ID (Results 1 – 10 of 10) sorted by relevance

/linux-6.15/kernel/bpf/
H A Dverifier.c4863 case PTR_TO_BTF_ID: in is_spillable_regtype()
8098 case PTR_TO_BTF_ID: in check_helper_mem_access()
9012 PTR_TO_BTF_ID,
9047 PTR_TO_BTF_ID,
9049 PTR_TO_BTF_ID | MEM_RCU,
9174 case PTR_TO_BTF_ID: in check_reg_type()
9318 case PTR_TO_BTF_ID: in check_func_arg_reg_off()
14337 case PTR_TO_BTF_ID: in adjust_ptr_min_max_vals()
16652 case PTR_TO_BTF_ID: in check_ld_imm()
19328 case PTR_TO_BTF_ID: in reg_type_mismatch_ok()
[all …]
H A Dlog.c459 [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 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 Dbtf.c6807 info->reg_type = PTR_TO_BTF_ID; in btf_ctx_access()
7220 return PTR_TO_BTF_ID; in btf_struct_access()
/linux-6.15/net/ipv4/
H A Dbpf_tcp_ca.c52 if (base_type(info->reg_type) == PTR_TO_BTF_ID && in bpf_tcp_ca_is_valid_access()
/linux-6.15/net/netfilter/
H A Dnf_bpf_link.c287 info->reg_type = PTR_TO_BTF_ID | PTR_TRUSTED; in nf_ptr_to_btf_id()
/linux-6.15/include/linux/
H A Dbpf_verifier.h935 return base_type(type) == PTR_TO_BTF_ID && type_flag(type) & MEM_ALLOC; in type_is_ptr_alloc_obj()
H A Dbpf.h944 PTR_TO_BTF_ID, enumerator
961 PTR_TO_BTF_ID_OR_NULL = PTR_MAYBE_NULL | PTR_TO_BTF_ID,
/linux-6.15/Documentation/bpf/
H A Dgraph_ds_impl.rst99 has type ``PTR_TO_BTF_ID | MEM_ALLOC``, with a ``btf_id`` of
H A Dkfuncs.rst406 PTR_TO_BTF_ID type matching if two types have the exact same name, with one