Home
last modified time | relevance | path

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

/linux/include/linux/
H A Dbpf.h209 BPF_UPTR = (1 << 11), enumerator
357 case BPF_UPTR: in btf_field_type_name()
397 case BPF_UPTR: in btf_field_type_size()
431 case BPF_UPTR: in btf_field_type_align()
475 case BPF_UPTR: in bpf_obj_init_field()
571 if (!btf_record_has_field(rec, BPF_UPTR)) in bpf_obj_swap_uptrs()
575 if (field->type != BPF_UPTR) in bpf_obj_swap_uptrs()
/linux/kernel/bpf/
H A Dsyscall.c180 if (field->type != BPF_UPTR) in __bpf_obj_unpin_uptrs()
190 if (!btf_record_has_field(rec, BPF_UPTR)) in bpf_obj_unpin_uptrs()
205 if (!btf_record_has_field(rec, BPF_UPTR)) in bpf_obj_pin_uptrs()
209 if (field->type != BPF_UPTR) in bpf_obj_pin_uptrs()
675 case BPF_UPTR: in btf_record_free()
727 case BPF_UPTR: in btf_record_dup()
856 case BPF_UPTR: in bpf_obj_free_fields()
1262 BPF_RB_ROOT | BPF_REFCOUNT | BPF_WORKQUEUE | BPF_UPTR | in map_check_btf()
1321 case BPF_UPTR: in map_check_btf()
H A Dbtf.c3505 type = BPF_UPTR; in btf_find_kptr()
3649 if (field_mask & (BPF_KPTR | BPF_UPTR) && !__btf_type_is_struct(var_type)) { in btf_get_field_type()
3680 case BPF_UPTR: in btf_repeat_fields()
3815 case BPF_UPTR: in btf_find_field_one()
4151 case BPF_UPTR: in btf_parse_fields()
4217 if (IS_ERR_OR_NULL(rec) || !(rec->field_mask & (BPF_GRAPH_ROOT | BPF_UPTR))) in btf_check_and_fixup_fields()
4224 if (rec->fields[i].type == BPF_UPTR) { in btf_check_and_fixup_fields()
H A Dverifier.c4751 if (class != BPF_LDX && kptr_field->type == BPF_UPTR) { in check_map_kptr_access()
4757 if (kptr_field->type == BPF_UPTR) in check_map_kptr_access()
4832 case BPF_UPTR: in check_map_access()
6367 off + reg->var_off.value, BPF_KPTR | BPF_UPTR); in check_mem_access()