Home
last modified time | relevance | path

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

/openbmc/linux/include/linux/
H A Dbtf.h200 bool btf_is_kernel(const struct btf *btf);
/openbmc/linux/kernel/bpf/
H A Dsyscall.c657 if (!btf_is_kernel(field->kptr.btf)) { in bpf_obj_free_fields()
1267 if (btf_is_kernel(btf)) { in map_create()
2644 if (!btf_is_kernel(attach_btf)) { in bpf_prog_load()
H A Dverifier.c5250 if (btf_is_kernel(reg->btf)) { in map_kptr_match_type()
5336 if (!btf_is_kernel(btf)) in BTF_ID()
6410 if (!env->prog->gpl_compatible && btf_is_kernel(reg->btf)) { in check_ptr_to_btf_access()
6447 if (!btf_is_kernel(reg->btf)) { in check_ptr_to_btf_access()
10310 if (!btf_is_kernel(ret_btf)) in check_helper_call()
15799 if (btf_is_kernel(btf)) { in check_btf_info()
H A Dbtf.c3584 WARN_ON_ONCE(btf_is_kernel(btf)); in btf_parse_kptr()
7313 bool btf_is_kernel(const struct btf *btf) in btf_is_kernel() function