Home
last modified time | relevance | path

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

/linux/include/linux/
H A Dbpf.h204 BPF_KPTR_PERCPU = (1 << 4), enumerator
205 BPF_KPTR = BPF_KPTR_UNREF | BPF_KPTR_REF | BPF_KPTR_PERCPU,
360 case BPF_KPTR_PERCPU: in btf_field_type_name()
401 case BPF_KPTR_PERCPU: in btf_field_type_size()
435 case BPF_KPTR_PERCPU: in btf_field_type_align()
479 case BPF_KPTR_PERCPU: in bpf_obj_init_field()
/linux/kernel/bpf/
H A Dsyscall.c673 case BPF_KPTR_PERCPU: in btf_record_free()
725 case BPF_KPTR_PERCPU: in btf_record_dup()
845 case BPF_KPTR_PERCPU: in bpf_obj_free_fields()
855 fields[i].type == BPF_KPTR_PERCPU); in bpf_obj_free_fields()
1324 case BPF_KPTR_PERCPU: in map_check_btf()
H A Dbtf.c3532 { "percpu_kptr", BPF_KPTR_PERCPU }, in btf_find_kptr()
3725 case BPF_KPTR_PERCPU: in btf_repeat_fields()
3859 case BPF_KPTR_PERCPU: in btf_find_field_one()
4197 case BPF_KPTR_PERCPU: in btf_parse_fields()
H A Dverifier.c4482 if (kptr_field->type == BPF_KPTR_PERCPU) in map_kptr_match_type()
4604 return field->type == BPF_KPTR_PERCPU || in rcu_safe_kptr()
4616 if (kptr_field->type == BPF_KPTR_PERCPU) in btf_ld_kptr_type()
4672 (kptr_field->type == BPF_KPTR_REF || kptr_field->type == BPF_KPTR_PERCPU)) { in check_map_kptr_access()
4753 case BPF_KPTR_PERCPU: in check_map_access()
7513 if (kptr_field->type != BPF_KPTR_REF && kptr_field->type != BPF_KPTR_PERCPU) { in process_kptr_func()
11113 if (meta.kptr_field->type == BPF_KPTR_PERCPU) in check_helper_call()