Searched refs:btf_is_kernel (Results 1 – 4 of 4) sorted by relevance
214 bool btf_is_kernel(const struct btf *btf);
553 if (btf_is_kernel(rec->fields[i].kptr.btf)) in btf_record_free()600 if (btf_is_kernel(fields[i].kptr.btf)) in btf_record_dup()705 if (!btf_is_kernel(field->kptr.btf)) { in bpf_obj_free_fields()1374 if (btf_is_kernel(btf)) { in map_create()2721 if (!btf_is_kernel(attach_btf)) { in bpf_prog_load()
5346 if (btf_is_kernel(reg->btf)) { in map_kptr_match_type()5445 if (!btf_is_kernel(btf)) in BTF_ID()5454 if (btf_is_kernel(kptr_field->kptr.btf)) in kptr_pointee_btf_record()5481 else if (!btf_is_kernel(kptr_field->kptr.btf)) in btf_ld_kptr_type()6606 if (!env->prog->gpl_compatible && btf_is_kernel(reg->btf)) { in check_ptr_to_btf_access()6643 if (!btf_is_kernel(reg->btf)) { in check_ptr_to_btf_access()10843 if (!btf_is_kernel(ret_btf)) { in check_helper_call()17005 if (btf_is_kernel(btf)) { in check_btf_info_early()
3786 WARN_ON_ONCE(btf_is_kernel(btf)); in btf_parse_kptr()7820 bool btf_is_kernel(const struct btf *btf) in btf_is_kernel() function