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.h206 BPF_KPTR_PERCPU = (1 << 4),
207 BPF_KPTR = BPF_KPTR_UNREF | BPF_KPTR_REF | BPF_KPTR_PERCPU,
375 case BPF_KPTR_PERCPU: in btf_field_type_name()
418 case BPF_KPTR_PERCPU: in btf_field_type_size()
454 case BPF_KPTR_PERCPU: in btf_field_type_align()
500 case BPF_KPTR_PERCPU: in btf_field_is_nmi_safe()
204 BPF_KPTR_PERCPU = (1 << 4), global() enumerator
/linux/kernel/bpf/
H A Dsyscall.c680 case BPF_KPTR_PERCPU: in btf_record_free()
733 case BPF_KPTR_PERCPU: in btf_record_dup()
854 case BPF_KPTR_PERCPU: in bpf_obj_free_fields()
864 fields[i].type == BPF_KPTR_PERCPU); in bpf_obj_free_fields()
1343 case BPF_KPTR_PERCPU: in map_check_btf()
H A Dbtf.c3600 { "percpu_kptr", BPF_KPTR_PERCPU }, in btf_find_next_decl_tag()
3794 case BPF_KPTR_PERCPU: in btf_find_nested_struct()
3929 case BPF_KPTR_PERCPU: in btf_find_struct_field()
4272 case BPF_KPTR_PERCPU: in btf_check_and_fixup_fields()
4377 } else if (field->type == BPF_KPTR_REF || field->type == BPF_KPTR_PERCPU) { in btf_check_ownership_depth()
H A Dverifier.c4926 if (kptr_field->type == BPF_KPTR_PERCPU) in __check_ctx_access()
4934 * A BPF_KPTR_PERCPU field is read back as MEM_PERCPU, so the value in check_ctx_access()
4937 if ((kptr_field->type == BPF_KPTR_PERCPU) != !!(reg->type & MEM_PERCPU)) in check_ctx_access()
5055 return field->type == BPF_KPTR_PERCPU || in is_flow_key_reg()
5067 if (kptr_field->type == BPF_KPTR_PERCPU) in is_load_acq_unsafe()
5123 (kptr_field->type == BPF_KPTR_REF || kptr_field->type == BPF_KPTR_PERCPU)) { in is_trusted_reg()
5211 case BPF_KPTR_PERCPU: in check_generic_ptr_alignment()
8490 if (kptr_field->type != BPF_KPTR_REF && kptr_field->type != BPF_KPTR_PERCPU) { in __check_func_arg_reg_off()
12988 if (meta.kptr_field->type == BPF_KPTR_PERCPU) in check_kfunc_args()