Searched refs:BPF_KPTR (Results 1 – 4 of 4) sorted by relevance
| /linux/kernel/bpf/ |
| H A D | btf.c | 3763 /* Only return BPF_KPTR when all other types with matchable names fail */ in btf_repeat_fields() 3764 if (field_mask & (BPF_KPTR | BPF_UPTR) && !__btf_type_is_struct(var_type)) { 6289 ret = btf_find_kptr(btf, t, 0, 0, &tmp, BPF_KPTR); in btf_validate_prog_ctx_type() 6344 BPF_KPTR, t->size); in btf_validate_prog_ctx_type()
|
| H A D | syscall.c | 1291 BPF_SPIN_LOCK | BPF_RES_SPIN_LOCK | BPF_TIMER | BPF_KPTR | BPF_LIST_HEAD | in map_check_btf()
|
| H A D | verifier.c | 7285 off + reg->var_off.value, BPF_KPTR | BPF_UPTR); 8479 if (!btf_record_has_field(rec, BPF_KPTR)) { in reg_find_field_offset() 8485 kptr_field = btf_record_find(rec, kptr_off, BPF_KPTR); in reg_find_field_offset()
|
| /linux/include/linux/ |
| H A D | bpf.h | 207 BPF_KPTR = BPF_KPTR_UNREF | BPF_KPTR_REF | BPF_KPTR_PERCPU, 205 BPF_KPTR = BPF_KPTR_UNREF | BPF_KPTR_REF | BPF_KPTR_PERCPU, global() enumerator
|