Home
last modified time | relevance | path

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

/external/libbpf/android/
Dbpf_stub.c15 bool kernel_supports(const struct bpf_object *obj, enum kern_feature_id feat_id) in kernel_supports() function
/external/libbpf/src/
Dlibbpf.c2631 bool has_func_global = kernel_supports(obj, FEAT_BTF_GLOBAL_FUNC); in btf_needs_sanitization()
2632 bool has_datasec = kernel_supports(obj, FEAT_BTF_DATASEC); in btf_needs_sanitization()
2633 bool has_float = kernel_supports(obj, FEAT_BTF_FLOAT); in btf_needs_sanitization()
2634 bool has_func = kernel_supports(obj, FEAT_BTF_FUNC); in btf_needs_sanitization()
2635 bool has_decl_tag = kernel_supports(obj, FEAT_BTF_DECL_TAG); in btf_needs_sanitization()
2636 bool has_type_tag = kernel_supports(obj, FEAT_BTF_TYPE_TAG); in btf_needs_sanitization()
2644 bool has_func_global = kernel_supports(obj, FEAT_BTF_GLOBAL_FUNC); in bpf_object__sanitize_btf()
2645 bool has_datasec = kernel_supports(obj, FEAT_BTF_DATASEC); in bpf_object__sanitize_btf()
2646 bool has_float = kernel_supports(obj, FEAT_BTF_FLOAT); in bpf_object__sanitize_btf()
2647 bool has_func = kernel_supports(obj, FEAT_BTF_FUNC); in bpf_object__sanitize_btf()
[all …]
Dlibbpf_internal.h336 bool kernel_supports(const struct bpf_object *obj, enum kern_feature_id feat_id);
Dbpf.c154 if (memlock_bumped || kernel_supports(NULL, FEAT_MEMCG_ACCOUNT)) in bump_rlimit_memlock()