Home
last modified time | relevance | path

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

/linux-6.15/include/linux/
H A Dbpf.h207 BPF_UPTR = (1 << 11), enumerator
331 case BPF_UPTR: in btf_field_type_name()
363 case BPF_UPTR: in btf_field_type_size()
395 case BPF_UPTR: in btf_field_type_align()
437 case BPF_UPTR: in bpf_obj_init_field()
532 if (!btf_record_has_field(rec, BPF_UPTR)) in bpf_obj_swap_uptrs()
536 if (field->type != BPF_UPTR) in bpf_obj_swap_uptrs()
/linux-6.15/kernel/bpf/
H A Dbpf_task_storage.c130 if ((map_flags & BPF_F_LOCK) && btf_record_has_field(map->record, BPF_UPTR)) in bpf_pid_task_storage_update_elem()
H A Dsyscall.c172 if (field->type != BPF_UPTR) in __bpf_obj_unpin_uptrs()
182 if (!btf_record_has_field(rec, BPF_UPTR)) in bpf_obj_unpin_uptrs()
197 if (!btf_record_has_field(rec, BPF_UPTR)) in bpf_obj_pin_uptrs()
201 if (field->type != BPF_UPTR) in bpf_obj_pin_uptrs()
657 case BPF_UPTR: in btf_record_free()
708 case BPF_UPTR: in btf_record_dup()
826 case BPF_UPTR: in bpf_obj_free_fields()
1236 BPF_RB_ROOT | BPF_REFCOUNT | BPF_WORKQUEUE | BPF_UPTR, in map_check_btf()
1293 case BPF_UPTR: in map_check_btf()
H A Dbtf.c3361 type = BPF_UPTR; in btf_find_kptr()
3518 if (field_mask & (BPF_KPTR | BPF_UPTR) && !__btf_type_is_struct(var_type)) { in btf_get_field_type()
3551 case BPF_UPTR: in btf_repeat_fields()
3685 case BPF_UPTR: in btf_find_field_one()
4016 case BPF_UPTR: in btf_parse_fields()
4082 if (IS_ERR_OR_NULL(rec) || !(rec->field_mask & (BPF_GRAPH_ROOT | BPF_UPTR))) in btf_check_and_fixup_fields()
4089 if (rec->fields[i].type == BPF_UPTR) { in btf_check_and_fixup_fields()
H A Dverifier.c5925 if (class != BPF_LDX && kptr_field->type == BPF_UPTR) { in check_map_kptr_access()
5931 if (kptr_field->type == BPF_UPTR) in check_map_kptr_access()
5991 case BPF_UPTR: in check_map_access()
7458 off + reg->var_off.value, BPF_KPTR | BPF_UPTR); in check_mem_access()