Searched refs:has_func (Results 1 – 1 of 1) sorted by relevance
2369 bool has_func = kernel_supports(FEAT_BTF_FUNC); in btf_needs_sanitization() local2371 return !has_func || !has_datasec || !has_func_global; in btf_needs_sanitization()2378 bool has_func = kernel_supports(FEAT_BTF_FUNC); in bpf_object__sanitize_btf() local2419 } else if (!has_func && btf_is_func_proto(t)) { in bpf_object__sanitize_btf()2424 } else if (!has_func && btf_is_func(t)) { in bpf_object__sanitize_btf()