Searched refs:has_func (Results 1 – 1 of 1) sorted by relevance
3076 bool has_func = kernel_supports(obj, FEAT_BTF_FUNC); in btf_needs_sanitization() local3082 return !has_func || !has_datasec || !has_func_global || !has_float || in btf_needs_sanitization()3091 bool has_func = kernel_supports(obj, FEAT_BTF_FUNC); in bpf_object__sanitize_btf() local3145 } else if (!has_func && btf_is_func_proto(t)) { in bpf_object__sanitize_btf()3150 } else if (!has_func && btf_is_func(t)) { in bpf_object__sanitize_btf()