Home
last modified time | relevance | path

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

/openbmc/linux/kernel/bpf/
H A Dverifier.c282 struct btf_field *kptr_field; member
5244 struct btf_field *kptr_field, in map_kptr_match_type() argument
5247 const char *targ_name = btf_type_name(kptr_field->kptr.btf, kptr_field->kptr.btf_id); in map_kptr_match_type()
5255 if (kptr_field->type == BPF_KPTR_UNREF) in map_kptr_match_type()
5301 kptr_field->kptr.btf, kptr_field->kptr.btf_id, in map_kptr_match_type()
5302 kptr_field->type == BPF_KPTR_REF)) in map_kptr_match_type()
5309 if (kptr_field->type == BPF_KPTR_UNREF) in map_kptr_match_type()
5351 struct btf_field *kptr_field) in check_map_kptr_access() argument
5372 if (class != BPF_LDX && kptr_field->type == BPF_KPTR_REF) { in check_map_kptr_access()
5382 mark_btf_ld_reg(env, cur_regs(env), value_regno, PTR_TO_BTF_ID, kptr_field->kptr.btf, in check_map_kptr_access()
[all …]