btf_is_func_proto
if (!ptr_type || !btf_is_func_proto(ptr_type))
return btf_is_ptr(v) && btf_is_func_proto(btf__type_by_id(btf, v->type));
return btf_is_func_proto(t) ? t : NULL;
if (!t || !btf_is_func_proto(t)) {
if (!btf_is_func_proto(t))
if (!btf_is_func_proto(kern_mtype)) {
return btf_is_func_proto(t) ? t : NULL;
if (!btf_is_func_proto(t)) {
} else if (!has_func && btf_is_func_proto(t)) {
if (!fn_proto_t || !btf_is_func_proto(fn_proto_t))
if (t3 && btf_is_func_proto(t3) && btf_vlen(t3) == 5) {
if (!ASSERT_EQ(btf_is_func_proto(t), true, "is_func_proto"))
if (btf_is_func_proto(t) && (t = btf__type_by_id(local_btf, t->type)) &&
if (!btf_is_func_proto(t) || btf_vlen(t) != 1)