Searched refs:kernel_supports (Results 1 – 2 of 2) sorted by relevance
| /linux/tools/lib/bpf/ |
| H A D | libbpf.c | 3133 bool has_func_global = kernel_supports(obj, FEAT_BTF_GLOBAL_FUNC); in btf_needs_sanitization() 3134 bool has_datasec = kernel_supports(obj, FEAT_BTF_DATASEC); in btf_needs_sanitization() 3135 bool has_float = kernel_supports(obj, FEAT_BTF_FLOAT); in btf_needs_sanitization() 3136 bool has_func = kernel_supports(obj, FEAT_BTF_FUNC); in btf_needs_sanitization() 3137 bool has_decl_tag = kernel_supports(obj, FEAT_BTF_DECL_TAG); in btf_needs_sanitization() 3138 bool has_type_tag = kernel_supports(obj, FEAT_BTF_TYPE_TAG); in btf_needs_sanitization() 3139 bool has_enum64 = kernel_supports(obj, FEAT_BTF_ENUM64); in btf_needs_sanitization() 3140 bool has_qmark_datasec = kernel_supports(obj, FEAT_BTF_QMARK_DATASEC); in btf_needs_sanitization() 3148 bool has_func_global = kernel_supports(obj, FEAT_BTF_GLOBAL_FUNC); in bpf_object__sanitize_btf() 3149 bool has_datasec = kernel_supports(obj, FEAT_BTF_DATASEC); in bpf_object__sanitize_btf() [all …]
|
| H A D | libbpf_internal.h | 412 bool kernel_supports(const struct bpf_object *obj, enum kern_feature_id feat_id);
|